ColorSpace

.: INTRODUCTION :.

The aim of this software is to display color information in different color spaces. It can realize color conversion in RGB, XYZ, xyY, I1I2I3, UVW, LSLM, L*a*b*, L*u*v*, LHC, HSV, HSV Polar, CMY, HSI, HSI Polar, LHS, YUV, YIQ, YCbCr color spaces.

Two visualization methods are available:
.: GTK :.

This software use Gtk as GUI. This library originally developed for X-Windows graphic interface is now available on Windows systems (thanks TLM for the Win32 port of this library: gtkwin32 ). By using Gtk we are able to build without code modification Unix and Windows version of this software.


.: IMAGE READER/SAVER :.

When you run this software a first window appear. This window is an image reader/viewer. You can select the file to read using: the command line, the "File/Open" menu or by a drag and drop from the file explorer of Windows.

Image Viewer
Image Viewer with ROI
screenshot
screenshot

The ImageMagick library is used to read the image files (image with 16 bits by channel are accepted). This library can read a tremendous variety of file formats (see the web site of ImageMagick to get the whole list: ImageMagick ).

A selection mechanism using color transparency has been included in the image viewer. You can select different regions of interest (ROI) in the image, at each of these ROI corresponds one transparency color.


.: COLOR SPACE CONVERTER :.

The color space converter window is a selector for different color spaces. It includes three menus associated to different methods to display the color information of an image. The main part of the window is dedicated to the color space selection and configuration.

The primaries and the reference white can be changed for color spaces that use XYZ as intermediate color space.

This window is the control center of this software. It is designed to open the different windows used to display the color information:
Color Space Converter Window
screenshot

.: HYBRID COLOR SPACE CONVERTER :.

The hybrid color space converter window allows to build and to display hybrid colorspace.

Hybrid Color Space Converter Window
screenshot

.: IMAGE :.

This windows display directly the content of the image conversion. Each channel is mapped respectively to the red, green and blue channels of the displayed image. You can display separately (menu "Visualization/Channel") and change the look up table (LUT) used to visualize the channel information (menu "Visualization/Channel/Lut", there is 7 different LUT).

This window shares the same properties as the IMAGE VIEWER and allows a ROI selection process.

La*b* color space
all components are visible
xyY color space
only x component is visible
with a spectral lut
screenshot
screenshot

.: 3D COLOR SPACE VISUALIZATION :.

The first goal of this program was to propose an interactive method to visualize the 3D dimensional aspect of the color information. The 3D color space visualization window use OpenGL to display the 3D color information.

A "drag and drop" process is used to transfer the color information from the image viewer to this window:

L*a*b* color space
xyY color space
screenshot
screenshot

.: 3D HISTOGRAM VISUALIZATION :.

This window is very similar to the 3D Color Space Visualization window. It can be used to visualize the color histogram of an image (or a ROI).

With this representation we use the size of geometric primitive to evaluate the colors density.

HSV Polar color space
L*u*v* color space
screenshot
screenshot

Top