IplImage
-
IplImage 구조체Programming/OpenCV 2015. 4. 12. 00:35
IplImage 구조체 OpenCV IplImage 구조체는 본질적으로 CvMat와 동일하지만, 영상을 표현하기에 적합한 추가 항목들을 가지고 있다. IplImage 구조체 정의 typedef struct _IplImage { int nSize; int ID; int nChannels; int alphaChannel; int depth; char colorMode[4]; char channelSeq[4]; int dataOrder; int origin; int align; int width; int height; struct _IplROI* roi; struct _IplImage* maskROI; void* imageId; struct _IplTileInfo* tileInfo; int imageSize;..
-
기본 데이터 타입Programming/OpenCV 2015. 3. 27. 20:45
기본 데이터 타입 OpenCV OpenCV는 자체적인 기본 데이터 타입을 가진다. C언어에서 제공하는 기본 데이터 타입이 아니라 OpenCV에서 새로 정의한 구조체 형식의 데이터 타입을 의미한다. 좌표, 크기, 사각형, 4차원 스칼라 벡터에 대한 구조체 정의 구조체 멤버 생성자 함수 용도 CvPoint int x, y cvPoint() 영상 내 한 점의 위치 CvPoint2D32f float x, y cvPoint2D32f() 2차원 실수 공간에서의 좌표 CvPoint3D32f float x, y, z cvPoint3D32f() 3차원 실수 공간에서의 좌표 CvSize int width, height cvSize() 영상의 크기 CvRect int x, y, width, height cvRect() 영상..