Table of contents

Enumeration ColourChannelUsageType

ColourChannelUsageType enumerates the different ways color channels can be utilized in image processing. This allows for flexible image analysis and manipulation by specifying how color data should be handled.

@Retention(RetentionPolicy.CLASS)
public @interface EnumColourChannelUsageType {
    //Automatic color channel usage determination based on image pixel format and scene.
    int CCUT_AUTO = 0;
    //Use all available color channels for processing.
    int CCUT_FULL_CHANNEL = 1;
    //Use only the Y(luminance) channel for processing in images represented in the NV21 format.
    int CCUT_Y_CHANNEL_ONLY = 2;
    //Use only the red channel for processing in RGB images.
    int CCUT_RGB_R_CHANNEL_ONLY = 3;
    //Use only the green channel for processing in RGB images.
    int CCUT_RGB_G_CHANNEL_ONLY = 4;
    //Use only the blue channel for processing in RGB images.
    int CCUT_RGB_B_CHANNEL_ONLY = 5;
}

This page is compatible for:

Is this page helpful?

YesYes NoNo

In this article: