자세한 내용비트 맵 마지막 게시물에
안녕하세요, 내가 emgucv에서 같은 시간 agorge.net에서 장점을 먹고 싶어 (더 구체적인 것). 내가 직면하고
문제는이 두 가지 유형을 교환 할 수있는 방법 형식 변환
//EMGUCV
Image<Bgr, Byte> image1 = new Image<Bgr, Byte>("file.jpg"); //read the image
// AFORGE.net
system.drawing.Bitmap image2 = (Bitmap)Bitmap.FromFile("file.jpg");
입니다. (기본 클래스)
는 Bitmap-> 화상
예
Bitmap grayImage = filter.Apply(image1.Bitmap);
now want to use
ImageViewer.Show(grayImage, "test"); //error
안부
이 이미지에서 인스턴스를 생성하기 위해 비트 맵에 대한 가장 기본적인 생성자에서보세요 :로
는 그래서 같은 사소한 http://msdn.microsoft.com/en-us/ library/ts25csc8.aspx –