octave-maintainers
[Top][All Lists]
Advanced

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

rgb2ind changes


From: mikez23
Subject: rgb2ind changes
Date: Wed, 17 Jun 2009 18:31:56 -0400

The function limits the colormap to 1024 colors, I had gotten freezes loading the picture attached with the
commands
 A=imread("mywife.jpg");
 [I,m]=rgb2ind(A);
 m=double(m)/255;
 colormap(m)
 imagesc(I);

gnuplot freezes saying it is allocating colors it doesn't freeze all the time but sometimes it does
                                               Mike Zielinski.

Attachment: rgb2ind.tar.gz
Description: GNU Zip compressed data


reply via email to

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