What does it mean to have negative pixels stored in an image? How is it useful?

asked 2019-01-20 04:17:54 -0500

I was talking to a friend who mentioned that he was dealing with an image having negative pixels.

What does it mean to have negative pixels stored in an image? How is it useful?

edit retag flag offensive close merge delete

Comments

what is the context ?

if you subtract 2 images, sure you can get negative values. also, derivatives, like Sobel have those.

then, a lot of Mat's are not really "images", and there can be anything in it, like optical flow, movement to the left, or up will have negative values, too.

berak gravatar imageberak ( 2019-01-20 09:36:21 -0500 )edit