Mercurial > hg > octave-lyh
diff scripts/image/ind2gray.m @ 6653:673686daec87
[project @ 2007-05-22 15:36:09 by jwe]
author | jwe |
---|---|
date | Tue, 22 May 2007 15:36:10 +0000 |
parents | 34f96dd5441b |
children | 93c65f2a5668 |
line wrap: on
line diff
--- a/scripts/image/ind2gray.m +++ b/scripts/image/ind2gray.m @@ -42,7 +42,7 @@ ## Convert colormap to intensity values (the first column of the ## result of the call to rgb2ntsc) and then replace indices in ## the input matrix with indexed values in the output matrix (indexed - ## values are the result of indexing the the intensity values by the + ## values are the result of indexing the intensity values by the ## elements of X(:)). Y = reshape (((rgb2ntsc (map))(:,1))(X(:)), rows, cols);