Image processing method and program product

CN120495323BActive Publication Date: 2026-08-11NANJING ZHIWEI MEDICAL TECHNOLOGY CO LTD +2
View PDF 2 Cites 0 Cited by

Patent Information

Application Number
CN202510680891.8
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2025-05-26
Publication Date
2026-08-11
Estimated Expiration
2045-05-26

AI Technical Summary

Technical Problem

[0003]鉴于上述问题,本发明提供了一种图像处理方法及程序产品,以解决相关图像分割技术中目标部位分割结果精度较低的技术问题

Benefits of technology

[0016]根据本发明的另一方面,提供了一种计算机可读存储介质,所述计算机可读存储介质存储有计算机指令,所述计算机指令用于使处理器执行时实现本发明任一实施例所述的图像处理方法。

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN120495323B_ABST
    Figure CN120495323B_ABST
Patent Text Reader

Abstract

This invention discloses an image processing method and program product. The method includes: acquiring a fluorescence image of a target region, wherein the fluorescence image presents the distribution information of fluorescence intensity of a first medium and a second medium in the target region, and the fluorescence intensity corresponding to the first medium and the second medium corresponds to different color channels; for a target pixel in the fluorescence image, determining a ratio of the color value corresponding to the target pixel based on a first color value and a second color value associated with the target pixel; the first color value is the color value of the color channel corresponding to the first medium, and the second color value is the color value of the color channel corresponding to the second medium; generating a region image corresponding to the target region based on the ratio of the fluorescence image and the color value corresponding to the target pixel, and displaying the region image. The technical solution of this invention improves the image segmentation accuracy of the target region, thereby enhancing the image segmentation effect of the target region.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] This invention relates to the field of image processing technology, and in particular to an image processing method and program product. Background Technology

[0002] For image segmentation of target regions, related technologies typically employ traditional fixed threshold segmentation or methods based on simple edge detection. These methods often rely on preset parameters and have poor adaptability to complex scenes. As a result, in practical applications, the segmented target boundaries are unclear, the target region is incomplete, and the background is easily misidentified as the target or vice versa, leading to low accuracy in the segmentation results of target regions. Summary of the Invention

[0003] In view of the above problems, the present invention provides an image processing method and program product to solve the technical problem of low accuracy of target part segmentation results in related image segmentation technologies.

[0004] According to one aspect of the present invention, an image processing method is provided, the method comprising:

[0005] Acquire a fluorescence image of the target area, wherein the fluorescence image is used to present the distribution information of the fluorescence intensity of the first medium and the second medium in the target area, and the fluorescence intensity of the first medium and the second medium corresponds to different color channels respectively;

[0006] For a target pixel in the fluorescence image, a color value ratio corresponding to the target pixel is determined based on a first color value and a second color value associated with the target pixel; wherein, the first color value is the color value of the color channel corresponding to the first medium, and the second color value is the color value of the color channel corresponding to the second medium.

[0007] A region image corresponding to the target region is generated based on the ratio of the fluorescence image to the color value corresponding to the target pixel, and the region image is displayed.

[0008] According to another aspect of the present invention, an image processing apparatus is provided, the apparatus comprising:

[0009] A fluorescence image acquisition module is used to acquire a fluorescence image of a target area, wherein the fluorescence image is used to present the distribution information of the fluorescence intensity of a first medium and a second medium in the target area, and the fluorescence intensity of the first medium and the second medium corresponds to different color channels, respectively.

[0010] The color ratio determination module is used to determine a color value ratio corresponding to a target pixel in the fluorescence image based on a first color value and a second color value associated with the target pixel; wherein, the first color value is the color value of the color channel corresponding to the first medium, and the second color value is the color value of the color channel corresponding to the second medium.

[0011] The part image display module is used to generate a part image corresponding to the target part based on the ratio of the fluorescence image and the color value corresponding to the target pixel, and to display the part image.

[0012] According to another aspect of the present invention, an electronic device is provided, the electronic device comprising:

[0013] At least one processor; and

[0014] A memory communicatively connected to the at least one processor; wherein,

[0015] The memory stores a computer program that can be executed by the at least one processor, the computer program being executed by the at least one processor to enable the at least one processor to perform the image processing method according to any embodiment of the present invention.

[0016] According to another aspect of the present invention, a computer-readable storage medium is provided, the computer-readable storage medium storing computer instructions for causing a processor to execute and implement the image processing method according to any embodiment of the present invention.

[0017] According to another aspect of the present invention, embodiments of the present disclosure also provide a computer program product, including a computer program that, when executed by a processor, implements the image processing method as described in any of the embodiments of the present disclosure.

[0018] The technical solution of this invention acquires a fluorescence image of a target region and uses this fluorescence image to present the distribution information of fluorescence intensity of the first and second media in the target region under different color channels, thereby accurately and intuitively presenting the fluorescence intensity distribution information of the first and second media. For a target pixel in the fluorescence image, a color value ratio corresponding to the target pixel is determined based on the first and second color values ​​associated with the target pixel. The first color value is the color value of the color channel corresponding to the first medium, and the second color value is the color value of the color channel corresponding to the second medium. By calculating the color value ratio, the contrast between the first and second media can be effectively enhanced. Furthermore, a region image corresponding to the target region is generated based on the fluorescence image and the color value ratio corresponding to the target pixel, and the region image is displayed, thus accurately obtaining the region image of the target region. The technical solution of this invention solves the technical problem of low accuracy in target region segmentation results in related image segmentation techniques, improving the accuracy of target region image segmentation and thus enhancing the target region image segmentation effect.

[0019] It should be understood that the description in this section is not intended to identify key or essential features of the embodiments of the present invention, nor is it intended to limit the scope of the invention. Other features of the invention will become readily apparent from the following description. Attached Figure Description

[0020] To more clearly illustrate the technical solutions in the embodiments of the present invention, the accompanying drawings used in the description of the embodiments will be briefly introduced below. Obviously, the accompanying drawings described below are only some embodiments of the present invention. For those skilled in the art, other drawings can be obtained based on these drawings without creative effort.

[0021] Figure 1 A flowchart of an image processing method is provided in Embodiment 1 of the present invention;

[0022] Figure 2 This is a flowchart of an image processing method provided in Embodiment 2 of the present invention;

[0023] Figure 3 This is a flowchart of an image processing method provided in Embodiment 3 of the present invention;

[0024] Figure 4 This is a schematic diagram of the structure of an image processing device provided in Embodiment 4 of the present invention;

[0025] Figure 5 This is a schematic diagram of the structure of an electronic device that implements the image processing method of the present invention. Detailed Implementation

