Hi there.
I want to determine the Domain of Definition (DoD) of an image and found the BoundsFinder to probably be the tool of choice.
My workflow is
Video In -> ChromaKey -> BoundsFinder ->(triggering some other stuff).
While the ChromaKey delivers a Matte as expected, the BoundsFinder outputs erratic Values for Top Bound X and Bottom Bound X.
This could be tested pretty easily by feeding a Solid Color (say...1920x1080) into the BoundsFinder.
It will then output 1918 for *both* Top & Bottom X, whereas something like 0/1920 would be the expected values.
Am I doing something wrong, or is this a bug?
Cheers & all the best.
Eric.
Hi Eric,
The Chroma Keyer module produces a black and white matte, where black is the keyed-out part.
While the Bounds Finder module works with alpha.
So you need to turn the black and white into alpha. Aximmetry has a module that does just that, called the Alpha Merger module:
Note however that Bounds Finder finds the top most pixel and bottom most pixel. That is why the output pins are named Top and Bottom.
If you also want to find the left most and right most pixel, you will have to rotate the image like this:
Warmest regards,