Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- (* LEFT *)
- leg = BarLegend[{GrayLevel, {0, 1}}, LabelStyle -> Black]
- Export["leg.PNG", leg];
- (* RIGHT *)
- img = Import["leg.PNG"];
- ImageSubtract[
- img,
- ColorConvert[img, "Grayscale"]
- ] // Sharpen[#, 10] &
Add Comment
Please, Sign In to add comment