Python Forum
Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Python Pillow
#2
Hello,
doesn't your end image look pretty much like the one that's expected? It does to me, after a quick glance...
Anyway, if you want to keep only the "very red" pixels red, and convert those with no or very small amount of red to grayscale, you can set a threshold for red channel and convert only pixels, which have red channel value below the threshold.
Reply


Messages In This Thread
Python Pillow - by I_Am_Groot - Oct-13-2018, 02:46 AM
RE: Python Pillow - by j.crater - Oct-13-2018, 07:28 AM

Possibly Related Threads…
Thread Author Replies Views Last Post
  [split] Python Pillow - Photo Manipulation keegan_010 1 3,010 Oct-11-2018, 09:57 AM
Last Post: Larz60+
  Python Pillow - Photo Manipulation keegan_010 2 2,953 Oct-11-2018, 03:49 AM
Last Post: keegan_010
  Combine images using Pillow and Python GMA 2 12,910 Jun-06-2018, 11:41 AM
Last Post: killerrex
  Pillow _getexif for python 3 Larz60+ 2 23,290 Oct-01-2016, 10:25 PM
Last Post: Larz60+

Forum Jump:

User Panel Messages

Announcements
Announcement #1 8/1/2020
Announcement #2 8/2/2020
Announcement #3 8/6/2020