본문 바로가기

컴퓨터 과학 & 영상처리 관련/영상처리

Bitmap format 파일의 width가 4의 배수여야 하는 이유?

http://answers.opencv.org/question/27420/why-iplimages-widthstep-is-different-from-original-image-width/

http://stackoverflow.com/questions/2185944/why-must-stride-in-the-system-drawing-bitmap-constructor-be-a-multiple-of-4

http://stackoverflow.com/questions/1983781/why-does-bitmapsource-create-throw-an-argumentexception/1983886#1983886


대충 CPU 때문이라는 이야기 인것 같다



http://m.cafe.naver.com/ArticleRead.nhn?clubid=11534583&articleid=37367&page=1&boardtype=L


205 205

0   0    205 205 


4의 배수로 안하면 이런 식으로 존재하지 않는 값이 생겨서 밀리기도 한다 함 

70x70 이미지는 72x70으로 바뀌어서 라던데