我在这里找到了C ++的回答Read HSV value of pixel in opencv
cv::cvtColor(img, img, CV_BGR2HSV);
cv::Vec3b pixel = image.at<cv::Vec3b>(0,0); // I don't know the equivalent method in Java
pixel[0] = 0; // H
pixel[1] = 0; // S
pixel[2] = 0; // V`
但我不知道如何通过Java完成工作?