ROI and channel splitting and merging of OpenCV images


ROI (region of interest)

From the processed image, outline the area to be processed in the form of box, circle, ellipse, irregular polygon, etc

The ROI of the region of interest can be obtained through various operators and functions, and the next step of image processing can be carried out.


import cv2

Splitting and merging of channels


import cv2


bgr = cv2.merge([b, g, r])

This work adoptsCC agreement, reprint must indicate the author and the link to this article


Recommended Today


Supervisor [note] Supervisor – H view supervisor command help Supervisorctl – H view supervisorctl command help Supervisorctl help view the action command of supervisorctl Supervisorctl help any action to view the use of this action 1. Introduction Supervisor is a process control system. Generally speaking, it can monitor your process. If the process exits abnormally, […]