Convert image to black white without using gray bands(hint, by using for matrix
1 visualización (últimos 30 días)
Mostrar comentarios más antiguos
hello every one I have abit of problem i need to Convert image to black white without using gray bands(hint, by using for matrix)?????; but I dont know how to use 'for'to answer it
if anyone one can help i will be greatful
2 comentarios
KALYAN ACHARJYA
el 24 de En. de 2021
"if anyone one can help i will be greatful"
If you provide enough information on the question, we would be grateful to you
Respuestas (1)
KALYAN ACHARJYA
el 24 de En. de 2021
Editada: KALYAN ACHARJYA
el 24 de En. de 2021
One way (Hint):
% Decide any data value within the Image/matrix elements data range (Pixel value) , lets say 100
bw_result=Matrix_data>100
imshow(....)
4 comentarios
Rik
el 25 de En. de 2021
You can always use this:
for n=1
bw_result=Matrix_data>100
end
On a more serious note: you may consider doing the Onramp tutorial (which is provided for free by Mathworks). I would also suggest avoiding using the comment style that is only compatible with Octave and will not work on Matlab.
Ver también
Categorías
Más información sobre Convert Image Type 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!