[0026] To enable those skilled in the art to better understand the present invention, the technical solutions of the present invention will be clearly and completely described below with reference to the accompanying drawings of the embodiments of the present invention. Obviously, the described embodiments are only some embodiments of the present invention, and not all embodiments. Based on the embodiments of the present invention, all other embodiments obtained by those skilled in the art without creative effort should fall within the scope of protection of the present invention.

[0027] It should be noted that the terms "first," "second," etc., in the specification, claims, and accompanying drawings of this invention are used to distinguish similar objects and are not necessarily used to describe a specific order or sequence. It should be understood that such data can be interchanged where appropriate so that the embodiments of the invention described herein can be implemented in orders other than those illustrated or described herein. Furthermore, the terms "comprising" and "having," and any variations thereof, are intended to cover a non-exclusive inclusion; for example, a process, method, system, product, or apparatus that comprises a series of steps or units is not necessarily limited to those steps or units explicitly listed, but may include other steps or units not explicitly listed or inherent to such processes, methods, products, or apparatus.

[0028] It should be noted that the terms "a" and "a plurality of" used in this disclosure are illustrative rather than restrictive, and those skilled in the art should understand that, unless otherwise expressly indicated in the context, they should be understood as "one or more".

[0029] The names of messages or information exchanged between multiple devices in the embodiments of this disclosure are for illustrative purposes only and are not intended to limit the scope of such messages or information.

[0030] It is understood that before using the technical solutions disclosed in the various embodiments of this disclosure, users should be informed of the types, scope of use, and usage scenarios of the personal information involved in this disclosure in an appropriate manner in accordance with relevant laws and regulations, and user authorization should be obtained.

[0031] For example, upon receiving a user's active request, a prompt message is sent to the user to explicitly inform them that the requested operation will require the acquisition and use of the user's personal information. This allows the user to independently choose whether to provide personal information to the software or hardware, such as the electronic device, application, server, or storage medium performing the operations of this disclosed technical solution, based on the prompt message.

[0032] As an optional but non-limiting implementation, in response to a user's active request, sending a prompt message to the user can be done via a pop-up window, where the prompt message can be presented in text format. Furthermore, the pop-up window can also include a selection control allowing the user to choose "agree" or "disagree" to provide personal information to the electronic device.

[0033] It is understood that the above notification and user authorization process are merely illustrative and do not constitute a limitation on the implementation of this disclosure. Other methods that comply with relevant laws and regulations may also be applied to the implementation of this disclosure.

[0034] It is understood that the data involved in this technical solution (including but not limited to the data itself, the acquisition or use of the data) shall comply with the requirements of relevant laws, regulations and related provisions.

[0035] Example 1

[0036] Figure 1 The flowchart of an image processing method is provided in Embodiment 1 of the present invention. This embodiment is applicable to the processing of images. The method can be executed by an image processing device, which can be implemented in hardware and / or software. Optionally, it can be implemented by an electronic device, such as a mobile terminal, a PC, or a server.

[0037] like Figure 1 As shown, the method may specifically include:

[0038] S110. Obtain a fluorescence image of the target area, wherein the fluorescence image is used to present the distribution information of the fluorescence intensity of the first medium and the second medium in the target area, and the fluorescence intensity of the first medium and the second medium corresponds to different color channels.

[0039] The target site can be any part of the target object, and may include a first medium and a second medium. The first medium and the second medium are two coexisting media capable of being activated by excitation light at the target site. Optionally, the first medium may include a reduced coenzyme, and the second medium may include an oxidized coenzyme. The reduced coenzyme may include nicotinamide adenine dinucleotide. The oxidized coenzyme may include flavin adenine dinucleotide, etc. It should be noted that the target object may include, but is not limited to, humans or animals. For example, the target site may be an internal organ, vascular network, nervous system, etc. of the target object. The fluorescence image of the target site can be used to present the distribution information of the fluorescence intensity of the first medium and the second medium in the target site. The fluorescence intensity corresponding to the first medium and the fluorescence intensity corresponding to the second medium respectively correspond to different color channels. The color channels may include a green color channel, a red color channel, and a blue color channel. For example, the fluorescence intensity corresponding to the first medium is in the green color channel, and the fluorescence intensity corresponding to the second medium is in the red color channel.

[0040] In this embodiment of the invention, the fluorescence intensity distribution information of the first and second media under different color channels is presented through the fluorescence image of the target area, which can accurately and intuitively present the fluorescence intensity distribution information of the first and second media. Specifically, the fluorescence signals of the first and second media are respectively assigned to different color channels (e.g., green and red color channels), and the distribution information of their fluorescence intensity in the fluorescence image can be used to locate the specific positions of the first and second media in the target area.

[0041] In this embodiment of the invention, acquiring the fluorescence image of the target region may include: targeting and activating a first medium and a second medium coexisting in the target region by projecting excitation light of a preset first wavelength onto the target region; wherein, the first medium generates a first fluorescence signal of a second wavelength after being excited, and the second medium generates a second fluorescence signal of a third wavelength after being excited; both the second wavelength and the third wavelength are longer than the first wavelength; acquiring the first fluorescence signal and the second fluorescence signal respectively through dual spectral channels, eliminating crosstalk between the spectral channels based on a spectral dealiasing algorithm, reconstructing the first fluorescence signal after eliminating crosstalk into a first spatial distribution image of the first medium, and parsing the second fluorescence signal after eliminating crosstalk into a second spatial distribution image of the second medium; fusing the first spatial distribution image and the second spatial distribution image through dual-channel pseudo-color encoding to obtain a fluorescence image including the distribution information of the fluorescence intensity of the first medium and the second medium in the target region.

[0042] In this embodiment of the invention, the excitation light is light of a preset first wavelength, the energy of which matches the absorption spectral peaks of the first and second media, enabling targeted activation of the fluorescence signals of the first and second media within the target region. Specifically, when the preset first wavelength excitation light is projected onto the target region, the coexisting first and second media within the target region can be targeted and activated, causing the first media to generate a first fluorescence signal of a second wavelength upon excitation, and the second media to generate a second fluorescence signal of a third wavelength upon excitation. Both the second and third wavelengths are longer than the first wavelength. The first fluorescence signal can be understood as the fluorescence signal of the second wavelength generated by the first media upon excitation. The second fluorescence signal can be understood as the fluorescence signal of the third wavelength generated by the second media upon excitation. In this embodiment of the invention, the first spatial distribution image can be understood as reconstructing the spatial distribution image of the first media from the first fluorescence signal after crosstalk elimination. The second spatial distribution image can be understood as resolving the second fluorescence signal after crosstalk elimination into the spatial distribution image of the second media.

