the NSBitmapImageRep, and an alpha channel is
present).
The histograms in that case have gaps in them (certain levels seem to be
under-represented).
Histograms of what? Color component distributions? How do you determine that
levels are under-represented? If the pattern of gaps is regular
On Nov 13, 2011, at 11:11 , James Merkel wrote:
This is kind of interesting -- if I rotate the image in Preview (rather than
Image Capture), then the histogram looks normal.
Looking at the NSBitmapImageRep from Preview image, the order is RGBA and
there is no reported alpha channel.
On Nov 13, 2011, at 12:34 PM, Quincey Morris wrote:
On Nov 13, 2011, at 11:11 , James Merkel wrote:
This is kind of interesting -- if I rotate the image in Preview (rather than
Image Capture), then the histogram looks normal.
Looking at the NSBitmapImageRep from Preview image, the order
the NSBitmapImageRep.
Things seem to work ok except for images that have an alpha channel (that is,
bitsPerPixel = 32 from the NSBitmapImageRep, and an alpha channel is present).
The histograms in that case have gaps in them (certain levels seem to be
under-represented).
Some specific images
and create histograms from them using pixel data
from the NSBitmapImageRep.
Things seem to work ok except for images that have an alpha channel (that is,
bitsPerPixel = 32 from the NSBitmapImageRep, and an alpha channel is
present).
The histograms in that case have gaps in them (certain
the destination
(the background).
I read images from files and create histograms from them using pixel data
from the NSBitmapImageRep.
Things seem to work ok except for images that have an alpha channel (that
is, bitsPerPixel = 32 from the NSBitmapImageRep, and an alpha channel is
present