Reply To: v002 OpticalFlow

Home Forums v002 v002 QC Plugins Support v002 OpticalFlow Reply To: v002 OpticalFlow

#4167
franz
Participant

I’m on a MBP core2 + 9600.

I’m using a bufferRep to grab your OFlow image, QCPlugInPixelFormatRGBAf , kCGColorSpaceGenericRGBLinear.

I grab pixels that way:

R = baseAddress[4*x+y*floatsPerRow];
G = baseAddress[4*x+1+y*floatsPerRow];
B = baseAddress[4*x+2+y*floatsPerRow];
A = baseAddress[4*x+3+y*floatsPerRow];

R,G and A works, but not B ….

EDIT:
i’ve logged the values, and B is always negative… (?)
R and G can range beyond 1 , but A always tops at 1.