[Top][All Lists]

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


From: Rik
Subject: Re:
Date: Sat, 01 Nov 2014 19:08:45 -0700

On 11/01/2014 07:35 AM, address@hidden wrote:
> Hi,
> Currently, the call to "image ()" without argument builds an image object using data loaded from file (default.img). For consistency with other graphics primitives (and for matlab compatibility if it is of any importance here), I think octave should use the default image "cdata" instead.
> Do people have an opinion against this modification in image.m behavior?
> Pantxo

The default cdata does not appear to be the same as that in default.img?  Should the two be made the same?  Matlab compatible behavior is to display a default image for the function call image().  Is their cdata equivalent to their default image?

cimg = get (0, 'defaultimagecdata');
hi = image ();
dimg = get (hi, 'cdata');
isequal (cimg, dimg)


reply via email to

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