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

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

[Octave-bug-tracker] [bug #49941] image package: rgb2gray of a single im


From: anonymous
Subject: [Octave-bug-tracker] [bug #49941] image package: rgb2gray of a single image produces a double image
Date: Thu, 26 Jan 2017 10:05:57 +0000 (UTC)
User-agent: Mozilla/5.0 (Windows NT 6.1; Trident/7.0; rv:11.0; chromeframe/29.0.1547.76) like Gecko

Follow-up Comment #1, bug #49941 (project octave):

Actually, it might be an idea to handle the line

gray = im2double (rgb)...

differently and convert to double only in the case of uint8/uint16. This way
if the input is single, the calculation is also done at single precision
(saves a lot for very large images).

Also see bug #50152

    _______________________________________________________

Reply to this item at:

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

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




reply via email to

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