CN106156506B - The histoorgan puppet colour display screen of two-dimensional medical images shows method and device - Google Patents

The histoorgan puppet colour display screen of two-dimensional medical images shows method and device Download PDF

Info

Publication number
CN106156506B
CN106156506B CN201610526992.0A CN201610526992A CN106156506B CN 106156506 B CN106156506 B CN 106156506B CN 201610526992 A CN201610526992 A CN 201610526992A CN 106156506 B CN106156506 B CN 106156506B
Authority
CN
China
Prior art keywords
histoorgan
mark
pixel
exposure mask
medical images
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.)
Active
Application number
CN201610526992.0A
Other languages
Chinese (zh)
Other versions
CN106156506A (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.)
Qingdao Hisense Medical Equipment Co Ltd
Original Assignee
Qingdao Hisense Medical Equipment 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 Qingdao Hisense Medical Equipment Co Ltd filed Critical Qingdao Hisense Medical Equipment Co Ltd
Priority to CN201610526992.0A priority Critical patent/CN106156506B/en
Publication of CN106156506A publication Critical patent/CN106156506A/en
Application granted granted Critical
Publication of CN106156506B publication Critical patent/CN106156506B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • G06F19/321
    • 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/30Subject of image; Context of image processing
    • G06T2207/30004Biomedical image processing

Abstract

The invention discloses a kind of pseudo- color display methods of the organ of two-dimensional medical images, belong to field of medical imaging.This method comprises: determining multiple histoorgans mark of the pixel position in two-dimensional medical images, it includes that organization identification or organ identify that each of multiple histoorgan mark, which knits organ mark,;From multiple histoorgan mark, the histoorgan of highest priority is selected to identify;It is identified according to the histoorgan of the highest priority, determines the color value of the pixel;According to the color value of the pixel, pseudo- colour display screen is carried out to the pixel and is shown.The present invention is by corresponding to the pixel that multiple histoorgans identify for position in two-dimensional medical images, show according only to the pseudo- colour display screen of color value progress of the histoorgan mark instruction of highest priority in position, avoid the colour mixture of multiple color values in a pixel, and then avoid the overlapped of pcolor picture between multiple organ or tissues, display effect is succinct, clear, and flexibility is high.

Description

