VisionLab Visual C++/MFC
how to spilit the color
Thread Starter: willhpc Started: 3/28/2007 3:47 AM UTC
Replies: 1
how to spilit the color
Hi,
 I am doing my school project how to identify an object with pre-defined shape such as circle, rectangle ,square etc...

 The canny help me do a lof of work which extract the outline of that object. And I do a simple calculation to perform a good result. However, it can't separate the pre-defined object with another unrelated objects.

 One idea that I think will work make the object with a pre-defined color such as red, blue etc...  
  My question is how to handle the function CVLColorSplit.h.

Thanks,
Re: how to spilit the color
Hi willhpc,

I am sorry for not responding earlier. Did you figure out how to use the CTVLColorSplit component?

CTVLColorSplit Splitter;

...
...

Splitter.InputPin.Connect( VideoSourceComponent.OutputPin );
Splitter.OutputPins[ 0 ].Connect( ImageDisplay1.InputPin );
Splitter.OutputPins[ 1 ].Connect( ImageDisplay2.InputPin );
Splitter.OutputPins[ 2 ].Connect( ImageDisplay3.InputPin );

...
...

With best regards,
  Boian Mitov

willhpc wrote:
Hi,
 I am doing my school project how to identify an object with pre-defined shape such as circle, rectangle ,square etc...
 The canny help me do a lof of work which extract the outline of that object. And I do a simple calculation to perform a good result. However, it can't separate the pre-defined object with another unrelated objects.
 One idea that I think will work make the object with a pre-defined color such as red, blue etc...    My question is how to handle the function CVLColorSplit.h.
Thanks,