Ask Your Question

Revision history [back]

"Now, as I understand it, any pixel value that goes into the negatives will end up being zero."

Why don't you just try? The behaviour depends on your matrix type. If you have an unsigned Matrix (e.g. CV_8UC1) then the value will be truncated. If you use a signed Matrix (CV_8SC1) negative values can be used without any problem.