octave-bug-tracker
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Octave-bug-tracker] [bug #48468] imfinfo: image BitDepth value not comp


From: Carnë Draug
Subject: [Octave-bug-tracker] [bug #48468] imfinfo: image BitDepth value not compatible with MATLAB
Date: Wed, 13 Jul 2016 10:36:44 +0000 (UTC)
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:45.0) Gecko/20100101 Firefox/45.0

Follow-up Comment #4, bug #48468 (project octave):

> It becomes uncomfortable when you want to process images without knowing in
advance the bitdepth and let your script compensate for this.

I don't understand how that can be a problem. What do you want to compensate?
I'd actually guess that Octave's current behaviour would be nicer because it
tells you exactly the bitdepth of each channel. If you get bitdepth of 24,
there's a good probability that it's a uint8 or int8 values in 3 colors. But
if you have bitdepth 8 and truecolor, then you will know for sure. I don't
know of any setup where 24 would mean anything different than 8bit RGB images
but for other bitdepth values, there will be other possibilities.

Anyway, this is a compatibility issue and should be fixed. Does Matlab also
counts the alpha channel in the bitdepth?

    _______________________________________________________

Reply to this item at:

  <http://savannah.gnu.org/bugs/?48468>

_______________________________________________
  Message sent via/by Savannah
  http://savannah.gnu.org/




reply via email to

[Prev in Thread] Current Thread [Next in Thread]