Taking rgb values in a video preview dynamically(i.e run time)
Mostrar comentarios más antiguos
Hello everyone!! I am stuck with a serious problem here! I have my video preview showing up in GUI. I wanted the user to select a particular color or a particular portion of the image by selecting it with mouse. Then I want to take the rgb values of the selected color into the program and operate with it. The part where the user has to select a portion of the image, I have no idea how to do it. I thought of using the crop function, but how to use it in run time. And all of this I have to do it in GUI and while the program is running. Please help.. :)
Respuesta aceptada
Más respuestas (1)
Anchit Dhar
el 26 de Abr. de 2013
0 votos
You can also try using the ROIPosition property of the videoinput object to get that subimage.
Categorías
Más información sobre Image Acquisition Support Packages for Hardware Adaptors (Generic Video Interface) 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!