US2021209392A1PendingUtilityA1

Image Processing Method and Device, and Storage Medium

Assignee: BEIJING SENSETIME TECH DEVELOPMENT CO LTDPriority: Feb 1, 2019Filed: Mar 23, 2021Published: Jul 8, 2021
Est. expiryFeb 1, 2039(~12.5 yrs left)· nominal 20-yr term from priority
G06N 3/084G06V 10/82G06V 10/454G06F 18/217G06F 18/214G06F 18/253G06F 18/2431G06N 3/045G06N 3/09G06N 3/0464G06V 2201/07G06N 3/08G06T 7/73G06N 3/04G06T 2207/20084G06T 2207/20081G06K 9/628G06K 9/6256G06K 9/46G06K 9/629G06K 9/2054G06K 9/6232G06K 2209/21G06K 9/6262
49
PatentIndex Score
0
Cited by
0
References
0
Claims

Abstract

The present disclosure relates an image processing method and device, and a storage medium. The method comprises: performing a feature equalization processing on a sample image by an equalization subnetwork of a detection network to obtain an equalized feature image of the sample image; performing a target detection processing on the equalized feature image by a detection subnetwork of the detection network to obtain predicted regions of a target object in the equalized feature image; determining an intersection-over-union of each of the predicted regions respectively; sampling the plurality of predicted regions according to the intersection-over-union of each predicted region to obtain a target region; and training the detection network according to the target region and a labeled region. The systems and techniques disclosed here can reduce information loss and improve the training effect and training efficiency.

Claims

