I have an grey-value-image with a codomain of [0..125] for all pixel.
After rotating and interpolating it with my own implemented function, I
get an image with a codomain [0..115.06]. When I use the IPP (Version
5.1) I get a range of values [-1.74..120.0] for all pixels. In my
opinion, this is not possible. The same effect takes place by using the
I don't know, if this is a bug or a error in reasoning the matter. My
idea was, that by rotating or resizing the range of the pixelvalues
remains to be constant. The interpolation does IMHO only nothing or a
shrinking of the range of values of the image.
Can you give me some hints whats the reason for this effect?
I use INTER_NN, INTER_LINEAR and INTER_CUBIC. Of course InterCubic and InterLinear can change the range. The problem is, that the range should get smaller on both borders by using this interpolation. The strange thing is, that the lower border gets negative values. Is there a logical explaination of this behavior?