기술 성공, 실패 기록소

histogram comparison 본문

followbot

histogram comparison

sunlab 2020. 9. 14. 17:54
728x90

docs.opencv.org/3.4/d6/dc7/group__imgproc__hist.html#ga41a249ba9a536bf2b47e95f8c7dd42b0

 

OpenCV: Histograms

rangesArray of the dims arrays of the histogram bin boundaries in each dimension. When the histogram is uniform ( uniform =true), then for each dimension i it is enough to specify the lower (inclusive) boundary \(L_0\) of the 0-th histogram bin and the upp

docs.opencv.org

docs.opencv.org/3.4/d6/dc7/group__imgproc__hist.html#ga994f53817d621e2e4228fc646342d386

 

OpenCV: Histograms

rangesArray of the dims arrays of the histogram bin boundaries in each dimension. When the histogram is uniform ( uniform =true), then for each dimension i it is enough to specify the lower (inclusive) boundary \(L_0\) of the 0-th histogram bin and the upp

docs.opencv.org

ex)

cv2.compareHist(hist1, hist2, 2)

 

두개의 히스트로그램을 비교,

세번째 인자 2는 HISTCMP_INTERSECT

두 히스토그램의 겹치는 영역의 면적을 나타낸다.