Emulgator
8th March 2021, 14:51
From the few documentation lines:
If saturate is true, the result of the convolution is clipped to [0..255], else the absolute value of the result is clipped to [0..255].
I keep getting positive results only, no wonder, results are mapped onto a Y plane which can not go below Y=0.
Since I intend to do something with the negative results of a convolution I don't want any clipping to happen, rather shift zero plane to maybe +127 and map convolutions results onto that shifted plane.
Or is there a straighter way I overlooked ?
If saturate is true, the result of the convolution is clipped to [0..255], else the absolute value of the result is clipped to [0..255].
I keep getting positive results only, no wonder, results are mapped onto a Y plane which can not go below Y=0.
Since I intend to do something with the negative results of a convolution I don't want any clipping to happen, rather shift zero plane to maybe +127 and map convolutions results onto that shifted plane.
Or is there a straighter way I overlooked ?