Programing/OpenCV
gray scale
태백산 유랑단
2016. 11. 30. 17:28
반응형
//실제로 그레이를 처리하는곳 private void grayProcess() { result = new IplImage(src.Size, BitDepth.U8, 1); // 채널 1개짜리 메모리 확보 Cv.CvtColor(src, result, ColorConversion.BgrToGray); //컬러를 그레이로 변환
pictureBoxIpl2.ImageIpl = result; // 변환된 이미지를 픽쳐박스에 출력 } |
반응형