[0043] For example, by projecting a preset 370nm excitation light onto the target site, endogenous nicotinamide adenine dinucleotide (NADH) and flavin adenine dinucleotide (FAD) in the tissue are simultaneously excited. NADH, upon excitation, produces a characteristic fluorescence signal in the 470-500nm band, while FAD releases a specific fluorescence signal in the 520-550nm band. The detection system uses dual-spectral channel synchronous acquisition technology to acquire mixed fluorescence data. After spectral dealiasing and spatial registration processing, the fluorescence intensity distribution of the 470-500nm channel is reconstructed into a spatial distribution image of NADH metabolic activity, and the fluorescence intensity distribution of the 520-550nm channel is resolved into a cell localization image of FAD. Finally, through dual-channel pseudo-color fusion technology, the NADH metabolic distribution image and the FAD spatial localization image are spectrally encoded and superimposed to generate a composite fluorescence image that simultaneously presents NADH metabolic hotspots (pseudo-color encoded in blue) and FAD organelle distribution (pseudo-color encoded in green).

[0044] In related technologies, different wavelengths of excitation light are typically used to target and activate the first and second media within the target area. This not only introduces time delays but also easily leads to image registration errors due to the two imaging processes. Compared to using different wavelengths of excitation light to target and activate the first and second media within the target area separately, in this embodiment of the invention, a preset first wavelength of excitation light is used to simultaneously target and activate the coexisting first and second media within the target area. Only one imaging is required, which not only avoids spatial information distortion caused by registration errors but also ensures that the fluorescence signals of both media are acquired at the same time point, eliminating dynamic errors caused by time delays. This achieves time synchronization, spatial co-location, and high-fidelity spectral imaging of multiple media.

[0045] In this embodiment of the invention, the dual-spectral channel includes a first channel and a second channel. The first fluorescence signal and the second fluorescence signal are acquired through the dual-spectral channel, specifically by acquiring the first fluorescence signal through the first channel and acquiring the second fluorescence signal through the second channel. After acquiring the first and second fluorescence signals through the dual-spectral channel, crosstalk between the spectral channels can be eliminated using a spectral dealiasing algorithm, thereby obtaining the first fluorescence signal and the second fluorescence signal after crosstalk elimination. The first fluorescence signal after crosstalk elimination can then be reconstructed into a first spatial distribution image of the first medium, and the second fluorescence signal after crosstalk elimination can be parsed into a second spatial distribution image of the second medium. After obtaining the first and second spatial distribution images, they can be fused using dual-channel pseudo-color encoding to obtain a fused image, i.e., a fluorescence image including the distribution information of the fluorescence intensity of the first and second media in the target region.

[0046] In this embodiment of the invention, before acquiring the fluorescence image of the target area, the method may further include: acquiring a white light image of the target area by transmitting visible light to the target area, and displaying the white light image. In this embodiment of the invention, the wavelength range of the imaging light of the white light image is greater than the wavelength range of the imaging light of the fluorescence image. For example, the wavelength range of the imaging light of the white light image is 400nm-700nm; the wavelength range of the imaging light of the fluorescence image is 460nm-560nm. Specifically, the wavelength of the visible light projected onto the target area can be determined first. Then, a white light image of the target area can be obtained by transmitting visible light of the specified wavelength to the target area. After obtaining the white light image, the white light image can be displayed. In this embodiment of the invention, acquiring a white light image of the target area after acquiring the fluorescence image of the target area, and displaying the white light image, can assist in the localization of the first fluorescence signal and the second fluorescence signal in the target area.

[0047] S120. For a target pixel in the fluorescence image, determine the color value ratio corresponding to the target pixel based on a first color value and a second color value associated with the target pixel.

[0048] In this context, the target pixel can be understood as one or more pixels in the fluorescence image. The first color value can be understood as the color value of the color channel corresponding to the first medium. That is, the first color value is the color value of the first medium in the color channel corresponding to the first medium. The second color value can be understood as the color value of the color channel corresponding to the second medium. That is, the second color value is the color value of the second medium in the color channel corresponding to the second medium. The color value ratio can be understood as the ratio of the first color value to the second color value. The color value ratio can be used to indicate the object category information of the pixel, facilitating the location of abnormal pixels in the fluorescence image.

[0049] Specifically, for a target pixel in the fluorescence image, a first color value and a second color value associated with the target pixel can be determined. Then, based on the first color value and the second color value, a color value ratio corresponding to the target pixel can be determined.

[0050] In this embodiment of the invention, determining the first color value and the second color value associated with the target pixel may include: determining at least one associated pixel adjacent to the target pixel; calculating the pixel average value of the at least one associated pixel and the target pixel; determining the first color value corresponding to the first medium based on the pixel average value and a first color channel corresponding to the first medium; and determining the second color value corresponding to the second medium based on the pixel average value and a second color channel corresponding to the second medium. An associated pixel can be understood as a pixel adjacent to the target pixel. Optionally, an associated pixel may be a pixel in a spatially adjacent neighborhood of the target pixel.

[0051] In this embodiment of the invention, the ratio of the color value corresponding to the target pixel is determined based on the first color value and the second color value. This ratio can be either the ratio of the first color value to the second color value or the ratio of the second color value to the first color value.

[0052] S130. Generate a region image corresponding to the target region based on the ratio of the fluorescence image to the color value corresponding to the target pixel, and display the region image.

[0053] The part image can be understood as an image corresponding to the target part generated based on the ratio of the fluorescence image to the color value corresponding to the target pixel.

[0054] In this embodiment of the invention, generating a region image corresponding to the target region based on the ratio of the color values ​​corresponding to the fluorescent image and the target pixel includes: determining a target ratio range in which the color value ratio is located based on the ratio of the color values ​​corresponding to the target pixel and at least two preset ratio ranges; determining a target annotation method corresponding to the target pixel based on a preset annotation method corresponding to the target ratio range; and annotating the fluorescent image according to the target annotation method corresponding to the target pixel to obtain a region image corresponding to the target region.

[0055] In this embodiment of the invention, a ratio range is pre-set for the category information of pixels. Since the category information of pixels includes at least two categories, there are at least two preset ratio ranges, and these preset ratio ranges correspond to the category information of the pixels. The target ratio range can be understood as the preset ratio range in which the color value ratio corresponding to the target pixel falls. In this embodiment of the invention, the preset annotation method corresponding to the target ratio range can be set according to actual needs, such as a color annotation method or a numerical annotation method. The target annotation method can be understood as the annotation method corresponding to the target pixel.

