IP Library Granted Patent US 12,608,813
Granted Patent B2
US 12,608,813 · App. 18/251,228 · Granted Apr 21, 2026

Image segmentation method for a target object, device, and storage medium

Inventors: Tao Kong (Beijing, CN); Ya Jing (Beijing, CN); Lei Li (Beijing, CN)
Assignee: BEIJING YOUZHUJU NETWORK TECHNOLOGY CO., LTD.
G06T7/11G06T3/40G06T2207/20221
View Patent ↗
Loading inventors, assignments & file history…
Monitor This Case
Get email alerts when status or documents change.
Order Certified Copies
Most orders are placed with the USPTO same day — all within 24 business hours.
Order via The Patent Place →
Pre-filled with this patent's details
Quick Facts
Patent No.
US 12,608,813
App. No.
18/251,228
Granted
Apr 21, 2026
Kind
B2
Abstract

Provided are an image segmentation method and apparatus, a device, and a storage medium. The image segmentation method includes: fusing a visual feature corresponding to an original image with a text feature corresponding to a description language to obtain a multimodal feature, where the description language is used for specifying a target object to be segmented in the original image; determining a visual region of the target object according to an image corresponding to the multimodal feature and recording an image corresponding to the visual region as a response heat map; and determining a segmentation result of the target object according to the image corresponding to the multimodal feature and the response heat map.

Claims (64)

1 . An image segmentation method, comprising:

fusing a visual feature corresponding to an original image with a text feature corresponding to a description language to obtain a multimodal feature, wherein the description language is used for specifying a target object to be segmented in the original image;

determining a visual region of the target object according to an image corresponding to the multimodal feature and recording an image corresponding to the visual region as a response heat map; and

determining a segmentation result of the target object according to the image corresponding to the multimodal feature and the response heat map,

wherein determining the visual region of the target object according to the image corresponding to the multimodal feature comprises:

performing correlation filtering on the image corresponding to the multimodal feature to obtain the visual region of the target object.

2 . The method of claim 1 , wherein performing the correlation filtering on the image corresponding to the multimodal feature to obtain the visual region of the target object comprises:

determining a convolution kernel according to the text feature; and

performing a convolution operation on the image corresponding to the multimodal feature according to the convolution kernel to obtain the visual region of the target object.

3 . The method of claim 2 , wherein determining the segmentation result of the target object according to the image corresponding to the multimodal feature and the response heat map comprises:

inputting the image corresponding to the multimodal feature and the response heat map into a target image segmentation model and acquiring an output result of the target image segmentation model as the segmentation result of the target object.

4 . The method of claim 1 , wherein the visual feature comprises visual features extracted from the original image under at least two resolutions separately.

5 . The method of claim 4 , wherein fusing the visual feature corresponding to the original image with the text feature corresponding to the description language to obtain the multimodal feature comprises:

sorting at least two visual features in an order of sizes of the resolutions to obtain a sorting result; and mapping, through a mapping matrix, the text feature to a feature space where a first visual feature corresponding to a first resolution in the sorting result is located, wherein the first resolution has a smallest value;

splicing the first visual feature with the mapped text feature to obtain a first spliced feature; and

upsampling the first spliced feature, splicing the upsampled first spliced feature with a second visual feature corresponding to a second resolution in the sorting result to obtain a second spliced feature, and cyclically performing upsampling and splicing operations until an upsampled spliced feature is spliced with a visual feature having a largest resolution in the sorting result to obtain the multimodal feature, wherein the second resolution is greater than the first resolution and a smallest resolution except the first resolution.

6 . The method of claim 5 , wherein determining the segmentation result of the target object according to the image corresponding to the multimodal feature and the response heat map comprises:

inputting the image corresponding to the multimodal feature and the response heat map into a target image segmentation model and acquiring an output result of the target image segmentation model as the segmentation result of the target object.

7 . The method of claim 4 , wherein determining the segmentation result of the target object according to the image corresponding to the multimodal feature and the response heat map comprises:

inputting the image corresponding to the multimodal feature and the response heat map into a target image segmentation model and acquiring an output result of the target image segmentation model as the segmentation result of the target object.

8 . The method of claim 1 , wherein determining the segmentation result of the target object according to the image corresponding to the multimodal feature and the response heat map comprises:

inputting the image corresponding to the multimodal feature and the response heat map into a target image segmentation model and acquiring an output result of the target image segmentation model as the segmentation result of the target object.

9 . The method of claim 8 , wherein a training process of the target image segmentation model comprises:

acquiring a sample image and a sample description language and extracting a sample visual feature of the sample image and a sample text feature of the sample description language, wherein the sample description language is used for specifying a sample target object to be segmented in the sample image;

