DescriptionThe Distance Node in 2.49 has a different calculation for RGB and YCC. While RGB calculate the distance in 3d between R,G and B, the YCC only takes Cb and Cr into consideration.
See if this implementation is ok.
Basically I:
- renamed COM_DistanceMatteOperation into COM_DistanceRGBMatteOperation
- turned the private properties into private
- isolated the distance calculation function into a new function
- inherited this file for the COM_DistanceYCCMatteOperation
- overriding the function calculateDistance.
Thanks,
Dalai
Patch Set 1 #
Total comments: 5
MessagesTotal messages: 4
|