video processing( find white pixel in binary image)
7 visualizaciones (últimos 30 días)
Mostrar comentarios más antiguos
Ariff pasha
el 23 de Nov. de 2015
Comentada: Ariff pasha
el 27 de Nov. de 2015
currently my project is video processing and my problem is im trying to find white pixel of every row[[5X5] in the region of interest(ROI) that i assigned in my binary images.so that i can know if there is a pixel detected in that row. if it detected = 1, if not = 0.
can anyone help me please :(
0 comentarios
Respuesta aceptada
Thorsten
el 23 de Nov. de 2015
Sample data:
X = rand(5)>0.8;
Check if any pixel is 1
if any(X(:))
% do something
end
6 comentarios
Más respuestas (0)
Ver también
Categorías
Más información sobre Computer Vision with Simulink en Help Center y File Exchange.
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!