Image data enhancement method and device, electronic equipment and storage medium

An image data and image technology, applied in the field of image data processing, can solve the problem that a rectangular frame cannot be bounded by a frame to frame a target object

Inactive Publication Date: 2021-06-08
SHENZHEN WEITESHI TECH
View PDF0 Cites 0 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0003] The technical problem to be solved by the present invention is that the use of a rectangular frame often cannot frame the target object with the smallest circumscribed frame, resulting in more redundant areas. Aiming at the above-mentioned defects of the prior art, the present invention provides a Image data enhancement methods, including:

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

Examples

Experimental program
Comparison scheme
Effect test

Embodiment 1

[0069] see figure 1 , is a flowchart of an image data enhancement method of the present invention. Such as figure 1 As shown, in the image data enhancement method provided in the first embodiment of the present invention, at least steps are included:

[0070] S1. Obtain an original image, and mark the original image with a frame to obtain a marked image;

[0071] There are many ways to obtain original images, such as satellite aerial photography, satellite building images and other distant views, or close-up images taken, or recorded satellite aerial photography, satellite building videos, etc. For recorded video such as satellite aerial video, satellite building video, etc., video frames can be taken as the original image. Use a rectangular box to frame the target object in the original image. In the dense target detection scene in the image, the use of rectangular frames will result in more overlapping frames, which is not conducive to accurately determine the position a...

Embodiment 2

[0115] Figure 6 It is a schematic diagram of an original image size structure used in another embodiment of an image data enhancement method of the present invention. As shown in the figure, it is assumed that an original image is obtained, with a width and height such as Figure 6 As shown in , the image coordinate value of the upper right corner of the marked object is (550,150).

[0116] Send the original image to the image rotation enhancement algorithm, the rotation angle θ is 60°, and the rotation center is set to the center point of the image (center_x, center_y)=(320,160). In order to ensure that the image information after the image rotation is not lost, set the coordinate origin of the rotated coordinates to left and set it to 0, then top can be calculated according to top=sinθ×w=554. Substituting all pixel value coordinates (x, y) of the original image into the following formula 8, the new coordinates of all pixel values ​​after rotation can be calculated, such a...

Embodiment 3

[0126] Figure 11 It is a schematic structural diagram of an image data enhancement device of the present invention. Such as Figure 11 Shown, a kind of image data enhancing device comprises:

[0127] An original image acquisition module 10, configured to acquire an original image, and mark the original image with a frame to obtain a marked image;

[0128] A rotation enhancement processing module 20, configured to perform rotation processing on the marked image to obtain a rotated image;

[0129] The reduction processing and / or enlargement processing module 30 is configured to perform reduction processing and / or enlargement processing on the rotated image, wherein the reduction processing includes:

[0130] Taking two adjacent sampling points as a dividing line, dividing the rotated image into multiple sub-block images, the pixels of the multiple sub-block images take the average value of the sum of pixels of the corresponding sub-block images,

[0131] The amplification 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 relates to an image data enhancement method and device, electronic equipment and a storage medium, and the method comprises the steps: S1, obtaining an original image, carrying out the annotation of an annotation box of the original image, and obtaining an annotated image; S2, rotating the marked image, and obtaining a rotated image; S3, reducing and / or amplifying the rotated image, wherein the reduction processing comprises the steps that two adjacent sampling points serve as segmentation lines, the rotated image is divided into multiple sub-block images, the average value of the sum of the pixels of the corresponding sub-block images is taken as the pixel of the multiple sub-block images, and the amplification processing comprises the steps that a Bi Cub i c function is constructed, performing interpolation calculation on neighborhood points near the pixel points to be interpolated; and S4, obtaining the annotation data subjected to the zooming-out processing and / or the zooming-in processing. The diversity of data can be greatly improved, and the number of training samples can be quickly increased on the basis of not increasing the manual labeling cost.

Description

technical field [0001] The present invention relates to the technical field of image data processing, and more specifically, relates to an image data enhancement method, device, electronic equipment and storage medium. Background technique [0002] At present, in the target detection algorithm, the use of rectangular frames for image annotation often cannot frame the target object with the smallest bounding frame, resulting in more redundant areas. In the dense target detection scene in the image, the use of rectangular frames will result in more overlapping frames, which is not conducive to accurately determining the position and category of the target. At the same time, in scenes with high requirements for the accuracy of the target object position, such as satellite aerial images, satellite building images, etc., it is necessary to use a quadrilateral frame to accurately mark the target object. However, the quadrilateral labeling method has a large workload and requires ...

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): G06T5/00G06T3/40G06T3/60
CPCG06T3/4023G06T3/60G06T5/007G06T2207/20081G06T2207/30204
Inventor 夏春秋
Owner SHENZHEN WEITESHI TECH
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