Prev: Convert uint16 to fixed point
Next: structure length
From: Rebecca on 28 Mar 2010 17:36 I need some suggestions on how to use the video and image processing toolboxes and blocksets to spot targets in an image. The targets are shapes (circle, square, hexagon) and have a character printed on them. I know that a large portion of the images will be green or gray (grass and concrete) , and the targets will be all one color and the character will be another color. What approach can I take to detecting these targets in the picture?
From: Sean on 28 Mar 2010 19:51 "Rebecca " <ronumber23(a)hotmail.com> wrote in message <hooi45$sku$1(a)fred.mathworks.com>... > I need some suggestions on how to use the video and image processing toolboxes and blocksets to spot targets in an image. > > The targets are shapes (circle, square, hexagon) and have a character printed on them. I know that a large portion of the images will be green or gray (grass and concrete) , and the targets will be all one color and the character will be another color. > > What approach can I take to detecting these targets in the picture? It would really help if you gave us a link to an image.
From: ImageAnalyst on 28 Mar 2010 23:42 On Mar 28, 5:36 pm, "Rebecca " <ronumbe...(a)hotmail.com> wrote: > I need some suggestions on how to use the video and image processing toolboxes and blocksets to spot targets in an image. > > The targets are shapes (circle, square, hexagon) and have a character printed on them. I know that a large portion of the images will be green or gray (grass and concrete) , and the targets will be all one color and the character will be another color. > > What approach can I take to detecting these targets in the picture? ------------------------------------------------------------------------------------- I have the Image Processing Toolbox but not Simulink so I don't know how much I can help. Perhaps this MATLAB demo on color detection will help: http://www.mathworks.com/matlabcentral/fileexchange/26420-simplecolordetection Or this one one blob segmentation and measurement: http://www.mathworks.com/matlabcentral/fileexchange/25157-blobsdemo
From: witek on 29 Mar 2010 08:19 Rebecca <ronumber23(a)hotmail.com> wrote: > I need some suggestions on how to use the video and image processing toolboxes and blocksets to spot targets in an image. > > The targets are shapes (circle, square, hexagon) and have a character printed on them. I know that a large portion of the images will be green or gray (grass and concrete) , and the targets will be all one color and the character will be another color. > > What approach can I take to detecting these targets in the picture? Hi Rebecca, It depends how much control you have over lighting, camera position, etc. Perhaps even a simple normalized cross correlation would work for you. Take a look at the Pattern Matching demo in the blockset for some ideas: Simulink version: http://www.mathworks.com/products/viprocessing/demos.html?file=/products/demos/shipping/vipblks/vippattern.html MATLAB version: http://www.mathworks.com/products/viprocessing/demos.html?file=/products/demos/shipping/vipblks/videopatternmatching.html BTW. The blockset functionality is now (as of 10a release) available in both MATLAB and Simulink. You may find that useful, especially if you are new to Simulink. You can start in MATLAB and migrate to Simulink if it helps. Other demos that might help you are: "Color Segmentation" and "Traffic Warning Sign Recognition" Witek
From: Rebecca on 29 Mar 2010 13:47
"Sean " <sean.dewolski(a)Idontwantspam.umit.maine.edu> wrote in message <hooq19$le0$1(a)fred.mathworks.com>... > "Rebecca " <ronumber23(a)hotmail.com> wrote in message <hooi45$sku$1(a)fred.mathworks.com>... > > I need some suggestions on how to use the video and image processing toolboxes and blocksets to spot targets in an image. > > > > The targets are shapes (circle, square, hexagon) and have a character printed on them. I know that a large portion of the images will be green or gray (grass and concrete) , and the targets will be all one color and the character will be another color. > > > > What approach can I take to detecting these targets in the picture? > > It would really help if you gave us a link to an image. Here's a link to an example image. You can see the orange hexagonal target with a yellow "R" on it. <a href = "http://i174.photobucket.com/albums/w101/becca23_photos/633495612991.jpg"> Example Image </a> |