Search All of the Math Forum:

Views expressed in these public forums are not endorsed by NCTM or The Math Forum.

Notice: We are no longer accepting new posts, but the forums will continue to be readable.

Topic: New to Mathematica, need help for Image Processing.
Replies: 4   Last Post: Jan 4, 2011 4:26 AM

 Messages: [ Previous | Next ]
 Cobra Posts: 414 Registered: 10/30/08
Re: New to Mathematica, need help for Image Processing.
Posted: Jan 1, 2011 4:23 AM

On Dec 31, 3:00 pm, Nimo <azeez...@gmail.com> 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.

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

Dimensions[data]

Image[data, "Byte"]

For color:

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

yeah.., this is from Craig Carter.. thanks for the reply.

I tried this, it is displaying an Random image of 565 x 327.

but, my pixel values are from real world image.

At RandomInteger function, i want to put my pixel values(or if it is
function, i dont know for sure)

all I've is 184755 pixel values in Range[0 -255]

any ideas..

greetings.

Date Subject Author
12/31/10 Cobra
1/1/11 Cobra
1/1/11 Patrick Scheibe
1/4/11 W. Craig Carter
1/4/11 W. Craig Carter