Unlock instant, AI-driven research and patent intelligence for your innovation.

Image processing method and device

A technology for image processing and target image, applied in the field of image processing, can solve the problems of complex operation, reduce the efficiency of image cropping, and cannot be placed in a prominent area, and achieve the effect of simple operation, reduction of times, and improvement of processing efficiency

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

AI Technical Summary

Problems solved by technology

[0004] The salient area of ​​the picture is generally the area that can most arouse the user's interest and express the content of the picture. When the salient area of ​​the target picture is not in the center of the target picture, the above method cannot accurately place the salient area of ​​the target picture in the center of the target picture. The center position of the cropping frame needs to be adjusted manually by the user repeatedly. The operation is more complicated, which reduces the efficiency of image cropping

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

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0022] In order to make the object, technical solution and advantages of the present invention clearer, the implementation manner of the present invention will be further described in detail below in conjunction with the accompanying drawings.

[0023] figure 1 It is a flowchart of an image processing method provided by an embodiment of the present invention. The execution subject of this method is the terminal, see figure 1 , the method includes:

[0024] Step 101: Obtain a plurality of salient rectangles from the target picture according to the pixels in the target picture to be processed.

[0025] Step 102: Based on the area of ​​the plurality of salient rectangles, the salient mean value of the plurality of salient rectangles and the center distance of the plurality of salient rectangles, calculate the anchor point coordinates of the target picture, and the center distance of each salient rectangle is the distance of the salient rectangle The distance between the center...

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 processing method and an apparatus and belongs to the picture processing field. The method comprises the following steps of according to a pixel point in a target picture to be processed, acquiring a plurality of significant rectangles from the target picture; based on areas of the plurality of outstanding rectangles, a significant mean value of the plurality of significant rectangles and center distances of the plurality of significant rectangles, calculating an anchor point coordinate of the target picture, wherein the center distance of each significant rectangle is a distance between a center point of each significant rectangle and a center point of the target picture; based on the anchor point coordinate of the target picture, moving the target picture so that an anchor point of the target picture is superposed with a center point of a cutting frame; and based on the position of the cutting frame, carrying out cutting processing on the target picture. By using the method and the apparatus of the invention, times for a user to manually adjust the target picture are reduced and picture cutting processing efficiency is increased.

Description

technical field [0001] The present invention relates to the field of image processing, in particular to an image processing method and device. Background technique [0002] With the rapid development of terminal technology, the picture processing function of the terminal is increasingly powerful. Not only can the picture beautification function be provided on the terminal, but also the function of cutting the picture can be provided. For example, when the user sets the mobile phone wallpaper picture or changes the avatar picture, the size of the area to be filled is fixed. For example, for the wallpaper picture, the area to be filled may be the same size as the terminal display screen, while for the avatar, The area to be filled may be small, and if the size of the picture selected by the user is larger than the size of the area to be filled, the picture needs to be cropped. [0003] At present, the image processing process can specifically be as follows: after the user se...

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): G06T3/00G06K9/32
Inventor 沈子琦
Owner TENCENT TECH (SHENZHEN) CO LTD