Hello,
We've been attempting to copy pixel values from a CZI image using Accessor.CopyPixelsToBuffer that has had the gamma and white balance altered in Zen blue. However, the copied RGB values, using that method, are the image's original RGB values - before any alterations. I also noticed that when using the Zen Blue viewer, the pixel value notification area at the bottom of the viewer also shows the original RGB values even though alterations have been made (although the image display is correct). Is there a way to copy those altered RGB pixel values programatically? Or to calculate them based on metadata? We are using the C# ZeissImageLib.dll.
Thanks much
ImageAccessor CopyPixelsToBuffer returns original pixel data
I had meant to post the answer to this in case anyone else stumbled across this post later, but got sidetracked. Anyway, the key is the datamapping object in the Accessor constructor. The contrast, brightness, white & black levels, gamma are all available to build the object. Sorry if this is in the wrong forum.