Picture clipping method and device and computer equipment

A picture and cropping frame technology, applied in the field of image processing, can solve problems such as consumption and large computing resources, and achieve the effects of saving computing resources, improving efficiency, and reducing loss

Pending Publication Date: 2020-09-15
PING AN TECH (SHENZHEN) CO LTD
View PDF0 Cites 2 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0004] The present invention provides a picture cutting method, device and computer equipment to solve the problem that a new picture needs to be re-output during the picture cutting process, and the calculation process will consume a large amount of computing resources

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
  • Picture clipping method and device and computer equipment
  • Picture clipping method and device and computer equipment
  • Picture clipping method and device and computer equipment

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0037] The following will clearly and completely describe the technical solutions in the present invention in combination with the accompanying drawings in the present invention. Obviously, the described embodiments are some embodiments of the present invention, but not all of them. Based on the embodiments of the present invention, all other embodiments obtained by persons of ordinary skill in the art without creative efforts fall within the protection scope of the present invention.

[0038] In one embodiment, as figure 1 As shown, a method for image cropping is provided, including the following steps:

[0039] S10: Receive a picture cropping instruction input by a user, wherein the picture cutting instruction includes a first cropped picture and a size of a box corresponding to the first cropped picture.

[0040] The first cropped picture is a complete original picture that needs to be cropped. For example, the user issues a first cropped picture with a size of 2000*2000 p...

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 discloses a picture clipping method and device and computer equipment. The picture cutting method comprises the following steps: cutting a picture, receiving a picture cutting instruction input by a user, performing corresponding equal-ratio processing on the first cut picture according to a preset pop-up layer, receiving the size of the cutting frame; determining the actual size ofthe cutting frame in the first cutting picture; the size of the cut box is determined according to the ratio of the width to the height of the cutting frame; therefore, the scaling of the first cut picture is determined; scaling the first cut picture according to the scaling ratio, and a cutting area of the cutting frame in the target cutting picture, according to the left offset and the upper offset of the tailoring area, the tailoring area is tailored; according to the method, the position of the cropping area in the target cropping picture is determined, the images outside the cropping areaare hidden, all pixel contents of the whole picture do not need to be read into a memory, the picture cropping function is achieved under the condition that a new picture does not need to be output again, and therefore the picture cropping efficiency is improved.

Description

technical field [0001] The invention relates to the technical field of image processing, in particular to a picture clipping, device and computer equipment. Background technique [0002] With the rapid development of image processing technology, image processing software developers provide more and more types of image processing software with more and more functions. The current mainstream image processing software all have the function of image cropping. The picture cropping function is one of the main functions necessary for many image processing software or picture websites nowadays. It allows users to crop the uploaded pictures to obtain a new cropped picture. [0003] The current method of image cropping is to import the original image that needs to be cropped, and then output a new cropped image after clipping the original image. At present, almost all image cropping functions in the world are realized by using the new feature canvas of html5. Before the canvas came...

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/10G06T3/00G06T3/40
CPCG06T3/0012G06T3/4023G06T2207/20132G06T7/10
Inventor 李清鹏
Owner PING AN TECH (SHENZHEN) CO 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