2012年1月18日 星期三

哪一種resize最好

http://www.dchome.net/viewthread.php?tid=346632

Lanczos-3 的效果最好, 其次是Bicubic, 最後是Bilinear

2012年1月6日 星期五

Feature Detect in OpenCV


OpenCV v2.3 documentation
http://opencv.itseez.com/index.html
OpenCV Tutorials in OpenCV v2.3 documentation
http://opencv.itseez.com/doc/tutorials/tutorials.html

feature2d module. 2D Features framework
http://opencv.itseez.com/doc/tutorials/features2d/table_of_content_features2d/table_of_content_features2d.html
1. Harris corner detector
http://opencv.itseez.com/doc/tutorials/features2d/trackingmotion/harris_detector/harris_detector.html

2. Shi-Tomasi corner detector
http://opencv.itseez.com/doc/tutorials/features2d/trackingmotion/good_features_to_track/good_features_to_track.html

3. Creating yor own corner detector
http://opencv.itseez.com/doc/tutorials/features2d/trackingmotion/generic_corner_detector/generic_corner_detector.html

4. Detecting corners location in subpixeles
http://opencv.itseez.com/doc/tutorials/features2d/trackingmotion/corner_subpixeles/corner_subpixeles.html

5. Feature Detection
http://opencv.itseez.com/doc/tutorials/features2d/feature_detection/feature_detection.html
   1). Use the FeatureDetector interface in order to find interest points. Specifically:
       a) Use the SurfFeatureDetector and its function detect to perform the detection process
       b) Use the function drawKeypoints to draw the detected keypoints
6. Feature Description
http://opencv.itseez.com/doc/tutorials/features2d/feature_description/feature_description.html
   1). Use the DescriptorExtractor interface in order to find the feature vector correspondent to the keypoints. Specifically:
       a) Use SurfDescriptorExtractor and its function compute to perform the required calculations.
       b) Use a BruteForceMatcher to match the features vector
       c) Use the function drawMatches to draw the detected matches.

7. Feature Matching with FLANN
http://opencv.itseez.com/doc/tutorials/features2d/feature_flann_matcher/feature_flann_matcher.html

8. Features2D + Homography to find a known object
http://opencv.itseez.com/doc/tutorials/features2d/feature_homography/feature_homography.html
   1). Use the function findHomography to find the transform between matched keypoints.
   2). Use the function perspectiveTransform to map the points.

9. Detection of planar objects
http://opencv.itseez.com/doc/tutorials/features2d/detection_of_planar_objects/detection_of_planar_objects.html
   1). Create a new console project. Read two input images.
   2). Detect keypoints in both images.
   3). Compute descriptors for each of the keypoints.
   4). Now, find the closest matches between descriptors from the first image to the second:
   5). Visualize the results:
   6). Find the homography transformation between two sets of points:
   7). Create a set of inlier matches and draw them. Use perspectiveTransform function to map points with homography:
   8). Use drawMatches for drawing inliers.

2012年1月5日 星期四

.eml 改成 .mht 就可以用IE開啦

就如標題所說
.eml 改成 .mht 就可以用IE開啦

這樣可以解決用文字編輯器開會出現不對的編碼問題

2012年1月4日 星期三

產品研發前期評估 or Self Test


一般Project初期,為了方便軟體同步開發,或是demo, 是會做模擬器.

可能是純軟體的, 也可能是拿類似機種改的, 也可能拿實驗平台組出來的,例如Labview.

都沒有的,基本上除非很有把握,不然後面都會很辛苦.

或許也不叫模擬器, 其實在Test-Oriented programming來說, 就是測試程式, 只是不一定以軟體存在,只要能方便做function test, 什麼形式都可以, 這和機構,電子, 軟韌體領域無關, 只是在軟體界, 以及測試量測領域, 很習慣這樣去兜出要的系統, 但以我寫System FW or DSP FW的經驗, 是一樣可行的, 而且除了可以做self-test, 要釐清整合的問題也很方便.