get regions properties in specific part of a frame
9 visualizaciones (últimos 30 días)
Mostrar comentarios más antiguos
I am trying to get region's properties which are lying in specific part of field. like i have a co-ordinate in the frame and i want regions properties which are in the 100 pixel range from the specific co-ordinate(pixel) in a frame or image
Respuestas (1)
Sean de Wolski
el 11 de Jun. de 2012
Use bwdist() to locate pixels within 100px of your Pixel-of-Interest ( bwdist even provides fancy alternate methods of doing this!). Then either mask this off or require that the CC.PixelIdxList (output from bwconncomp) values intersect with one of the pixels in your region-of-interest to include that object in your analysis
0 comentarios
Ver también
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!