fusing the sample visual feature with the sample text feature to obtain a sample multimodal feature;

determining a sample visual region of the sample target object according to an image corresponding to the sample multimodal feature and recording an image corresponding to the sample visual region as a sample response heat map; and

training an initial image segmentation model according to the image corresponding to the sample multimodal feature and the sample response heat map to obtain the target image segmentation model.

10 . The method of claim 9 , wherein training the initial image segmentation model according to the image corresponding to the sample multimodal feature and the sample response heat map to obtain the target image segmentation model comprises:

inputting the image corresponding to the sample multimodal feature and the sample response heat map into the initial image segmentation model to obtain a plurality of first convolution results of the image corresponding to the sample multimodal feature and the sample response heat map, wherein the plurality of first convolution results are obtained through a first convolution operation performed on the image corresponding to the sample multimodal feature and the sample response heat map at different sampling rates;

splicing the plurality of first convolution results to obtain a spliced result;

performing a second convolution operation on the spliced result to obtain a second convolution result;

upsampling the second convolution result to obtain a sample segmentation result;

determining a loss value of the sample segmentation result relative to an actual segmentation result of the sample image; and

in a case where the loss value is less than a set threshold, stopping training the initial image segmentation model and using an image segmentation model with the loss value less than the set threshold as the target image segmentation model; and in a case where the loss value is not less than the set threshold, continuing to train the initial image segmentation model until the loss value is less than the set threshold.

11 . An electronic device, comprising:

at least one processor; and

a memory configured to store at least one program;

wherein the at least one program, when executed by the at least one processor, causes the at least one processor to perform the following steps:

fusing a visual feature corresponding to an original image with a text feature corresponding to a description language to obtain a multimodal feature, wherein the description language is used for specifying a target object to be segmented in the original image;

determining a visual region of the target object according to an image corresponding to the multimodal feature and recording an image corresponding to the visual region as a response heat map; and

determining a segmentation result of the target object according to the image corresponding to the multimodal feature and the response heat map,

wherein determining the visual region of the target object according to the image corresponding to the multimodal feature comprises:

performing correlation filtering on the image corresponding to the multimodal feature to obtain the visual region of the target object.

12 . The device of claim 11 , wherein performing the correlation filtering on the image corresponding to the multimodal feature to obtain the visual region of the target object comprises:

determining a convolution kernel according to the text feature; and

performing a convolution operation on the image corresponding to the multimodal feature according to the convolution kernel to obtain the visual region of the target object.

13 . The device of claim 11 , wherein the visual feature comprises visual features extracted from the original image under at least two resolutions separately.

14 . The device of claim 13 , wherein fusing the visual feature corresponding to the original image with the text feature corresponding to the description language to obtain the multimodal feature comprises:

sorting at least two visual features in an order of sizes of the resolutions to obtain a sorting result; and mapping, through a mapping matrix, the text feature to a feature space where a first visual feature corresponding to a first resolution in the sorting result is located, wherein the first resolution has a smallest value;

splicing the first visual feature with the mapped text feature to obtain a first spliced feature; and

upsampling the first spliced feature, splicing the upsampled first spliced feature with a second visual feature corresponding to a second resolution in the sorting result to obtain a second spliced feature, and cyclically performing upsampling and splicing operations until an upsampled spliced feature is spliced with a visual feature having a largest resolution in the sorting result to obtain the multimodal feature, wherein the second resolution is greater than the first resolution and a smallest resolution except the first resolution.

15 . The device of claim 11 , wherein determining the segmentation result of the target object according to the image corresponding to the multimodal feature and the response heat map comprises:

inputting the image corresponding to the multimodal feature and the response heat map into a target image segmentation model and acquiring an output result of the target image segmentation model as the segmentation result of the target object.

16 . The device of claim 15 , wherein a training process of the target image segmentation model comprises:

acquiring a sample image and a sample description language and extracting a sample visual feature of the sample image and a sample text feature of the sample description language, wherein the sample description language is used for specifying a sample target object to be segmented in the sample image;

fusing the sample visual feature with the sample text feature to obtain a sample multimodal feature;

determining a sample visual region of the sample target object according to an image corresponding to the sample multimodal feature and recording an image corresponding to the sample visual region as a sample response heat map; and

training an initial image segmentation model according to the image corresponding to the sample multimodal feature and the sample response heat map to obtain the target image segmentation model.

17 . A non-transitory computer-readable storage medium, which is configured to store a computer program which, when executed by a processor, causes the processor to perform the following steps:

fusing a visual feature corresponding to an original image with a text feature corresponding to a description language to obtain a multimodal feature, wherein the description language is used for specifying a target object to be segmented in the original image;

