Preview image processing method, processing device, image pickup device and readable storage medium
A technology of preview screen and camera device, which is applied in the field of image processing, and can solve problems such as freezing, heating of the camera device, and increasing the data processing capacity of the camera device
Patent Information
- Authority / Receiving Office
- CN · China
- Current Assignee / Owner
- Publication Date
- 2019-09-20
Smart Images

Figure 1 
Figure 2 
Figure 3
Abstract
Description
technical field
[0001] The present application belongs to the field of image processing, and in particular relates to a preview image processing method, a preview image processing device, a camera device and a computer-readable storage medium. Background technique
[0002] At present, when we use a camera device (such as a smart phone) to capture a preview image, we sometimes hope that the preview image can present a blurred background effect. At present, a commonly used background blurring method is: detecting a subject in an image to obtain location information of the subject, and then performing blurring processing on an image area outside the subject.
[0003] The frame rate of the preview image captured by the camera device is about 24 frames / s. Therefore, if the camera device performs background blurring processing on each frame of the preview image, it will undoubtedly increase the data processing capacity of the camera device, thereby making the camera device There ...
Examples
Embodiment 1
[0034] The preview image processing method provided by Embodiment 1 of the present application is described below, please refer to the attached figure 1 , the preview image processing method includes:
[0035] In step S101, a reference preview image collected by the above-mentioned camera device is acquired, the reference preview image includes the subject captured by the above-mentioned camera device;
[0036] In the embodiment of the present application, the above-mentioned reference preview picture is a preview picture including the subject of shooting, and the reference preview picture may be the first frame preview picture collected by the above-mentioned camera device, or it may be the first frame preview picture captured by the above-mentioned camera device at a certain point in time. The Nth frame preview picture collected, where N≠1.
[0037] In the embodiment of the present application, when the reference preview picture is not determined, when the above-mentioned c...
Embodiment 2
[0055] Another preview image processing method provided by Embodiment 2 of the present application is described below, please refer to the attached image 3 , the preview image processing method includes:
[0056] In step S201, a reference preview image collected by the above-mentioned camera device is acquired, the reference preview image includes the subject captured by the above-mentioned camera device;
[0057] In step S202, determine the position information of the shooting background in the above-mentioned reference preview screen in the above-mentioned reference preview screen, and the above-mentioned shooting background is an image area in the above-mentioned reference preview screen except the above-mentioned shooting subject;
[0058] In step S203, determining the relative moving speed of the above-mentioned shooting subject relative to the above-mentioned camera device;
[0059] In the second embodiment of the present application, the specific implementation manner...
Embodiment 3
[0093] Embodiment 3 of the present application provides a preview image processing device applied to a camera device. For ease of description, only the relevant parts of the application are shown, such as Figure 4 As shown, the preview image processing device 300 includes:
[0094] A benchmark acquisition module 301, configured to acquire a benchmark preview picture captured by the camera device, where the benchmark preview picture includes the subject captured by the camera device;
[0095] A background location module 302, configured to determine the position information of the shooting background in the reference preview image in the reference preview image, the shooting background being an image area in the reference preview image other than the shooting subject;
[0096] A relative movement determination module 303, configured to determine the relative movement speed of the subject relative to the camera device;
[0097] The first blurring processing module 304 is conf...