Path: news.mathworks.com!not-for-mail
From: "kees de Kapper" <kees_de_kapper@hotmail.com>
Newsgroups: comp.soft-sys.matlab
Subject: Displaying 3 channel data of values larger than 1
Date: Thu, 8 Oct 2009 08:10:05 +0000 (UTC)
Organization: The MathWorks, Inc.
Lines: 9
Message-ID: <hak6ot$29e$1@fred.mathworks.com>
Reply-To: "kees de Kapper" <kees_de_kapper@hotmail.com>
NNTP-Posting-Host: webapp-05-blr.mathworks.com
Content-Type: text/plain; charset="ISO-8859-1"
Content-Transfer-Encoding: 8bit
X-Trace: fred.mathworks.com 1254989405 2350 172.30.248.35 (8 Oct 2009 08:10:05 GMT)
X-Complaints-To: news@mathworks.com
NNTP-Posting-Date: Thu, 8 Oct 2009 08:10:05 +0000 (UTC)
X-Newsreader: MATLAB Central Newsreader 345740
Xref: news.mathworks.com comp.soft-sys.matlab:575796


Hi all,

I've got 3 channel data (call it pseudo RGB, e.g. 100x100x3) with values larger than 1. 
When I push this image to imshow or imagesc it complains that it cannot be displayed since values are <0 or >1 (no true color data).

How can I solve this problem, in other words, how can I display the image scaled between min and max values without affecting the original data.

thanx in advance,
Kees