Image cutting method and device, terminal and readable storage medium

An image and image cropping technology, which is applied in the field of video, can solve the problem of low efficiency of cropping images, achieve better cropping effect and improve cropping efficiency

Pending Publication Date: 2022-05-27
GUANGDONG OPPO MOBILE TELECOMM CORP LTD
View PDF0 Cites 0 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0003] Embodiments of the present application provide an image cropping method, an image cropping device, a terminal, and a non-volatile computer-readable storage medium, at least for solving the problem of low efficiency of cropping images

Method used

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
View more

Image

Smart Image Click on the blue labels to locate them in the text.
Viewing Examples
Smart Image
  • Image cutting method and device, terminal and readable storage medium
  • Image cutting method and device, terminal and readable storage medium
  • Image cutting method and device, terminal and readable storage medium

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0028] Embodiments of the present application are described in detail below, examples of which are illustrated in the accompanying drawings, wherein the same or similar reference numerals refer to the same or similar elements or elements having the same or similar functions throughout. The embodiments described below with reference to the accompanying drawings are exemplary, only used to explain the embodiments of the present application, and should not be construed as limitations on the embodiments of the present application.

[0029] see Figure 1 to Figure 3 , the embodiment of the present application provides an image cropping method, please combine Figure 4 to Figure 6 The cropping method includes:

[0030] 01: Binarize the to-be-cropped image PA to obtain a binary image PB;

[0031] 03: Obtain the effective area mask map PC and the border mask map PD according to the binary map PB;

[0032] 05: Obtain the maximum inscribed frame of the image PA to be cropped accordin...

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to view more

PUM

No PUM Login to view more

Abstract

The invention provides an image cutting method and device, a terminal and a readable storage medium. The cutting method comprises the following steps: carrying out binarization processing on a to-be-cut image to obtain a binary image; and obtaining an effective area mask image and a frame mask image according to the binary image. And obtaining the maximum inscribed frame of the to-be-cut image according to the effective area mask pattern and the frame mask pattern. And cutting the to-be-cut image according to the maximum inscribed frame to obtain a target image. According to the clipping method and device, the terminal and the readable storage medium, the effective area mask image and the frame mask image are obtained according to the binary image, the maximum inscribed frame of the to-be-clipped image can be obtained by combining the effective area mask image and the frame mask image, and the to-be-clipped image is clipped by using the maximum inscribed frame, so that the clipping efficiency is improved. Compared with a manual cutting mode, the cutting efficiency is greatly improved, the target image can contain an effective area as large as possible in the to-be-cut image, and the cutting effect is better.

Description

technical field [0001] The present application relates to the field of imaging technologies, and more particularly, to an image cropping method, an image cropping device, a terminal, and a non-volatile computer-readable storage medium. Background technique [0002] Image stitching is a technique of stitching multiple overlapping images of the same scene into a larger image, which is of great value in photography, image editing, medical imaging, remote sensing and other fields. However, in the process of image stitching, it is necessary to perform perspective transformation on the images to be stitched, which will inevitably lead to the existence of black invalid areas around the stitching result. The result is cropped so that a satisfactory result is obtained. However, most of the cropping of the stitching results is done manually, which has low cropping efficiency. SUMMARY OF THE INVENTION [0003] Embodiments of the present application provide an image cropping method,...

Claims

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to view more

Application Information

Patent Timeline
no application Login to view more
Patent Type & Authority Applications(China)
IPC IPC(8): G06T7/11G06T7/62G06T7/90G06T5/30
CPCG06T7/11G06T7/90G06T5/30G06T7/62G06T2207/20132
Inventor 江忠泽
Owner GUANGDONG OPPO MOBILE TELECOMM CORP LTD
Who we serve
  • R&D Engineer
  • R&D Manager
  • IP Professional
Why Eureka
  • Industry Leading Data Capabilities
  • Powerful AI technology
  • Patent DNA Extraction
Social media
Try Eureka
PatSnap group products