[0056] For example, the preset ratio range includes ratio range A, ratio range B, and ratio range C. Ratio range A is lower than ratio 1, ratio range B is higher than ratio 1 but lower than ratio 2, and ratio range C is higher than ratio 2. Pixel category information includes category A, category B, and category C. Category A corresponds to ratio range A, category B corresponds to ratio range B, and category C corresponds to ratio range C. If the color value ratio of the current pixel is 3, then ratio 3 is lower than ratio 1, corresponding to ratio range A. Therefore, ratio range A is the target ratio range corresponding to the current pixel.

[0057] In this embodiment of the invention, determining the target ratio range of the color value ratio based on the color value ratio corresponding to the target pixel and at least two preset ratio ranges includes: for each preset ratio range, determining the maximum and minimum values ​​of the preset ratio range; when the color value ratio corresponding to the target pixel exceeds the minimum value of the preset ratio range but does not exceed the maximum value of the preset ratio range, the preset ratio range can be used to determine the target ratio range of the color value ratio.

[0058] In this embodiment of the invention, there are multiple ways to determine the target annotation method corresponding to the target pixel based on the preset annotation method corresponding to the target ratio range. For example, if the preset annotation method corresponding to the target ratio range is a numerical annotation method, the annotation value corresponding to the target pixel can be determined (e.g., 0 or 1). If the preset annotation method corresponding to the target ratio range is a color annotation method, the annotation color corresponding to the target pixel can be determined (e.g., yellow or red).

[0059] In this embodiment of the invention, there are multiple ways to annotate the fluorescence image according to the target annotation method corresponding to the target pixel. For example, when the target annotation method corresponding to the target pixel is color annotation, the color value of the target pixel in the fluorescence image can be set to the annotation color. Alternatively, when the target annotation method corresponding to the target pixel is color annotation, a region composed of multiple target pixels in the fluorescence image is determined, and the color value of the pixels within the region's bounding box is set to the annotation color. Alternatively, when the target annotation method corresponding to the target pixel is numerical annotation, the position corresponding to the target pixel in the fluorescence image can be set to the numerical annotation.

[0060] In this embodiment of the invention, there are multiple ways to annotate the fluorescence image according to the target annotation method corresponding to the target pixel to obtain a part image corresponding to the target part.

[0061] As an optional implementation of this invention, the step of annotating the fluorescence image according to the target annotation method corresponding to the target pixel to obtain a part image corresponding to the target part includes: generating an annotation image according to the target annotation method corresponding to the target pixel, and fusing the annotation image with the fluorescence image to obtain a part image corresponding to the target part. The annotation image can be understood as an image generated according to the target annotation method corresponding to the target pixel. The size of the annotation image is the same as the size of the fluorescence image. Specifically, the annotation image is generated according to the target annotation method corresponding to the target pixel. Then, the annotation image and the fluorescence image can be fused to obtain a fused image, i.e., a part image corresponding to the target part image.

[0062] As another optional implementation of this invention, the step of annotating the fluorescence image according to the target annotation method corresponding to the target pixel to obtain a part image corresponding to the target part includes: determining an annotation region according to the target annotation method corresponding to the target pixel, determining a region outline corresponding to the annotation region, and annotating the region outline in the fluorescence image to obtain a part image corresponding to the target part. The annotation region can be understood as the region in the fluorescence image determined by the target annotation method corresponding to the target pixel.

[0063] Specifically, the annotation region is determined based on the target annotation method corresponding to the target pixel. After determining the annotation region, region contour analysis can be performed on the annotation region to determine the region contour line corresponding to the annotation region. After determining the region contour line, the region contour line is annotated in the fluorescence image to obtain a part image corresponding to the target part. For example, the region contour line in the fluorescence image is annotated with a preset color (e.g., red); or, the region contour line in the fluorescence image is displayed with a value other than a preset value (e.g., 0 or 1); or, different styles of lines (e.g., dashed lines) are used to annotate the region contour line in the fluorescence image.

[0064] The technical solution of this invention acquires a fluorescence image of a target region and uses this fluorescence image to present the distribution information of fluorescence intensity of the first and second media in the target region under different color channels, thereby accurately and intuitively presenting the fluorescence intensity distribution information of the first and second media. For a target pixel in the fluorescence image, a color value ratio corresponding to the target pixel is determined based on the first and second color values ​​associated with the target pixel. The first color value is the color value of the color channel corresponding to the first medium, and the second color value is the color value of the color channel corresponding to the second medium. By calculating the color value ratio, the contrast between the first and second media can be effectively enhanced. Furthermore, a region image corresponding to the target region is generated based on the fluorescence image and the color value ratio corresponding to the target pixel, and the region image is displayed, thus accurately obtaining the region image of the target region. The technical solution of this invention solves the technical problem of low accuracy in target region segmentation results in related image segmentation techniques, improving the accuracy of target region image segmentation and thus enhancing the target region image segmentation effect.

[0065] Example 2

[0066] Figure 2This is a flowchart of an image processing method provided in Embodiment 2 of the present invention. Optionally, based on the foregoing embodiments, determining the color value ratio corresponding to the target pixel based on a first color value and a second color value associated with the target pixel includes: obtaining a first color value of the target pixel in a first color channel corresponding to the first medium and a second color value in a second color channel corresponding to the second medium; and determining the ratio of the first color value to the second color value corresponding to each target pixel as the color value ratio corresponding to the target pixel. For detailed implementation, please refer to the description of this embodiment. Technical features that are the same as or similar to those in the foregoing embodiments will not be repeated here.

[0067] like Figure 2 As shown, the method in this embodiment specifically includes:

[0068] S210. Obtain a fluorescence image of the target area, wherein the fluorescence image is used to present the distribution information of the fluorescence intensity of the first medium and the second medium in the target area, and the fluorescence intensity of the first medium and the second medium corresponds to different color channels.

[0069] S220. For the target pixel in the fluorescence image, obtain the first color value of the target pixel in the first color channel corresponding to the first medium and the second color value in the second color channel corresponding to the second medium, and determine the ratio of the first color value to the second color value corresponding to each target pixel as the color value ratio corresponding to the target pixel.

[0070] Here, the first color channel can be understood as the color channel corresponding to the first medium. The second color channel can be understood as the color channel corresponding to the second medium. For example, the color channel corresponding to the first medium is the green color channel, and the color channel corresponding to the second medium is the red color channel; that is, the first color channel is the green color channel, and the second color channel is the red color channel. The first color value is the color value of the color channel corresponding to the first medium. The second color value is the color value of the color channel corresponding to the second medium.

