[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
How to show image with constant value?
From: |
zetab |
Subject: |
How to show image with constant value? |
Date: |
Wed, 26 Dec 2007 23:45:34 -0800 (PST) |
I need to show some computation result of image processing, but when the
resulting image has constant value in all pixel, the imshow() function seems
to not work for that. A "division by zero" warning was displayed and the
gnuplot window show an black image.
The following code will reproduce what I said:
RGB=cat(3,ones(100,100),ones(100,100),ones(100,100));
imshow(RGB);
I replaced the imshow() by image(), and the result was the same.
I use octave 2.9.19 on WinXP.
Is there any method can show such an image in octave?
--
View this message in context:
http://www.nabble.com/How-to-show-image-with-constant-value--tp14510451p14510451.html
Sent from the Octave - General mailing list archive at Nabble.com.
- How to show image with constant value?,
zetab <=