The histoorgan puppet colour display screen of two-dimensional medical images shows method and device
Technical field
The present embodiments relate to field of medical imaging, in particular to the histoorgan puppet colour display screen of a kind of two-dimensional medical images Show method and device.
Background technique
In recent years, with the development of Medical Imaging Technology, by CT, (Computed Tomography, electronic computer are disconnected Layer scanning), the two dimension doctor that obtains of the Medical Imaging Technologies such as MRI (Magnetic Resonance Imaging, magnetic resonance imaging) Learn image clinically using more and more extensive.Wherein, multiple histoorgans can be intuitively shown in two-dimensional medical images Structural information, so as to assist doctor to observe and clinical diagnosis, and each of multiple histoorgan knits device Official can be tissue or organ etc., but since current two-dimensional medical images are shown in the form of gray scale, it is each The display of histoorgan is not clear enough and obvious, therefore in order to improve display effect, can also be to critical tissue's organ therein It carries out pseudo- colour display screen to show, i.e., shows critical tissue's organ with color version, so as to effectively protrude critical tissue's device Official, and then improve diagnosis efficiency.
In the prior art, a kind of color display methods of puppet of histoorgan is provided, it can will be more in two-dimensional medical images A designated organ in a organ is shown with color version, and other organs are shown still in the form of gray scale.Specific mistake Journey may include: first to generate the exposure mask array of designated organ in multiple organ for multiple organs in two-dimensional medical images, The color value of the designated organ is obtained from the exposure mask array again, and pseudo- colour display screen is carried out to the designated organ according to the color value Show, so that the designated organ be shown with color version.For example, may include on the original black and white CT image of abdominal cavity Multiple organs, such as liver, spleen, stomach if first generating exposure mask array corresponding with liver organ therein, then cooperate pseudo- coloured silk Display mode, so that it may the liver organ is shown on the original black white image with color version, and other organ still with Black and white form is shown.
The prior art is only capable of carrying out pseudo- colour display screen to the single organ in two-dimensional medical images showing, and cannot be simultaneously to multiple groups It knits the pseudo- colour display screen of organ progress and shows that flexibility is lower.Moreover, because may include multiple organs in two-dimensional medical images, and each It may include multiple tissues, such as blood vessel, tumour in organ, if according to above-mentioned single pseudo- color display mode of organ to multiple tissues Organ carries out pseudo- colour display screen respectively and shows, it may occur that pcolor between organ and organ, organ and tissue or tissue and tissue Picture it is overlapped, and then cause to show unclear.
Summary of the invention
In order to solve problems in the prior art, the embodiment of the invention provides a kind of histoorgan of two-dimensional medical images puppets Colour display screen shows method and device.The technical solution is as follows:
In a first aspect, a kind of pseudo- color display methods of the histoorgan for providing two-dimensional medical images, which comprises
Determine multiple histoorgans mark of the pixel position in two-dimensional medical images, the multiple histoorgan It includes that organization identification or organ identify that each of mark, which knits organ mark,;
From the multiple histoorgan mark, the histoorgan of highest priority is selected to identify;
It is identified according to the histoorgan of the highest priority, determines the color value of the pixel;
According to the color value of the pixel, pseudo- colour display screen is carried out to the pixel and is shown.
Optionally, multiple histoorgans mark of the determination pixel position, comprising:
Corresponding pre-set image partitioning algorithm is identified based on each histoorgan in the two-dimensional medical images, it is right Each histoorgan image in the two-dimensional medical images is split, and obtains the segmentation figure of each histoorgan mark Picture, the segmented image that each of the segmented image of each histoorgan mark knits organ mark are used to indicate described group It knits organ and identifies corresponding pixel collection;
According to the segmented image of each histoorgan mark, multiple organizers of the pixel position are determined Official's mark.
Optionally, described from the multiple histoorgan mark, before selecting the histoorgan of highest priority to identify, Further include:
By the priority of the multiple histoorgan mark and the multiple histoorgan mark, it is corresponding to be stored in priority In relationship;
Correspondingly, described to select the histoorgan of highest priority to identify from the multiple histoorgan mark, it wraps It includes:
From the priority corresponding relations, the excellent of each histoorgan mark in the multiple histoorgan mark is obtained First grade;
According to the priority of histoorgan mark each in the multiple histoorgan mark, from the multiple histoorgan The histoorgan mark of highest priority is selected in mark.
Optionally, the color value according to the pixel carries out pseudo- colour display screen to the pixel and shows, comprising:
Determine the gray value of the pixel in the two-dimensional medical images;
Determine the color transparency of puppet that puppet colour display screen shows;
According to the color value of the pixel, the gray value of the pixel and the pseudo- color transparency, to described heavy Folded region carries out pseudo- colour display screen and shows.
Optionally, described to be identified according to the histoorgan of the highest priority, it determines the color value of the pixel, wraps It includes:
From exposure mask coding mapping table, the exposure mask coding of the histoorgan mark of the highest priority, institute are obtained The exposure mask coding for stating the histoorgan mark of highest priority is used to indicate the face that the histoorgan of the highest priority identifies Color value, each histoorgan mark being stored in exposure mask coding mapping table in the two-dimensional medical images and described The exposure mask coding of each histoorgan mark;
According to the exposure mask coding of the histoorgan of the corresponding highest priority of pixel mark, the two dimension doctor is generated The exposure mask array of image is learned, the exposure mask array of the two-dimensional medical images is used to store each picture in the two-dimensional medical images The exposure mask of vegetarian refreshments encodes;
The exposure mask coding of the pixel is obtained from the exposure mask array;
It is encoded according to the exposure mask of the pixel, from color value mapping table, obtains the color value of the pixel, The color value of multiple exposure mask codings and the multiple exposure mask coding is stored in the color value mapping table.
Second aspect, provides a kind of histoorgan puppet colour display screen showing device of two-dimensional medical images, and described device includes:
First determining module, for determining multiple histoorgan marks of the pixel position in two-dimensional medical images Know, it includes that organization identification or organ identify that each of the multiple histoorgan mark, which knits organ mark,;
Selecting module, for selecting the histoorgan of highest priority to identify from the multiple histoorgan mark;
Second determining module determines the face of the pixel for identifying according to the histoorgan of the highest priority Color value;
Display module carries out pseudo- colour display screen to the pixel and shows for the color value according to the pixel.
Optionally, first determining module includes:
Cutting unit, for identifying corresponding default figure based on each histoorgan in the two-dimensional medical images As partitioning algorithm, each histoorgan image in the two-dimensional medical images is split, each organizer is obtained Each of the segmented image of the segmented image of official's mark, each histoorgan mark knits the segmented image of organ mark It is used to indicate the histoorgan and identifies corresponding pixel collection;
First determination unit determines the pixel institute for the segmented image according to each histoorgan mark Multiple histoorgans in position identify.
Optionally, described device further include:
Memory module, for depositing the priority of the multiple histoorgan mark and the multiple histoorgan mark Storage is in priority corresponding relations;
Correspondingly, the selecting module includes:
First acquisition unit, it is every in the multiple histoorgan mark for obtaining from the priority corresponding relations The priority of a histoorgan mark;
Selecting unit, for the priority according to histoorgan mark each in the multiple histoorgan mark, from institute State the histoorgan mark that highest priority is selected in multiple histoorgan marks.
Optionally, the display module includes:
Second determination unit, for determining the gray value of the pixel in the two-dimensional medical images;
Third determination unit, the puppet coloured silk transparency shown for determining pseudo- colour display screen;
4th determination unit, for according to the color value of the pixel, the gray value of the pixel and the puppet Color transparency carries out pseudo- colour display screen to the overlapping region and shows.
Optionally, second determining module includes:
Second acquisition unit, for obtaining the histoorgan of the highest priority from exposure mask coding mapping table The exposure mask of mark encodes, and the exposure mask coding of the histoorgan mark of the highest priority is used to indicate the highest priority The color value of histoorgan mark, the exposure mask encode each group be stored in the two-dimensional medical images in mapping table Knit the exposure mask coding of organ mark and each histoorgan mark;
Generation unit, the exposure mask coding for being identified according to the histoorgan of the corresponding highest priority of the pixel, The exposure mask array of the two-dimensional medical images is generated, the exposure mask array of the two-dimensional medical images is for storing the two-dimensional medical The exposure mask of each pixel on image encodes;
Third acquiring unit, the exposure mask for obtaining the pixel from the exposure mask array encode;
4th acquiring unit from color value mapping table, obtains institute for encoding according to the exposure mask of the pixel The color value of pixel is stated, multiple exposure mask codings and the multiple exposure mask coding are stored in the color value mapping table Color value.
Technical solution provided in an embodiment of the present invention has the benefit that
In the embodiment of the present invention, multiple histoorgans of the pixel position in two-dimensional medical images can be first determined Mark, then the histoorgan mark of highest priority is therefrom chosen, and identify according to the histoorgan of highest priority, determining should The color value of pixel can carry out pseudo- colour display screen to the pixel according to the color value of the pixel later and show.Wherein, by institute The color value of the pixel of multiple histoorgan marks is corresponded in position, is the highest priority according to the pixel position Histoorgan mark it is determining, therefore when pseudo- colour display screen shows, which is also identified according only to the histoorgan of highest priority The color value of instruction carries out pseudo- colour display screen and shows, rather than is clicked through respectively to the pixel according to the color value of multiple histoorgans mark instruction Row puppet colour display screen show, so as to avoid the colour mixture of multiple color values in a pixel, so avoid multiple organ or tissues it Between pcolor picture it is overlapped, display effect is succinct, clear, realizes the priority according to histoorgan simultaneously to multiple groups It knits the pseudo- colour display screen of organ progress and shows that flexibility is high.
Detailed description of the invention
To describe the technical solutions in the embodiments of the present invention more clearly, make required in being described below to embodiment Attached drawing is briefly described, it should be apparent that, drawings in the following description are only some embodiments of the invention, for For those of ordinary skill in the art, without creative efforts, it can also be obtained according to these attached drawings other Attached drawing.
Fig. 1 is a kind of process of the pseudo- color display methods of the histoorgan of two-dimensional medical images provided in an embodiment of the present invention Figure;
Fig. 2 is a kind of histoorgan puppet colour display screen showing device block diagram of two-dimensional medical images provided in an embodiment of the present invention;
Fig. 3 is a kind of structural schematic diagram of terminal 300 provided in an embodiment of the present invention.
Specific embodiment
To make the object, technical solutions and advantages of the present invention clearer, below in conjunction with attached drawing to embodiment party of the present invention Formula is described in further detail.
Before carrying out detailed explanation to the embodiment of the present invention, first the application scenarios of the embodiment of the present invention are given It introduces.Method provided in an embodiment of the present invention be applied to terminal in, the terminal can for computer, smart phone, tablet computer, Laptop, Ultra-Mobile PC (English: Ultra-mobile Personal Computer, referred to as: UMPC), Net book, personal digital assistant (English: Personal Digital Assistant, abbreviation: PDA) etc., or CT machine, The two-dimensional medicals video capturing device such as Nuclear Magnetic Resonance, it is not limited in the embodiment of the present invention.Further, the terminal is at least With display function, for showing two-dimensional medical images, and Pseudo-color technology can be carried out to two-dimensional medical images, thus by two-dimentional Organ on medical image is shown with color version.Exemplary, which can show two dimension by image processing software Medical image, and Pseudo-color technology is carried out to the two-dimensional medical images, it is not limited in the embodiment of the present invention.
Fig. 1 is a kind of process of the pseudo- color display methods of the histoorgan of two-dimensional medical images provided in an embodiment of the present invention Figure, referring to Fig. 1, this method may include the following steps:
Step 101: by the priority of multiple histoorgans mark and multiple histoorgan mark, being stored in priority pair In should being related to.
Wherein, it can be the title of the histoorgan, volume that each of multiple histoorgan mark, which knits organ mark, Number etc., it is not limited in the embodiment of the present invention.In addition, each histoorgan mark includes that organization identification or organ identify, It is that each histoorgan mark can be the mark of tissue, or the mark etc. of organ, the embodiment of the present invention is to this Without limitation.Exemplary, histoorgan mark can be Organ naming, such as liver, pancreas, stomach, or organization name Claim, such as blood vessel, tumour.
In the embodiment of the present invention, in order to realize multiple organizers according to the priority of histoorgan to two-dimensional medical images Official carries out pseudo- colour display screen simultaneously and shows, before pseudo- colour display screen shows, it may be predetermined that multiple histoorgan marks, and it is more that this is respectively set The priority of each histoorgan mark in a histoorgan mark, then multiple histoorgan is identified and corresponding priority It is stored in priority corresponding relations.
Wherein, multiple histoorgan mark can be determined according to two-dimensional medical images, i.e., multiple histoorgan mark It can be the mark of histoorgan indicated by all or part of histoorgan image for showing in two-dimensional medical images, certainly, Multiple histoorgan mark can also be determined according to the appointed part of human body or animal body, for example, when the appointed part is behaved When the abdominal cavity of body, multiple histoorgan mark can be the mark of all or part of histoorgan of human body abdominal cavity;Or Person, when the appointed part is entire human body, multiple histoorgan mark can be all or part of tissue of entire human body The mark etc. of organ, it is not limited in the embodiment of the present invention.
Wherein, the priority of each histoorgan mark is used to indicate the histoorgan mark in multiple histoorgan mark Know the priority that corresponding histoorgan image puppet colour display screen shows, priority is higher, indicates that the histoorgan identifies corresponding tissue Organic image can more be shown by preferential pseudo- colour display screen.The priority of multiple histoorgan mark can be by terminal default setting, can also With by user setting, moreover, the priority of multiple histoorgan mark can be set according to the spatial relationship of histoorgan It sets, the criticality that can also be formulated according to operation route is configured, or is set according to the lesion degree of histoorgan Set, the embodiment of the present invention to this without limitation.
Wherein, which is specifically as follows tabular form, naturally it is also possible to be other storage forms, this hair Bright embodiment does not limit this.
Exemplary, abdominal cavity includes multiple organs and multiple tissues, and multiple organ includes liver, pancreas, spleen, stomach etc., Multiple tissue includes portal vein, vein, artery, inferior caval vein etc., by taking histoorgan is identified as the title of histoorgan as an example, Then the terminal can be arranged multiple according to the criticality of the spatial relationship and clinical operation of abdominal cavity organ and tissue The priority of histoorgan mark, priority ranking are as shown in table 1 below:
Table 1
Organization name or Organ naming Priority
Portal vein 1
Vein 2
Artery 3
Inferior caval vein 4
Tumour 5
Liver function section 0- liver function section 9 6-15
Liver overall model 16
Pancreas 17
Spleen 18
Stomach 19
It should be noted that in upper table 1, the priority ranking of organization name or Organ naming indicates the organization name more preceding Claim or the priority of Organ naming is higher.In addition, liver function section 0- liver function section 9 therein is point of liver overall model Section part, that is to say, liver overall model can be divided into 9 functional sections, and 9 functional sections are numbered respectively, obtain To liver function section 0- liver function section 9, and according to upper table 1 as can be seen that the priority of the preceding liver function section of number It is higher.
Step 102: determining multiple histoorgans mark of the pixel position in two-dimensional medical images.
Wherein, which can be the two-dimensional medical images directly acquired by Medical Imaging Technology, can also Think the two-dimensional medical images obtained during three-dimensional reconstruction, it is not limited in the embodiment of the present invention.
For example, the two-dimensional medical images can be for by CT, (Computed Tomography, electronic computer tomography are swept Retouch), the two dimension doctor that directly acquires of the Medical Imaging Technologies such as MRI (Magnetic Resonance Imaging, magnetic resonance imaging) Learn image.
For another example two-dimensional medical images information is shown in three dimensions since the three-dimensional reconstruction of medical image refers to Come, specifically needs to carry out three-dimensional reconstruction to multiple two-dimensional medical images that digital imaging technology obtains, just can such as be organized The three-dimensional medical model of organ etc., therefore, two-dimensional medical images shown in the embodiment of the present invention can be 3 D medical model Some original image can be in three-dimensional reconstruction since each organ and tissue contours of original image may be not clear enough In the process, according to the more accurate image information obtained from three-dimensional medical model or in other two-dimensional medical images, to this Original image carries out supplement and perfect, so that each organ and the relatively clear display of tissue contours, to obtain of the invention real Apply two-dimensional medical images to be processed in example.
Wherein, multiple histoorgans mark of the pixel position is used to indicate multiple tissues belonging to the pixel Organic image that is to say that multiple histoorgan mark is exactly the group of multiple histoorgan image instructions belonging to the pixel Knit the mark of organ.For example, that is, should if in the liver organ image shown in two-dimensional medical images including a tumor image Tumor image is shown on the liver image, then for each pixel on the tumor image, which belongs to the liver Dirty image also belongs to the tumor image, and therefore, multiple histoorgans mark of the pixel position includes liver organ mark Know and Neoplastic organ identifies.
In addition, pixel institute is in place if the pixel in two-dimensional medical images only belongs to a histoorgan image It sets and only corresponds to a histoorgan mark, and histoorgan mark is the organizer of the corresponding highest priority of the pixel Official's mark;If the pixel in two-dimensional medical images is not belonging to any histoorgan image, which does not correspond to any group Organ mark is knitted, is shown in subsequent process without to the pseudo- colour display screen of pixel progress.
, can be by image segmentation algorithm in the embodiment of the present invention, each organizer for being partitioned into two-dimensional medical images Official's image, and according to segmentation result, determine multiple histoorgans mark of the pixel position in the two-dimensional medical images.
Specifically, it is determined that the process that multiple histoorgans of the pixel position identify may include: based on this two The each histoorgan tieed up in medical image identifies corresponding pre-set image partitioning algorithm, in the two-dimensional medical images Each histoorgan image is split, and obtains the segmented image of each histoorgan mark, each histoorgan mark Each of segmented image knit the segmented image of organ mark and be used to indicate the histoorgan and identify corresponding pixel point set It closes;According to the segmented image that each histoorgan identifies, multiple histoorgans mark of the pixel position is determined.
Wherein, each histoorgan identifies a corresponding pre-set image partitioning algorithm, for referring to histoorgan mark The histoorgan image shown is split from the two-dimensional medical images, obtains the contour images of the histoorgan, i.e. the tissue The segmented image of organ mark.For example, can be according to the corresponding default partitioning algorithm of liver organ, along liver organ image Exterior contour splits the liver organ image, then the wheel for the liver organ divided from the two-dimensional medical images Wide image is the segmented image of liver organ.
Moreover, because including the contour images of each histoorgan in the segmented image of each histoorgan mark, then Each pixel in the contour images of the histoorgan belongs to histoorgan mark, therefore, histoorgan mark Segmented image can serve to indicate that the histoorgan identifies corresponding pixel collection, also correspond to each histoorgan mark Segmented image stores histoorgan mark and pixel collection corresponding with histoorgan mark, and each histoorgan The segmented image of mark also just stores each histoorgan mark and pixel corresponding with each histoorgan mark respectively Set.
Therefore, according to the corresponding relationship that stores in the segmented image of each histoorgan mark, so that it may inquire with often The corresponding histoorgan mark of a pixel.And when a certain pixel corresponds only to a histoorgan mark, the organizer Official's mark is the histoorgan mark of the pixel position in two-dimensional medical images;When a certain pixel is corresponding to multiple When histoorgan identifies, multiple histoorgan mark is multiple tissues of the pixel position in two-dimensional medical images Organ mark;When a certain pixel is not corresponding with any histoorgan mark, indicate the pixel not in any organizer In the segmented image of official, then in two-dimensional medical images the position of the pixel also not in any histoorgan image, after Also with regard to showing without carrying out pseudo- colour display screen to the pixel in the two-dimensional medical images during continuous.
Wherein, each histoorgan identify corresponding pre-set image partitioning algorithm can be by terminal default setting, can also be with By user setting, it is not limited in the embodiment of the present invention.
Step 103: from the priority corresponding relations, obtaining each histoorgan mark in multiple histoorgan mark Priority, and according to histoorgan each in multiple organ identify priority, from multiple histoorgan mark in select Select the highest histoorgan mark of priority.
For example, the citing based on step 101, if multiple histoorgans mark of the pixel position include pancreas and Spleen, then the terminal can obtain respectively the priority of pancreas and the priority of spleen from above-mentioned table 1, since the priority ranking of pancreas is 17, the priority ranking of spleen is 18, therefore it can be concluded that highest priority histoorgan is identified as pancreas.
It should be noted that embodiment is only established before step 102 in the way of step 101 when the present invention One priority corresponding relations, and at step 104, according to the priority corresponding relations that step 101 is established, from multiple tissue It selects to be illustrated for the histoorgan mark of highest priority in organ mark, and in practical application, it can also be passed through His mode selects the highest histoorgan mark of priority from multiple histoorgan mark, and the embodiment of the present invention does not limit this It is fixed.
Step 104: being identified according to the histoorgan of the highest priority, determine the color value of the pixel.
Wherein, it is to be shown to be used to indicate pixel when showing the pseudo- colour display screen of pixel progress for the color value of the pixel Color.
Wherein, it is identified according to the histoorgan of the highest priority, determines the process of the color value of the pixel, can wrap It includes such as any one of under type:
In the first way, the color value identified according to the histoorgan of the highest priority, determines the pixel Color value.
Specifically, which can deposit in advance by the color value of multiple histoorgans mark and multiple histoorgans mark Storage that is to say the corresponding relationship for pre-establishing histoorgan mark and color value in organ color value corresponding relationship, and store The corresponding relationship, then at step 104, the terminal can be searched with the priority most from the organ color value corresponding relationship High histoorgan identifies corresponding color value, and the histoorgan of the highest priority is identified corresponding color value and is determined as The color value of the pixel.
Wherein, the color value of each histoorgan mark can be by terminal default setting, can also be by user setting, this hair Bright embodiment does not limit this.The organ color value corresponding relationship can be tabular form, or other storage forms, The embodiment of the present invention to this also without limitation.For example, it is assumed that histoorgan is identified as the title of histoorgan, then exemplary, liver The corresponding color value of internal organs official can be red, and the corresponding color value of pancreas organ can be blue, the corresponding face of spleen organ Color value can be yellow etc..
Further, which can also be in the histoorgan mark for finding the corresponding highest priority of the pixel After color value, according to the color value that the histoorgan of the corresponding highest priority of the pixel identifies, the two-dimensional medical is generated The color exposure mask array of the puppet of image, puppet coloured silk exposure mask array are used to store the color value of each pixel in the two-dimensional medical images. Therefore, after covering the puppet color exposure mask array in the two-dimensional medical images, the terminal can according to puppet coloured silk exposure mask array, The color value of the pixel is determined, so that the subsequent color value according to the pixel is to the pixel in the two-dimensional medical images Point carries out pseudo- colour display screen and shows.
In the second way, is encoded according to the exposure mask of the histoorgan of highest priority mark, determine the pixel Color value.
Specifically, it is handled for the ease of terminal with machine language, which can also be in advance by multiple histoorgans The exposure mask coding of mark and multiple histoorgan mark is stored in exposure mask coding corresponding relationship, wherein multiple organizer The exposure mask coding of each histoorgan mark is used to indicate the histoorgan and identifies corresponding color value in official's mark.In addition, should Terminal can also be stored in color value corresponding relationship in advance by the color value of multiple exposure masks coding and multiple exposure mask coding. Then at step 104, which can identify according to the histoorgan of the highest priority, encode corresponding relationship from the exposure mask In, the exposure mask coding of the histoorgan mark of the highest priority is obtained, and then according to the histoorgan of the highest priority The exposure mask of mark encodes, and from the color value corresponding relationship, obtains the color value of the histoorgan mark of the highest priority, and The color value of the histoorgan of the highest priority is determined as to the color value of the pixel.
Wherein, the exposure mask coding of each organ and the color value of each exposure mask coding instruction can be defaulted by terminal sets It sets, can also be by user setting, it is not limited in the embodiment of the present invention.In addition, exposure mask coding corresponding relationship and the color Being worth corresponding relationship can be tabular form, or other storage forms, the embodiment of the present invention to this also without limitation.
Exemplary, which can preset a byte and store the corresponding exposure mask coding of each histoorgan mark, and cover Film coding can be stored in binary form, and since 1 byte is equal to 8 binary systems, then exposure mask coding may include 20 ~28Totally 256 storage forms, that is to say, at most can store 256 in exposure mask coding corresponding relationship and various forms of cover Film coding, and an exposure mask coding is used to indicate a color value.For example, exposure mask coding 0,000 0000 can indicate not do to locate Reason, exposure mask coding 0,000 0001 can indicate red, and exposure mask coding etc. 0,000 0002 can indicate blue etc..
In conclusion the terminal can pre-establish a histoorgan mark and exposure mask coding in the implementation Mapping table, and the mapping table of exposure mask a coding and color value is established, determining the pixel position After the histoorgan mark of highest priority, the mapping table of histoorgan mark with exposure mask coding can be inquired, is somebody's turn to do The exposure mask coding of the histoorgan mark of highest priority, then inquire exposure mask coding and the mapping table of color value, obtain with The exposure mask of the histoorgan mark of the highest priority encodes corresponding color value, so that it is determined that going out the tissue of the highest priority The color value of organ mark, and the color value that the histoorgan identifies is determined as to the color value of the pixel.
Since the memory space that color value occupies is big, and the memory space that exposure mask coding occupies is small, therefore, by establishing simultaneously The corresponding relationship for storing each histoorgan mark and exposure mask coding, can save the memory space of terminal, improve the fortune of terminal Row performance.
Further, which can also be in the histoorgan mark for finding the corresponding highest priority of the pixel It after exposure mask coding, is encoded according to the exposure mask of the histoorgan of the corresponding highest priority of pixel mark, generates two dimension doctor The exposure mask array of image is learned, which is used to store the exposure mask coding of each pixel in the two-dimensional medical images.Therefore, After covering the exposure mask array in the two-dimensional medical images, which can first determine the picture according to the exposure mask array The exposure mask of vegetarian refreshments encodes, further according to the color value of the exposure mask coding lookup of the pixel pixel, so as to subsequent according to the picture The color value of vegetarian refreshments carries out pseudo- colour display screen to the pixel in the two-dimensional medical images and shows.
Specifically, it is identified according to the histoorgan of the highest priority, determines that the process of the color value of the pixel can be with It include: the exposure mask coding that the histoorgan mark of the highest priority is obtained from exposure mask coding mapping table, the priority The exposure mask coding of highest histoorgan mark is used to indicate the color value of the histoorgan mark of the highest priority, the exposure mask The each histoorgan mark being stored in coding mapping table in the two-dimensional medical images and each histoorgan mark Exposure mask coding;According to the exposure mask coding of the histoorgan of the corresponding highest priority of pixel mark, two dimension doctor is generated The exposure mask array of image is learned, the exposure mask array of the two-dimensional medical images is used to store each pixel in the two-dimensional medical images Exposure mask coding;The exposure mask coding of the pixel is obtained from the exposure mask array;It is encoded according to the exposure mask of the pixel, from color Be worth in mapping table, obtain the color value of the pixel, be stored in the color value mapping table multiple exposure masks coding and The color value of multiple exposure mask coding.
It, can be with Mr. before carrying out pseudo- colour display screen to the pixel in entire two-dimensional medical images and showing in this kind of mode At exposure mask array corresponding with the entire two-dimensional medical images.Wherein, if a certain pixel only corresponds to a histoorgan mark, Then the exposure mask coding of the pixel is that the exposure mask of histoorgan mark encodes in the exposure mask array of the two-dimensional medical images;If A certain pixel is identified corresponding to multiple histoorgans, then needs first to determine highest priority in multiple histoorgan mark Histoorgan mark, then inquire the exposure mask coding of the histoorgan mark of the highest priority, and the two-dimensional medical images The exposure mask coding of the pixel is the exposure mask coding of the histoorgan mark of the highest priority in exposure mask array;If a certain picture Vegetarian refreshments and any histoorgan mark be not corresponding, then the exposure mask of the pixel encodes in the exposure mask array of the two-dimensional medical images It can be to be used to indicate the exposure mask for not carrying out any processing to the pixel to encode, for example, can be 0,000 0000 etc..
Further, determine that the exposure mask of the pixel in exposure mask array encodes according to machine language for the ease of terminal, it should Terminal can also pre-establish the corresponding relationship of priority and exposure mask coding, and store the corresponding relationship, so that terminal is according to this The priority of the histoorgan mark of the corresponding highest priority of pixel determines the exposure mask coding of the pixel.
For example, it is assumed that the exposure mask array of the entire two-dimensional medical images is the pixel array of n × n, then corresponding exposure mask is compiled Code can be denoted as Mask (n, n), it is assumed that the corresponding histoorgan mark total number of some pixel is m, then belonging to the pixel Histoorgan mark can be denoted as t0~tm-1, and histoorgan identifies tiPriority can be denoted as P (ti), priority P Exposure mask coding can be denoted as M (P), then the i-th row of exposure mask array of the entire two dimensional image, and exposure mask coding Mask (i, j) of j column can With are as follows:
Mask (i, j)=M (max (P (ti)) (1)
Wherein, max (P (ti) indicate that multiple histoorgans identify tiThe histoorgan of middle highest priority identifies preferential Grade, M (max (P (ti)) indicate and max (P (ti) corresponding exposure mask coding, and the i-th row of exposure mask array of the entire two dimensional image, j Exposure mask coding Mask (i, j) of column is equal to M (max (P (ti)).Wherein, with max (P (ti) corresponding exposure mask coding, Ke Yicong It is obtained in the corresponding relationship that the above-mentioned priority pre-established is encoded with exposure mask.
In addition, the i-th row in the exposure mask array is obtained, it, can also be according to storage after exposure mask coding Mask (i, j) of j column Color value corresponding relationship, obtain with the i-th row in the exposure mask array, exposure mask coding Mask (i, j) corresponding color value of j column, It is exemplary, C (Mask can be denoted as with the corresponding color value of exposure mask coding Mask (i, j) of the i-th row in the exposure mask array, j column (i, j)).
Further, it is based on step 102, after the segmented image for obtaining each histoorgan mark, which can be with According to the segmented image that each histoorgan identifies, the exposure mask array of the two-dimensional medical images is generated.Specifically, which can be with The segmented image for successively inquiring each histoorgan mark obtains each histoorgan and identifies corresponding pixel collection, and according to The secondary exposure mask coding for obtaining each histoorgan mark, to be encoded according to the exposure mask of each histoorgan mark, for the two dimension The pixel collection assignment in the exposure mask array of medical image.Wherein, during successively assignment, if the pixel collection In some pixel before and unassigned, then exposure mask that the histoorgan identifies coding directly can be determined as the pixel Exposure mask coding;If some pixel in the pixel collection assignment, also need the exposure mask of assignment before Encode the priority of corresponding histoorgan mark with currently will the priority that identifies of histoorgan of assignment be compared, if The priority of histoorgan mark before is greater than the priority that current histoorgan identifies, then can ignore will currently assign The histoorgan of value identifies corresponding exposure mask coding, and the exposure mask of assignment has encoded before still retaining, if organizer before The priority of official's mark is less than the priority that current histoorgan identifies, then can encode and replace to the exposure mask of assignment Change, that is to say by the exposure mask of pixel coding replace with currently will the histoorgan of assignment identify corresponding exposure mask coding.
In this kind of mode, by the priority that is identified according to histoorgan to the exposure mask of pixel in exposure mask array encode into Row replacement can be realized the exposure mask coding of the histoorgan mark of the corresponding highest priority of pixel being determined as the pixel Exposure mask coding, and then realize that the color value for identifying the histoorgan of the corresponding highest priority of pixel is determined as the pixel The color value of point, so that the color value of the histoorgan mark of subsequent follow-up highest priority shows the pseudo- colour display screen of pixel progress, Histoorgan image boundary caused by multiple pseudo- color colour mixture so as to avoid a pixel is fuzzy, improves multiple organizers Official carries out the clarity that pseudo- colour display screen shows simultaneously.
Step 105: according to the color value of the pixel, pseudo- colour display screen being carried out to the pixel and is shown.
Specifically, according to the color value of the pixel, carrying out the process that pseudo- colour display screen shows to the pixel may include: determination The gray value of the pixel in two-dimensional medical images;Determine the color transparency of puppet that puppet colour display screen shows;According to the color value of the pixel, The gray value of the pixel and the color transparency of the puppet, carry out pseudo- colour display screen to the pixel and show.
Wherein, pseudo- color transparency is used to indicate the transparency that color value is shown, for ensuring to show in the form of gray scale originally Histoorgan identification information in the two-dimensional medical images shown is still high-visible after pseudo- colour display screen shows.Puppet coloured silk transparency can be with , can also be by user setting by terminal default setting, it is not limited in the embodiment of the present invention.
Wherein, pseudo- color transparency is bigger, and the transparency that color value is shown is lower, and histoorgan identification information is more unclear It is clear, it is therefore desirable to controlling the color transparency of the puppet cannot be too big, original histoorgan identification information otherwise can be made invisible or It is unintelligible, to influence the accuracy of diagnosis.Exemplary, which can set 0.3,0.31 for the color transparency of the puppet Deng it is not limited in the embodiment of the present invention.
Wherein, pseudo- colour display screen is carried out to the pixel to show, be that is to say the gray value of the pixel multiplied by the first weight, and will The color value of the pixel is multiplied by the second weight, and by above-mentioned two product addition, to obtain the final display of the pixel Value realizes the colour mixture of color value and gray value.Wherein, the first weight is the difference of numerical value 1 and pseudo- color transparency, and the second weight is Pseudo- coloured silk transparency.
It is exemplary, it is assumed that the two-dimensional medical images are the pixel array of n × n, then the gray value of the i-th row, jth column pixel Can be denoted as IMG (i, j), the i-th row, jth column pixel final show value can be denoted as DISP (i, j), the i-th row, jth column picture The color value of vegetarian refreshments can be denoted as C (i, j), and pseudo- color transparency can be denoted as α, then after Pseudo-color technology, the two-dimensional medical images In the i-th row, jth column pixel final show value DISP (i, j) are as follows:
DISP (i, j)=(1- α) × IMG (i, j)+α × C (i, j) (2)
Wherein, when the pixel that i-th row, jth arrange corresponds to multiple histoorgans mark, i-th row, jth column pixel The color value C (i, j) of point is the color value that the histoorgan of the corresponding highest priority of pixel identifies;When i-th row, jth When the pixel of column only corresponds to a histoorgan mark, histoorgan mark is the corresponding highest priority of the pixel Histoorgan mark, then i-th row, jth column pixel color value C (i, j) be the histoorgan mark color value; When the pixel that i-th row, jth arrange only does not correspond to any histoorgan mark, then without being carried out at pseudo- coloured silk to the pixel Reason.
Further, above-mentioned steps 104 are based on, when the i-th row, the corresponding color value C (i, j) of jth column pixel are according to pre- When the exposure mask array first generated obtains, which is also denoted as C (Mask (i, j)), correspondingly, in the two-dimensional medical images I-th row, jth column pixel final show value DISP (i, j) can be with are as follows:
DISP (i, j)=(1- α) × IMG (i, j)+α × C (Mask (i, j)) (3)
It is multiple for corresponding in two-dimensional medical images in view of the limited dynamic range of pseudo- color transparency in practical application The pixel of histoorgan mark, if obtaining each histoorgan in multiple histoorgan mark respectively identifies corresponding face Color value, and pseudo- colour display screen is carried out to the pixel according to multiple color value respectively and is shown, it that is to say multiple color value in the picture Colour mixture is carried out on vegetarian refreshments, is not only resulted in histoorgan identification information and is shown unintelligible, and it is pseudo- to will lead to multiple histoorgans The color distinction of coloured picture picture is smaller, and boundary is fuzzy, to increase the discrimination difficulty of doctor and differentiate duration, results even in doctor Raw erroneous judgement.And in the embodiment of the present invention, it can be according in the space characteristic and surgical guidance of each histoorgan and tissue Criticality identifies multiple histoorgans and carries out priority ranking, and can be according only to the tissue of corresponding highest priority The color value of organ carries out pseudo- colour display screen to the pixel in two-dimensional medical images and shows, thus in the weight of multiple histoorgan images Pseudo- colour display screen only also is carried out to the histoorgan image of highest priority in folded region to show, avoids organ and organ, organ and group Pcolor picture blocks between knitting or organize and organizing, so as to do not influence key message it is complete under the premise of, according to Priority accepts or rejects the color value of overlapping region, so the image information in two-dimensional medical images it is accurate with simplify it Between achieve suitable balance.
In addition, when the present invention in embodiment, it, can also be in some group by setting the priority of multiple histoorgan marks Knit the pcolor picture for increasing or deleting a certain histoorgan mark or tissue in the pcolor picture of organ mark.For example, in abdominal cavity In internal two-dimensional medical images, gallbladder tissue's image is generally comprised in liver organ image, when identify liver organ When priority is set greater than the priority of gallbladder tissue's mark, the puppet of the liver organ will be only shown in the two-dimensional medical images Coloured picture picture, and when the priority for identifying gallbladder tissue is set greater than the priority of liver organ mark, the two-dimensional medical Image will preferentially show the pcolor picture of the gallbladder tissue, to realize the addition gall-bladder group on the pcolor picture of liver organ The pcolor picture knitted.Therefore, the embodiment of the invention provides one kind flexibly, can be with the tissue of customized two-dimensional medical images The pseudo- color display methods of organ, according to this method, user neatly can eliminate or add as desired a certain organ or tissue Pcolor picture.
In conclusion can first determine the more of the pixel position in two-dimensional medical images in the embodiment of the present invention A histoorgan mark, then the histoorgan mark of highest priority is therefrom chosen, and according to the organizer of the highest priority Official's mark, determines the color value of the pixel, can carry out pseudo- colour display screen to the pixel according to the color value of the pixel later Show.It wherein, is all according to where the pixel since position corresponds to the color value of the pixel of multiple histoorgan marks The histoorgan mark of the highest priority of position is determining, therefore when pseudo- colour display screen shows, the pixel also according only to priority most The color value of high histoorgan mark instruction carries out pseudo- colour display screen and shows, rather than according to the color value of multiple histoorgans mark instruction Pseudo- colour display screen is carried out to the pixel respectively to show, so as to avoid the colour mixture of multiple color values in a pixel, and then is avoided Pcolor picture is overlapped between multiple organ or tissues, and display effect is succinct, clear, realizes according to the excellent of histoorgan First grade carries out pseudo- colour display screen to multiple histoorgans simultaneously and shows that flexibility is high.
Fig. 2 is a kind of organ puppet colour display screen showing device block diagram of two-dimensional medical images provided in an embodiment of the present invention, referring to figure 2, which includes:
First determining module 201, for determining multiple histoorgans of the pixel position in two-dimensional medical images Mark, it includes that organization identification or organ identify that each of multiple histoorgan mark, which knits organ mark,;
Selecting module 202, for selecting the histoorgan of highest priority to identify from multiple histoorgan mark;
Second determining module 203 determines the color of the pixel for identifying according to the histoorgan of the highest priority Value;
Display module 204 carries out pseudo- colour display screen to the pixel and shows for the color value according to the pixel.
Optionally, which includes:
Cutting unit, for identifying corresponding pre-set image based on each histoorgan in the two-dimensional medical images Partitioning algorithm is split each histoorgan image in the two-dimensional medical images, obtains each histoorgan mark Segmented image, the segmented image that each of the segmented image of each histoorgan mark knits organ mark is used to indicate The histoorgan identifies corresponding pixel collection;
First determination unit, the segmented image for being identified according to each histoorgan determine that pixel institute is in place The multiple histoorgans mark set.
Optionally, the device further include:
Memory module, for being stored in the priority of multiple histoorgan mark and multiple histoorgan mark In priority corresponding relations;
Correspondingly, which includes:
First acquisition unit, for from the priority corresponding relations, obtaining in multiple histoorgan mark each group Knit the priority of organ mark;
Selecting unit is more from this for the priority according to histoorgan mark each in multiple histoorgan mark The histoorgan mark of highest priority is selected in a histoorgan mark.
Optionally, which includes:
Second determination unit, for determining the gray value of the pixel in the two-dimensional medical images;
Third determination unit, the puppet coloured silk transparency shown for determining pseudo- colour display screen;
4th determination unit, for color transparent according to the color value of the pixel, the gray value of the pixel and the puppet Degree carries out pseudo- colour display screen to the overlapping region and shows.
Optionally, which includes:
Second acquisition unit, for obtaining the histoorgan mark of the highest priority from exposure mask coding mapping table The exposure mask of knowledge encodes, and the exposure mask coding of the histoorgan mark of the highest priority is used to indicate the organizer of the highest priority The color value of official's mark, the exposure mask encode each histoorgan mark being stored in the two-dimensional medical images in mapping table The exposure mask coding identified with each histoorgan;
Generation unit, the exposure mask coding for being identified according to the histoorgan of the corresponding highest priority of the pixel are raw At the exposure mask array of the two-dimensional medical images, the exposure mask array of the two-dimensional medical images is for storing in the two-dimensional medical images The exposure mask of each pixel encodes;
Third acquiring unit, the exposure mask for obtaining the pixel from the exposure mask array encode;
4th acquiring unit from color value mapping table, obtains the picture for encoding according to the exposure mask of the pixel The color value of vegetarian refreshments is stored with the color value of multiple exposure masks codings and multiple exposure mask coding in the color value mapping table.
In the embodiment of the present invention, multiple histoorgans of the pixel position in two-dimensional medical images can be first determined Mark, then the histoorgan mark of highest priority is therefrom chosen, and identify according to the histoorgan of the highest priority, it determines The color value of the pixel can carry out pseudo- colour display screen to the pixel according to the color value of the pixel later and show.Wherein, due to Position corresponds to the color value of the pixel of multiple histoorgan marks, is all the priority according to the pixel position Highest histoorgan mark is determining, therefore when pseudo- colour display screen shows, each pixel is also according only to the organizer of highest priority The color value that official identifies instruction carries out pseudo- colour display screen and shows, rather than according to the color value of multiple histoorgans mark instruction respectively to the picture Vegetarian refreshments carries out pseudo- colour display screen and shows, so as to avoid the colour mixture of multiple color values in a pixel, and then avoid multiple organs or Pcolor picture is overlapped between tissue, and display effect is succinct, clear, and it is right simultaneously according to the priority of histoorgan to realize Multiple histoorgans carry out pseudo- colour display screen and show that flexibility is high.
It should be understood that the pseudo- color display methods of the organ of two-dimensional medical images provided by the above embodiment is shown in pseudo- colour display screen When, only the example of the division of the above functional modules, in practical application, it can according to need and divide above-mentioned function With being completed by different functional modules, i.e., the internal structure of equipment is divided into different functional modules, to complete above description All or part of function.In addition, the organ puppet colour display screen showing device of two-dimensional medical images provided by the above embodiment and two dimension The organ puppet colour display screen of medical image shows that embodiment of the method belongs to same design, and specific implementation process is detailed in embodiment of the method, this In repeat no more.
The serial number of the above embodiments of the invention is only for description, does not represent the advantages or disadvantages of the embodiments.
Those of ordinary skill in the art will appreciate that realizing that all or part of the steps of above-described embodiment can pass through hardware It completes, relevant hardware can also be instructed to complete by program, the program can store in a kind of computer-readable In storage medium, storage medium mentioned above can be read-only memory, disk or CD etc..
The foregoing is merely presently preferred embodiments of the present invention, is not intended to limit the invention, it is all in spirit of the invention and Within principle, any modification, equivalent replacement, improvement and so on be should all be included in the protection scope of the present invention.
Fig. 3 is a kind of structural schematic diagram of terminal 300 provided in an embodiment of the present invention.For example, device 300 can be movement Phone, computer, tablet computer or CT machine etc..
Referring to Fig. 3, terminal 300 may include following one or more components: processing component 302, memory 304, power supply Component 306, multimedia component 308, audio component 310, the interface 312 of input/output (I/O), sensor module 314, and Communication component 316.
The integrated operation of the usual controlling terminal 300 of processing component 302, such as with display, telephone call, data communication, phase Machine operation and record operate associated operation.Processing component 302 may include that one or more processors 320 refer to execute It enables, to perform all or part of the steps of the methods described above.In addition, processing component 302 may include one or more modules, just Interaction between processing component 302 and other assemblies.For example, processing component 302 may include multi-media module, it is more to facilitate Interaction between media component 308 and processing component 302.
Memory 304 is configured as storing various types of data to support the operation in terminal 300.These data are shown Example includes the instruction of any application or method for operating in terminal 300, contact data, and telephone book data disappears Breath, picture, video etc..Memory 304 can be by any kind of volatibility or non-volatile memory device or their group It closes and realizes, such as static random access memory (SRAM), electrically erasable programmable read-only memory (EEPROM) is erasable to compile Journey read-only memory (EPROM), programmable read only memory (PROM), read-only memory (ROM), magnetic memory, flash Device, disk or CD.
Power supply module 306 provides power supply for the various assemblies of terminal 300.Power supply module 306 may include power management system System, one or more power supplys and other with for terminal 300 generate, manage, and distribute the associated component of power supply.
Multimedia component 308 includes the screen of one output interface of offer between the terminal 300 and user.One In a little embodiments, screen may include liquid crystal display (LCD) and touch panel (TP).If screen includes touch panel, screen Curtain may be implemented as touch screen, to receive input signal from the user.Touch panel includes one or more touch sensings Device is to sense the gesture on touch, slide, and touch panel.The touch sensor can not only sense touch or sliding action Boundary, but also detect duration and pressure associated with the touch or slide operation.In some embodiments, more matchmakers Body component 308 includes a front camera and/or rear camera.When terminal 300 is in operation mode, such as screening-mode or When video mode, front camera and/or rear camera can receive external multi-medium data.Each front camera and Rear camera can be a fixed optical lens system or have focusing and optical zoom capabilities.
Audio component 310 is configured as output and/or input audio signal.For example, audio component 310 includes a Mike Wind (MIC), when terminal 300 is in operation mode, when such as call mode, recording mode, and voice recognition mode, microphone is matched It is set to reception external audio signal.The received audio signal can be further stored in memory 304 or via communication set Part 316 is sent.In some embodiments, audio component 310 further includes a loudspeaker, is used for output audio signal.
I/O interface 312 provides interface between processing component 302 and peripheral interface module, and above-mentioned peripheral interface module can To be keyboard, click wheel, button etc..These buttons may include, but are not limited to: home button, volume button, start button and lock Determine button.
Sensor module 314 includes one or more sensors, and the state for providing various aspects for terminal 300 is commented Estimate.For example, sensor module 314 can detecte the state that opens/closes of terminal 300, and the relative positioning of component, for example, it is described Component is the display and keypad of terminal 300, and sensor module 314 can also detect 300 1 components of terminal 300 or terminal Position change, the existence or non-existence that user contacts with terminal 300,300 orientation of terminal or acceleration/deceleration and terminal 300 Temperature change.Sensor module 314 may include proximity sensor, be configured to detect without any physical contact Presence of nearby objects.Sensor module 314 can also include optical sensor, such as CMOS or ccd image sensor, at As being used in application.In some embodiments, which can also include acceleration transducer, gyro sensors Device, Magnetic Sensor, pressure sensor or temperature sensor.
Communication component 316 is configured to facilitate the communication of wired or wireless way between terminal 300 and other equipment.Terminal 300 can access the wireless network based on communication standard, such as WiFi, 2G or 3G or their combination.In an exemplary implementation In example, communication component 316 receives broadcast singal or broadcast related information from external broadcasting management system via broadcast channel. In one exemplary embodiment, the communication component 316 further includes near-field communication (NFC) module, to promote short range communication.Example Such as, NFC module can be based on radio frequency identification (RFID) technology, Infrared Data Association (IrDA) technology, ultra wide band (UWB) technology, Bluetooth (BT) technology and other technologies are realized.
In the exemplary embodiment, terminal 300 can be believed by one or more application specific integrated circuit (ASIC), number Number processor (DSP), digital signal processing appts (DSPD), programmable logic device (PLD), field programmable gate array (FPGA), controller, microcontroller, microprocessor or other electronic components are realized, for executing the above method.
In the exemplary embodiment, a kind of non-transitorycomputer readable storage medium including instruction, example are additionally provided It such as include the memory 304 of instruction, above-metioned instruction can be executed by the processor 320 of terminal 300 to complete the above method.For example, The non-transitorycomputer readable storage medium can be ROM, random access memory (RAM), CD-ROM, tape, floppy disk With optical data storage devices etc..
A kind of non-transitorycomputer readable storage medium, when the instruction in the storage medium is by the processing of mobile terminal When device executes, so that mobile terminal is able to carry out a kind of pseudo- color display methods of organ of two-dimensional medical images, which comprises
Determine multiple histoorgans mark of the pixel position in two-dimensional medical images, the multiple histoorgan It includes that organization identification or organ identify that each of mark, which knits organ mark,;
From the multiple histoorgan mark, the histoorgan of highest priority is selected to identify;
It is identified according to the histoorgan of the highest priority, determines the color value of the pixel;
According to the color value of the pixel, pseudo- colour display screen is carried out to the pixel and is shown.
Optionally, multiple histoorgans mark of the determination pixel position, comprising:
Corresponding pre-set image partitioning algorithm is identified based on each histoorgan in the two-dimensional medical images, it is right Each histoorgan image in the two-dimensional medical images is split, and obtains the segmentation figure of each histoorgan mark Picture, the segmented image that each of the segmented image of each histoorgan mark knits organ mark are used to indicate described group It knits organ and identifies corresponding pixel collection;
According to the segmented image of each histoorgan mark, multiple organizers of the pixel position are determined Official's mark.
Optionally, described from the multiple histoorgan mark, before selecting the histoorgan of highest priority to identify, Further include:
By the priority of the multiple histoorgan mark and the multiple histoorgan mark, it is corresponding to be stored in priority In relationship;
Correspondingly, described to select the histoorgan of highest priority to identify from the multiple histoorgan mark, it wraps It includes:
From the priority corresponding relations, the excellent of each histoorgan mark in the multiple histoorgan mark is obtained First grade;
According to the priority of histoorgan mark each in the multiple histoorgan mark, from the multiple histoorgan The histoorgan mark of highest priority is selected in mark.
Optionally, the color value according to the pixel carries out pseudo- colour display screen to the pixel and shows, comprising:
Determine the gray value of the pixel in the two-dimensional medical images;
Determine the color transparency of puppet that puppet colour display screen shows;
According to the color value of the pixel, the gray value of the pixel and the pseudo- color transparency, to described heavy Folded region carries out pseudo- colour display screen and shows.
Optionally, described to be identified according to the histoorgan of the highest priority, it determines the color value of the pixel, wraps It includes:
From exposure mask coding mapping table, the exposure mask coding of the histoorgan mark of the highest priority, institute are obtained The exposure mask coding for stating the histoorgan mark of highest priority is used to indicate the face that the histoorgan of the highest priority identifies Color value, each histoorgan mark being stored in exposure mask coding mapping table in the two-dimensional medical images and described The exposure mask coding of each histoorgan mark;
According to the exposure mask coding of the histoorgan of the corresponding highest priority of pixel mark, the two-dimensional medical is generated The exposure mask array of image, the exposure mask array of the two-dimensional medical images are used to store each pixel in the two-dimensional medical images The exposure mask coding of point;
The exposure mask coding of the pixel is obtained from the exposure mask array;
It is encoded according to the exposure mask of the pixel, from color value mapping table, obtains the color value of the pixel, The color value of multiple exposure mask codings and the multiple exposure mask coding is stored in the color value mapping table.
In the embodiment of the present invention, for each pixel in two-dimensional medical images, each pixel institute can be first determined Multiple histoorgans in position identify, then therefrom choose the histoorgan mark of highest priority, and most according to the priority High histoorgan mark, determines the color value of the pixel, later can be according to the color value of the pixel to the pixel Pseudo- colour display screen is carried out to show.It wherein, is all the highest priority according to the pixel position due to the color value of each pixel Histoorgan mark it is determining, therefore when pseudo- colour display screen shows, each pixel is also according only to the histoorgan mark of highest priority The color value for knowing instruction carries out pseudo- colour display screen and shows, rather than according to the color value of multiple histoorgans mark instruction respectively to the pixel It carries out pseudo- colour display screen to show, so as to avoid the colour mixture of multiple color values in a pixel, and then avoids multiple organ or tissues Between pcolor picture it is overlapped, display effect is succinct, clear, realizes the priority according to histoorgan simultaneously to multiple Histoorgan carries out pseudo- colour display screen and shows that flexibility is high.
Finally, it should be noted that the above embodiments are only used to illustrate the technical solution of the present invention., rather than its limitations;To the greatest extent Pipe present invention has been described in detail with reference to the aforementioned embodiments, those skilled in the art should understand that: its according to So be possible to modify the technical solutions described in the foregoing embodiments, or to some or all of the technical features into Row equivalent replacement;And these are modified or replaceed, various embodiments of the present invention technology that it does not separate the essence of the corresponding technical solution The range of scheme.

Claims (10)

1. a kind of pseudo- color display methods of the histoorgan of two-dimensional medical images, which is characterized in that the described method includes:
Determine multiple histoorgans mark of the pixel position in two-dimensional medical images, the multiple histoorgan mark Each of to knit organ mark include that organization identification or organ identify;
From the multiple histoorgan mark, the histoorgan of highest priority is selected to identify;
It is identified according to the histoorgan of the highest priority, determines the color value of the pixel;
According to the color value of the pixel, pseudo- colour display screen is carried out to the pixel and is shown.
2. the method as described in claim 1, which is characterized in that multiple organizers of the determination pixel position Official's mark, comprising:
Corresponding pre-set image partitioning algorithm is identified based on each histoorgan in the two-dimensional medical images, to described Each histoorgan image in two-dimensional medical images is split, and obtains the segmented image of each histoorgan mark, The segmented image that each of the segmented image of each histoorgan mark knits organ mark is used to indicate the tissue Organ identifies corresponding pixel collection;
According to the segmented image of each histoorgan mark, multiple histoorgan marks of the pixel position are determined Know.
3. method according to claim 1 or 2, which is characterized in that it is described from the multiple histoorgan mark, it selects excellent Before the first highest histoorgan mark of grade, further includes:
By the priority of the multiple histoorgan mark and the multiple histoorgan mark, it is stored in priority corresponding relations In;
Correspondingly, described from the multiple histoorgan mark, select the histoorgan of highest priority to identify, comprising:
From the priority corresponding relations, the preferential of each histoorgan mark in the multiple histoorgan mark is obtained Grade;
According to the priority of histoorgan mark each in the multiple histoorgan mark, identified from the multiple histoorgan The histoorgan mark of middle selection highest priority.
4. the method as described in claim 1, which is characterized in that the color value according to the pixel, to the pixel Point carries out pseudo- colour display screen and shows, comprising:
Determine the gray value of the pixel in the two-dimensional medical images;
Determine the color transparency of puppet that puppet colour display screen shows;
According to the color value of the pixel, the gray value of the pixel and the pseudo- color transparency, to the pixel Pseudo- colour display screen is carried out to show.
5. the method as described in claim 1, which is characterized in that it is described to be identified according to the histoorgan of the highest priority, Determine the color value of the pixel, comprising:
From exposure mask coding mapping table, the exposure mask coding of the histoorgan mark of the highest priority is obtained, it is described excellent The exposure mask coding of the first highest histoorgan mark of grade is used to indicate the color value of the histoorgan mark of the highest priority, Each histoorgan mark for being stored in exposure mask coding mapping table in the two-dimensional medical images and described each The exposure mask coding of histoorgan mark;
According to the exposure mask coding of the histoorgan of the corresponding highest priority of pixel mark, the two-dimensional medical figure is generated The exposure mask array of picture, the exposure mask array of the two-dimensional medical images are used to store each pixel in the two-dimensional medical images Exposure mask coding;
The exposure mask coding of the pixel is obtained from the exposure mask array;
It is encoded according to the exposure mask of the pixel, from color value mapping table, obtains the color value of the pixel, it is described The color value of multiple exposure mask codings and the multiple exposure mask coding is stored in color value mapping table.
6. a kind of histoorgan puppet colour display screen showing device of two-dimensional medical images, which is characterized in that described device includes:
First determining module, for determining that multiple histoorgans of the pixel position in two-dimensional medical images identify, institute Stating each of multiple histoorgan marks and knitting organ mark includes that organization identification or organ identify;
Selecting module, for selecting the histoorgan of highest priority to identify from the multiple histoorgan mark;
Second determining module determines the color value of the pixel for identifying according to the histoorgan of the highest priority;
Display module carries out pseudo- colour display screen to the pixel and shows for the color value according to the pixel.
7. device as claimed in claim 6, which is characterized in that first determining module includes:
Cutting unit, for identifying corresponding pre-set image point based on each histoorgan in the two-dimensional medical images Algorithm is cut, each histoorgan image in the two-dimensional medical images is split, obtains each histoorgan mark The segmented image of knowledge, the segmented image that each of the segmented image of each histoorgan mark knits organ mark are used for Indicate that the histoorgan identifies corresponding pixel collection;
First determination unit determines that the pixel institute is in place for the segmented image according to each histoorgan mark The multiple histoorgans mark set.
8. device as claimed in claims 6 or 7, which is characterized in that described device further include:
Memory module, for being stored in the priority of the multiple histoorgan mark and the multiple histoorgan mark In priority corresponding relations;
Correspondingly, the selecting module includes:
First acquisition unit, for from the priority corresponding relations, obtaining in the multiple histoorgan mark each group Knit the priority of organ mark;
Selecting unit, for the priority according to each histoorgan mark in the multiple histoorgan mark, from described more The histoorgan mark of highest priority is selected in a histoorgan mark.
9. device as claimed in claim 6, which is characterized in that the display module includes:
Second determination unit, for determining the gray value of the pixel in the two-dimensional medical images;
Third determination unit, the puppet coloured silk transparency shown for determining pseudo- colour display screen;
4th determination unit, for saturating according to the color value of the pixel, the gray value of the pixel and the pseudo- coloured silk Lightness carries out pseudo- colour display screen to the pixel and shows.
10. device as claimed in claim 6, which is characterized in that second determining module includes:
Second acquisition unit, for obtaining the histoorgan mark of the highest priority from exposure mask coding mapping table Exposure mask coding, the exposure mask coding of the histoorgan mark of the highest priority is used to indicate the tissue of the highest priority The color value of organ mark, the exposure mask encode each organizer being stored in the two-dimensional medical images in mapping table The exposure mask coding of official's mark and each histoorgan mark;
Generation unit, the exposure mask coding for being identified according to the histoorgan of the corresponding highest priority of the pixel, generates The exposure mask array of the two-dimensional medical images, the exposure mask array of the two-dimensional medical images is for storing the two-dimensional medical images On each pixel exposure mask coding;
Third acquiring unit, the exposure mask for obtaining the pixel from the exposure mask array encode;
4th acquiring unit from color value mapping table, obtains the picture for encoding according to the exposure mask of the pixel The color value of vegetarian refreshments is stored with the color of multiple exposure masks codings and the multiple exposure mask coding in the color value mapping table Value.
CN201610526992.0A 2016-07-05 2016-07-05 The histoorgan puppet colour display screen of two-dimensional medical images shows method and device Active CN106156506B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201610526992.0A CN106156506B (en) 2016-07-05 2016-07-05 The histoorgan puppet colour display screen of two-dimensional medical images shows method and device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201610526992.0A CN106156506B (en) 2016-07-05 2016-07-05 The histoorgan puppet colour display screen of two-dimensional medical images shows method and device

Publications (2)

Publication Number Publication Date
CN106156506A CN106156506A (en) 2016-11-23
CN106156506B true CN106156506B (en) 2019-02-19

Family

ID=58061312

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201610526992.0A Active CN106156506B (en) 2016-07-05 2016-07-05 The histoorgan puppet colour display screen of two-dimensional medical images shows method and device

Country Status (1)

Country Link
CN (1) CN106156506B (en)

Families Citing this family (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106934841A (en) * 2017-03-07 2017-07-07 上海联影医疗科技有限公司 The method and medical system of the colored medical image of generation
TWI683320B (en) * 2019-02-26 2020-01-21 輔仁大學學校財團法人輔仁大學 Forgery detection system and method for biomedical experiment images
CN111047610A (en) * 2020-03-13 2020-04-21 北京深睿博联科技有限责任公司 Focal region presenting method and device
CN113100803A (en) * 2021-04-20 2021-07-13 西门子数字医疗科技(上海)有限公司 Method, apparatus, computer device and medium for displaying venous thrombosis
CN113516757A (en) * 2021-07-07 2021-10-19 上海商汤智能科技有限公司 Image display method and related device, electronic equipment and storage medium

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1547161A (en) * 2003-12-08 2004-11-17 西安理工大学 Automatic generating method for colour multi-window CT image
CN101080024A (en) * 2007-05-09 2007-11-28 宁波大学 A method of processing pseudo color of medical gray image signals
CN101791232A (en) * 2009-01-30 2010-08-04 株式会社东芝 Ultrasonic diagnostic apparatus, ultrasonic image processing apparatus, medical image diagnostic apparatus, and medical image processing apparatus
CN102402796A (en) * 2011-10-26 2012-04-04 重庆大学 Three-dimensional structural description method of hepatic vascular system

Family Cites Families (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP5869541B2 (en) * 2013-09-13 2016-02-24 富士フイルム株式会社 ENDOSCOPE SYSTEM, PROCESSOR DEVICE, AND METHOD FOR OPERATING ENDOSCOPE SYSTEM

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1547161A (en) * 2003-12-08 2004-11-17 西安理工大学 Automatic generating method for colour multi-window CT image
CN101080024A (en) * 2007-05-09 2007-11-28 宁波大学 A method of processing pseudo color of medical gray image signals
CN101791232A (en) * 2009-01-30 2010-08-04 株式会社东芝 Ultrasonic diagnostic apparatus, ultrasonic image processing apparatus, medical image diagnostic apparatus, and medical image processing apparatus
CN102402796A (en) * 2011-10-26 2012-04-04 重庆大学 Three-dimensional structural description method of hepatic vascular system

Non-Patent Citations (3)

* Cited by examiner, † Cited by third party
Title
Adaptive Pseudocoloring of Medical Images Using Dynamic Optical Partitioning and Space-Filling Curves;Mahmoud K. Quweider,et al.;《2009 2nd International Conference on Biomedical Engineering and Informatics》;20091030;第1-6页
伪彩色处理在医学图像中的应用;李全越 等;《微计算机信息》;20080331;第24卷(第3-3期);第270-299页
改进颜色融合的医学图像彩色化技术;华斌 等;《计算机应用研究》;20160531;第33卷(第5期);第1581-1583页

Also Published As

Publication number Publication date
CN106156506A (en) 2016-11-23

Similar Documents

Publication Publication Date Title
CN106156506B (en) The histoorgan puppet colour display screen of two-dimensional medical images shows method and device
CN113794801B (en) Method and device for processing geo-fence
CN105980976B (en) For controlling the electronic device and method of display
CN109495688A (en) Method for previewing of taking pictures, graphic user interface and the electronic equipment of electronic equipment
CN112262563B (en) Image processing method and electronic device
CN110060262A (en) A kind of image partition method and device, electronic equipment and storage medium
CN110706310B (en) Image-text fusion method and device and electronic equipment
CN108037863A (en) A kind of method and apparatus for showing image
WO2021103554A1 (en) Image positioning interactive display method, apparatus, electronic device, and storage medium
CN106796651A (en) The multimedia data processing method and its electronic equipment of electronic equipment
CN110072046A (en) Image composition method and device
CN110211134A (en) A kind of image partition method and device, electronic equipment and storage medium
CN110852325B (en) Image segmentation method and device, electronic equipment and storage medium
CN106201275A (en) Snapshot is as processing method and processing device
CN113965694A (en) Video recording method, electronic device and computer readable storage medium
JP2023515411A (en) Video rendering method, apparatus, electronic equipment and storage medium
CN111724361A (en) Method and device for displaying focus in real time, electronic equipment and storage medium
CN114494442A (en) Image processing method, device and equipment
CN113593677A (en) Image processing method, device, equipment and computer readable storage medium
CN112347911A (en) Method and device for adding special effects of fingernails, electronic equipment and storage medium
CN114205512A (en) Shooting method and device
CN114845157B (en) Video processing method and electronic equipment
WO2021120603A1 (en) Target object display method and apparatus, electronic device and storage medium
CN115146097A (en) Object carrying reminding method, related equipment and system
CN115268727A (en) Display method and device thereof

Legal Events

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