Looking for breakthrough ideas for innovation challenges? Try Patsnap Eureka!

Image processing method, electronic device and storage medium

A picture processing and picture technology, applied in the computer field, can solve the problems that the position information of the marker frame cannot be directly extracted, and it is difficult to accurately crop partial pictures from the original picture.

Active Publication Date: 2019-11-12
PING AN TECH (SHENZHEN) CO LTD
View PDF5 Cites 0 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

However, for such original pictures with marked boxes, since the position information of the marked boxes cannot be directly extracted, it is difficult to precisely crop the original picture to obtain the local pictures corresponding to the marked boxes

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, electronic device and storage medium
  • Image processing method, electronic device and storage medium
  • Image processing method, electronic device and storage medium

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0027] The principle and spirit of the present invention will be described below with reference to several specific embodiments. It should be understood that the specific embodiments described here are only used to explain the present invention, not to limit the present invention.

[0028] Those skilled in the art know that the embodiments of the present invention can be implemented as a method, device, device, system or computer program product. Therefore, the present invention can be embodied as complete hardware, complete software (including firmware, resident software, microcode, etc.), or a combination of hardware and software.

[0029] According to the embodiments of the present invention, a picture processing method, an electronic device and a storage medium are provided.

[0030] refer to figure 1 As shown, it is a schematic diagram of the operating environment of the preferred embodiment of the electronic device 1 of the present invention.

[0031] The electronic d...

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 a picture processing method, comprising: training a sample picture library to obtain a classification function of a sample picture with a marked frame and a sample picture without a marked frame; calculating the classification function of the original picture based on the classification function class value, if the classification value satisfies the first preset condition, it is determined that the original picture includes a marked frame drawn with the preset color; the original picture is converted from RGB space to HSV space to obtain an HSV picture; according to the The value range of the preset color in the HSV space is set, the binarization threshold is set, and each pixel in the HSV picture is binarized to obtain a binarized picture; the target contour is extracted from the binarized picture The position information of the original picture is cropped according to the position information to obtain the partial picture corresponding to the marked frame. The invention also provides an electronic device and a storage medium. The invention can quickly and accurately cut out the partial picture corresponding to the marked frame from the original picture.

Description

technical field [0001] The invention relates to the technical field of computers, in particular to a picture processing method, an electronic device and a storage medium. Background technique [0002] With the development of Internet technology, various network resources are very rich, which greatly facilitates users' acquisition of resources. For example, there are a large number of high-definition landscape pictures on the Internet, so that users may find the pictures they need without taking pictures in person. Among them, in order to mark the local content in the picture that needs attention, some pictures have a marked frame drawn in a certain color. For example, in the photos taken by traffic monitoring, people or vehicles that violate the rules are marked in the photos with red squares, etc. , and these partial content are exactly what users expect to find. Therefore, the user not only hopes to find the desired original picture, but also hopes to obtain the partial ...

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): G06K9/32G06K9/62G06K9/38G06K9/46G06N3/04G06N3/08G06V10/25G06V10/44G06V10/56
CPCG06N3/08G06V10/245G06V10/28G06V10/44G06N3/045G06F18/214G06N20/10G06V10/25G06V10/56G06V10/82G06F18/24
Inventor 王健宗王义文刘奡智庞烨肖京
Owner PING AN TECH (SHENZHEN) CO LTD
Who we serve
  • R&D Engineer
  • R&D Manager
  • IP Professional
Why Patsnap Eureka
  • Industry Leading Data Capabilities
  • Powerful AI technology
  • Patent DNA Extraction
Social media
Patsnap Eureka Blog
Learn More
PatSnap group products