Color Space
This function block allows you to change the color space of an input image. By selecting different conversion types, you can transform an image between various color formats, which can be useful for image processing tasks.
π₯ Inputs
Image Any
The input image that you want to transform into a different color space.
π€ Outputs
Image Any
The output image is returned after applying the selected color space transformation.
πΉοΈ Controls
Conversion Type
A dropdown menu that allows you to select the desired color space transformation. Options include:
BGR2GRAY
: Convert from BGR to Grayscale.BGR2RGB
: Convert from BGR to RGB.BGR2RGBA
: Convert from BGR to RGBA.BGR2BGRA
: Convert from BGR to BGRA.BGR2HSV
: Convert from BGR to HSV (Hue, Saturation, Value).BGR2LAB
: Convert from BGR to CIELAB color space.BGR2LUV
: Convert from BGR to CIELUV color space.BGR2YcrCb
: Convert from BGR to YCrCb color space.GRAY2BGR
: Convert Grayscale image to BGR.GRAY2RGB
: Convert Grayscale image to RGB.GRAY2BGRA
: Convert Grayscale image to BGRA.GRAY2RGBA
: Convert Grayscale image to RGBA.Lab2BGR
: Convert from LAB to BGR.
π¨ Features
Versatile Color Transformations
Allows you to switch between several color spaces, enabling easier manipulation or analysis of images in various formats.
User-Friendly Interface
The dropdown menu makes it easy to select the desired conversion type without needing to remember specific parameters.
π Usage Instructions
Connect Input Image: Link the input image you wish to transform into the
Image Any
input.Select Conversion Type: Choose the desired conversion type from the
Conversion Type
dropdown menu.Evaluate: Run the block to see the transformed image as per the selected color space.
π Evaluation
When executed, this function block processes the input image according to the selected color space transformation and produces the resulting image.
π‘ Tips and Tricks
π οΈ Troubleshooting
Last updated