
[OpenCV] bitwise op.
·
Programming/DIP
Bitwise Operations: AND, OR, NOT, XOR 연산자를 OpenCV가 제공.주로 특정 영역(사각형 모양이 아닌)을 추출하는데 사용됨.True의 representative value는 1이지만, uint8의 경우 255를 사용함.False의 representative value는 0이지만, uint8의 경우도 마찬가지임.https://gist.github.com/dsaint31x/a9ca880a91bceee901d0cce4903c6f4c cv_binary_op.ipynbcv_binary_op.ipynb. GitHub Gist: instantly share code, notes, and snippets.gist.github.com종류:cv2.bitwise_and()cv2.bitwise_..