Re: Apply color transformation on images containing a single channel
Mark Boorer <mark...@...>
Hi Jeremy,toggle quoted message Show quoted text
Thanks for your quick reply!
Unfortunately, it seems that PlanarImageDesc also requires at least 3 channels of data. I tried passing it NULL pointers for the other, non existing channels, though it complains at runtime that "Valid ptrs must be passed for all 3 image rgb color channels".
I guess I can construct dummy 0 arrays for the other channels, but that seems like a waste of resources. Do you have any other ideas?
On Thursday, April 11, 2013 1:59:55 PM UTC+10, Jeremy Selan wrote: