Image Edge Detection Using Edge Function
Ahora está siguiendo esta pregunta
- Verá actualizaciones en las notificaciones de contenido en seguimiento.
- Podrá recibir correos electrónicos, en función de las preferencias de comunicación que haya establecido.
Se ha producido un error
No se puede completar la acción debido a los cambios realizados en la página. Vuelva a cargar la página para ver el estado actualizado.
0 votos
Comparte un enlace a esta pregunta
Respuesta aceptada
1 voto
Comparte un enlace a esta respuesta
9 comentarios
Comparte un enlace a este comentario
Comparte un enlace a este comentario

- You can see that using thresholding to get the white didn't really perform well because there are white pixels in the bar. This is most likely due to specular reflections of your lamp off the shiny parts of your bar. You can knock these out by using a polarizer in front of your lamp and another one in front of your camrea lens that you rotate until the reflections disappear.
- Also it would be good if you can use a jig so that the bar and "holder" are in the same location in the field of view. then you could use a fixed mask to erase everything known to never be part of the bar object of interest. Make the mask a little bit larger if the bar is bent or has a different size, but the fixed mask would go a long way in getting rid of the clutter around the white holder.
- Also see if you can use a uniform background of a different color. For example if you didn't have that reddish (wood?) background, that would help. It would also help TREMENDOUSLY if you could use a different color background. For example a bright red, green, or some other vivid color. In that case, we could just use rgb2hsv() and threshold on the saturation channel to find the background. It would be SO MUCH easier.
Comparte un enlace a este comentario
Comparte un enlace a este comentario
Comparte un enlace a este comentario
Comparte un enlace a este comentario
- use polarizers to get rid of the specular reflections, and
- take a picture of a blank gray sheet that fills the field of view so that you can divide the actual images by it to correct for lens shading (which you definitely have even if you don't realize it) and correct for illumination non-uniformity.
Comparte un enlace a este comentario
Comparte un enlace a este comentario

Comparte un enlace a este comentario
Más respuestas (1)
0 votos
Comparte un enlace a esta respuesta
Categorías
Más información sobre Image Segmentation en Centro de ayuda y File Exchange.
Productos
Etiquetas
Ver también
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!Seleccione un país/idioma
Seleccione un país/idioma para obtener contenido traducido, si está disponible, y ver eventos y ofertas de productos y servicios locales. Según su ubicación geográfica, recomendamos que seleccione: .
También puede seleccionar uno de estos países/idiomas:
Cómo obtener el mejor rendimiento
Seleccione China (en idioma chino o inglés) para obtener el mejor rendimiento. Los sitios web de otros países no están optimizados para ser accedidos desde su ubicación geográfica.
América
- América Latina (Español)
- Canada (English)
- United States (English)
Europa
- Belgium (English)
- Denmark (English)
- Deutschland (Deutsch)
- España (Español)
- Finland (English)
- France (Français)
- Ireland (English)
- Italia (Italiano)
- Luxembourg (English)
- Netherlands (English)
- Norway (English)
- Österreich (Deutsch)
- Portugal (English)
- Sweden (English)
- Switzerland
- United Kingdom (English)