[0071] Specifically, for a target pixel in the fluorescence image, a first color channel corresponding to the first medium and a second color channel corresponding to the second medium can be determined. Then, a first color value of the target pixel in the first color channel and a second color value of the target pixel in the second color channel can be obtained. After obtaining the first color value and the second color value corresponding to each target pixel, the ratio of the first color value to the second color value corresponding to each target pixel can be determined as the color value ratio corresponding to the target pixel.

[0072] In this embodiment of the invention, after determining the ratio of the first color value to the second color value corresponding to each target pixel as the color value ratio corresponding to the target pixel, the method may further include: determining a reference image region in the fluorescence image corresponding to the target pixel; wherein the reference image region may include multiple reference pixels, and at least one of the reference pixels is adjacent to the target pixel; determining the color value ratios corresponding to the multiple reference pixels, and updating the color value ratio corresponding to the target pixel according to the color value ratios corresponding to the multiple reference pixels.

[0073] The reference image region can be understood as the image region in the fluorescence image corresponding to the target pixel. The reference image region includes multiple reference pixels, and at least one of the reference pixels is adjacent to the target pixel. In this embodiment of the invention, the reference image region can be set according to actual needs, and is not specifically limited herein. For example, the reference image region can be a local area centered on the target pixel. The size of the reference region can be set according to actual needs, and the shape of the reference region can include a square, rectangle, or circle, with its size measured in pixels, such as a 3×3 or 5×5 area.

[0074] In this embodiment of the invention, by considering reference pixels surrounding the target pixel, the influence of noise and outliers on the color value ratio of the target pixel can be reduced, helping to more accurately reflect the true color characteristics of the region where the target pixel is located. Furthermore, when there is local non-uniformity or noise in the fluorescence image, relying solely on the color value ratio of a single target pixel may not be stable enough. In this embodiment of the invention, by introducing a reference image region, the calculation of the color value ratio becomes more robust and has stronger adaptability to local changes in the fluorescence image.

[0075] Specifically, first, a reference image region corresponding to the target pixel in the fluorescence image is determined; wherein, the reference image region may include multiple reference pixels, and at least one of the reference pixels is adjacent to the target pixel. Then, the color value ratios corresponding to the multiple reference pixels can be determined; after determining the color value ratios corresponding to the multiple reference pixels, the average value of the color value ratios corresponding to the multiple reference pixels can be calculated, thereby updating the color value ratio corresponding to the target pixel to the average value.

[0076] S230. Generate a region image corresponding to the target region based on the ratio of the fluorescence image to the color value corresponding to the target pixel, and display the region image.

[0077] The technical solution of this invention achieves the function of calculating the color value ratio of a target pixel by obtaining the first color value of the target pixel in the first color channel corresponding to the first medium and the second color value in the second color channel corresponding to the second medium, and determining the ratio of the first color value to the second color value of each target pixel as the color value ratio of the target pixel.

[0078] Example 3

[0079] Figure 3 This is a flowchart of an image processing method provided in Embodiment 3 of the present invention. Optionally, based on the foregoing embodiments, determining the color value ratio corresponding to the target pixel based on a first color value and a second color value associated with the target pixel includes: determining a target image region in the fluorescence image corresponding to the target pixel according to a preset region division rule; wherein the target image region includes multiple region pixels, and the target pixel is included among the multiple region pixels; obtaining the first color values ​​corresponding to the multiple region pixels in the target image region, and summing the first color values ​​corresponding to the multiple region pixels to obtain a first sum; and obtaining the second color values ​​corresponding to the multiple region pixels in the target image region, and summing the second color values ​​corresponding to the multiple region pixels to obtain a second sum; determining the ratio of the first sum to the second sum, and determining the sum ratio as the color value ratio corresponding to the target pixel. For detailed implementation, please refer to the description of this embodiment. Technical features that are the same as or similar to those in the foregoing embodiments will not be repeated here.

[0080] like Figure 3 As shown, the method in this embodiment specifically includes:

[0081] S310. Obtain a fluorescence image of the target area, wherein the fluorescence image is used to present the distribution information of the fluorescence intensity of the first medium and the second medium in the target area, and the fluorescence intensity of the first medium and the second medium corresponds to different color channels.

[0082] S320. For the target pixel in the fluorescence image, determine the target image region in the fluorescence image corresponding to the target pixel according to a preset region division rule; wherein, the target image region includes multiple region pixels, and the target pixel is included among the multiple region pixels.

[0083] The preset region division rule can be understood as a pre-set rule for dividing the fluorescence image into regions. Optionally, the preset region division rule may include any of the following rules: a fixed-size square or rectangular region, such as a 3x3, 5x5, or 7x7 pixel region; or an adaptive-size region, which adaptively adjusts the size of the target image region according to the image features (such as gradients, color changes, etc.) around the target pixel, for example, selecting a smaller region in regions with drastic feature changes and a larger region in regions with gentle feature changes. In this embodiment of the invention, the target image region can be understood as the image region in the fluorescence image corresponding to the target pixel. The target image region may include multiple region pixels, and the target pixel is included among the multiple region pixels. A region pixel can be understood as a pixel located in the target image region. In this embodiment of the invention, the position of the target pixel in the target image region can be set according to actual needs and is not specifically limited here, for example, the center point of the target image region, or the upper left corner of the target image region; or the lower right corner of the target image region.

[0084] In this embodiment of the invention, determining the target image region corresponding to the target pixel in the fluorescence image according to a preset region division rule may include: first, segmenting the fluorescence image into image regions according to the preset region division rule; then, determining the region including the target pixel. Furthermore, the region including the target pixel can be used as the target image region, that is, determining the target image region corresponding to the target pixel in the fluorescence image.

[0085] S330. Obtain first color values ​​corresponding to multiple region pixels within the target image region, and sum the first color values ​​corresponding to the multiple region pixels to obtain a first sum value; and obtain second color values ​​corresponding to multiple region pixels within the target image region, and sum the second color values ​​corresponding to the multiple region pixels to obtain a second sum value.

[0086] The first sum can be understood as the sum of the first color values ​​corresponding to multiple pixels within the target image region. The second sum can be understood as the sum of the second color values ​​corresponding to multiple pixels within the target image region. The first color value is the color value of the color channel corresponding to the first medium, and the second color value is the color value of the color channel corresponding to the second medium.

[0087] For example, the target image region includes region pixel A1, region pixel A2, and region pixel A3, with region pixel A3 being the target pixel. The first color value corresponding to region pixel A1 is color value 1, the first color value corresponding to region pixel A2 is color value 2, and the first color value corresponding to region pixel A3 is color value 3. Therefore, the first sum is the sum of color values ​​1, 2, and 3. Similarly, the second color value corresponding to region pixel A1 is color value 4, the second color value corresponding to region pixel A2 is color value 5, and the second color value corresponding to region pixel A3 is color value 6. Therefore, the second sum is the sum of color values ​​4, 5, and 6.

