From: Lobont on 8 Jul 2010 10:23 how do i make an RGB image from an existing RGB image and change the values of pixel in specified points
From: Image Analyst on 8 Jul 2010 10:32 "Lobont " <loby_m(a)yahoo.com> wrote in message <i14n08$kuk$1(a)fred.mathworks.com>... > how do i make an RGB image from an existing RGB image and change the values of pixel in specified points ----------------------------------------------------------- newRGBImage = existingRGBImage; x = 42; % Whatever you want. y = 69; % Whatever you want. newRGBImage(x,y, :) = [newRedValue newGreenValue newBlueValue];
From: Jan Simon on 8 Jul 2010 10:36 Dear Lobont, > how do i make an RGB image from an existing RGB image and change the values of pixel in specified points This loads an image from the disk and set the blue part of the pixel [10, 30] to the maximum: RGB = imread(FileName); RGB(10, 30, 3) = 1.0; For more specific answer, we need a more specific problem description. Kind regards, Jan
From: Lobont on 8 Jul 2010 11:38 "Jan Simon" <matlab.THIS_YEAR(a)nMINUSsimon.de> wrote in message <i14noq$c7a$1(a)fred.mathworks.com>... > Dear Lobont, > > > how do i make an RGB image from an existing RGB image and change the values of pixel in specified points > > This loads an image from the disk and set the blue part of the pixel [10, 30] to the maximum: > RGB = imread(FileName); > RGB(10, 30, 3) = 1.0; > > For more specific answer, we need a more specific problem description. > > Kind regards, Jan my problem is that i have to change the intensity of white and black or contrast . For this i need to set 5 points (a,b,c,d,e) on the image, diagonally just like curves in photosop. say my x and y axes are from 0 to 1000 point a at 0 point b at 250 point c at 500 point d at 750 point e at 1000 and then i have to say that if between points a, b and c the contrast is to high we have to lower the b point.....and i need to change the pixels around the b point...so can i change a region of pixels? and how and then i have to show the resulting image whit the changed pixels i'm trying to explain, but i'm not so good at expressing in english
From: Lobont on 8 Jul 2010 12:04 "Lobont " <loby_m(a)yahoo.com> wrote in message <i14rd5$bhs$1(a)fred.mathworks.com>... > "Jan Simon" <matlab.THIS_YEAR(a)nMINUSsimon.de> wrote in message <i14noq$c7a$1(a)fred.mathworks.com>... > > Dear Lobont, > > > > > how do i make an RGB image from an existing RGB image and change the values of pixel in specified points > > > > This loads an image from the disk and set the blue part of the pixel [10, 30] to the maximum: > > RGB = imread(FileName); > > RGB(10, 30, 3) = 1.0; > > > > For more specific answer, we need a more specific problem description. > > > > Kind regards, Jan > > > my problem is that i have to change the intensity of white and black or contrast . For this i need to set 5 points (a,b,c,d,e) on the image, diagonally just like curves in photosop. > > say my x and y axes are from 0 to 1000 > > point a at 0 > point b at 250 > point c at 500 > point d at 750 > point e at 1000 > > and then i have to say that if between points a, b and c the contrast is to high we have to lower the b point.....and i need to change the pixels around the b point...so can i change a region of pixels? and how > > and then i have to show the resulting image whit the changed pixels > > > i'm trying to explain, but i'm not so good at expressing in english i have to lower the b point from x-250 y-250 to x-200 y-200 and change the intensity of pixel from point a to c lower point to be b
|
Next
|
Last
Pages: 1 2 Prev: mex run time error Next: interpretation of weights from a neural network |