gnuastro-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[gnuastro-devel] [task #15123] RGB to HSV converter


From: Mohammad Akhlaghi
Subject: [gnuastro-devel] [task #15123] RGB to HSV converter
Date: Mon, 17 Dec 2018 11:20:28 -0500 (EST)
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:64.0) Gecko/20100101 Firefox/64.0

URL:
  <https://savannah.gnu.org/task/?15123>

                 Summary: RGB to HSV converter
                 Project: GNU Astronomy Utilities
            Submitted by: makhlaghi
            Submitted on: Mon 17 Dec 2018 04:20:25 PM UTC
         Should Start On: Mon 17 Dec 2018 12:00:00 AM UTC
   Should be Finished on: Mon 17 Dec 2018 12:00:00 AM UTC
                Category: Libraries
                Priority: 5 - Normal
              Item Group: Enhancement
                  Status: Postponed
                 Privacy: Public
        Percent Complete: 0%
             Assigned to: None
             Open/Closed: Open
         Discussion Lock: Any
                  Effort: 0.00

    _______________________________________________________

Details:

Color images are commonly defined in the Red-Green-Blue space. But when you
want to select certain colors (not pure Red, Green or Blue), it is much easier
to work in the HSV space <https://en.wikipedia.org/wiki/HSL_and_HSV>.

The Wikipedia page contains a converter algorithm
<https://en.wikipedia.org/wiki/HSL_and_HSV#Converting_to_RGB> to and from RGB.
There are also some mentioned in this StackOverflow question
<https://stackoverflow.com/questions/3018313/algorithm-to-convert-rgb-to-hsv-and-hsv-to-rgb-in-range-0-255-for-both>.





    _______________________________________________________

Reply to this item at:

  <https://savannah.gnu.org/task/?15123>

_______________________________________________
  Message sent via Savannah
  https://savannah.gnu.org/




reply via email to

[Prev in Thread] Current Thread [Next in Thread]