Re: New to Mathematica, need help for Image Processing.

• To: mathgroup at smc.vnet.net
• Subject: [mg115207] Re: New to Mathematica, need help for Image Processing.
• From: "W. Craig Carter" <ccarter at mit.edu>
• Date: Tue, 4 Jan 2011 04:26:07 -0500 (EST)

```Hello Nimo,
Try this:

This is data that (I guess) has the same structure as yours:

data = RandomInteger[{0, 255}, {565, 327}];

Dimensions[data]

Image[data, "Byte"]

For color:

data = RandomInteger[{0, 255}, {565, 327, 3}];
Image[data, "Byte"]

Kind Regards, Craig

On 31 Dec,   2010, at 5:00 AM, Nimo wrote:

> Hi..,
>
> Well, actually I'm not from programming background.
> Just for some analysis stuff,  I'm using mathematica.
>
> I tried to read mathematica documentation..its very huge and takes lot
> of time..
>
>
> so, here is my need.. pls, you people can help me..here..
>
> ____
>
>
> I have some pixel values[ image Resl:- is 565 x 327],
> all are Byte[0-255] values, total number of values =184755
>
>
> which I want to insert them in any mathematica function and
>  want to see how the image is going to be..
>
>
> I tried function
>
> Image [ { } {} {} ]
>
> but it is saying something like rank should be less than 3 or 2.
>
>
> Can you people give me any solution, so that I'll just copy and paste
> all the pixel values
> so that i will automatically adjust width & height of image.. and get
> displayed in the window.
>
>
> Thank you.
>   greetings
>    nimo.
>
>

```

• Prev by Date: Re: How to change the directory for the docs?
• Next by Date: Re: Mathematica daily WTF
• Previous by thread: Re: New to Mathematica, need help for Image Processing.
• Next by thread: Re: New to Mathematica, need help for Image Processing.