Pixel Math
Posted: 2015-12-27T10:11:57-07:00
I am new to Image Processing in general but familar with code writing. There are so many choices in IM that I am unsure what to use for my application.
First, is there a glossary of IM terms somewhere so I know what Mogrify and other terms mean?
Second, is there a command that allows a math operation on each pixel of two seperate .JPG images to create a third image? I know how to perform the Subtract, Add, Difference commands and that works. But I need to do the following equation:
(Image1pixel value - Image2pixelvalue) / (Image1pixel value + Image2pixelvalue)
Then I need to normalize and stretch the result so it fills the whole 8 bit range of 0 to 255 pixel brightness values. I think I can do that.
Thanks so much for any insight on this!
First, is there a glossary of IM terms somewhere so I know what Mogrify and other terms mean?
Second, is there a command that allows a math operation on each pixel of two seperate .JPG images to create a third image? I know how to perform the Subtract, Add, Difference commands and that works. But I need to do the following equation:
(Image1pixel value - Image2pixelvalue) / (Image1pixel value + Image2pixelvalue)
Then I need to normalize and stretch the result so it fills the whole 8 bit range of 0 to 255 pixel brightness values. I think I can do that.
Thanks so much for any insight on this!