ABME icon indicating copy to clipboard operation
ABME copied to clipboard

About error maps

Open Heroandzhang opened this issue 4 years ago • 1 comments

Hi!I would like to ask you how to get the error maps? Is there specific codes for these? Thank you very much!

Heroandzhang avatar Sep 26 '21 04:09 Heroandzhang

Hi, Heroandzhang.

To get the error maps for comparing a test frame and target frame, you first pixel-wise subtract two frames and compute the pixel-wise absolute value of the subtraction results, which we call an error map.

Next, using OpenCV library, you can obtain heat map of the error map for visualization. heat_error = cv2.applyColorMap(error, cv2.COLORMAP_JET)

Finally, save it then check it. cv2.write('error_map.png', heat_diff)

JunHeum avatar Dec 18 '21 08:12 JunHeum