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

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

[Octave-bug-tracker] [bug #50152] image: rgb2ycbcr and ycbcr2rgb convers


From: Carnë Draug
Subject: [Octave-bug-tracker] [bug #50152] image: rgb2ycbcr and ycbcr2rgb conversions do not preserve single class
Date: Sun, 29 Jan 2017 15:55:35 +0000 (UTC)
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:45.0) Gecko/20100101 Firefox/45.0

Update of bug #50152 (project octave):

                  Status:         Patch Submitted => Fixed                  
             Open/Closed:                    Open => Closed                 
                 Release:                   4.2.0 => other                  
                 Summary: rgb2ycbcr and ycbcr2rgb conversions do not preserve
single class => image: rgb2ycbcr and ycbcr2rgb conversions do not preserve
single class

    _______________________________________________________

Follow-up Comment #4:

Thank you guys for the bug report and patch.  Both issues now fixed.

Docs fixed on stable http://hg.code.sf.net/p/octave/image/rev/2ab0db706c5f

Single class issue fixed on default since it is not a regression and backwards
incompatible http://hg.code.sf.net/p/octave/image/rev/cecb20d64f40

Note that instead of converting back to single at the end, the change simple
skips the conversion to double.  This is because that if the image is class
single, the user has accepted to sacrifice the precision to reduce memory
usage so we shouldn't be converting to double internally.

I am wondering if maybe we should also use single for images in uint8 at
least.

    _______________________________________________________

Reply to this item at:

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

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




reply via email to

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