Last modified: November 20, 2009
Contents
Image [Float] blue ()
Operates on: | Image [RGB] |
---|---|
Returns: | Image [Float] |
Category: | Color |
Defined in: | color.py |
Author: | Michael Droettboom and Karl MacMillan |
Returns a GREYSCALE image where each pixel is the blue component of the RGB original.
Example 1: blue()
Image [Float] cie_x ()
Operates on: | Image [RGB] |
---|---|
Returns: | Image [Float] |
Category: | Color |
Defined in: | color.py |
Author: | Michael Droettboom and Karl MacMillan |
Returns a FLOAT image where each pixel is a x value in the CIE 1964 Colorimetric system in range [0, 1).
Example 1: cie_x()
Image [Float] cie_y ()
Operates on: | Image [RGB] |
---|---|
Returns: | Image [Float] |
Category: | Color |
Defined in: | color.py |
Author: | Michael Droettboom and Karl MacMillan |
Returns a FLOAT image where each pixel is a y value in the CIE 1964 Colorimetric system in range [0, 1).
Example 1: cie_y()
Image [Float] cie_z ()
Operates on: | Image [RGB] |
---|---|
Returns: | Image [Float] |
Category: | Color |
Defined in: | color.py |
Author: | Michael Droettboom and Karl MacMillan |
Returns a FLOAT image where each pixel is a z value in the CIE 1964 Colorimetric system in range [0, 1).
Example 1: cie_z()
Image [RGB] color_ccs (bool ignore_unlabeled = True)
Operates on: | Image [OneBit] |
---|---|
Returns: | Image [RGB] |
Category: | Color |
Defined in: | gui_support.py |
Author: | Michael Droettboom, Karl MacMillan, and Robert Butz |
Returns an RGB image where each connected component of the image is colored one of eight different colors. This function can be used to verify that cc_analysis is working correctly for your image.
Note
Connected component analysis must already be performed on the image (using cc_analysis, for example) in order for this to work.
Example 1:
Image [Float] cyan ()
Operates on: | Image [RGB] |
---|---|
Returns: | Image [Float] |
Category: | Color |
Defined in: | color.py |
Author: | Michael Droettboom and Karl MacMillan |
Returns a GREYSCALE image where each pixel is the cyan component of the RGB original.
Example 1: cyan()
Image [RGB] false_color ()
Operates on: | Image [Float|GreyScale] |
---|---|
Returns: | Image [RGB] |
Category: | Color |
Defined in: | color.py |
Author: | Michael Droettboom and Karl MacMillan |
Returns a false color representation of the given image. Low values are red, mid values are green and high values are blue. This can help visualize greyscale images that are not real images but are representations of other kinds of data.
Example 1: false_color()
Image [Float] green ()
Operates on: | Image [RGB] |
---|---|
Returns: | Image [Float] |
Category: | Color |
Defined in: | color.py |
Author: | Michael Droettboom and Karl MacMillan |
Returns a GREYSCALE image where each pixel is the green component of the original.
Example 1: green()
Image [Float] hue ()
Operates on: | Image [RGB] |
---|---|
Returns: | Image [Float] |
Category: | Color |
Defined in: | color.py |
Author: | Michael Droettboom and Karl MacMillan |
Returns a FLOAT image where each pixel is a hue value in HSV space in range [0, 1). Since the hue space is continuous, the shortest distance between 1 and 0 is 0.
Example 1: hue()
Image [Float] magenta ()
Operates on: | Image [RGB] |
---|---|
Returns: | Image [Float] |
Category: | Color |
Defined in: | color.py |
Author: | Michael Droettboom and Karl MacMillan |
Returns a GREYSCALE image where each pixel is the magenta component of the RGB original.
Example 1: magenta()
Image [Float] red ()
Operates on: | Image [RGB] |
---|---|
Returns: | Image [Float] |
Category: | Color |
Defined in: | color.py |
Author: | Michael Droettboom and Karl MacMillan |
Returns a GREYSCALE image where each pixel is the red component of the RGB original.
Example 1: red()
Image [Float] saturation ()
Operates on: | Image [RGB] |
---|---|
Returns: | Image [Float] |
Category: | Color |
Defined in: | color.py |
Author: | Michael Droettboom and Karl MacMillan |
Returns a FLOAT image where each pixel is a saturation value in HSV space in range [0, 1).
Example 1: saturation()
Image [Float] value ()
Operates on: | Image [RGB] |
---|---|
Returns: | Image [Float] |
Category: | Color |
Defined in: | color.py |
Author: | Michael Droettboom and Karl MacMillan |
Returns a FLOAT image where each pixel is a saturation value in HSV space in range [0, 1). For more information, Google for HSV color space.
Example 1: value()
Image [Float] yellow ()
Operates on: | Image [RGB] |
---|---|
Returns: | Image [Float] |
Category: | Color |
Defined in: | color.py |
Author: | Michael Droettboom and Karl MacMillan |
Returns a GREYSCALE image where each pixel is the yellow component of the RGB original.
Example 1: yellow()