I’m studing image processing and I already wrote algorithms for this task in my computer. These algorithms is in C++ too and they uses images in files. But they depends on access to the images pixels. Is there a way to do this in wpi?
I want to track rectangles in the camera image. I like something like this:
AxisCamera &cam = AxisCamera::GetInstance();
MonoImage &image = cam.GetImage()->GetLuminancePlane();
for (int i = 0; i < image.GetWidth(); ++i) {
for (int i = 0; i < image.GetWidth(); ++i) {
[INDENT]Color pixel = image.GetPixels(i, j);
}[/INDENT]
}