How to replace certain gray level values in image to find information loss in both?
2 views (last 30 days)
I'm finding information loss in Img1 and its replica Img2 when only a certain gray level values are allowed.
where img2 must not have gray values other than eg.
only_include=[20, 30, 50].
However my result is all zeros image of img2. Can anyone assist me..