Ask Your Question

Revision history [back]

click to hide/show revision 1
initial version

OpenCV/EmguCV Image Processing

Hello. I need to be able to detect multiple features in a image and I would like to ask for some advice/help/suggestions.

In this image: image description

I need to detect:

What I've DONE already: HSV image Canny Contours of the squares Centroid of the squares Contours of the circles Centroid of the circles BoundingBoxes

What I still NEED TO DO: Find which colors (Red,Blue,Green,Yellow,etc...) are inside each square. Sometimes there are more than one color inside one square. After that,

if(square have blue and green color) { } else if(square have red and yellow color) { } ...

I was trying to do like centroid.X - (a number) and centroid.Y - (a number) to detect color inside each quadrant but it's not working well because the program can crash if the centroid is near the border of the image.

Can you please help me in C code or just suggestions of an algortim to develop?

OpenCV/EmguCV Image Processing

Hello. I need to be able to detect multiple features in a image and I would like to ask for some advice/help/suggestions.

In this image: image description

I need to detect:

What I've DONE already: HSV image Canny image, Canny, Contours of the squares squares, Centroid of the squares , Contours of the circles circles, Centroid of the circles BoundingBoxescircles, BoundingBoxes,

What I still NEED TO DO:

Find which colors colors (Red,Blue,Green,Yellow,etc...) are are inside each square. Sometimes there there are more than one color inside one square. one square. After that,

if(square have blue and green color) color) { } } else if(square have red and yellow color) { } yellow color) { } ...

I was trying to do like centroid.X - (a number) and centroid.Y - (a number) to detect color inside each quadrant but it's not working well because the program can crash if the centroid is near the border of the image.

Can you please help me in C code or just suggestions of an algortim to develop?

OpenCV/EmguCV Image Processing

Hello. I need to be able to detect multiple features in a image and I would like to ask for some advice/help/suggestions.

In this image: image description

I need to detect:

What I've DONE already: HSV image, Canny, Contours of the squares, Centroid of the squares , Contours of the circles, Centroid of the circles, BoundingBoxes,

What I still NEED TO DO:

Find which colors (Red,Blue,Green,Yellow,etc...) are inside each square. Sometimes there are more than one color inside one square. After that,

if(square have blue and green color) { } else if(square have red and yellow color) { } ...

I was trying to do like centroid.X - (a number) and centroid.Y - (a number) to detect color inside each quadrant but it's not working well because the program can crash if the centroid is near the border of the image.

Can you please help me in C code or just suggestions of an algortim to develop?develop? Is SIFT a viable option??

OpenCV/EmguCV Image ProcessingGet Color inside Shapes

Hello. I need to be able to detect multiple features in a image and I would like to ask for some advice/help/suggestions.

In this image: image description

I need to detect:

What I've DONE already: HSV image, Canny, Contours of the squares, Centroid of the squares , Contours of the circles, Centroid of the circles, BoundingBoxes,

What I still NEED TO DO:

Find which colors (Red,Blue,Green,Yellow,etc...) are inside each square. Sometimes there are more than one color inside one square. After that,

if(square have blue and green color) { } else if(square have red and yellow color) { } ...

I was trying to do like centroid.X - (a number) and centroid.Y - (a number) to detect color inside each quadrant but it's not working well because the program can crash if the centroid is near the border of the image.

Can you please help me in C code or just suggestions of an algortim to develop? Is SIFT a viable option??