Population
Image processing library in C++
Classes

Matrix In -> Matrix Out (drawing objects as line circle) More...

Classes

class  pop::Draw
 Draw objects on the matrix. More...
 

Detailed Description

Matrix In -> Matrix Out (drawing objects as line circle)

In this example, I draw a circle for each key point

Mat2RGBUI8 lena;
lena.load((std::string(POP_PROJECT_SOURCE_DIR)+"/image/Lena.bmp").c_str());
Vec<KeyPoint<2> > keypoints = Feature::keyPointHarris(lena);
for(int i=0;i<keypoints.size();i++){
Draw::circle(lena,keypoints[i].x(),4,RGBUI8::randomRGB(),2);
}
lena.display();
lenaharris.jpg