|

Simple quickly hacked together tool which matches two images of a Macbeth chart by a 3x3 matrix and, optionally, a saturation correction. It then exports the blackmagic fusion node(s) to the clipboard ready to applied to your sources.

Mainly I want to color match a Macbeth chart filmed with both, the Footage cam and the Pano cam at the same time and roughly the same position, to color correct the _footage_ to ,minimize any minor color shifts. And also I want to use it for some experiments (Like matching footage to a rendered Macbeth chart lit by the hdri) just to see what happens.
Warning: This tool is not intended to do weird things with your hdri, like I've seen elsewhere A Macbeth Chart (and a 3x3 Matrix) is a very coarse tool...if you wish you can do it, but I don't recommend it. (That’s the polite version of a long rant which I originally planed, but as an amateur I'm not in the position to criticize and advise people)
I might open source it though since I didn't use any of my custom controls for it and opencv does the heavy lifting.
Word of warning, this tool is in experimental phase, it has been tested only on a handfull of images
YOU MIGHT HAVE TO DOWNLOAD THE VC_REDIST FROM MICROSOFT ON NEWER SYSTEMS
Initial Release
Interface:
The controls are pretty straight forward, although I guess mentally confusion between footage and pano will be happen, no matter how I call them.
On the left you got all the controls on the right you got the two images (Pano for the source. footage for the target). In these windows you can use middle mouse to pan and scroll wheel to zoom. You can click on the four borders of the square to match the rectangle to the chart, and you can click in the center to drag it.
The toolbar options:
Load plate shot The target image (the one which gets modified)
Load pano shot The source image (the one which gets matched to)
Detect Chart Tries to detect the chart in the image automatically
Color Space The color space the matching takes place. By default its Rec709. This is the main parameter to match and unmatch your footahe. Use the correct color space for your footage. I used rec709 as standard, because I plan to use linearised exr for matching. Sorry it seems opencv has, for chart matching, no aces support.
Include Saturation Match These tries to match the saturation of both charts. Exports an additional color correct node with the value Warning: Changing saturation is destructive, especially when you initially lower the saturation. the inverse will not preserve the colors.
Match Pano Matches the footage image towards the pano and exports the fusion node(s) tp the clipboard
Invert Match Pano Outputs the inverse matrix and saturation to the clipboard
Match Footage: Matches the pano image towards the footage image
Invert Match Footage Outputs the inverse of the match.
Below: Displays the current picked colors of the pano or footage image.
|