Image cropping method and device

A cropping device and picture technology, applied in the computer field, can solve problems such as incomplete picture information content or content, picture display distortion, etc., and achieve the effect of improving fidelity and reasonable cropping.

Active Publication Date: 2021-05-14
TENCENT TECH (SHENZHEN) CO LTD
View PDF8 Cites 0 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0005] Embodiments of the present invention provide a method and device for cropping pictures, aiming to solve the problem that the existing ways of cropping pictures will lead to incomplete picture information content or content, making the picture display distorted

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 cropping method and device
  • Image cropping method and device
  • Image cropping method and device

Examples

Experimental program
Comparison scheme
Effect test

no. 1 example

[0052] Such as image 3 As shown, a first embodiment of a method for cropping a picture of the present invention is proposed, and the method for cropping a picture includes:

[0053] Step S10, acquiring the picture to be processed, and determining the display area corresponding to the picture to be processed;

[0054] In this embodiment, there are multiple ways to obtain the picture to be processed, for example, 1) downloading the picture to be processed from the network; 2) selecting a picture from the pictures locally stored in the terminal as the picture to be processed; 3) ) According to the shooting instruction, the picture is taken on site as the picture to be processed. The terminals include, but are not limited to, electronic terminals such as mobile phones, pads, and notebook computers. The acquisition methods of the pictures to be processed listed above are only exemplary, and those skilled in the art use the technical ideas of the present invention to propose othe...

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 cropping method, comprising: acquiring a picture to be processed, and determining a display area corresponding to the picture to be processed; matching the picture to be processed with the display area, and one side of the picture to be processed The distance between the side corresponding to the display area is different from the distance between the other side of the picture to be processed and the side corresponding to the display area; after the picture to be processed matches the display area, The image to be processed is cropped to remove a portion of the image to be processed that exceeds the display area, and the cropped area on one side of the image to be processed and the corresponding cropped area on the other side meet a preset condition. The invention also discloses a picture cropping device. The invention effectively ensures that the subject information and subject content of the picture to be processed are not cut out, and improves the fidelity effect of picture display.

Description

technical field [0001] The invention relates to the field of computer technology, in particular to a method and device for cropping pictures. Background technique [0002] With the development of terminal technology, the terminal has more and more functions, for example, the personalization of terminal picture display (decorating pictures through virtual photo album), including applications such as QQ photo album and WeChat photo album. Most of the time when displaying pictures through the terminal, the size of the pictures to be displayed is different from that of the virtual album, and the pictures to be displayed are cropped. Existing cropping methods to pictures include: 1. Top-aligned cropping: the top of the display area coincides with the top of the picture, and the excess part of the bottom of the picture is cropped (such as figure 1 shown in a); 2. Center alignment and cropping: the center of the display area coincides with the center of the picture, and the excess...

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 Patents(China)
IPC IPC(8): G06T11/00
Inventor 许小川
Owner TENCENT 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