Curtain-based projection area acquisition method and projection device
A projection area and acquisition method technology, applied in the field of projection, can solve problems such as uneven color, deviation, and inaccurate acquisition of projection area information, and achieve the effect of improving accuracy and reducing impact
- Summary
- Abstract
- Description
- Claims
- Application Information
AI Technical Summary
Problems solved by technology
Method used
Image
Examples
Embodiment 1
[0035] Such as figure 1 As shown, this embodiment provides a method for acquiring a projection area based on a curtain, which is applied to a projection device equipped with a camera, including:
[0036] Step S1: Take pictures and obtain a picture A containing a curtain, and there is no projected image on the curtain;
[0037] Step S2: Binarize the picture A according to the method to obtain the binarized picture A1; perform binarization on the picture A according to the second method to obtain the binarized picture A2;
[0038] Step S3: Obtain the black connected region Q1 with the largest area in the binarized picture A1, and obtain the area S1 of the connected region Q1; obtain the white connected region Q2 with the largest area in the binarized picture A2, and obtain The area S2 of the connected area Q2;
[0039] Step S4: Calculate the mean value B1 of pixels in the region corresponding to the connected region Q1 in the picture A, and calculate the mean value W1 of pixel...
Embodiment 2
[0056] Such as figure 2 As shown, this embodiment provides a projection device, including:
[0057] Shooting module: used to shoot and obtain a picture A containing a curtain, and there is no projected image on the curtain;
[0058] The first picture processing module: used to perform binarization processing on the picture A according to the method to obtain the binarized picture A1; also used to perform binarization processing on the picture A according to the second method to obtain the binarization Picture A2;
[0059] The second picture processing module: used to obtain the black connected region Q1 with the largest area in the binarized picture A1, and to obtain the area S1 of the connected region Q1; also used to obtain the area in the binarized picture A2 The largest white connected region Q2, and obtain the area S2 of the connected region Q2;
[0060] Calculation module: used to calculate the pixel mean value B1 in the area corresponding to the connected area Q1 in...
PUM
Login to View More Abstract
Description
Claims
Application Information
Login to View More 

