I’m testing MCC module to correct colors of my images.
I was able to build/install the module, extract the Color Checker from an image and draw the patches on the image.
Now I want to get the regions (e.g. the 4 rectangle vertexes) of the color checker patches, drawn by the CCheckerDraw.
How to do it?
Looking at the source code, CCheckerDraw::draw function gets the region from CChartModel data, but CChartModel is not exposed in the DLL. And I don’t see any other object that exposes such info.
MCC test source has a runCCheckerDraw() function, that checks that the number of contours generated by draw() function are == to the number of expected patches. I can extract the region from said contours, but seems a lot of useless extra work.