[0088] Specifically, the method involves obtaining first color values ​​corresponding to multiple region pixels within the target image region, and obtaining second color values ​​corresponding to multiple region pixels within the target image region. After obtaining the first color values ​​corresponding to the multiple region pixels, these first color values ​​can be summed to obtain a summation result, i.e., a first sum. After obtaining the second color values ​​corresponding to the multiple region pixels, these second color values ​​can be summed to obtain a summation result, i.e., a second sum.

[0089] S340. Determine the ratio of the sum of the first sum to the sum of the second sum, and set the ratio of the sums as the ratio of the color values ​​corresponding to the target pixel.

[0090] The sum ratio can be understood as the ratio of the first sum to the second sum.

[0091] Specifically, the ratio of the first sum to the second sum is determined, i.e., the sum ratio. Given the sum ratio, it can be determined as the ratio of the color values ​​corresponding to the target pixel.

[0092] S350. Generate a region image corresponding to the target region based on the ratio of the fluorescence image to the color value corresponding to the target pixel, and display the region image.

[0093] The technical solution of this invention involves determining a target image region in a fluorescence image corresponding to a target pixel according to a preset region division rule; wherein the target image region includes multiple region pixels, and the target pixel is included among the multiple region pixels; obtaining first color values ​​corresponding to the multiple region pixels in the target image region, and summing the first color values ​​corresponding to the multiple region pixels to obtain a first sum; obtaining second color values ​​corresponding to the multiple region pixels in the target image region, and summing the second color values ​​corresponding to the multiple region pixels to obtain a second sum; determining the ratio of the first sum to the second sum, and setting the sum ratio as the ratio of the color values ​​corresponding to the target pixel, thereby realizing the function of determining the ratio of the color values ​​corresponding to the target pixel.

[0094] Example 4

[0095] Figure 4 This is a schematic diagram of the structure of an image processing device provided in Embodiment 4 of the present invention. Figure 4 As shown, the device includes: a fluorescence image acquisition module 410, a color ratio determination module 420, and a part image display module 430.

[0096] The fluorescent image acquisition module 410 is used to acquire a fluorescent image of a target region, wherein the fluorescent image is used to present the distribution information of the fluorescence intensity of a first medium and a second medium in the target region, and the fluorescence intensity corresponding to the first medium and the second medium corresponds to different color channels, respectively; the color ratio determination module 420 is used to determine the color value ratio corresponding to the target pixel based on the first color value and the second color value associated with the target pixel in the fluorescent image; wherein the first color value is the color value of the color channel corresponding to the first medium, and the second color value is the color value of the color channel corresponding to the second medium; the region image display module 430 is used to generate a region image corresponding to the target region based on the fluorescent image and the color value ratio corresponding to the target pixel, and display the region image.

[0097] The technical solution of this invention involves acquiring a fluorescence image of the target region using a fluorescence image acquisition module 410. This fluorescence image is used to present the distribution information of the fluorescence intensity of the first and second media in the target region under different color channels, accurately and intuitively presenting the fluorescence intensity distribution information of the first and second media. A color ratio determination module 420 determines the color value ratio corresponding to the target pixel in the fluorescence image based on the first and second color values ​​associated with the target pixel. The first color value is the color value of the color channel corresponding to the first medium, and the second color value is the color value of the color channel corresponding to the second medium. Calculating the color value ratio effectively enhances the contrast between the first and second media. Furthermore, a region image display module 430 generates a region image corresponding to the target region based on the fluorescence image and the color value ratio corresponding to the target pixel, and displays the region image, accurately obtaining the region image of the target region. This technical solution of the present invention solves the technical problem of low accuracy in target region segmentation results in related image segmentation techniques, improving the accuracy of target region image segmentation and thus enhancing the target region image segmentation effect.

[0098] Optionally, the color ratio determination module is used to obtain the first color value of the target pixel in the first color channel corresponding to the first medium and the second color value in the second color channel corresponding to the second medium, and determine the ratio of the first color value to the second color value corresponding to each target pixel as the color value ratio corresponding to the target pixel.

[0099] Optionally, the device further includes a color ratio update module; wherein the color ratio update module is used to determine a reference image region in the fluorescence image corresponding to the target pixel after determining the ratio of the first color value to the second color value corresponding to each target pixel as the color value ratio corresponding to the target pixel; wherein the reference image region includes a plurality of reference pixels, and at least one of the reference pixels is adjacent to the target pixel; determine the color value ratios corresponding to the plurality of reference pixels, and update the color value ratio corresponding to the target pixel according to the color value ratios corresponding to the plurality of reference pixels.

[0100] Optionally, the color ratio determination module is used to determine a target image region in the fluorescence image corresponding to the target pixel according to a preset region division rule; wherein the target image region includes multiple region pixels, and the target pixel is included among the multiple region pixels; obtain a first color value corresponding to the multiple region pixels in the target image region, and sum the first color values ​​corresponding to the multiple region pixels to obtain a first sum value; and obtain a second color value corresponding to the multiple region pixels in the target image region, and sum the second color values ​​corresponding to the multiple region pixels to obtain a second sum value; determine the ratio of the sum value of the first sum value to the sum value of the second sum value, and determine the sum value ratio as the color value ratio corresponding to the target pixel.

[0101] Optionally, the part image display module includes a part image acquisition unit; wherein, the part image acquisition unit is used to determine the target ratio range in which the color value ratio is located based on the color value ratio corresponding to the target pixel and at least two preset ratio ranges; determine the target annotation method corresponding to the target pixel based on the preset annotation method corresponding to the target ratio range; and annotate the fluorescence image according to the target annotation method corresponding to the target pixel to obtain a part image corresponding to the target part.

[0102] Optionally, the part image acquisition unit is configured to generate a labeled image according to the target annotation method corresponding to the target pixel, and fuse the labeled image with the fluorescence image to obtain a part image corresponding to the target part; or, determine a labeled area according to the target annotation method corresponding to the target pixel, determine a region outline corresponding to the labeled area, and annotate the region outline in the fluorescence image to obtain a part image corresponding to the target part.

