Path: news.mathworks.com!not-for-mail
From: <HIDDEN>
Newsgroups: comp.soft-sys.matlab
Subject: Re: How to handle uploaded image in Gui
Date: Wed, 13 May 2009 12:41:01 +0000 (UTC)
Organization: The MathWorks, Inc.
Lines: 12
Message-ID: <guef4t$5tn$1@fred.mathworks.com>
References: <gudb01$51g$1@fred.mathworks.com> <93a98eeb-81dc-408e-8640-3142cc4542ac@u10g2000vbd.googlegroups.com> <gue6bl$cla$1@fred.mathworks.com>
Reply-To: <HIDDEN>
NNTP-Posting-Host: webapp-02-blr.mathworks.com
Content-Type: text/plain; charset="ISO-8859-1"
Content-Transfer-Encoding: 8bit
X-Trace: fred.mathworks.com 1242218461 6071 172.30.248.37 (13 May 2009 12:41:01 GMT)
X-Complaints-To: news@mathworks.com
NNTP-Posting-Date: Wed, 13 May 2009 12:41:01 +0000 (UTC)
X-Newsreader: MATLAB Central Newsreader 1343420
Xref: news.mathworks.com comp.soft-sys.matlab:539561


"Pulkit " <pulkit.audacious1.remove1tomail@gmail.com> wrote in message <gue6bl$cla$1@fred.mathworks.com>...
> Hey, thnx a lot for tht.
> I could manipulate with the image, but not with the individual pixels, like displaying the pixel value, the RGB value of a pixel etc.
> Could you help me out with that ??
> 
> Regards,
> Pulkit
------------------------------------------------------------------------------------------
Can you explain why not?  You have the matrix of pixel values, so what's the problem????  There are lots of ways of displaying the value of the pixel in text form including disp(), sprintf(), just typing it on the command line, sending it to a text control on a GUI, msgbox(), etc.  Similarly there are lots of ways of displaying the pixel value in intenstiy form such as image(), imagesc(), imshow().  What do you need help with????

And what do you mean by saying you "could manipulate the image but not with individual pixels"?  I have no idea what this means.  Do you mean that you can manipulate it by doing something to the whole array at a time, such as X = X/2?  Well you can do individual pixels too, just do something like X(132, 419) = X(137,419) / 2 to "manipulate" the pixel at location (137,419).  Why can't you do this?
-ImageAnalyst