Guest User

Untitled

a guest
Oct 17th, 2017
75
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.21 KB | None | 0 0
  1. (* LEFT *)
  2. leg = BarLegend[{GrayLevel, {0, 1}}, LabelStyle -> Black]
  3. Export["leg.PNG", leg];
  4.  
  5. (* RIGHT *)
  6. img = Import["leg.PNG"];
  7. ImageSubtract[
  8. img,
  9. ColorConvert[img, "Grayscale"]
  10. ] // Sharpen[#, 10] &
Add Comment
Please, Sign In to add comment