[0103] Optionally, the fluorescence image acquisition module is used to target and activate a first medium and a second medium coexisting in the target area by projecting excitation light of a preset first wavelength onto the target area; wherein, the first medium generates a first fluorescence signal of a second wavelength after being excited, and the second medium generates a second fluorescence signal of a third wavelength after being excited; both the second wavelength and the third wavelength are longer than the first wavelength; the first fluorescence signal and the second fluorescence signal are acquired through dual spectral channels respectively, and crosstalk between the spectral channels is eliminated based on a spectral dealiasing algorithm; the first fluorescence signal after crosstalk elimination is reconstructed into a first spatial distribution image of the first medium, and the second fluorescence signal after crosstalk elimination is parsed into a second spatial distribution image of the second medium; the first spatial distribution image and the second spatial distribution image are fused through dual-channel pseudo-color encoding to obtain a fluorescence image including the distribution information of the fluorescence intensity of the first medium and the second medium in the target area.

[0104] Optionally, the device further includes a white light image display module, wherein the white light image display module is used to acquire a white light image of the target area by transmitting visible light to the target area before acquiring the fluorescence image of the target area, and to display the white light image. The wavelength range of the imaging light in the white light image is greater than the wavelength range of the imaging light in the fluorescence image.

[0105] Optionally, the first medium includes a reduced coenzyme, and the second medium includes an oxidized coenzyme.

[0106] The image processing apparatus provided in the embodiments of the present invention can execute the image processing method provided in any embodiment of the present invention, and has the corresponding functional modules and beneficial effects for executing the image processing method.

[0107] Example 5

[0108] Figure 5 A schematic diagram of an electronic device 10 that can be used to implement embodiments of the present invention is shown. The electronic device is intended to represent various forms of digital computers, such as laptop computers, desktop computers, workstations, personal digital assistants, servers, blade servers, mainframe computers, and other suitable computers. The electronic device can also represent various forms of mobile devices, such as personal digital processors, cellular phones, smartphones, wearable devices (e.g., helmets, glasses, watches, etc.), and other similar computing devices. The components shown herein, their connections and relationships, and their functions are merely illustrative and are not intended to limit the implementation of the invention described and / or claimed herein.

[0109] like Figure 5As shown, the electronic device 10 includes at least one processor 11 and a memory, such as a read-only memory (ROM) 12 or a random access memory (RAM) 13, communicatively connected to the at least one processor 11. The memory stores computer programs executable by the at least one processor. The processor 11 can perform various appropriate actions and processes based on the computer program stored in the ROM 12 or loaded from storage unit 18 into the RAM 13. The RAM 13 may also store various programs and data required for the operation of the electronic device 10. The processor 11, ROM 12, and RAM 13 are interconnected via a bus 14. An input / output (I / O) interface 15 is also connected to the bus 14.

[0110] Multiple components in electronic device 10 are connected to I / O interface 15, including: input unit 16, such as keyboard, mouse, etc.; output unit 17, such as various types of displays, speakers, etc.; storage unit 18, such as disk, optical disk, etc.; and communication unit 19, such as network card, modem, wireless transceiver, etc. Communication unit 19 allows electronic device 10 to exchange information / data with other devices through computer networks such as the Internet and / or various telecommunications networks.

[0111] Processor 11 can be a variety of general-purpose and / or special-purpose processing components with processing and computing capabilities. Some examples of processor 11 include, but are not limited to, a central processing unit (CPU), a graphics processing unit (GPU), various special-purpose artificial intelligence (AI) computing chips, various processors running machine learning model algorithms, a digital signal processor (DSP), and any suitable processor, controller, microcontroller, etc. Processor 11 performs the various methods and processes described above, such as image processing methods.

[0112] In some embodiments, the image processing method may be implemented as a computer program tangibly contained in a computer-readable storage medium, such as storage unit 18. In some embodiments, part or all of the computer program may be loaded and / or mounted on electronic device 10 via ROM 12 and / or communication unit 19. When the computer program is loaded into RAM 13 and executed by processor 11, one or more steps of the image processing method described above may be performed. Alternatively, in other embodiments, processor 11 may be configured to perform the image processing method by any other suitable means (e.g., by means of firmware).

[0113] Various embodiments of the systems and techniques described above herein can be implemented in digital electronic circuit systems, integrated circuit systems, field-programmable gate arrays (FPGAs), application-specific integrated circuits (ASICs), application-specific standard products (ASSPs), systems-on-a-chip (SoCs), payload-programmable logic devices (CPLDs), computer hardware, firmware, software, and / or combinations thereof. These various embodiments may include implementations in one or more computer programs that can be executed and / or interpreted on a programmable system including at least one programmable processor, which may be a dedicated or general-purpose programmable processor, capable of receiving data and instructions from a storage system, at least one input device, and at least one output device, and transmitting data and instructions to the storage system, the at least one input device, and the at least one output device.

[0114] Computer programs used to implement the methods of the present invention may be written in any combination of one or more programming languages. These computer programs may be provided to a processor of a general-purpose computer, a special-purpose computer, or other programmable data processing device, such that when executed by the processor, the computer programs cause the functions / operations specified in the flowcharts and / or block diagrams to be performed. The computer programs may be executed entirely on a machine, partially on a machine, or as a standalone software package, partially on a machine and partially on a remote machine, or entirely on a remote machine or server.

[0115] In the context of this invention, a computer-readable storage medium can be a tangible medium that may contain or store a computer program for use by or in conjunction with an instruction execution system, apparatus, or device. A computer-readable storage medium may include, but is not limited to, electronic, magnetic, optical, electromagnetic, infrared, or semiconductor systems, apparatus, or devices, or any suitable combination thereof. Alternatively, a computer-readable storage medium may be a machine-readable signal medium. More specific examples of machine-readable storage media include electrical connections based on one or more wires, portable computer disks, hard disks, random access memory (RAM), read-only memory (ROM), erasable programmable read-only memory (EPROM or flash memory), optical fibers, portable compact disk read-only memory (CD-ROM), optical storage devices, magnetic storage devices, or any suitable combination thereof.

[0116] To provide interaction with a user, the systems and techniques described herein can be implemented on an electronic device having: a display device (e.g., a CRT (cathode ray tube) or LCD (liquid crystal display) monitor) for displaying information to the user; and a keyboard and pointing device (e.g., a mouse or trackball) through which the user provides input to the electronic device. Other types of devices can also be used to provide interaction with the user; for example, feedback provided to the user can be any form of sensory feedback (e.g., visual feedback, auditory feedback, or tactile feedback); and input from the user can be received in any form (including sound input, voice input, or tactile input).

[0117] The systems and technologies described herein can be implemented in computing systems that include backend components (e.g., as data servers), or computing systems that include middleware components (e.g., application servers), or computing systems that include frontend components (e.g., user computers with graphical user interfaces or web browsers through which users can interact with implementations of the systems and technologies described herein), or any combination of such backend, middleware, or frontend components. The components of the system can be interconnected via digital data communication of any form or medium (e.g., communication networks). Examples of communication networks include local area networks (LANs), wide area networks (WANs), blockchain networks, and the Internet.

