기술 성공, 실패 기록소

opencv histogram normalization 본문

followbot

opencv histogram normalization

sunlab 2020. 9. 14. 15:42
728x90

docs.opencv.org/master/d2/de8/group__core__array.html#ga87eef7ee3970f86906d69a92cbf064bd

 

OpenCV: Operations on arrays

Divides a multi-channel array into several single-channel arrays. The function cv::split splits a multi-channel array into separate single-channel arrays: If you need to extract a single channel or do some other sophisticated channel permutation, use mixCh

docs.opencv.org

docs.opencv.org/master/d2/de8/group__core__array.html#gad12cefbcb5291cf958a85b4b67b6149f

 

OpenCV: Operations on arrays

Divides a multi-channel array into several single-channel arrays. The function cv::split splits a multi-channel array into separate single-channel arrays: If you need to extract a single channel or do some other sophisticated channel permutation, use mixCh

docs.opencv.org

namu.wiki/w/%EB%85%B8%EB%A6%84(%EC%88%98%ED%95%99)

 

노름(수학) - 나무위키

n차원 유클리드 공간(=좌표평면)에서의 노름은 유클리드 노름(Euclidean norm)이라고 부르고 다음과 같이 정의한다. ∥x∥2=x12+x22+⋯+xn2=∑k=1nxk2\displaystyle \left\|\bold{x}\right\|_2 = \sqrt{{x_1}^2 + {x_2}^2 + \cdot

namu.wiki

076923.github.io/posts/Python-opencv-33/

 

Python OpenCV 강좌 : 제 33강 - 히스토그램 | 076923

히스토그램(Histogram)

076923.github.io

ex)

cv2.normalize(hist, hist, 1000, 0, cv2.NORM_L1)

 

첫째인자 - input

둘째인자 - output / input을 처리한 뒤에 나온 output을 input으로 들어온 hist에 다시 넣어준다.

셋째인자 - norm value

input의 norm 값이 셋째인자 값과 같도록 맞춰준다.

넷째인자 - 안쓴다. 0이라고 적어주면 됨

다섯째인자 - norm type을 지정해준다. NORM_L1은 norm의 인자가 1이다.

 

'followbot' 카테고리의 다른 글

Re: what is CV_32FC1?  (0) 2020.09.18
histogram comparison  (0) 2020.09.14
이미지 히스토그램 이해하기  (0) 2020.09.14
리스트 합 구하기, 재귀함수  (0) 2020.09.14
Convert image from PIL to openCV format  (0) 2020.09.14