# HG changeset patch # User carandraug # Date 1348938620 0 # Node ID b490674d13c7377c8148c52bf695d44e73277fd2 # Parent 22009b99ee6b6704d2218dd785eeffd3669c85a9 image: mention changes of mat2gray on NEWS diff --git a/NEWS b/NEWS --- a/NEWS +++ b/NEWS @@ -116,6 +116,13 @@ and return a matrix of the values found. Its documentation has been expanded (as well as an explanation of TIFF structure on the source) + ** For sake of matlab compatibility, the behaviour of `mat2gray' has been + greatly changed. Among the changes, it will no longer swap the minimum and + maximum options if the first is larger than the later. Instead, will return + the image complement after truncation. Also, when the maximum and minimum + values are equal, `mat2gray' will truncate all values between 0 and 1. See + the help text (or source) for a detailed description of cautions. + ** Package is now dependent on GNU Octave version 3.6.0 or later. ** Package is now dependent on the signal package version 1.2.0 or later..