From: ImageAnalyst on
I'm wondering why you call this "normalize" though. Subtracting the
mean just shifts everything, it doesn't normalize. To normalize you'd
have to scale things somehow, typically by dividing something by
something else. Depends on what kind of normalization you want. What
do you REALLY want to do?
From: mops zaki on
ImageAnalyst <imageanalyst(a)mailinator.com> wrote in message <0a75edc3-2894-498d-8e1a-11b9c73dceaa(a)q23g2000vba.googlegroups.com>...
> I'm wondering why you call this "normalize" though. Subtracting the
> mean just shifts everything, it doesn't normalize. To normalize you'd
> have to scale things somehow, typically by dividing something by
> something else. Depends on what kind of normalization you want. What
> do you REALLY want to do?



thanx sir for ur support....
subtraction is on of its step.....
THIS IS THE CODE THAT IS USE FOR NORMALIZATION.....WAt i have done wrong in it..

M=mean(mean(I5));
V=var(double(image(:)));
Mn=100;
Vn=255;
if I5(x,y)<M
A=(I5(x,y)-M)^2;
A1=double(A);
I6=Mn+sqrt(A1*(Vn/V));
figure(3),imshow(I6),title('normalized image');
else
A=(I5(x,y)-M)^2;
A1=double(A);
I6=Mn-sqrt(A1*(Vn/V));
figure(3),imshow(I6),title('normalized image');
end