embedding image processing codes
Show older comments
Hello, I am trying to get snapshot from webcam and to trace the boundary of the obje. I need to send this boundary coordinates to an other block. Can I reach my target , using trace boundary blockset ? Or should I embed the codes in matlab function blockset. By the way I am using : bwtraceboundary , getsnapshot,rgb2gray,graythresh ect. I tried to embed but it gived some error. " not supported in stand alone codes." Best Regards
Answers (3)
Image Analyst
on 3 Jun 2012
1 vote
Any reason why you're using bwtraceboundary, where you have to be absolutely sure you give it a starting point on the boundary to start from, rather than bwboundaries, which doesn't require that? Or even find() if all you want are coordinates and don't need connected sets of coordinates.
osman
on 3 Jun 2012
1 Comment
Image Analyst
on 3 Jun 2012
Well I don't use Simulink but I use bwboundaries all the time so I know this is definitely not true: "I can use only bwboundaries command to get boundary coordinates of the object aquired by webcam" You can use it on any binary image no matter how you got it or created it.
osman
on 3 Jun 2012
0 votes
Categories
Find more on Computer Vision with Simulink in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!