From: Lobont on
I have a project for school. It's like curves in photoshop.i have to change the balance of white and black so that the contrast of the image to be correct.

I have to read the pixels from a RGB image.select 5 point to determine my curve and make a new image from the first image but with the correct contrast changing pixel by pixel.
i don't know how to make a new image from another, and change the pixel values.

sry for my english, i'm trying my best
From: Lobont on
"Lobont " <loby_m(a)yahoo.com> wrote in message <i14e8t$l2c$1(a)fred.mathworks.com>...
> I have a project for school. It's like curves in photoshop.i have to change the balance of white and black so that the contrast of the image to be correct.
>
> I have to read the pixels from a RGB image.select 5 point to determine my curve and make a new image from the first image but with the correct contrast changing pixel by pixel.
> i don't know how to make a new image from another, and change the pixel values.
>
> sry for my english, i'm trying my best
i need help pls....it's very urgent