[0118] A computing system can include clients and servers. Clients and servers are generally located far apart and typically interact through communication networks. The client-server relationship is created by computer programs running on the respective computers and having a client-server relationship with each other. The server can be a cloud server, also known as a cloud computing server or cloud host, which is a hosting product within the cloud computing service system to address the shortcomings of traditional physical hosts and VPS services, such as high management difficulty and weak business scalability.

[0119] In particular, according to embodiments of the present invention, the processes described above with reference to the flowcharts can be implemented as computer software programs. For example, embodiments of the present invention include a computer program product comprising a computer program carried on a non-transitory computer-readable medium, the computer program containing program code for performing the methods shown in the flowcharts. In such embodiments, the computer program can be downloaded and installed from a network via communication unit 19, or installed from storage unit 18, or installed from ROM 12. When the computer program is executed by processor 11, it performs the functions defined in the methods of the embodiments of the present invention.

[0120] It should be understood that the various forms of processes shown above can be used, with steps reordered, added, or deleted. For example, the steps described in this invention can be executed in parallel, sequentially, or in different orders, as long as the desired result of the technical solution of this invention can be achieved, and this is not limited herein.

[0121] The specific embodiments described above do not constitute a limitation on the scope of protection of this invention. Those skilled in the art should understand that various modifications, combinations, sub-combinations, and substitutions can be made according to design requirements and other factors. Any modifications, equivalent substitutions, and improvements made within the spirit and principles of this invention should be included within the scope of protection of this invention.

Claims

1. An image processing method, characterized in that, include: Acquire a fluorescence image of the target area, wherein the fluorescence image is used to present the distribution information of the fluorescence intensity of the first medium and the second medium in the target area, and the fluorescence intensity of the first medium and the second medium corresponds to different color channels respectively; For a target pixel in the fluorescence image, a color value ratio corresponding to the target pixel is determined based on a first color value and a second color value associated with the target pixel; wherein, the first color value is the color value of the color channel corresponding to the first medium, and the second color value is the color value of the color channel corresponding to the second medium. A region image corresponding to the target region is generated based on the ratio of the fluorescence image to the color value corresponding to the target pixel, and the region image is displayed. The step of generating a region image corresponding to the target region based on the ratio of the fluorescence image to the color value corresponding to the target pixel includes: The target ratio range in which the color value ratio is located is determined based on the color value ratio corresponding to the target pixel and at least two preset ratio ranges; The target annotation method corresponding to the target pixel is determined according to the preset annotation method corresponding to the target ratio range; The fluorescence image is labeled according to the target annotation method corresponding to the target pixel to obtain the part image corresponding to the target part.

2. The image processing method according to claim 1, characterized in that, Determining the color value ratio corresponding to the target pixel based on the first color value and the second color value associated with the target pixel includes: The first color value of the target pixel in the first color channel corresponding to the first medium and the second color value in the second color channel corresponding to the second medium are obtained, and the ratio of the first color value to the second color value corresponding to the target pixel is determined as the color value ratio corresponding to the target pixel.

3. The image processing method according to claim 2, characterized in that, After determining the ratio of the first color value to the second color value corresponding to the target pixel as the color value ratio corresponding to the target pixel, the method further includes: A reference image region corresponding to the target pixel in the fluorescence image is determined; wherein the reference image region includes multiple reference pixels, and at least one of the reference pixels is adjacent to the target pixel; Determine the color value ratios corresponding to multiple reference pixels, and update the color value ratio corresponding to the target pixel based on the color value ratios corresponding to the multiple reference pixels.

4. The image processing method according to claim 1, characterized in that, Determining the color value ratio corresponding to the target pixel based on the first color value and the second color value associated with the target pixel includes: The target image region corresponding to the target pixel in the fluorescence image is determined according to a preset region division rule; wherein, the target image region includes multiple region pixels, and the target pixel is included among the multiple region pixels; Obtain the first color values ​​corresponding to multiple region pixels within the target image region, and sum the first color values ​​corresponding to the multiple region pixels to obtain a first sum value; and, Obtain the second color value corresponding to multiple region pixels within the target image region, and sum the second color values ​​corresponding to multiple region pixels to obtain a second sum value; Determine the ratio of the sum of the first sum to the sum of the second sum, and set the sum ratio as the ratio of the color values ​​corresponding to the target pixel.

5. The image processing method according to claim 1, characterized in that, The step of annotating the fluorescence image according to the target annotation method corresponding to the target pixel to obtain a region image corresponding to the target region includes: Annotated images are generated based on the target annotation method corresponding to the target pixels, and the annotated images are fused with the fluorescence images to obtain a region image corresponding to the target region. or, The annotation area is determined according to the target annotation method corresponding to the target pixel, and the region outline corresponding to the annotation area is determined. The region outline is annotated in the fluorescence image to obtain the part image corresponding to the target part.

6. The image processing method according to claim 1, characterized in that, The acquisition of the fluorescence image of the target region includes: By projecting a preset first wavelength of excitation light onto the target area, a first medium and a second medium coexisting within the target area are targeted and activated; wherein, the first medium generates a first fluorescence signal of a second wavelength after being excited, and the second medium generates a second fluorescence signal of a third wavelength after being excited; both the second wavelength and the third wavelength are longer than the first wavelength; The first fluorescence signal and the second fluorescence signal are acquired by dual spectral channels respectively. Crosstalk between the spectral channels is eliminated based on the spectral dealiasing algorithm. The first fluorescence signal after crosstalk elimination is reconstructed into a first spatial distribution image of the first medium. The second fluorescence signal after crosstalk elimination is parsed into a second spatial distribution image of the second medium. The first spatial distribution image and the second spatial distribution image are fused by dual-channel pseudo-color encoding to obtain a fluorescence image that includes the distribution information of the fluorescence intensity of the first medium and the second medium in the target area.

7. The image processing method according to claim 1, characterized in that, Before acquiring the fluorescence image of the target area, the method further includes: By transmitting visible light to the target area, a white light image of the target area is obtained and displayed; wherein the wavelength range of the imaging light of the white light image is greater than the wavelength range of the imaging light of the fluorescence image.

8. The image processing method according to claim 1, characterized in that, The first medium includes a reduced coenzyme, and the second medium includes an oxidized coenzyme.

9. A computer program product, comprising a computer program, characterized in that, When the computer program is executed by a processor, it implements the image processing method as described in any one of claims 1-8.

Citation Information

Patent Citations

  • Image processing method and device applied to endoscope and related equipment

    CN111513660A

  • Cervical fluorescence image processing and analyzing method and system and storage medium

    CN119228762A