Segment Coordinates of split screen
Mostrar comentarios más antiguos
I split screen into segments for my classifier. I don't just want to classify each segment, I want the pixel coordinates of each segment as well. How do I do this?
thanks
Respuesta aceptada
Más respuestas (1)
Image Analyst
el 28 de Dic. de 2017
Editada: Image Analyst
el 28 de Dic. de 2017
0 votos
What do you mean by segmentation for your classifier? Is it like you want to segment the standard peppers.png demo image into purple region(s), red regions, green regions, and yellow regions, and you want the pixel coordinates of each segment (each class)? And you want to split up the screen to show masks for each segmentation (class)? If so, you can segment the image using whatever method you want, such as classify() function or the Color Thresholder app, then take the mask for each color class and use find() or regionprops() to get the (x,y) coordinates for each class.
1 comentario
Steven Moran
el 28 de Dic. de 2017
Categorías
Más información sobre Image Segmentation 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!