sicara/tf-explain

add threshold in GRAD-CAM

laborer123 opened this issue · 3 comments

image
if the blue region is restored to the original image by threshold could be better

cv2.addWeighted can‘t solve this problem. because it's mapped from the heatmap

I'm not sure what you mean. Do you mean that the activation map overlay should be thresholded?

I'm not sure what you mean. Do you mean that the activation map overlay should be thresholded?

I think the blue area could restore original image pixel value, only show the circled part of heatmap, but i didn't find a way to do that
image

image