티스토리 뷰

Private/openCV

프로젝트 개인 정리

익명132 2017. 7. 15. 08:02
  • CV_8U: 1-byte unsigned integer (unsigned char).

  • CV_32S: 4-byte signed integer (int).

  • CV_32F: 4-byte floating point (float).


Q. vector < vector <int>> 와 v[MAX][MAX] 의 속도차이가 과연 클까?

-> vector<int> 로 i + j*col 이런 식으로 사용하거나, 기존 array를 이용하라고 말씀하심

결국 opencv의 Vec3f 를 사용했다. 


디버깅의 필요성을 뼈저리게 느낌

기초 디버깅 : http://blog.naver.com/PostView.nhn?blogId=skout123&logNo=50134413712


 

회전행렬에 대하여 ----

임의의 축 회전변환

Rodrigues' rotation formula

점 p를 회전축 v(단위벡터) 에 대해서 세타만큼 회전시킨 값을 구할 수 있는 식.


https://math.stackexchange.com/questions/1019910/rotation-matrix-in-spherical-coordinates/1404353


이게 더 맞는듯 하다.

https://math.stackexchange.com/questions/275134/rotation-matrix-sending-the-north-pole-to-a-specified-point-on-the-sphere


'Private > openCV' 카테고리의 다른 글

영상처리 보간법들  (0) 2017.07.25
병렬 처리를 위한 openMP  (0) 2017.07.12
[OpenCV] openCV3.2 Visual Studio setting (간단메모)  (1) 2017.02.05
댓글
공지사항
최근에 올라온 글
최근에 달린 댓글
링크
«   2025/08   »
1 2
3 4 5 6 7 8 9
10 11 12 13 14 15 16
17 18 19 20 21 22 23
24 25 26 27 28 29 30
31
글 보관함