Masters/src/main/java/org/firstinspires/ftc/masters/FreightFrenzyComputerVisionRedHub.java
void extractLABChannel(Mat input) {
//            "A" channel for detecting red and green by default
            Imgproc.cvtColor(input, LAB, Imgproc.COLOR_RGB2Lab);
            Core.extractChannel(LAB, A, 1);
            Core.extractChannel(LAB, B, 2);
        }
/*
         * This function takes the RGB frame, converts to LAB,
         * and extracts the A channel to the 'A' variable*/
This function takes the RGB frame, converts to LAB,
and extracts the A channel to the 'A' variable
This function takes the RGB frame converts to LAB and extracts the A channel to the ' A ' variable
void extractLABChannel(Mat input) {
            Imgproc.cvtColor(input, LAB, Imgproc.COLOR_RGB2Lab);
            Core.extractChannel(LAB, A, 1);
            Core.extractChannel(LAB, B, 2);
        }
void extractLABChannel ( Mat input ) { Imgproc . cvtColor ( input , LAB , Imgproc . COLOR_RGB2Lab ) ; Core . extractChannel ( LAB , A , 1 ) ; Core . extractChannel ( LAB , B , 2 ) ; }
This function takes the RGB frame, converts to LAB,
 and extracts the A channel to the 'A' variable
This function takes the RGB frame converts to LAB and extracts the A channel to the ' A ' variable
//            "A" channel for detecting red and green by default