From: Nandish on

Using 'imtool' and 'impixelregion' or 'impixelregionpanel', we can display the pixel regoin of an image....
But i want to read(take) each of pixel value of an image for further processing.. is it possible? If it is how can i do that?

Thanks
From: ImageAnalyst on
Nandish
Well how did you call imtool? You had to pass it the image, right?
Well the elements in the array (the array that is the image) are the
pixel values. But this is SO obvious that I'm not sure I really
understand what you're asking so please clarify.

In fact, let's take a step back and have you post your image somewhere
and tell us what in the image you want to measure. Then we can tell
you how to do it.

From: Nandish on
ImageAnalyst <imageanalyst(a)mailinator.com> wrote in message <af6339c2-3239-41bf-aaf8-da6925b9e46e(a)v25g2000yqk.googlegroups.com>...
> Nandish
> Well how did you call imtool? You had to pass it the image, right?
> Well the elements in the array (the array that is the image) are the
> pixel values. But this is SO obvious that I'm not sure I really
> understand what you're asking so please clarify.
>
> In fact, let's take a step back and have you post your image somewhere
> and tell us what in the image you want to measure. Then we can tell
> you how to do it.

Dear Imageanalyst,

Let me tell you what i want to do..
Actually i want to convert each of pixel value to some other(predefine) value using lookup table. For that i need to read each of pixel value then using LUT i will convert it to other predefine value.
So my question is how i can read each of pixel value..?

Thanks
From: Ashish Uthama on
On Mon, 15 Feb 2010 12:15:04 -0500, Nandish <nandishpatel.24(a)gmail.com>
wrote:

>
> Using 'imtool' and 'impixelregion' or 'impixelregionpanel', we can
> display the pixel regoin of an image....
> But i want to read(take) each of pixel value of an image for further
> processing.. is it possible? If it is how can i do that?
>
> Thanks

IMREAD perhaps?
From: ImageAnalyst on
On Feb 15, 1:03 pm, "Nandish " <nandishpatel...(a)gmail.com> wrote:
> Dear Imageanalyst,
>
> Let me tell you what i want to do..
> Actually i want to convert each of pixel value to some other(predefine) value using lookup table. For that i need to read each of pixel value then using LUT i will convert it to other predefine value.
> So my question is how i can read each of pixel value..?
>
> Thanks
-------------------------------------------------------------------
You can just use regular math on the arrays, or you can precompute all
possible answers and use the intlut() function. If you use intlut(),
you'll have to convert each color plane one at a time.