// convert mat to vector<float>
vector<float> temp;
img_hog.convertTo(temp, -1, 1, 0);
// convert vector<float> to mat
vector<float> temp;
// convert mat to vector<float>
vector<float> temp;
img_hog.convertTo(temp, -1, 1, 0);
// convert vector<float> to mat
vector<float> temp;
아이폰 개발시 도움이 되는 각종 팁 , 튜토리얼, 소스코드 링크 모음입니다. 제가 주로 트위터를 통해서 공개한 것들입니다만, 워낙 간헐적으로 트위팅 한듯해서 좀더 링크를 모아서 포스팅 합니다. 한글판 앱스토어 리뷰 가이드라인은 아이폰 앱 개발자분들은 꼭 한번 읽어보셔야 합니다.
페이스북 아이폰 앱 개발자인 Joe Hewitt 가 공개한 아이폰 앱 개발용 라이브러리 입니다. 깔끔한 포토 이미지 브라우저 , 동적인 웹 데이타 로딩 , 디스크/메모리 기반의 네트웍 캐싱 , 다양한 View 와 Controller들 , 독특한 스타일등 정말 다양한 기능을 제공합니다. Core , Network , UI , Style 네개의 파트로 분리되어 있습니다. 라이브러리가 조금 방대한지라 처음에 적용할때 어려울수가 있는데 “Introduction to Three20” 글을 참고하시기 바랍니다.
Adding a framework is managed through the editor for the project:
a) Select the project (which contains the target you want to add the framework to), either from the Project Navigator or via the Jump Bar
b) In the source list on the left side of the project editor, select the target
c) Across the top of the target editor area, on the right, will be a few tabs: select the third one, "Build Phases"
d) From the list of phases presented, disclose the "Link Binaries With Libraries" phase (the last one, normally)
e) Click the plus sign in the lower-left of the phase
This will bring down a sheet of the available libraries and frameworks to select from. Then simply select the framework(s) you wish to add, and click the "Add" button.