How im2bw works in image processing when we change the level ??
Mostrar comentarios más antiguos
I want to know how im2bw works??
when changing the level : im2bw(image, level)
there is some equation or formula which help .......when we changing the thresholding level values??
Respuestas (2)
Image Analyst
el 12 de Jul. de 2014
Editada: Image Analyst
el 12 de Jul. de 2014
Type
>> edit im2bw
and you'll have your answer. That's the sourse code for the function. Basically it converts level to the range that the data class is in and then thresholds like bw=input>level.
1 comentario
Akhilesh Singh
el 12 de Jul. de 2014
Laila Kazemi
el 12 de Jul. de 2014
0 votos
So level is the threshold. Any pixel with intensity greater than the threshold is equal to 1 and pixels with intensity smaller than the threshold are set to zero. No equations its a logic process.
1 comentario
Akhilesh Singh
el 12 de Jul. de 2014
Categorías
Más información sobre Image Segmentation and Analysis en Centro de ayuda y File Exchange.
Productos
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!