From: arvind on
can anyone help me with this please!

Write a matlab programme to read in an image to be processed with gamma components.
a.
Apply to your original image various gamma values of 1.4 and 2.5.
b.
Display on one window 4 plots to contain :
a.
Your original image.
b.
Image adjusted with the two different gamma values.
c.
Conclude and comment as labels or text in the respective sub plots for the respective observations.
(10 marks)
Target: Write a matlab programme to read in an image to be processed with gamma and noise components.
d.
Add Poisson or Gaussian noise to original image.
e.
Add your own noise map to the original image
f.
Adjust the image that included Poisson or Gaussian noise with low gamma value.
g.
Adjust the image that included your newly create noise map with low gamma value.
h.
Display your results on a window as 4 subplots.
i.
Conclude and comment as labels or text in the respective sub plots for the respective observations and comparisons between the four adjustments.

i have this so far..
clear all
%study gamma effect
img=imread('testpic.jpg');
gamma=1.4;

OutImg=imadjust(img,[],[],gamma);

figure(1);
subplot(2,2,1),imshow(img);
subplot(2,2,2),imshow(OutImg);

%study noise effect
NoiseCanvas=ones(size(img));
V=0.1*NoiseCanvas;

OutimgwNoise=imnoise(img,'localvar',V);

subplot(2,2,3),imshow(img);
subplot(2,2,4),imshow(OutimgwNoise);
From: ImageAnalyst on
OK, so far so good. You seem to know the functions to use, and don't
seem to have any difficulty using them. You ask for help but don't
say what your problem is. It seems to me that your only problem so
far is your willingness to finish the assignment. If you want to
continue and finish it, you can! Just keep at it and you'll have it
done in no time. And probably without requiring our help.
From: arvind on
ImageAnalyst <imageanalyst(a)mailinator.com> wrote in message <36d4b34f-bc48-4c00-ba01-5ceb9c6fee3d(a)r1g2000yqj.googlegroups.com>...
> OK, so far so good. You seem to know the functions to use, and don't
> seem to have any difficulty using them. You ask for help but don't
> say what your problem is. It seems to me that your only problem so
> far is your willingness to finish the assignment. If you want to
> continue and finish it, you can! Just keep at it and you'll have it
> done in no time. And probably without requiring our help.


oh sorry i dont know how to create a noise map.. im stuck there..
From: ImageAnalyst on
On Apr 2, 11:49 pm, "arvind " <vin-pet...(a)hotmail.com> wrote:
> oh sorry i dont know how to create a noise map.. im stuck there..
---------------------------------------------------------------------------------------

Just forget the word "map" - that was probably a bad choice of words.
Just use imnoise to add noise to the image like you were already
doing. And it says you can add "your own noise" to the image. Well
noise is anything that is not signal (the original image), correct.
Well that gives you a lot of flexibility in what to add to the image
to corrupt it. Just use something they didn't mention already, such
as adding salt and pepper noise, or a sine wave, or another image, or
whatever you want. Very easy.