Re: Can gray image’ pixel value be negative?



lijing wrote:
Want to normalize an gray image to zero mean and unit variance, but
now I wonder could a gray image’ pixel value be negative? I have never
seen. Could you give some explanation?

It's a matter of the image encoding. If you want a zero mean, then of course some pixel values must be negative (if the image is non-trivial, that is). There is nothing wrong with this. If you want to display this again later, you need to add the bias again, of course.

So long,
Thomas
.



Relevant Pages

  • Re: Speed of large [] array
    ... When I do image processing, using an 8-bit per pixel format is 4 times faster than using a 32-bit per pixel format, as long as I have to go through the majority of the pixels in a linear sequence. ... The reason behind that is very simple: If you can reduce the amount of data transferred 4 times, it doesn't matter that the processor has to execute a single sub-optimal instruction that involves byte access, the overall performance will still be nearly 4 times faster, because the memory transfer is the dominant operation. ...
    (microsoft.public.vc.language)
  • Re: Raw image in header file
    ... level that corresponds to the pixel. ... It will be useful in order to avoid read from hd that on my target ... Oh, dear, where can the matter be ...
    (comp.lang.c)
  • =?windows-1252?Q?Re=3A_Can_gray_image=92_pixel_value_be_negative=3F?=
    ... now I wonder could a gray image’ pixel value be negative? ... Could you give some explanation? ... Thank you for your attention! ...
    (sci.image.processing)
  • Re: How to Draw a point???
    ... Hey!! ... I guess you WERE talking about a "Point", dang it, maybe I should read ... A pixel is a pixel, ... > a Pixel) with a thickness of 1, then yes, scaling would matter then. ...
    (microsoft.public.dotnet.framework.drawing)
  • Re: easy question, some one help please!!
    ... result you were expecting, it's a different matter. ... from it i.e. any black components but i have no idea how to do it. ... pre defined threshold then the pixel is considered black. ...
    (comp.soft-sys.matlab)