Ask Your Question

Revision history [back]

click to hide/show revision 1
initial version

How to calculate surface roughness in disparity map?

Hello! I am developing small project connected with security. I created simple face detection/recognition and stereo matching. So i have disparity map of the face region.
image description image description
The first disparity map belongs to real face, the second is photo of the face showed from the phone.
I want to determine where is real and where not. i think that for this propose can be used something like "surface roughness", but i cant figure out how to calculate it.
Please tell me the method can be used for calculate "surface roughness", or better way to do the same.
Thanks!