목록CELLON II/Ref (4)
박민혀기
CELLON II(Video Reference)

SimpleBlobDetector의 옵션 종류 실행 소스코드 #include "opencv2/opencv.hpp" #include using namespace std; using namespace cv; int main() { Mat img = imread("C:\\Users\\xlfks\\Desktop\\CELLON II\\img\\Galaxy S23 R90.jpg", IMREAD_COLOR); //Galaxy S23, Galaxy S23 vertical, Galaxy S23 L90, Galaxy S23 R90, Galaxy S23 horizontal, Galaxy S23 180 if (img.empty()) { cout

이미지 특징점 서로 매칭이 되는지 확인 할 때 특징점을 비교하는 경우가 多 보통 특징점이 되는 부분은 물체의 모서리나 코너 코너를 검출하기 위한 방법(OpenCV에서 제공) 1. Harris corner detection 알고리즘 경계값의 경사도 변화량을 측정하여 변화량이 수직, 수평, 대각선 방향으로 크게 변화하는 것을 코너로 판단 2. Harris corner detection보다 더 개선된 Shi & Tomasi Detection 알고리즘 3. detector.detect() 함수 keypoints = detector.detect(img, mask): 특징점 검출 함수 img: 입력 이미지 mask(optional): 검출 제외 마스크 keypoints: 특징점 검출 결과 (KeyPoint의 리스트..
1. 객체 인식 2. 객체 기준점 추출 3. 객체 기준점을 기준으로 회전 각도 획득 4. 회전 -각도만큼 회전 Image Contour Reference https://dsbook.tistory.com/227 (Very Good) [OpenCV Practice 15-3] 이미지 컨투어 feature (Image Contour - feature 2) import cv2 import numpy as np import matplotlib.pyplot as plt Contour Features 1. Contour Approximation (Contour 근사) cv2.findContours 함수를 통해 찾은 Contours line에는 각각의 Contours point를 가지고 있다. 보통은 이 Point를 d..