determining a visual region of the target object according to an image corresponding to the multimodal feature and recording an image corresponding to the visual region as a response heat map; and

determining a segmentation result of the target object according to the image corresponding to the multimodal feature and the response heat map,

wherein determining the visual region of the target object according to the image corresponding to the multimodal feature comprises:

performing correlation filtering on the image corresponding to the multimodal feature to obtain the visual region of the target object.

Priority Claims (1)
CN 202011197790.9 · Oct 30, 2020 · national
Continuity (1)
Related Publication 20230394671A1 · Dec 7, 2023
References Cited (46)
US 10643072B2 · Kottenstette · 2020 [cited by examiner]
US 10818386B2 · Yao · 2020 [cited by examiner]
US 10878173B2 · Morariu · 2020 [cited by examiner]
US 11282198B2 · Lyman · 2022 [cited by examiner]
US 11416672B2 · Morariu · 2022 [cited by examiner]
US 11507072B2 · Ponnada · 2022 [cited by examiner]
US 11615567B2 · Harikumar · 2023 [cited by examiner]
US 11636085B2 · Yan · 2023 [cited by examiner]
US 12080056B1 · Rathi · 2024 [cited by examiner]
US 20050265607A1 · Chang · 2005 [cited by examiner]
US 20180089531A1 · Geva · 2018 [cited by examiner]
US 20180268548A1 · Lin et al. · 2018 [cited by applicant]
US 20200012898A1 · Zhao · 2020 [cited by examiner]
US 20200117951A1 · Li · 2020 [cited by examiner]
US 20200175095A1 · Morariu · 2020 [cited by examiner]
US 20210390700A1 · Lee · 2021 [cited by examiner]
US 20220028563A1 · Klasson · 2022 [cited by examiner]
US 20220156992A1 · Harikumar · 2022 [cited by examiner]
US 20240275996A1 · Debnath · 2024 [cited by examiner]
CN 102436583A · 2012 [cited by applicant]
CN 107958460A · 2018 [cited by applicant]
CN 108230329A · 2018 [cited by applicant]
CN 109033321A · 2018 [cited by applicant]
CN 109948707A · 2019 [cited by applicant]
CN 110390289A · 2019 [cited by applicant]
CN 110533676A · 2019 [cited by applicant]
CN 110555337A · 2019 [cited by applicant]
CN 110765916A · 2020 [cited by applicant]
CN 110782462A · 2020 [cited by applicant]
CN 110929696A · 2020 [cited by applicant]
CN 110930419A · 2020 [cited by applicant]
CN 111104962A · 2020 [cited by applicant]
CN 111126451A · 2020 [cited by applicant]
CN 111275721A · 2020 [cited by applicant]
CN 111667483A · 2020 [cited by applicant]
CN 111723841A · 2020 [cited by applicant]
CN 112184738A · 2021 [cited by applicant]
Written Opinion for International Application No. PCT/CN2021/120815, mailed Dec. 30, 2021, 10 Pages. [cited by applicant]
Office action received from Japanese patent application No. 2023-525962 mailed on Feb. 25, 2025, 5 pages (2 pages English Translation and 3 pages Original Copy). [cited by applicant]
International Search Report issued Dec. 30, 2021 in International Application No. PCT/CN2021/120815, with English translation (6 pages). [cited by applicant]
First Office Action issued Jun. 2, 2022 in CN Appl. No. 202011197790.9, English Translation (15 pages). [cited by applicant]
Jing. Ya et al. “Locate then Segment: A Strong Pipeline for Referring Image Segmentation” Mar. 30, 2021 (Mar. 30, 2021), pp. 1-10. [cited by applicant]
Hu, Ronghang et al. “Segmentation from Natural Language Expressions” Mar. 20, 2016 (Mar. 20, 2016), pp. 1-25. [cited by applicant]
Luo, Gen et al. “Multi-task Collaborative Network for Joint Referring Expression Comprehension and Segmentation” 2020 IEEEICVF Conference on Computer Vision and Pattern Recognition (CVPR), Aug. 5, 2020 (Aug. 5, 2020), p… [cited by applicant]
Wang. Fei et al. “Residual Attention Network for Image Classification” 2017 IEEE Conference on Computer Vision and Pattern Recognition (CVPR), Nov. 9, 2017 (Nov. 9, 2017), pp. 6450-6458. [cited by applicant]
Chen, L., et al. “DeepLab: Semantic Image Segmentation with Deep Convolutional Nets, Atrous Convolution, and Fully Connected CRFs” IEEE Transactions on Pattern Analysis and Machine Intelligence, Jun. 2016 (14 pages). [cited by applicant]