[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: images
From: |
Daniel J Sebald |
Subject: |
Re: images |
Date: |
Fri, 09 Feb 2007 05:11:53 -0600 |
User-agent: |
Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.7.3) Gecko/20041020 |
The restoring of a colormap in imshow.m probably doesn't make any sence under
the new scheme, does it? (Unless we store palettes with individual images.)
Dan
--- imshow.m 2007-02-09 04:07:11.000000000 -0600
+++ imshow_new.m 2007-02-09 05:08:16.807286512 -0600
@@ -97,7 +97,7 @@
## Set other default parameters.
isindexed = false;
initial_magnification = 100;
- old_colormap = color_map = colormap ();
+ color_map = colormap ();
## Handle the rest of the arguments.
narg = 1;
@@ -149,9 +149,8 @@
dim = ndims (im);
if (dim == 2)
im = round ((size (color_map, 1) - 1) * im);
- colormap (color_map);
image (im, initial_magnification/100);
- colormap (old_colormap);
+ colormap (color_map);
elseif (dim == 3 && size (im, 3) == 3)
__img__ ([] , [], im);
##FIXME NEEDED ANYMORE FOR A SPECIAL CASE? ## Convert to indexed image.
- Re: 2.9.10, finally?, (continued)
- Re: 2.9.10, finally?, Daniel J Sebald, 2007/02/08
- Re: 2.9.10, finally?, John W. Eaton, 2007/02/08
- Re: 2.9.10, finally?, Daniel J Sebald, 2007/02/08
- images, Daniel J Sebald, 2007/02/08
- images, John W. Eaton, 2007/02/09
- Re: images, Shai Ayal, 2007/02/09
- Re: images, John W. Eaton, 2007/02/09
- Re: images, Shai Ayal, 2007/02/09
- Re: images, Daniel J Sebald, 2007/02/09
- Re: images, Daniel J Sebald, 2007/02/09
- Re: images,
Daniel J Sebald <=
- Re: images, John W. Eaton, 2007/02/15
- Re: images, John W. Eaton, 2007/02/15
- Re: images, Daniel J Sebald, 2007/02/15
- Re: 2.9.10, finally?, John W. Eaton, 2007/02/08
- Re: 2.9.10, finally?, Daniel J Sebald, 2007/02/09