CN110796630A - Image processing method and device, electronic equipment and storage medium - Google Patents

Image processing method and device, electronic equipment and storage medium Download PDF

Info

Publication number
CN110796630A
CN110796630A CN201911038127.1A CN201911038127A CN110796630A CN 110796630 A CN110796630 A CN 110796630A CN 201911038127 A CN201911038127 A CN 201911038127A CN 110796630 A CN110796630 A CN 110796630A
Authority
CN
China
Prior art keywords
image
channel
processing
fusion
active region
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Granted
Application number
CN201911038127.1A
Other languages
Chinese (zh)
Other versions
CN110796630B (en
Inventor
刘羽
张超
宋涛
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Shanghai Sensetime Intelligent Technology Co Ltd
Original Assignee
Shanghai Sensetime Intelligent Technology Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Shanghai Sensetime Intelligent Technology Co Ltd filed Critical Shanghai Sensetime Intelligent Technology Co Ltd
Priority to CN201911038127.1A priority Critical patent/CN110796630B/en
Publication of CN110796630A publication Critical patent/CN110796630A/en
Application granted granted Critical
Publication of CN110796630B publication Critical patent/CN110796630B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06TIMAGE DATA PROCESSING OR GENERATION, IN GENERAL
    • G06T5/00Image enhancement or restoration
    • G06T5/50Image enhancement or restoration by the use of more than one image, e.g. averaging, subtraction
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06TIMAGE DATA PROCESSING OR GENERATION, IN GENERAL
    • G06T2207/00Indexing scheme for image analysis or image enhancement
    • G06T2207/10Image acquisition modality
    • G06T2207/10024Color image
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06TIMAGE DATA PROCESSING OR GENERATION, IN GENERAL
    • G06T2207/00Indexing scheme for image analysis or image enhancement
    • G06T2207/10Image acquisition modality
    • G06T2207/10072Tomographic images
    • G06T2207/10081Computed x-ray tomography [CT]
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06TIMAGE DATA PROCESSING OR GENERATION, IN GENERAL
    • G06T2207/00Indexing scheme for image analysis or image enhancement
    • G06T2207/10Image acquisition modality
    • G06T2207/10072Tomographic images
    • G06T2207/10088Magnetic resonance imaging [MRI]
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06TIMAGE DATA PROCESSING OR GENERATION, IN GENERAL
    • G06T2207/00Indexing scheme for image analysis or image enhancement
    • G06T2207/10Image acquisition modality
    • G06T2207/10072Tomographic images
    • G06T2207/10104Positron emission tomography [PET]
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06TIMAGE DATA PROCESSING OR GENERATION, IN GENERAL
    • G06T2207/00Indexing scheme for image analysis or image enhancement
    • G06T2207/10Image acquisition modality
    • G06T2207/10132Ultrasound image
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06TIMAGE DATA PROCESSING OR GENERATION, IN GENERAL
    • G06T2207/00Indexing scheme for image analysis or image enhancement
    • G06T2207/20Special algorithmic details
    • G06T2207/20212Image combination
    • G06T2207/20221Image fusion; Image merging
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06TIMAGE DATA PROCESSING OR GENERATION, IN GENERAL
    • G06T2207/00Indexing scheme for image analysis or image enhancement
    • G06T2207/30Subject of image; Context of image processing
    • G06T2207/30004Biomedical image processing
    • G06T2207/30016Brain
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06TIMAGE DATA PROCESSING OR GENERATION, IN GENERAL
    • G06T2207/00Indexing scheme for image analysis or image enhancement
    • G06T2207/30Subject of image; Context of image processing
    • G06T2207/30004Biomedical image processing
    • G06T2207/30101Blood vessel; Artery; Vein; Vascular

Abstract

The present disclosure relates to an image processing method and apparatus, an electronic device, and a storage medium. The method comprises the following steps: performing fusion processing on the first image and the second image to obtain a first fusion image; performing color conversion processing on the second image to obtain a second image after the color conversion processing; and carrying out fusion processing on the first fusion image and the second image after the color conversion processing to obtain a second fusion image. The embodiment of the disclosure realizes interaction between image information of two images, and can obtain a fusion image combining information of the two images, thereby facilitating further image analysis.

Description

Image processing method and device, electronic equipment and storage medium
Technical Field
The present disclosure relates to the field of computer technologies, and in particular, to an image processing method and apparatus, an electronic device, and a storage medium.
Background
The image is used as the visual basis for people to perceive the world and is an important means for people to acquire information, express information and transmit information. Image processing refers to the technique of analyzing an image with a computer to obtain a desired result. How to process different images to combine information in different images is an urgent technical problem to be solved.
Disclosure of Invention
The present disclosure provides an image processing technical solution.
According to an aspect of the present disclosure, there is provided an image processing method including:
performing fusion processing on the first image and the second image to obtain a first fusion image;
performing color conversion processing on the second image to obtain a second image after the color conversion processing;
and carrying out fusion processing on the first fusion image and the second image after the color conversion processing to obtain a second fusion image.
In the method, a first fused image is obtained by fusing a first image and a second image, the second image is subjected to color conversion to obtain a second image after the color conversion, and the first fused image and the second image after the color conversion are subjected to fusion to obtain a second fused image, so that the interaction between the image information of the two images is realized, the fused image combining the information of the two images can be obtained, and further image analysis is facilitated.
In one possible implementation manner, the performing the color transformation process on the second image includes:
and determining the pixel value of the first channel of the second image according to the gray value of the second image.
In this implementation, the pixel values of the second image before the color conversion processing can be retained in the second image after the color conversion processing by determining the pixel values of the first channel of the second image based on the gradation value of the second image.
In one possible implementation manner, the performing the color transformation process on the second image includes:
determining an active region in the second image;
and carrying out color transformation processing on pixel values of one or two channels of a second channel and a third channel of the active region.
In this implementation, the active region in the second image can be highlighted in the image processing result by determining the active region in the second image and performing color transformation processing on pixel values of one or both of the second channel and the third channel of the active region.
In one possible implementation manner, the performing color transformation processing on pixel values of one or two of the second channel and the third channel of the active region includes:
modifying pixel values of a second channel of the active region according to pixel values of a first channel of the active region.
In this implementation, the active region can be highlighted in the image processing result by modifying the pixel value of the second channel of the active region according to the pixel value of the first channel of the active region.
In one possible implementation manner, the performing color transformation processing on pixel values of one or two of the second channel and the third channel of the active region includes:
and modifying the pixel value of the third channel of the active region into a first preset value.
In this implementation, the active region can be highlighted in the image processing result by modifying the pixel value of the third channel of the active region to the first preset value.
In one possible implementation, the determining the active region in the second image includes:
and determining an active area in the second image according to the pixel value of the second image.
In this implementation, by determining the active region in the second image from the pixel values of the pixels of the second image, a region in the second image having abundant useful information can be determined as the active region.
In a possible implementation manner, after the performing color transformation processing on the pixel values of the second channel and the third channel of the active region in the second image, the method further includes:
and carrying out filtering processing on the boundary of the active region.
In this implementation, the boundary of the active region can be smoothed by performing filter processing on the boundary of the active region.
In a possible implementation manner, the performing a fusion process on the first fused image and the second image after the color transformation process to obtain a second fused image includes:
and carrying out weighted summation on the pixel values of corresponding pixels in the first fused image and the second image after the color conversion processing to obtain a second fused image.
In this implementation, the second fused image is obtained by performing weighted summation on the pixel values of the corresponding pixels in the first fused image and the second image after the color conversion processing, so that the more important information in the first fused image and the second image after the color conversion processing can be highlighted in the second fused image.
In one possible implementation, the first image is an image capable of reflecting tissue structure information.
In this implementation, by performing image processing using an image that can reflect tissue structure information, the resulting image processing result can reflect tissue structure information such as anatomical details, tissue density, and tumor localization.
In one possible implementation, the second image is an image capable of reflecting physiological metabolic information.
In this embodiment, the physiological metabolism information can be reflected in the obtained image processing result by performing image processing using an image that can reflect the physiological metabolism information.
According to an aspect of the present disclosure, there is provided an image processing apparatus including:
the first fusion module is used for carrying out fusion processing on the first image and the second image to obtain a first fusion image;
the color conversion module is used for performing color conversion processing on the second image to obtain a second image after the color conversion processing;
and the second fusion module is used for carrying out fusion processing on the first fusion image and the second image after the color conversion processing to obtain a second fusion image.
In one possible implementation, the color transformation module is configured to:
and determining the pixel value of the first channel of the second image according to the gray value of the second image.
In one possible implementation, the color transformation module is configured to:
determining an active region in the second image;
and carrying out color transformation processing on pixel values of one or two channels of a second channel and a third channel of the active region.
In one possible implementation, the color transformation module is configured to:
modifying pixel values of a second channel of the active region according to pixel values of a first channel of the active region.
In one possible implementation, the color transformation module is configured to:
and modifying the pixel value of the third channel of the active region into a first preset value.
In one possible implementation, the color transformation module is configured to:
and determining an active area in the second image according to the pixel value of the second image.
In one possible implementation manner, the method further includes:
and the filtering module is used for carrying out filtering processing on the boundary of the active region.
In one possible implementation manner, the second fusion module is configured to:
and carrying out weighted summation on the pixel values of corresponding pixels in the first fused image and the second image after the color conversion processing to obtain a second fused image.
In one possible implementation, the first image is an image capable of reflecting tissue structure information.
In one possible implementation, the second image is an image capable of reflecting physiological metabolic information.
According to an aspect of the present disclosure, there is provided an electronic device including: one or more processors; a memory for storing executable instructions; wherein the one or more processors are configured to invoke the memory-stored executable instructions to perform the above-described method.
According to an aspect of the present disclosure, there is provided a computer readable storage medium having stored thereon computer program instructions which, when executed by a processor, implement the above-described method.
In the embodiment of the present disclosure, a first fused image is obtained by fusing a first image and a second image, a second image after color conversion is obtained by color conversion of the second image, and a second fused image is obtained by fusing the first fused image and the second image after color conversion, so that interaction between image information of two images is realized, and a fused image combining information of two images can be obtained.
It is to be understood that both the foregoing general description and the following detailed description are exemplary and explanatory only and are not restrictive of the disclosure.
Other features and aspects of the present disclosure will become apparent from the following detailed description of exemplary embodiments, which proceeds with reference to the accompanying drawings.
Drawings
The accompanying drawings, which are incorporated in and constitute a part of this specification, illustrate embodiments consistent with the present disclosure and, together with the description, serve to explain the principles of the disclosure.
Fig. 1 shows a flowchart of an image processing method provided by an embodiment of the present disclosure.
Fig. 2 is a schematic diagram illustrating an image processing method provided by an embodiment of the present disclosure.
Fig. 3 shows a block diagram of an image processing apparatus provided by an embodiment of the present disclosure.
Fig. 4 illustrates a block diagram of an electronic device 800 provided by an embodiment of the disclosure.
Fig. 5 shows a block diagram of an electronic device 1900 provided by an embodiment of the disclosure.
Detailed Description
Various exemplary embodiments, features and aspects of the present disclosure will be described in detail below with reference to the accompanying drawings. In the drawings, like reference numbers can indicate functionally identical or similar elements. While the various aspects of the embodiments are presented in drawings, the drawings are not necessarily drawn to scale unless specifically indicated.
The word "exemplary" is used exclusively herein to mean "serving as an example, embodiment, or illustration. Any embodiment described herein as "exemplary" is not necessarily to be construed as preferred or advantageous over other embodiments.
The term "and/or" herein is merely an association describing an associated object, meaning that three relationships may exist, e.g., a and/or B, may mean: a exists alone, A and B exist simultaneously, and B exists alone. In addition, the term "at least one" herein means any one of a plurality or any combination of at least two of a plurality, for example, including at least one of A, B, C, and may mean including any one or more elements selected from the group consisting of A, B and C.
Furthermore, in the following detailed description, numerous specific details are set forth in order to provide a better understanding of the present disclosure. It will be understood by those skilled in the art that the present disclosure may be practiced without some of these specific details. In some instances, methods, means, elements and circuits that are well known to those skilled in the art have not been described in detail so as not to obscure the present disclosure.
In order to solve technical problems similar to those described above, embodiments of the present disclosure provide an image processing method and apparatus, an electronic device, and a storage medium. The method comprises the steps of obtaining a first fusion image by fusing a first image and a second image, obtaining a second image after color conversion by color conversion of the second image, and obtaining a second fusion image by fusing the first fusion image and the second image after color conversion, so that the interaction between the image information of the two images is realized, the fusion image combining the information of the two images can be obtained, and further image analysis is facilitated.
Fig. 1 shows a flowchart of an image processing method provided by an embodiment of the present disclosure. The execution subject of the image processing method may be an image processing apparatus. For example, the image processing method may be performed by a terminal device or a server or other processing device. The terminal device may be a clinical image display apparatus, a User Equipment (UE), a mobile device, a User terminal, a cellular phone, a Personal Digital Assistant (PDA), a handheld device, a computing device, a vehicle-mounted device, or a wearable device. In some possible implementations, the image processing method may be implemented by a processor calling computer readable instructions stored in a memory. As shown in fig. 1, the image processing method includes steps S11 through S13.
In step S11, the first image and the second image are subjected to fusion processing, and a first fused image is obtained.
In one possible implementation, the first image is an image capable of reflecting tissue structure information. In this implementation, the first image may be an image obtained using a structural medical imaging technique, i.e., the first image may be a structural medical image. Structural medical images can provide anatomical details, tissue density, tumor localization, and other tissue structure information. For example, the first image may be a CT (Computed Tomography) map, a angiogram, an ultrasound map, a nuclear magnetic resonance map, or the like. In this implementation, by performing image processing using an image that can reflect tissue structure information, the resulting image processing result can reflect tissue structure information such as anatomical details, tissue density, and tumor localization.
In one possible implementation, the second image is an image capable of reflecting physiological metabolic information. In this implementation, the second image may be an image obtained using functional medical imaging techniques, i.e., the second image may be a functional medical image. The functional medical image may provide physiological metabolic information. For example, the second image may be a PET (Position Emission Computed Tomography) map, a brain wave map, a magnetoencephalogram, or the like. In this embodiment, the physiological metabolism information can be reflected in the obtained image processing result by performing image processing using an image that can reflect the physiological metabolism information.
In one possible implementation, the first image and the second image may both be grayscale images. In other possible implementations, one or both of the first image and the second image may be a color map.
In the embodiment of the present disclosure, an image fusion method may be adopted to perform fusion processing on the first image and the second image to obtain a first fusion image. For example, the first fused image may be obtained by fusing the first image and the second image by using an image fusion method based on laplacian transform, an image fusion method based on laplacian joint sparse representation, or the like.
In step S12, the second image is subjected to color conversion processing, and a color-converted second image is obtained.
In one possible implementation manner, the performing the color transformation process on the second image includes: and determining the pixel value of the first channel of the second image according to the gray value of the second image. For example, the first channel is the R (Red) channel.
As an example of this implementation, the gray value of the second image may be taken as the pixel value of the first channel of the corresponding pixel in the second image.
As another example of this implementation, the product of the gray value of the second image and the second preset value may be used as the pixel value of the first channel of the corresponding pixel in the second image. Wherein the second preset value may be greater than 0.
In this implementation, the pixel values of the second image before the color conversion processing can be retained in the second image after the color conversion processing by determining the pixel values of the first channel of the second image based on the gradation value of the second image.
In one possible implementation manner, the performing the color transformation process on the second image includes: determining an active region in the second image; and carrying out color transformation processing on pixel values of one or two channels of a second channel and a third channel of the active region. For example, the second channel is a G (Green) channel, and the third channel is a B (Blue) channel. In this implementation, the active regions in the second image may represent regions in the second image that have abundant useful information.
In this implementation, the active region in the second image can be highlighted in the image processing result by determining the active region in the second image and performing color transformation processing on pixel values of one or both of the second channel and the third channel of the active region.
As one example of this implementation, the determining the active region in the second image includes: determining an active region in the second image according to pixel values of pixels of the second image. For example, a region in the second image where the average value of the pixel values is larger than the pixel threshold value may be determined as an active region in the second image. For another example, a pixel in the second image having a pixel value greater than the pixel threshold may be determined, and a region surrounded by a plurality of pixels having a pixel value greater than the pixel threshold may be determined as the active region in the second image.
In this example, by determining the active region in the second image from the pixel values of the pixels of the second image, a region in the second image having abundant useful information can be determined as the active region.
As an example of this implementation, the performing color transformation processing on pixel values of one or two of the second channel and the third channel of the active region includes: modifying pixel values of a second channel of the active region according to pixel values of a first channel of the active region. For example, the pixel value of the first channel of the active region may be taken as the pixel value of the second channel of the corresponding pixel in the active region, i.e., the pixel values of the first channel and the second channel of the active region are the same. For another example, the product of the pixel value of the first channel of the active region and the third preset value may be used as the pixel value of the second channel of the corresponding pixel in the active region. Wherein the third preset value may be greater than 0.
In this example, the active region can be highlighted in the image processing result by modifying the pixel value of the second channel of the active region according to the pixel value of the first channel of the active region.
As an example of this implementation, the performing color transformation processing on pixel values of one or two of the second channel and the third channel of the active region includes: and modifying the pixel value of the third channel of the active region into a first preset value. For example, the pixel values of the third channel of the respective pixels of the active region may be respectively modified to the first preset value. For example, the first preset value is 0.
In this example, the active region can be highlighted in the image processing result by modifying the pixel value of the third channel of the active region to the first preset value.
For example, if the first channel is an R channel, the second channel is a G channel, and the third channel is a B channel, then the gray value of the second image is taken as the pixel value of the R channel of the corresponding pixel in the second image, the pixel value of the R channel of the active region is taken as the pixel value of the G channel of the active region, and the pixel values of the B channels of the respective pixels of the active region are respectively modified to 0, so that the active region appears yellow, and the active region can be clearly distinguished from the inactive region.
It should be noted that, although the first channel, the second channel, and the third channel are described above by taking the first channel as the R channel, the second channel as the G channel, and the third channel as the B channel as examples, those skilled in the art can understand that the disclosure is not limited thereto. The skilled person can flexibly set which channel the first channel, the second channel and the third channel are according to the requirements of the actual application scenario.
In the embodiment of the present disclosure, the color conversion processing of the second image may be implemented in a color mapping manner without performing color space conversion, so that the color conversion processing can be performed simply and efficiently, and the problem of color space conversion failure can be avoided.
In a possible implementation manner, after the performing color transformation processing on the pixel values of the second channel and the third channel of the active region in the second image, the method further includes: and carrying out filtering processing on the boundary of the active region. In this implementation, the boundary of the active region can be smoothed by performing filter processing on the boundary of the active region.
In step S13, the first fused image and the color-converted second image are fused to obtain a second fused image.
In an embodiment of the present disclosure, the second fused image may be a visualized image. For example, the second fused image may be a color visualization image.
In this embodiment of the present disclosure, a first fused image may be used as a bottom layer image, a second image after the color conversion processing may be used as an upper layer image, and the first fused image and the second image after the color conversion processing may be subjected to fusion processing to obtain a second fused image.
In a possible implementation manner, if the first fusion image is a gray-scale image, the gray-scale values of the first fusion image may be respectively used as three-channel pixel values, and then the three-channel pixel values of the first fusion image and the second image after the color conversion processing are subjected to fusion processing to obtain a second fusion image.
In a possible implementation manner, the performing a fusion process on the first fused image and the second image after the color transformation process to obtain a second fused image includes: and carrying out weighted summation on the pixel values of corresponding pixels in the first fused image and the second image after the color conversion processing to obtain a second fused image.
In this implementation, the second fused image is obtained by performing weighted summation on the pixel values of the corresponding pixels in the first fused image and the second image after the color conversion processing, so that the more important information in the first fused image and the second image after the color conversion processing can be highlighted in the second fused image.
As an example of this implementation, the weight corresponding to the second image after the color transform process may be greater than the weight corresponding to the first fused image. For example, the weight corresponding to the color-transformed second image may be 1, and the weight corresponding to the first fused image may be 0.5. By setting the weight corresponding to the second image after the color conversion processing to be larger than the weight corresponding to the first fusion image, the information of the second image can be highlighted.
In other possible examples, the weight corresponding to the color-transformed second image may be equal to the weight corresponding to the first fused image, or the weight corresponding to the color-transformed second image may be smaller than the weight corresponding to the first fused image.
The embodiment of the disclosure recycles the second image, can keep the information of the active region in the second image when the first image and the second image are subjected to the fusion processing, and can highlight the active region in the second image when the second image is subjected to the color transformation processing, so that the size and the shape of the active region in the obtained second fusion image are very close to those of the active region in the second image, and the size and the shape of the active region can be completely stored.
Fig. 2 is a schematic diagram illustrating an image processing method provided by an embodiment of the present disclosure. In the example shown in fig. 2, the first image is a CT image and the second image is a PET image. As shown in fig. 2, a first fusion image is obtained by performing fusion processing on the CT image and the PET image; carrying out color conversion processing on the PET image to obtain a color-converted PET image; and performing fusion processing on the first fusion image and the PET image after the color conversion processing to obtain a second fusion image, thereby obtaining a color visual fusion result. By adopting the image processing method provided by the embodiment of the disclosure to process the CT image and the PET image, the interaction of the image information of the CT image and the PET image can be realized, and the tissue structure information in the CT image and the physiological metabolism information in the PET image can be combined.
It is understood that the above-mentioned method embodiments of the present disclosure can be combined with each other to form a combined embodiment without departing from the logic of the principle, which is limited by the space, and the detailed description of the present disclosure is omitted.
It will be understood by those skilled in the art that in the method of the present invention, the order of writing the steps does not imply a strict order of execution and any limitations on the implementation, and the specific order of execution of the steps should be determined by their function and possible inherent logic.
In addition, the present disclosure also provides an image processing apparatus, an electronic device, a computer-readable storage medium, and a program, which can be used to implement any one of the image processing methods provided by the present disclosure, and the descriptions and corresponding descriptions of the corresponding technical solutions and the corresponding descriptions in the methods section are omitted for brevity.
Fig. 3 shows a block diagram of an image processing apparatus provided by an embodiment of the present disclosure. As shown in fig. 3, the image processing apparatus includes: the first fusion module 31 is configured to perform fusion processing on the first image and the second image to obtain a first fusion image; a color conversion module 32, configured to perform color conversion processing on the second image to obtain a color-converted second image; and a second fusion module 33, configured to perform fusion processing on the first fusion image and the second image after the color conversion processing, so as to obtain a second fusion image.
In one possible implementation, the color transformation module 32 is configured to: and determining the pixel value of the first channel of the second image according to the gray value of the second image.
In one possible implementation, the color transformation module 32 is configured to: determining an active region in the second image; and carrying out color transformation processing on pixel values of one or two channels of a second channel and a third channel of the active region.
In one possible implementation, the color transformation module 32 is configured to: modifying pixel values of a second channel of the active region according to pixel values of a first channel of the active region.
In one possible implementation, the color transformation module 32 is configured to: and modifying the pixel value of the third channel of the active region into a first preset value.
In one possible implementation, the color transformation module 32 is configured to: and determining an active area in the second image according to the pixel value of the second image.
In one possible implementation manner, the method further includes: and the filtering module is used for carrying out filtering processing on the boundary of the active region.
In a possible implementation manner, the second fusion module 33 is configured to: and carrying out weighted summation on the pixel values of corresponding pixels in the first fused image and the second image after the color conversion processing to obtain a second fused image.
In one possible implementation, the first image is an image capable of reflecting tissue structure information.
In one possible implementation, the second image is an image capable of reflecting physiological metabolic information.
In some embodiments, functions of or modules included in the apparatus provided in the embodiments of the present disclosure may be used to execute the method described in the above method embodiments, and specific implementation thereof may refer to the description of the above method embodiments, and for brevity, will not be described again here.
Embodiments of the present disclosure also provide a computer-readable storage medium having stored thereon computer program instructions, which when executed by a processor, implement the above-described method. The computer-readable storage medium may be a non-volatile computer-readable storage medium, or may be a volatile computer-readable storage medium.
The embodiments of the present disclosure also provide a computer program product, which includes computer readable code, and when the computer readable code runs on a device, a processor in the device executes instructions for implementing the image processing method provided in any one of the above embodiments.
The embodiments of the present disclosure also provide another computer program product for storing computer readable instructions, which when executed cause a computer to perform the operations of the image processing method provided in any of the above embodiments.
An embodiment of the present disclosure further provides an electronic device, including: one or more processors; a memory for storing executable instructions; wherein the one or more processors are configured to invoke the memory-stored executable instructions to perform the above-described method.
The electronic device may be provided as a terminal, server, or other form of device.
Fig. 4 illustrates a block diagram of an electronic device 800 provided by an embodiment of the disclosure. For example, the electronic device 800 may be a mobile phone, a computer, a digital broadcast terminal, a messaging device, a game console, a tablet device, a medical device, a fitness device, a personal digital assistant, or the like terminal.
Referring to fig. 4, electronic device 800 may include one or more of the following components: processing component 802, memory 804, power component 806, multimedia component 808, audio component 810, input/output (I/O) interface 812, sensor component 814, and communication component 816.
The processing component 802 generally controls overall operation of the electronic device 800, such as operations associated with display, telephone calls, data communications, camera operations, and recording operations. The processing components 802 may include one or more processors 820 to execute instructions to perform all or a portion of the steps of the methods described above. Further, the processing component 802 can include one or more modules that facilitate interaction between the processing component 802 and other components. For example, the processing component 802 can include a multimedia module to facilitate interaction between the multimedia component 808 and the processing component 802.
The memory 804 is configured to store various types of data to support operations at the electronic device 800. Examples of such data include instructions for any application or method operating on the electronic device 800, contact data, phonebook data, messages, pictures, videos, and so forth. The memory 804 may be implemented by any type or combination of volatile or non-volatile memory devices such as Static Random Access Memory (SRAM), electrically erasable programmable read-only memory (EEPROM), erasable programmable read-only memory (EPROM), programmable read-only memory (PROM), read-only memory (ROM), magnetic memory, flash memory, magnetic or optical disks.
The power supply component 806 provides power to the various components of the electronic device 800. The power components 806 may include a power management system, one or more power supplies, and other components associated with generating, managing, and distributing power for the electronic device 800.
The multimedia component 808 includes a screen that provides an output interface between the electronic device 800 and a user. In some embodiments, the screen may include a Liquid Crystal Display (LCD) and a Touch Panel (TP). If the screen includes a touch panel, the screen may be implemented as a touch screen to receive an input signal from a user. The touch panel includes one or more touch sensors to sense touch, slide, and gestures on the touch panel. The touch sensor may not only sense the boundary of a touch or slide action, but also detect the duration and pressure associated with the touch or slide operation. In some embodiments, the multimedia component 808 includes a front facing camera and/or a rear facing camera. The front camera and/or the rear camera may receive external multimedia data when the electronic device 800 is in an operation mode, such as a shooting mode or a video mode. Each front camera and rear camera may be a fixed optical lens system or have a focal length and optical zoom capability.
The audio component 810 is configured to output and/or input audio signals. For example, the audio component 810 includes a Microphone (MIC) configured to receive external audio signals when the electronic device 800 is in an operational mode, such as a call mode, a recording mode, and a voice recognition mode. The received audio signals may further be stored in the memory 804 or transmitted via the communication component 816. In some embodiments, audio component 810 also includes a speaker for outputting audio signals.
The I/O interface 812 provides an interface between the processing component 802 and peripheral interface modules, which may be keyboards, click wheels, buttons, etc. These buttons may include, but are not limited to: a home button, a volume button, a start button, and a lock button.
The sensor assembly 814 includes one or more sensors for providing various aspects of state assessment for the electronic device 800. For example, the sensor assembly 814 may detect an open/closed state of the electronic device 800, the relative positioning of components, such as a display and keypad of the electronic device 800, the sensor assembly 814 may also detect a change in the position of the electronic device 800 or a component of the electronic device 800, the presence or absence of user contact with the electronic device 800, orientation or acceleration/deceleration of the electronic device 800, and a change in the temperature of the electronic device 800. Sensor assembly 814 may include a proximity sensor configured to detect the presence of a nearby object without any physical contact. The sensor assembly 814 may also include a light sensor, such as a CMOS or CCD image sensor, for use in imaging applications. In some embodiments, the sensor assembly 814 may also include an acceleration sensor, a gyroscope sensor, a magnetic sensor, a pressure sensor, or a temperature sensor.
The communication component 816 is configured to facilitate wired or wireless communication between the electronic device 800 and other devices. The electronic device 800 may access a wireless network based on a communication standard, such as Wi-Fi, 2G, 3G, 4G/LTE, 5G, or a combination thereof. In an exemplary embodiment, the communication component 816 receives a broadcast signal or broadcast related information from an external broadcast management system via a broadcast channel. In an exemplary embodiment, the communication component 816 further includes a Near Field Communication (NFC) module to facilitate short-range communications. For example, the NFC module may be implemented based on Radio Frequency Identification (RFID) technology, infrared data association (IrDA) technology, Ultra Wideband (UWB) technology, Bluetooth (BT) technology, and other technologies.
In an exemplary embodiment, the electronic device 800 may be implemented by one or more Application Specific Integrated Circuits (ASICs), Digital Signal Processors (DSPs), Digital Signal Processing Devices (DSPDs), Programmable Logic Devices (PLDs), Field Programmable Gate Arrays (FPGAs), controllers, micro-controllers, microprocessors or other electronic components for performing the above-described methods.
In an exemplary embodiment, a non-transitory computer-readable storage medium, such as the memory 804, is also provided that includes computer program instructions executable by the processor 820 of the electronic device 800 to perform the above-described methods.
Fig. 5 shows a block diagram of an electronic device 1900 provided by an embodiment of the disclosure. For example, the electronic device 1900 may be provided as a server. Referring to fig. 5, electronic device 1900 includes a processing component 1922 further including one or more processors and memory resources, represented by memory 1932, for storing instructions, e.g., applications, executable by processing component 1922. The application programs stored in memory 1932 may include one or more modules that each correspond to a set of instructions. Further, the processing component 1922 is configured to execute instructions to perform the above-described method.
The electronic device 1900 may also include a power component 1926 configured to perform power management of the electronic device 1900, a wired or wireless network interface 1950 configured to connect the electronic device 1900 to a network, and an input/output (I/O) interface 1958. The electronic device 1900 may operate based on an operating system, such as Windows, stored in memory 1932Mac OSOr the like.
In an exemplary embodiment, a non-transitory computer readable storage medium, such as the memory 1932, is also provided that includes computer program instructions executable by the processing component 1922 of the electronic device 1900 to perform the above-described methods.
The present disclosure may be systems, methods, and/or computer program products. The computer program product may include a computer-readable storage medium having computer-readable program instructions embodied thereon for causing a processor to implement various aspects of the present disclosure.
The computer readable storage medium may be a tangible device that can hold and store the instructions for use by the instruction execution device. The computer readable storage medium may be, for example, but not limited to, an electronic memory device, a magnetic memory device, an optical memory device, an electromagnetic memory device, a semiconductor memory device, or any suitable combination of the foregoing. More specific examples (a non-exhaustive list) of the computer readable storage medium would include the following: a portable computer diskette, a hard disk, a Random Access Memory (RAM), a read-only memory (ROM), an erasable programmable read-only memory (EPROM or flash memory), a Static Random Access Memory (SRAM), a portable compact disc read-only memory (CD-ROM), a Digital Versatile Disc (DVD), a memory stick, a floppy disk, a mechanical coding device, such as punch cards or in-groove projection structures having instructions stored thereon, and any suitable combination of the foregoing. Computer-readable storage media as used herein is not to be construed as transitory signals per se, such as radio waves or other freely propagating electromagnetic waves, electromagnetic waves propagating through a waveguide or other transmission medium (e.g., optical pulses through a fiber optic cable), or electrical signals transmitted through electrical wires.
The computer-readable program instructions described herein may be downloaded from a computer-readable storage medium to a respective computing/processing device, or to an external computer or external storage device via a network, such as the internet, a local area network, a wide area network, and/or a wireless network. The network may include copper transmission cables, fiber optic transmission, wireless transmission, routers, firewalls, switches, gateway computers and/or edge servers. The network adapter card or network interface in each computing/processing device receives computer-readable program instructions from the network and forwards the computer-readable program instructions for storage in a computer-readable storage medium in the respective computing/processing device.
The computer program instructions for carrying out operations of the present disclosure may be assembler instructions, Instruction Set Architecture (ISA) instructions, machine-related instructions, microcode, firmware instructions, state setting data, or source or object code written in any combination of one or more programming languages, including an object oriented programming language such as Smalltalk, C + + or the like and conventional procedural programming languages, such as the "C" programming language or similar programming languages. The computer-readable program instructions may execute entirely on the user's computer, partly on the user's computer, as a stand-alone software package, partly on the user's computer and partly on a remote computer or entirely on the remote computer or server. In the case of a remote computer, the remote computer may be connected to the user's computer through any type of network, including a Local Area Network (LAN) or a Wide Area Network (WAN), or the connection may be made to an external computer (for example, through the Internet using an Internet service provider). In some embodiments, the electronic circuitry that can execute the computer-readable program instructions implements aspects of the present disclosure by utilizing the state information of the computer-readable program instructions to personalize the electronic circuitry, such as a programmable logic circuit, a Field Programmable Gate Array (FPGA), or a Programmable Logic Array (PLA).
Various aspects of the present disclosure are described herein with reference to flowchart illustrations and/or block diagrams of methods, apparatus (systems) and computer program products according to embodiments of the disclosure. It will be understood that each block of the flowchart illustrations and/or block diagrams, and combinations of blocks in the flowchart illustrations and/or block diagrams, can be implemented by computer-readable program instructions.
These computer-readable program instructions may be provided to a processor of a general purpose computer, special purpose computer, or other programmable data processing apparatus to produce a machine, such that the instructions, which execute via the processor of the computer or other programmable data processing apparatus, create means for implementing the functions/acts specified in the flowchart and/or block diagram block or blocks. These computer-readable program instructions may also be stored in a computer-readable storage medium that can direct a computer, programmable data processing apparatus, and/or other devices to function in a particular manner, such that the computer-readable medium storing the instructions comprises an article of manufacture including instructions which implement the function/act specified in the flowchart and/or block diagram block or blocks.
The computer readable program instructions may also be loaded onto a computer, other programmable data processing apparatus, or other devices to cause a series of operational steps to be performed on the computer, other programmable apparatus or other devices to produce a computer implemented process such that the instructions which execute on the computer, other programmable apparatus or other devices implement the functions/acts specified in the flowchart and/or block diagram block or blocks.
The flowchart and block diagrams in the figures illustrate the architecture, functionality, and operation of possible implementations of systems, methods and computer program products according to various embodiments of the present disclosure. In this regard, each block in the flowchart or block diagrams may represent a module, segment, or portion of instructions, which comprises one or more executable instructions for implementing the specified logical function(s). In some alternative implementations, the functions noted in the block may occur out of the order noted in the figures. For example, two blocks shown in succession may, in fact, be executed substantially concurrently, or the blocks may sometimes be executed in the reverse order, depending upon the functionality involved. It will also be noted that each block of the block diagrams and/or flowchart illustration, and combinations of blocks in the block diagrams and/or flowchart illustration, can be implemented by special purpose hardware-based systems which perform the specified functions or acts, or combinations of special purpose hardware and computer instructions.
The computer program product may be embodied in hardware, software or a combination thereof. In an alternative embodiment, the computer program product is embodied in a computer storage medium, and in another alternative embodiment, the computer program product is embodied in a Software product, such as a Software Development Kit (SDK), or the like.
Having described embodiments of the present disclosure, the foregoing description is intended to be exemplary, not exhaustive, and not limited to the disclosed embodiments. Many modifications and variations will be apparent to those of ordinary skill in the art without departing from the scope and spirit of the described embodiments. The terminology used herein is chosen in order to best explain the principles of the embodiments, the practical application, or improvements made to the technology in the marketplace, or to enable others of ordinary skill in the art to understand the embodiments disclosed herein.

Claims (10)

1. A method of processing an image, comprising:
performing fusion processing on the first image and the second image to obtain a first fusion image;
performing color conversion processing on the second image to obtain a second image after the color conversion processing;
and carrying out fusion processing on the first fusion image and the second image after the color conversion processing to obtain a second fusion image.
2. The method according to claim 1, wherein the color transform processing the second image comprises:
and determining the pixel value of the first channel of the second image according to the gray value of the second image.
3. The method according to claim 1 or 2, wherein the color transformation processing of the second image comprises:
determining an active region in the second image;
and carrying out color transformation processing on pixel values of one or two channels of a second channel and a third channel of the active region.
4. The method of claim 3, wherein the color transforming the pixel values of one or both of the second channel and the third channel of the active region comprises:
modifying pixel values of a second channel of the active region according to pixel values of a first channel of the active region.
5. An image processing apparatus characterized by comprising:
the first fusion module is used for carrying out fusion processing on the first image and the second image to obtain a first fusion image;
the color conversion module is used for performing color conversion processing on the second image to obtain a second image after the color conversion processing;
and the second fusion module is used for carrying out fusion processing on the first fusion image and the second image after the color conversion processing to obtain a second fusion image.
6. The apparatus of claim 5, wherein the color transformation module is configured to:
and determining the pixel value of the first channel of the second image according to the gray value of the second image.
7. The apparatus of claim 5 or 6, wherein the color transform module is configured to:
determining an active region in the second image;
and carrying out color transformation processing on pixel values of one or two channels of a second channel and a third channel of the active region.
8. The apparatus of claim 7, wherein the color transformation module is configured to:
modifying pixel values of a second channel of the active region according to pixel values of a first channel of the active region.
9. An electronic device, comprising:
one or more processors;
a memory for storing executable instructions;
wherein the one or more processors are configured to invoke the memory-stored executable instructions to perform the method of any of claims 1-4.
10. A computer readable storage medium having computer program instructions stored thereon, which when executed by a processor implement the method of any one of claims 1 to 4.
CN201911038127.1A 2019-10-29 2019-10-29 Image processing method and device, electronic device and storage medium Active CN110796630B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201911038127.1A CN110796630B (en) 2019-10-29 2019-10-29 Image processing method and device, electronic device and storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201911038127.1A CN110796630B (en) 2019-10-29 2019-10-29 Image processing method and device, electronic device and storage medium

Publications (2)

Publication Number Publication Date
CN110796630A true CN110796630A (en) 2020-02-14
CN110796630B CN110796630B (en) 2022-08-30

Family

ID=69441813

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201911038127.1A Active CN110796630B (en) 2019-10-29 2019-10-29 Image processing method and device, electronic device and storage medium

Country Status (1)

Country Link
CN (1) CN110796630B (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2022006738A1 (en) * 2020-07-07 2022-01-13 中加健康工程研究院(合肥)有限公司 Image processing method and apparatus, computing device, and medium

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102292747A (en) * 2009-01-22 2011-12-21 皇家飞利浦电子股份有限公司 Pixel-feature hybrid fusion for PET/CT images
CN105469364A (en) * 2015-10-26 2016-04-06 厦门理工学院 Medical image fusion method combined with wavelet transformation domain and spatial domain
CN107527359A (en) * 2017-08-07 2017-12-29 沈阳东软医疗系统有限公司 A kind of PET image reconstruction method and PET imaging devices
CN107977926A (en) * 2017-12-01 2018-05-01 新乡医学院 A kind of different machine brain phantom information fusion methods of PET/MRI for improving neutral net
CN109447927A (en) * 2018-10-15 2019-03-08 Oppo广东移动通信有限公司 Image processing method and device, electronic equipment, computer readable storage medium
CN110211083A (en) * 2019-06-10 2019-09-06 北京宏大天成防务装备科技有限公司 A kind of image processing method and device

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102292747A (en) * 2009-01-22 2011-12-21 皇家飞利浦电子股份有限公司 Pixel-feature hybrid fusion for PET/CT images
CN105469364A (en) * 2015-10-26 2016-04-06 厦门理工学院 Medical image fusion method combined with wavelet transformation domain and spatial domain
CN107527359A (en) * 2017-08-07 2017-12-29 沈阳东软医疗系统有限公司 A kind of PET image reconstruction method and PET imaging devices
CN107977926A (en) * 2017-12-01 2018-05-01 新乡医学院 A kind of different machine brain phantom information fusion methods of PET/MRI for improving neutral net
CN109447927A (en) * 2018-10-15 2019-03-08 Oppo广东移动通信有限公司 Image processing method and device, electronic equipment, computer readable storage medium
CN110211083A (en) * 2019-06-10 2019-09-06 北京宏大天成防务装备科技有限公司 A kind of image processing method and device

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2022006738A1 (en) * 2020-07-07 2022-01-13 中加健康工程研究院(合肥)有限公司 Image processing method and apparatus, computing device, and medium

Also Published As

Publication number Publication date
CN110796630B (en) 2022-08-30

Similar Documents

Publication Publication Date Title
CN109816764B (en) Image generation method and device, electronic equipment and storage medium
CN107692997B (en) Heart rate detection method and device
US20210097715A1 (en) Image generation method and device, electronic device and storage medium
WO2022134382A1 (en) Image segmentation method and apparatus, and electronic device, storage medium and computer program
US11314965B2 (en) Method and apparatus for positioning face feature points
CN110633755A (en) Network training method, image processing method and device and electronic equipment
CN109145970B (en) Image-based question and answer processing method and device, electronic equipment and storage medium
CN112785672B (en) Image processing method and device, electronic equipment and storage medium
CN111243011A (en) Key point detection method and device, electronic equipment and storage medium
CN110619610B (en) Image processing method and device
CN112184787A (en) Image registration method and device, electronic equipment and storage medium
CN110852325B (en) Image segmentation method and device, electronic equipment and storage medium
CN110415258B (en) Image processing method and device, electronic equipment and storage medium
CN111882558A (en) Image processing method and device, electronic equipment and storage medium
CN111583142A (en) Image noise reduction method and device, electronic equipment and storage medium
CN111815750A (en) Method and device for polishing image, electronic equipment and storage medium
CN111192218A (en) Image processing method and device, electronic equipment and storage medium
CN109040837B (en) Video processing method and device, electronic equipment and storage medium
CN110796630B (en) Image processing method and device, electronic device and storage medium
CN111861942A (en) Noise reduction method and device, electronic equipment and storage medium
US20220301220A1 (en) Method and device for displaying target object, electronic device, and storage medium
CN114549983A (en) Computer vision model training method and device, electronic equipment and storage medium
CN110896492B (en) Image processing method, device and storage medium
CN112802032A (en) Training and image processing method, device, equipment and medium for image segmentation network
CN111275191A (en) Method and apparatus for detecting cell, electronic device, and storage medium

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant