I have already developed an application in iOS which uses this algorithm to detect a sheet of paper and I am translating the algorithm to an Android port.
How should I translate this one into Java?
mixChannels(&blurred, 1, &gray0, 1, ch, 1);
Where blurred and gray0 are cv::Mat.
 
     
     
    