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

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

[Octave-bug-tracker] [bug #52053] clim values should be cast to double b


From: Georg Wiora
Subject: [Octave-bug-tracker] [bug #52053] clim values should be cast to double before applying
Date: Tue, 19 Sep 2017 08:27:52 -0400 (EDT)
User-agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:55.0) Gecko/20100101 Firefox/55.0

Follow-up Comment #9, bug #52053 (project octave):

Be careful with the image and imagesc etc. functions. They have a different
behavior depending on the data type of the image:
Images using uint8 are assumed to be in the data range of 0 to 255, while
images in float or double format are assumed to be in the data range 0 to 1.0.
Color scaling and thus clim behavior depends on this data types. I do not now
whether image-functions distinguish this by them self or if clim property does
this.

Please check your patch not to change this behavior.

    _______________________________________________________

Reply to this item at:

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

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




reply via email to

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