Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
かなり単純な質問です。私はマトリックスを持っていますmask
mask
cv::Mat mask = cv::Mat::zeros(20, 25, CV_8UC1);
とポイントpt
pt
cv::Point pt(5,7);
maskその場所pt(5行目と7列目)の要素にアクセスするにはどうすればよいですか?
char value = mask.at<char>(pt);