Available in LEADTOOLS Imaging Pro, Vector, Document, and Medical Imaging toolkits. |
Introduction
LEADTOOLS Color Conversion Color Space features can convert images from any color resolution to any other color resolution. Whether you are working with medical images, scanned documents or digital photographs, LEADTOOLS can help you provide the correct color depth for the hardware your clients are using, from 1-bit to 64-bit,*** with multiple dithering methods using various palette options. These functions are included with LEADTOOLS Raster, Vector, Medical, and Document Imaging products.
Key Features:
Expose up to 8 different dithering methods in your application, including: Floyd Stein, Burkes, Ordered dithering, Stucki, Stephens, Sierra and Jarvis.
Use flexible palette options, including LEAD's fixed palette, an auto-optimized palette, or a user defined palette.
Apply palettes to a single image, or to an entire list of images.
Images can be converted, separated to and reconstructed from individual RGB, CMYK, CMY, HSV, HSL, YUV*, YIQ*, CIELAB*, XYZ*, YCCK*, Y41P*, UYVY*, YUY2*, YVU9* and YCC* color planes using LEAD's built in conversion functions, ICC color profiles* or Emulation Tables*.
When working with 12*** and 16*** bit grayscale images, LEADTOOLS' window leveling** allows you to select the desired range of bits to be used for display or processing.
* |
Included only in LEADTOOLS Raster Imaging Pro, Document Imaging products and Medical Imaging products. |
** |
Included only in Medical Imaging products. |
*** |
Included only in Document Imaging Products and Medical Imaging products. |
The Color Conversion SDK supports the following conversions:
Source Color Space |
Conversion method |
Recommended | |
RGB |
Any other color space. |
Built-in, ICC profiles, or emulation tables, depending on the destination color space. |
|
BGR |
Any other color space. |
Built-in, ICC profiles, or emulation tables, depending on the destination color conversion. |
|
Any other color space. |
Built in. |
| |
CMYK |
Any other color space. |
1.Emulation Tables (one way CMYK => RGB) 2.ICC Profiles. 3.Built in. |
The best conversion is through the ICC Profiles (USE_ICC), this is because of the nature of the CMYK conversion, which is machine-dependant. You can use profiles that vary in the degree of black color (ink) generation. |
HSV |
Any other color space. |
Built in. |
|
HSL |
Any other color space. |
Built in. |
|
YIQ |
Any other color space. |
Built in. |
|
CMYK |
Any other color space. |
1.Built in. 2.ICC Profiles |
|
LAB |
Any other color space. |
1. Emulation Tables (one way CMYK => RGB). 2. ICC Profiles. 3. Built in. |
For two-way conversion, RGB to LAB and vice versa, the best solution is with emulation tables and Built in conversions, because the colors are preserved better. However for one way you can use ICC profiles. |
XYZ |
Any other color space. |
Built in. |
|
YCCK |
Any other color space. |
Built in. |
|
Y41P |
Any other color space. |
Built in. |
|
UYVY |
Any other color space. |
Built in. |
|
YUY2 |
Any other color space. |
Built in. |
|
YVU9 |
Any other color space. |
Built in. |
|
YCC |
Any other color space. |
Built in. |
|
Supported Environments
The toolkit comes in Win32 and x64 editions that can support development of software applications for any of the following environments:
Windows Vista
Windows XP
Windows 2000
For more information, refer to:
Programming with LEADTOOLS Color Space Conversion
Palettes and Manipulating Palettes