exact text as granted — not AI-modified
What is claimed is: 
     
         1 . An image processing method, comprising:
 performing a feature equalization processing on a sample image by an equalization subnetwork of a detection network to obtain an equalized feature image of the sample image, the detection network including the equalization subnetwork and a detection subnetwork;   performing a target detection processing on the equalized feature image by the detection subnetwork to obtain a plurality of predicted regions of a target object in the equalized feature image;   determining an intersection-over-union of each of the plurality of predicted regions respectively, wherein the intersection-over-union is an area ratio of an overlapping region to a merged region of a predicted region of the target object and a corresponding labeled region in the sample image;   sampling the plurality of predicted regions according to the intersection-over-union of each of the predicted regions to obtain a target region; and   training the detection network according to the target region and the labeled region.   
     
     
         2 . The method according to  claim 1 , wherein sampling the plurality of predicted regions according to the intersection-over-union of each of the predicted regions to obtain the target region comprises:
 performing a classification processing on the plurality of predicted regions according to the intersection-over-union of each of the predicted regions to obtain a plurality of categories of predicted regions; and   performing a sampling processing on the predicted regions of each category respectively to obtain the target region.   
     
     
         3 . The method according to  claim 1 , wherein performing the feature equalization processing on the sample image by the equalization subnetwork of the detection network to obtain the equalized feature image comprises:
 performing a feature extraction processing on the sample image to obtain a plurality of first feature maps, wherein a resolution of at least one of the plurality of first feature maps is different from those of other first feature maps;   performing an equalization processing on the plurality of first feature maps to obtain a second feature map; and   obtaining a plurality of equalized feature images according to the second feature map and the plurality of first feature maps.   
     
     
         4 . The method according to  claim 3 , wherein performing the equalization processing on the plurality of first feature maps to obtain the second feature map comprises:
 performing a scaling processing on the plurality of first feature maps respectively to obtain a plurality of third feature maps with preset resolutions;   performing an average processing on the plurality of third feature maps to obtain a fourth feature map; and   performing a feature extraction processing on the fourth feature map to obtain the second feature map.   
     
     
         5 . The method according to  claim 3 , wherein obtaining the plurality of equalized feature images according to the second feature map and the plurality of first feature maps comprises:
 performing a scaling processing on the second feature map to obtain a fifth feature map corresponding to the each first feature map respectively, wherein the first feature map has the same resolution as that of the corresponding fifth feature map; and   performing a residual connection on the each first feature map and the corresponding fifth feature map respectively to obtain the equalized feature image.   
     
     
         6 . The method according to  claim 1 , wherein training the detection network according to the target region and the labeled region comprises:
 determining an identification loss and a location loss of the detection network according to the target region and the labeled region;   adjusting network parameters of the detection network according to the identification loss and the location loss; and   obtaining the trained detection network when training conditions are satisfied.   
     
     
         7 . The method according to  claim 6 , wherein determining the identification loss and the location loss of the detection network according to the target region and the labeled region comprises:
 determining a position error between the target region and the labeled region; and   determining the location loss according to the position error when the position error is less than a preset threshold.   
     
     
         8 . The method according to  claim 6 , wherein determining the identification loss and the location loss of the detection network according to the target region and the labeled region comprises:
 determining a position error between the target region and the labeled region; and   determining the location loss according to a preset value when the position error is larger than or equal to a preset threshold.   
     
     
         9 . The method according to  claim 1 , further comprising:
 inputting an image to be detected into the trained detection network for processing, so as to obtain a position information of the target object.   
     
     
         10 . An image processing device comprising:
 a processor; and   a memory configured to store processor executable instructions,   wherein the processor is configured to:   perform a feature equalization processing on a sample image by an equalization subnetwork of a detection network to obtain an equalized feature image of the sample image, the detection network including the equalization subnetwork and a detection subnetwork;   perform a target detection processing on the equalized feature image by the detection subnetwork to obtain a plurality of predicted regions of a target object in the equalized feature image;   determine an intersection-over-union of each of the plurality of predicted regions respectively, wherein the intersection-over-union is an area ratio of an overlapping region to a merged region of a predicted region of the target object and a corresponding labeled region in the sample image;   sample the plurality of predicted regions according to the intersection-over-union of each of the predicted regions to obtain a target region; and   train the detection network according to the target region and the labeled region.   
     
     
         11 . The device according to  claim 10 , wherein sampling the plurality of predicted regions according to the intersection-over-union of each of the predicted regions to obtain the target region comprises:
 performing a classification processing on the plurality of predicted regions according to the intersection-over-union of each of the predicted regions to obtain a plurality of categories of predicted regions; and   performing a sampling processing on the predicted regions of each category respectively to obtain the target region.   
     
     
         12 . The device according to  claim 10 , wherein performing the feature equalization processing on the sample image by the equalization subnetwork of the detection network to obtain the equalized feature image of the sample image comprises:
 performing a feature extraction processing on the sample image to obtain a plurality of first feature maps, wherein a resolution of at least one of the plurality of first feature maps is different from those of other first feature maps;   performing an equalization processing on the plurality of first feature maps to obtain a second feature map; and   obtaining a plurality of equalized feature images according to the second feature map and the plurality of first feature maps.   
     
     
         13 . The device according to  claim 12 , wherein performing the equalization processing on the plurality of first feature maps to obtain the second feature map comprises:
 performing a scaling processing on the plurality of first feature maps respectively to obtain a plurality of third feature maps with preset resolutions;   performing an average processing on the plurality of third feature maps to obtain a fourth feature map; and   performing a feature extraction processing on the fourth feature map to obtain the second feature map.   
     
     
         14 . The device according to  claim 12 , wherein obtaining the plurality of equalized feature images according to the second feature map and the plurality of first feature maps comprises:
 performing a scaling processing on the second feature map to obtain a fifth feature map corresponding to the each first feature map respectively, wherein the first feature map has the same resolution as that of the corresponding fifth feature map; and   performing a residual connection on the each first feature map and the corresponding fifth feature map respectively to obtain the equalized feature image.   
     
     
         15 . The device according to  claim 10 , wherein training the detection network according to the target region and the labeled region comprises:
 determining an identification loss and a location loss of the detection network according to the target region and the labeled region;   adjusting network parameters of the detection network according to the identification loss and the location loss; and   obtaining the trained detection network when training conditions are satisfied.   
     
     
         16 . The device according to  claim 15 , wherein determining the identification loss and the location loss of the detection network according to the target region and the labeled region comprises:
 determining a position error between the target region and the labeled region; and   determining the location loss according to the position error when the position error is less than a preset threshold.   
     
     
         17 . The device according to  claim 15 , wherein determining the identification loss and the location loss of the detection network according to the target region and the labeled region comprises:
 determining a position error between the target region and the labeled region; and   determining the location loss according to a preset value when the position error is larger than or equal to a preset threshold.   
     
     
         18 . The device according to  claim 10 , wherein the processor is further configured to:
 input an image to be detected into the trained detection network for processing, so as to obtain a position information of the target object.   
     
     
         19 . A computer readable storage medium having computer program instructions stored thereon, wherein the computer program instructions, when executed by a processor, implement an image processing method, the method comprising:
 performing a feature equalization processing on a sample image by an equalization subnetwork of a detection network to obtain an equalized feature image of the sample image, the detection network including the equalization subnetwork and a detection subnetwork;   performing a target detection processing on the equalized feature image by the detection subnetwork to obtain a plurality of predicted regions of a target object in the equalized feature image;   determining an intersection-over-union of each of the plurality of predicted regions respectively, wherein the intersection-over-union is an area ratio of an overlapping region to a merged region of a predicted region of the target object and a corresponding labeled region in the sample image;   sampling the plurality of predicted regions according to the intersection-over-union of each of the predicted regions to obtain a target region; and   training the detection network according to the target region and the labeled region.

Join the waitlist — get patent alerts

Track US2021209392A1 — get alerts on status changes and closely related new filings.

We store only your email — no account needed. See our privacy policy.