WO2013102949A1 - Image processing method, image processing device, image processing program, and memory medium - Google Patents
Image processing method, image processing device, image processing program, and memory medium Download PDFInfo
- Publication number
- WO2013102949A1 WO2013102949A1 PCT/JP2012/000016 JP2012000016W WO2013102949A1 WO 2013102949 A1 WO2013102949 A1 WO 2013102949A1 JP 2012000016 W JP2012000016 W JP 2012000016W WO 2013102949 A1 WO2013102949 A1 WO 2013102949A1
- Authority
- WO
- WIPO (PCT)
- Prior art keywords
- image
- histogram
- threshold
- line
- peak value
- Prior art date
Links
Images
Classifications
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06T—IMAGE DATA PROCESSING OR GENERATION, IN GENERAL
- G06T7/00—Image analysis
- G06T7/10—Segmentation; Edge detection
- G06T7/11—Region-based segmentation
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06T—IMAGE DATA PROCESSING OR GENERATION, IN GENERAL
- G06T7/00—Image analysis
- G06T7/10—Segmentation; Edge detection
- G06T7/136—Segmentation; Edge detection involving thresholding
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06V—IMAGE OR VIDEO RECOGNITION OR UNDERSTANDING
- G06V20/00—Scenes; Scene-specific elements
- G06V20/60—Type of objects
- G06V20/69—Microscopic objects, e.g. biological cells or cellular parts
- G06V20/695—Preprocessing, e.g. image segmentation
-
- G—PHYSICS
- G01—MEASURING; TESTING
- G01N—INVESTIGATING OR ANALYSING MATERIALS BY DETERMINING THEIR CHEMICAL OR PHYSICAL PROPERTIES
- G01N21/00—Investigating or analysing materials by the use of optical means, i.e. using sub-millimetre waves, infrared, visible or ultraviolet light
- G01N21/17—Systems in which incident light is modified in accordance with the properties of the material investigated
- G01N21/25—Colour; Spectral properties, i.e. comparison of effect of material on the light at two or more different wavelengths or wavelength bands
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06T—IMAGE DATA PROCESSING OR GENERATION, IN GENERAL
- G06T2207/00—Indexing scheme for image analysis or image enhancement
- G06T2207/10—Image acquisition modality
- G06T2207/10024—Color image
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06T—IMAGE DATA PROCESSING OR GENERATION, IN GENERAL
- G06T2207/00—Indexing scheme for image analysis or image enhancement
- G06T2207/10—Image acquisition modality
- G06T2207/10056—Microscopic image
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06T—IMAGE DATA PROCESSING OR GENERATION, IN GENERAL
- G06T2207/00—Indexing scheme for image analysis or image enhancement
- G06T2207/30—Subject of image; Context of image processing
- G06T2207/30004—Biomedical image processing
- G06T2207/30024—Cell structures in vitro; Tissue sections in vitro
Definitions
- the present invention relates to an image processing method for obtaining a binarized image by performing binarization processing on a biological tissue image.
- the present invention also relates to an image processing apparatus that executes the image processing method, an image processing program for operating the image processing method on a computer, and a recording medium on which the image processing program is recorded.
- Patent Documents 1 to 3 can be cited as conventional examples of such threshold setting methods.
- a threshold value for binarization processing is calculated from the maximum value and the minimum value of each density signal in the red, green, and blue wavelength regions.
- the threshold value is obtained from the peak of the density histogram of the cell image.
- a binarized image is obtained while adjusting a threshold value to a biological tissue image.
- the biological tissue image is obtained by imaging the stained biological tissue with an imaging device through a microscope. For this reason, variations are likely to occur depending on various conditions such as staining conditions for living tissue or imaging conditions for imaging living tissue. Therefore, from the method of calculating a threshold for binarization processing from the maximum value and minimum value of the density signal in the wavelength region of each color as in Patent Document 1, or from the peak of the density histogram of the cell image as in Patent Document 2.
- the method of obtaining the threshold value it is inevitable that the threshold value will be different due to variations in the tissue image, and the objectivity is ensured by using the binarized image obtained by image processing using the threshold value.
- accurate pathological diagnosis is difficult.
- the present invention was made for the purpose of solving the problems of the conventional image processing method as described above, and is not affected by variations in staining conditions of living tissue or imaging conditions of living tissue, It is an object of the present invention to provide an image processing method capable of obtaining an optimum threshold value for binarization processing appropriately and quickly, and thus greatly contributing to improvement and speed of objectivity of pathological diagnosis.
- the image processing method plots a plurality of predetermined points selected from a biological tissue image on a two-dimensional field composed of XY reference axes of two different colors based on the color density of each predetermined point, A step of obtaining a scatter diagram of a predetermined point, a regression line of the predetermined point in the scatter diagram is calculated, and a large number of virtual points oriented in a direction orthogonal to the regression line at equal intervals on the regression line From the step of setting a straight line, setting a number of regions partitioned by these virtual straight lines on the two-dimensional field, obtaining a histogram indicating the number of each predetermined point included in each region, A step of obtaining a first peak value (Hp) that is a distribution peak value, and a differentiation line of the histogram are differentiated to calculate a histogram differentiation first peak value (Dp) that is an inflection point of the distribution line.
- Hp first peak value
- Dp histogram differentiation first peak value
- the first peak value (Hp) in the present invention means a peak value appearing at a position closest to the origin in the histogram.
- the histogram differential first peak value (Dp) is a peak value that appears at the closest position from the origin in the primary differential curve. In short, the distribution line from the origin to the first peak value (Hp) is changed. It means a music point.
- a plurality of predetermined points selected from a biological tissue image are plotted on a two-dimensional field composed of XY reference axes of two different colors based on the color density of each predetermined point” If only the aspect of plotting the blue and red luminances of a plurality of pixel points arbitrarily selected from a biological tissue image on a two-dimensional field with the blue luminance on the X axis and the red luminance on the Y axis It is a concept including a mode in which all pixel points included in the biological tissue image are selected and the luminance of all the pixel points is plotted on a two-dimensional field.
- the threshold straight line in the present invention is obtained by substituting the threshold obtained from the first peak value (Hp) and the histogram differential first peak value (Dp) as the value of the X coordinate and substituting the X coordinate into the equation of the regression line.
- This is a straight line that passes through a point on the two-dimensional plot (point on the regression line) with the Y coordinate value obtained as the Y coordinate value, and is orthogonal to the regression line.
- the binarization process using the threshold line means a process of binarizing depending on which of the two-dimensional plot regions each predetermined point is divided by the threshold line.
- the variable is preferably set to 0.6.
- the image processing apparatus plots a plurality of predetermined points selected from a biological tissue image on a two-dimensional field composed of XY reference axes of two different colors based on the luminance of the color of each predetermined point.
- a scatter diagram creating means for creating a scatter diagram of a predetermined point; a regression line calculating means for calculating a regression line of a predetermined point in the scatter diagram; and orthogonally spaced relative to the regression line at equidistant positions on the regression line
- a histogram creating means for creating a histogram, a differentiation means for differentiating the histogram distribution line obtained by the histogram creating means to obtain a primary differential curve, and the histogram distribution
- Threshold value calculation means threshold value straight line calculation means for obtaining a threshold straight line orthogonal to the regression line with the threshold value obtained by the threshold value calculation means as an intersection, and binarization for a biological tissue image using the threshold value straight line Binarization processing means for performing processing to obtain a binarized image.
- ⁇ Formula> (Hp ⁇ Dp) ⁇ variable + Dp threshold variable: a value (0.5 to 0.9) determined in advance according to the biological tissue image to be a pathological diagnosis target
- the biological tissue image is a pathological diagnosis image for determining whether or not an image of a cancer tissue is included, it is desirable to set the variable to 0.6.
- the present invention is an image processing program for operating the image processing apparatus, and is an image processing program for causing a computer to function as each means.
- the present invention is a computer-readable recording medium on which the image processing program is recorded.
- the first peak value (Hp) and the histogram differential first peak value (Dp), which are distribution peak values, are obtained from the regression line of the predetermined points in the scatter diagram and the histogram indicating the distribution status of the predetermined points. calculate.
- a threshold for binarization processing is calculated from the first peak value (Hp) and the histogram differential first peak value (Dp), a threshold straight line is calculated using the threshold, and the threshold straight line is used. Then, binarization processing is performed on the biological tissue image to obtain a binarized image.
- a threshold line for binarization processing is obtained using a histogram in which the predetermined points are counted in a direction orthogonal to the regression line, the position related to the distance from the origin of the conventional XY reference axis is obtained.
- influences such as variations in staining conditions of living tissue or variations in imaging conditions of living tissue can be eliminated. Therefore, according to the present invention, it is possible to obtain an optimal threshold line for binarization processing without being affected by variations in staining conditions or imaging conditions, thereby improving and speeding up the objectiveness of pathological diagnosis. You can contribute a lot.
- the same biological tissue is stained with the same staining time, and even when imaging is performed under the same imaging conditions, the final biological body obtained if the color condition of the staining agent is different. Tissue images will be different. That is, when a reddish stain is used, the biological tissue image is also reddish, and when a bluish stain is used, the biological tissue image is also bluish.
- 20 (a) and 20 (b) all pixel points included in these two types of biological tissue images are determined from the red and blue XY reference axes based on the luminance (red and blue color intensities) of each pixel point.
- a scatter diagram of pixel points obtained by plotting on a two-dimensional field is schematically shown.
- FIG. 20A shows a scatter diagram when using a reddish stain
- FIG. 20B shows a scatter diagram when using a bluish stain. That is, when a reddish stain is used, as shown in FIG. 20A, each pixel point has a high red color intensity and a low blue color intensity. On the other hand, when a bluish stain is used, each pixel point has a high blue color intensity and a low red color intensity, as shown in FIG.
- FIG. 21 (a) is a histogram showing the frequency of the X-axis values created from the scatter diagrams of FIGS. 20 (a) and 20 (b).
- FIG. 21B is a histogram created from the scatter diagrams of FIGS. 20A and 20B and counting each pixel point in a direction orthogonal to the regression line. Note that the histogram in which each pixel point is counted in a direction orthogonal to the regression line referred to here is, specifically, a large number of pixels that are oriented at equal intervals on the regression line in a direction orthogonal to the regression line. Is created by counting the number of pixels belonging to the area defined by the virtual straight line.
- hatched areas indicate areas that should be employed in the binarization process. That is, if a binarization process is performed using a threshold straight line in which the hatched area is adopted, finally, the same binarized image can be obtained regardless of the color condition of the staining agent.
- the “threshold value” in FIGS. 21A and 21B indicates the optimum threshold value for the binarization process.
- the shapes of the two distribution curves are completely different. That is, in the histogram of FIG. 21A, the shapes of the two distribution lines are completely different due to the influence of the staining condition called the color condition of the staining agent. For this reason, it is impossible to obtain a uniquely optimum threshold value for binarization processing from these two distribution lines. That is, in the histogram of FIG. 21A, no correlation can be found between various values such as the first peak values of these two distribution lines and the optimum threshold value. As described above, it is impossible to calculate the optimum threshold using the histogram indicating the frequency of the X-axis value.
- the position of two distribution lines position in the X-axis direction
- the peak height height in the Y-axis direction
- the distribution line width width in the X-axis direction
- the shapes of the two distribution lines are substantially the same.
- the optimum threshold position the position in the X-axis direction
- the entire width in the X-axis direction of the distribution line is the same in the two distribution lines. For this reason, it is possible to uniquely obtain the same threshold value for the optimum binarization process from these two distribution lines. That is, in the histogram of FIG. 21B, there is a correlation between these two distribution lines and the optimum threshold value, and therefore it is possible to uniquely obtain the optimum threshold value based on the distribution line. It is.
- the inventors of the present invention compared the optimum threshold value with the distribution line, and as a result of intensive studies on the correlation, the first peak value (Hp) of the distribution line and the histogram that is the inflection point of the distribution line. It was found that an optimum threshold value can be calculated from the differential first peak value (Dp).
- the optimum threshold value always takes a value smaller than the first peak value (Hp), and the optimum threshold value always takes a value larger than the histogram differential first peak value (Dp).
- Hp first peak value
- Dp histogram differential first peak value
- the “variable” used in the threshold value calculation method as described above differs depending on the biological tissue image to be subjected to pathological diagnosis.
- the variable can be set to 0.6. preferable. This is because when the binarization process is performed using the threshold value obtained by adopting the variable (0.6) to create a binarized image, the peripheral edge of the cell nucleus is clearly displayed. Based on the rule of thumb.
- the image processing method can be provided in the form of program data (image processing program) that runs on a computer, and can also be provided in the form of a recording medium on which the image processing program is recorded.
- FIG. 1 is a schematic diagram illustrating a configuration of an image processing apparatus according to the present invention.
- 3 is a flowchart illustrating an image processing method according to the present invention. It is a figure which shows an example of a biological tissue image. This is a binarized image of the biological tissue image, which is obtained by performing binarization processing with an optimal threshold line. It is the binarized image of the biological tissue image, and is obtained by performing binarization processing with the first peak value (Hp). It is the binarized image of the biological tissue image, and is obtained by performing binarization processing with the histogram differential first peak value (Dp).
- Hp first peak value
- Dp histogram differential first peak value
- FIG. 6 is a scatter diagram of predetermined points obtained by plotting a plurality of predetermined points selected from a biological tissue image on a two-dimensional field composed of different two-color reference axes based on the luminance of the color of each predetermined point.
- a scatter diagram is created by plotting all pixel points constituting a living tissue image on a two-dimensional field. It is the histogram which counted the number of each predetermined point in the direction orthogonal to the regression line of each predetermined point. It is a primary differential curve obtained by differentiating the distribution line of the histogram of FIG.
- (A) to (c) are obtained by plotting a plurality of predetermined points selected from a biological tissue image on a two-dimensional field consisting of different two-color reference axes based on the luminance of the color of each predetermined point. It is the figure which showed typically the scatter diagram of the predetermined point which was done.
- (A) to (c) are scatter diagrams of biological tissue images obtained by coloring the same biological tissue using colorants having different color conditions, and (a) is a diagram in (b). In comparison, a scatter diagram of a biological tissue image colored with a reddish colorant, and (c) shows a scatter diagram of a biological tissue image colored with a bluish colorant compared to (b). ing.
- FIG. 11 is a first-order differential curve obtained by differentiating the histogram distribution lines in FIG. 11.
- the two-dot chain line corresponds to FIG. 10A
- the solid line corresponds to FIG. 10B
- the broken line corresponds to FIG. is doing.
- (A) to (c) are histograms for explaining the binarization processing using the threshold value, and the shaded area indicates the pixel region used in the binarization processing.
- a scatter diagram of predetermined points obtained by plotting a plurality of predetermined points selected from a biological tissue image on a two-dimensional field consisting of different two-color reference axes based on the luminance of the color of each predetermined point This is schematically shown.
- the figure shows a scatter diagram created from biological tissue images captured using three different types of imaging devices for biological tissues stained under the same staining conditions for the same biological tissue. Yes. It is a histogram in which the number of each predetermined point is counted in a direction orthogonal to the regression line of each predetermined point, (a) corresponds to a scatter diagram specified by a regression line indicated by a two-dot chain line in FIG.
- (b) 14 corresponds to the scatter diagram specified by the regression line indicated by the solid line in FIG. 14, and (c) corresponds to the scatter diagram specified by the regression line indicated by the broken line in FIG. 14.
- (A) to (c) are scatter diagrams of biological tissue images captured under the same coloring conditions and different exposure conditions (imaging conditions) with respect to the same biological tissue. When the exposure is less than that in (b), (c) shows the case where there is more exposure than in (b).
- FIG. 17 is a first-order differential curve obtained by differentiating the histogram distribution line in FIG. 17, the two-dot chain line corresponds to FIG. 16A, the solid line corresponds to FIG. 16B, and the broken line in FIG. This corresponds to c).
- (A) to (c) are histograms for explaining the binarization processing using the threshold value, and the shaded area indicates the pixel region used in the binarization processing.
- FIG. 5B is a scatter diagram of a biological tissue image colored using a coloring method
- FIG. 5B is a scatter diagram of a biological tissue image colored using a bluish colorant.
- (A) is a histogram showing the distribution of predetermined points according to the distance from the origin of the XY reference axis of each predetermined point, and (b) shows the number of each predetermined point included in each region defined by a virtual straight line. It is a histogram to show.
- the present invention is an image for binarizing a biological tissue image that is performed as a pre-processing of image analysis when performing pathological diagnosis for determining whether or not cancer cells or the like are included in the biological tissue by image analysis. Intended for processing methods.
- a biological tissue image is obtained by imaging a stained biological tissue with a microscope, but the biological tissue image often varies depending on various conditions such as staining conditions of the biological tissue or imaging conditions. Is as described above.
- FIGS. 10A to 10C show scatter diagrams created from biological tissue images obtained using three kinds of stains having different hues. That is, FIGS. 10A to 10C show a plurality of predetermined points selected from the biological tissue image (here, all pixel points constituting the biological tissue image) based on the color density of each predetermined point.
- 10A and 10C are scatter diagrams of predetermined points obtained by plotting on a two-dimensional field composed of a blue and XY reference axes.
- pixels corresponding to the predetermined points are represented by R, G, and B.
- Each predetermined point is plotted on a two-dimensional field based on the color components of R (red: vertical axis) and B (blue: horizontal axis).
- FIGS. 10 (a) to 10 (c) a red or blue hue is changed up and down from one biological tissue image to create a total of three biological tissue images, and these are used as dyes having different hues.
- the image is a biological tissue image obtained by staining.
- FIG. 10A is a scatter diagram created based on sample image data obtained by raising the red hue from the biological tissue image as the original data according to FIG. 10B. It is assumed that the entire biological tissue is stained with a reddish stain rather than the form shown in FIG. 10 (b).
- FIG. 10C is a scatter diagram created based on the sample image data obtained by raising the blue hue from the biological tissue image which is the original data according to FIG. 10B, and FIG.
- each pixel point has a strong red color intensity and a low blue color intensity.
- each pixel point has a high blue color intensity and a low red color intensity.
- a histogram indicating the number of each predetermined point included in each area defined by the virtual straight line is created. Specifically, as shown in FIGS. 10 (a) to 10 (c), after calculating a regression line at a predetermined point in the scatter diagram, it is orthogonal to the regression line at equal intervals on the regression line. A large number of virtual straight lines oriented in the direction are set, and the partitioned area is set on the two-dimensional field by the virtual straight lines. Next, a histogram is created based on the affiliation status of each predetermined point with respect to the region.
- FIG. 11 shows a histogram.
- the two-dot chain line in FIG. 11 corresponds to the distribution diagram in FIG. 10A
- the solid line corresponds to the distribution diagram in FIG. 10B
- the broken line in FIG. Corresponds to the distribution map.
- Hp indicates the first peak value of the histogram.
- FIG. 12 shows such a first derivative curve
- the two-dot chain line corresponds to the distribution diagram of FIG. 10 (a)
- the solid line corresponds to the distribution diagram of FIG. 10 (b)
- the broken line represents FIG. 10 (c).
- Dp in FIG. 12 shows a histogram differential first peak value.
- the left and right histogram shift distances (d1 ′ and d2 ′) with respect to the first-order differential curve located at the center of FIG. 12 are the left and right histogram shift distances (d1 ′ and d2) with respect to the histogram located at the center of FIG. It is noted that it is completely consistent with ′).
- the optimum threshold value is calculated by substituting the first peak value (Hp) and the histogram differential first peak value (Dp) into the above formula (variable: 0.6). That is, three threshold values corresponding to the respective histograms in FIGS. 10A to 10C are calculated.
- the threshold value obtained from the first peak value (Hp) and the histogram differential first peak value (Dp) is set as the value of the X coordinate, and the value of the Y coordinate obtained by substituting the X coordinate into the regression line equation
- a threshold straight line that passes through a point on the two-dimensional plot (a point on the regression line) with Y as the value of the Y coordinate and is orthogonal to the regression line is calculated.
- binarization processing is performed using a threshold line. Specifically, the binarization process is performed depending on which of the two-dimensional plot regions each predetermined point is divided by the threshold straight line.
- FIGS. 13A to 13C indicate areas that are employed in the binarization process using these threshold lines.
- FIGS. 13A to 13C it can be seen that the same area region can be extracted by binarization using a threshold line in any histogram. That is, by using the image processing method according to the present invention, it is possible to always obtain the same binarized image without being affected by the staining condition such as the color condition of the staining agent. This means that the binarization accuracy is remarkably improved, and therefore pathological diagnosis can be executed more accurately. In addition, human error intervention can be suppressed and accurate pathological diagnosis can be performed. It is also excellent in that an optimum binarized image can be obtained more quickly.
- an image processing-dedicated IC called an image engine performs various image processing such as color space conversion, gamma correction, and noise reduction on data output from an imaging device. For this reason, it is widely known that the tendency of image quality differs when the manufacturer or type of camera is different. In other words, even when the biological tissue is stained under the same staining condition, if the imaging condition of the type of the imaging device is different, it is inevitable that the finally obtained biological tissue image will be different.
- FIG. 14 is a diagram conceptually showing a scatter diagram of three biological tissue images obtained by imaging using three different types of imaging devices.
- the scatter diagram specified by the regression line shown by the solid line in FIG. 14 is used as the original data, and the scatter diagram related to the original data is shifted in the direction in which red is emphasized, A specified scatter diagram is obtained, and this is a scatter diagram of a biological tissue image captured using a camera that tends to emphasize red.
- the scatter diagram specified by the regression line indicated by the two-dot chain line is obtained, and this tends to reduce the red color.
- It is a scatter diagram of a biological tissue image captured using a camera. In FIG. 14, these three scatter diagrams are shown on the same two-dimensional field (vertical axis: red, horizontal axis: blue) for comparison.
- a histogram indicating the distribution status of the predetermined points is created. Specifically, after calculating a regression line of a predetermined point in the scatter diagram, a large number of virtual lines directed in a direction orthogonal to the regression line are set at equal intervals on the regression line, A region partitioned by the virtual straight line is set on the two-dimensional field. Next, a histogram indicating the distribution status of the predetermined points is created based on the affiliation status of each predetermined point with respect to the region.
- FIG. 15 shows a histogram, and the histogram of FIG. 15A corresponds to the scatter diagram specified by the regression line shown by the two-dot chain line of FIG. 14, and the histogram of FIG.
- a first derivative curve is created by differentiating the distribution lines of each histogram to obtain a histogram derivative first peak value (Dp).
- the optimum threshold value is calculated by substituting the first peak value (Hp) and the histogram differential first peak value (Dp) into the above formula (variable: 0.6). That is, three threshold values corresponding to the histograms of FIGS. 15A to 15C are calculated.
- the threshold value obtained from the first peak value (Hp) and the histogram differential first peak value (Dp) is set as the value of the X coordinate, and the value of the Y coordinate obtained by substituting the X coordinate into the regression line equation
- a threshold straight line that passes through a point on the two-dimensional plot (a point on the regression line) with Y as the value of the Y coordinate and is orthogonal to the regression line is calculated.
- binarization processing is performed using a threshold line. Specifically, the binarization process is performed depending on which of the two-dimensional plot regions each predetermined point is divided by the threshold straight line.
- FIGS. 15A to 15C indicate areas that are employed in the binarization process using these threshold lines.
- FIGS. 15A to 15C it can be seen that the same area region can be extracted by binarization processing using a threshold straight line in any histogram. That is, by using the image processing method according to the present invention, it is possible to always obtain the same binarized image without being affected by imaging conditions such as image quality directivity variations caused by using different imaging devices. . This means that the binarization accuracy is remarkably improved, and therefore pathological diagnosis can be executed more accurately. In addition, human error intervention can be suppressed and accurate pathological diagnosis can be performed. It is also excellent in that an optimum binarized image can be obtained more quickly.
- FIGS. 16 (a) to 16 (c) show the distribution of biological tissue images imaged under three different exposure conditions using the same imaging device for one biological tissue stained under the same staining conditions. It is a figure which shows a figure notionally.
- the biological tissue image that is the original data of the scatter diagram in FIG. 16A is an image that is captured with a smaller exposure than the biological tissue image that is the original data of the scatter diagram in FIG.
- the biological tissue image that is the original data of the scatter diagram of FIG. 16C is captured with a larger exposure than the biological tissue image that is the original data of the scatter diagram of FIG. That is, when the exposure is reduced, each pixel point constituting the biological tissue image moves in a direction approaching the origin, and when the exposure is opened, each pixel point moves in a direction away from the origin.
- the two-dot chain line in Fig. 16 (a), the solid line in Fig. 16 (b), and the broken line in Fig. 16 (c) indicate the regression line of each scatter diagram. As is apparent from the regression lines in FIGS. 16A to 16C, the regression lines are the same even for biological tissue images captured under different exposure conditions.
- a histogram is created for each of the three scatter diagrams shown in FIG. Specifically, after calculating a regression line of a predetermined point in the scatter diagram, a large number of virtual lines directed in a direction orthogonal to the regression line are set at equal intervals on the regression line, An area partitioned by the virtual straight line is set on the two-dimensional field. Next, a histogram indicating the distribution status of the predetermined points is created based on the affiliation status of each predetermined point with respect to the region.
- FIG. 17 shows the histogram created as described above.
- the histogram indicated by the two-dot chain line in FIG. 17 corresponds to the scatter diagram of FIG. 16A and is indicated by the solid line in FIG.
- the histogram indicated by a broken line in FIG. 17 corresponds to the scatter diagram of FIG. 16 (c).
- the first peak value (Hp) of each histogram can be obtained.
- the distribution line of each histogram is differentiated to create a primary differential curve, and a histogram differential first peak value (Dp) is obtained.
- 18 corresponds to the scatter diagram of FIG. 16 (a)
- the primary differential curve shown by the solid line in FIG. 18 corresponds to the scatter diagram of FIG. 16 (b).
- a primary differential curve indicated by a broken line in FIG. 18 corresponds to the scatter diagram in FIG.
- the histogram differential first peak value (Dp) of each histogram can be obtained.
- the optimum threshold value is calculated by substituting the first peak value (Hp) and the histogram differential first peak value (Dp) into the above formula (variable: 0.6). That is, three threshold values corresponding to each histogram in FIG. 17 are calculated.
- the threshold value obtained from the first peak value (Hp) and the histogram differential first peak value (Dp) is set as the value of the X coordinate, and the value of the Y coordinate obtained by substituting the X coordinate into the regression line equation
- a threshold straight line that passes through a point on the two-dimensional plot (a point on the regression line) with Y as the value of the Y coordinate and is orthogonal to the regression line is calculated.
- binarization processing is performed using a threshold line. Specifically, the binarization process is performed depending on which of the two-dimensional plot regions each predetermined point is divided by the threshold straight line.
- the hatched area indicates an area that is employed in the binarization process using these threshold lines.
- FIGS. 19A to 19C in any of the histograms, it is understood that an area region having the same ratio with respect to the whole can be extracted by the binarization process using the threshold line. That is, if the image processing method according to the present invention is used, the same binarized image can always be obtained without being affected by the imaging condition such as the exposure condition. This means that the binarization accuracy is remarkably improved, and therefore pathological diagnosis can be executed more accurately. In addition, human error intervention can be suppressed and accurate pathological diagnosis can be performed. It is also excellent in that an optimum binarized image can be obtained more quickly.
- an image processing apparatus 1 includes an image acquisition unit 2, a storage unit 3, an image processing unit 4, a display control unit 5, a display unit 6, and a primary storage unit 7.
- the image processing apparatus 1 may be one obtained by installing a dedicated image processing program on a commercially available personal computer.
- the image acquisition unit 2 acquires a biological tissue image obtained by imaging a biological tissue from an external device (for example, an imaging device), and causes the storage unit 3 to store the biological tissue image.
- an external device for example, an imaging device
- Specific examples of the image acquisition unit 2 include a capture card that directly receives a biological tissue image captured by an imaging device, a card reader that reads information from a memory card, or a reader device that reads information from a USB memory. it can.
- the method for staining biological tissue in the present invention is not particularly limited, and examples thereof include HE (Hematoxilin-Eosin) staining.
- HE staining cell nuclei and cytoplasm are stained, and an overall picture of cells and cell structures can be grasped.
- FIG. 3 shows a biological tissue image obtained by HE staining.
- the storage unit 3 is a non-volatile storage device such as a hard disk or a flash memory.
- a scatter diagram and a regression line created by the image processing unit 4 are used.
- Various data such as a region partitioned by virtual straight lines, a histogram, a primary differential curve, a first peak value (Hp), and a histogram differential first peak value (Dp) are stored.
- the storage unit 3 stores an OS program in addition to various control programs for controlling the image acquisition unit 2, the display control unit 5, and the like. Further, an application program (image processing program) for executing the image processing method according to the present invention is installed and stored in advance.
- a ROM Read Only Memory
- the image processing unit 4 is a central processing unit called a CPU (Central Processing Unit), and a primary storage unit 7 which is a RAM (Random Access Memory) based on an application program stored in the storage unit 3. Image processing is executed as a work area. Specifically, the image processing unit 4 is based on an application program, a scatter diagram creation unit (scatter diagram creation unit), a regression line calculation unit (regression line calculation unit), a region setting unit (region setting unit), and a histogram creation Section (histogram creation means), differentiation section (differentiation means), peak value calculation section (peak value calculation means), threshold calculation section (threshold calculation means), threshold straight line calculation section (threshold straight line calculation means), and binarization processing Part (binarization processing means). Specific operations of the image processing unit 4 will be described later.
- a scatter diagram creation unit scatter diagram creation unit
- regression line calculation unit regression line calculation unit
- region setting unit region setting unit
- histogram creation Section histogram creation Section
- differentiation section differentiate section
- peak value calculation section peak
- the display control unit 5 controls the display unit 6 to display the processing result by the image processing unit 4 on the display unit 6, and is a graphic chip or a graphic card equipped with a graphic chip.
- the display unit 6 is a liquid crystal display device, for example.
- the image processing unit 4 functions as a scatter diagram creation unit as a scatter diagram. (See FIG. 7) is created (S2).
- a scatter diagram may be created from the biological tissue image stored in advance in the storage unit 3 (S2).
- the image processing unit 4 plots a plurality of predetermined points selected from the biological tissue image on a two-dimensional field composed of different two-color reference axes based on the color density of each predetermined point.
- a scatter diagram as shown in FIG. 7 is created.
- a scatter diagram is created using a two-dimensional field in which the horizontal axis (X axis) is blue and the vertical axis (Y axis) is red.
- tens of thousands of pixels corresponding to each predetermined point included in the biological tissue image are decomposed into R, G, and B color components, and each predetermined point is determined based on the R (red) and B (blue) color components.
- the image processing unit 4 displays the obtained scatter diagram on the display unit 6 via the display control unit 5.
- the image processing unit 4 attaches a file name related to the biological tissue image to the scatter diagram and stores it in the storage unit 3.
- the image processing unit 4 functions as a regression line calculation unit, and calculates a regression line by the least square method. That is, a regression line is calculated based on all the plots on the scatter diagram or arbitrary predetermined points extracted from the scatter diagram (S3).
- the image processing unit displays the obtained regression line on the display unit 6 via the display control unit 5. Further, the image processing unit 4 attaches a file name related to the biological tissue image to the regression line and stores it in the storage unit 3.
- the image processing unit 4 functions as a region setting unit, and sets the two-dimensional field to a large number of regions (S4). Specifically, the image processing unit 4 sets a large number of virtual straight lines oriented in a direction orthogonal to the regression line at equal intervals on the regression line, and defines areas partitioned by the virtual line. Set on a two-dimensional field. In FIG. 7, a form in which several virtual straight lines are drawn is shown, but actually, as described above, as shown in FIGS. 16 (a) to (c), A large number of virtual straight lines are drawn at equally spaced positions.
- the image processing unit 4 displays the obtained virtual straight line and region on the display unit 6 via the display control unit 5. Further, the image processing unit 4 stores the file name related to the biological tissue image in the storage unit 3 in comparison with the virtual straight line and the region.
- the image processing unit 4 functions as a histogram creation unit, and creates a histogram (see FIG. 8) indicating the number of predetermined points included in the region of each predetermined point (S5).
- the image processing unit 4 displays the obtained histogram on the display unit 6 via the display control unit 5. Further, the image processing unit 4 attaches a file name associated with the biological tissue image to the histogram and stores it in the storage unit 3.
- the image processing unit 4 functions as a peak value calculation unit and obtains the first peak value (Hp) from the previous histogram (S6).
- the first peak value (Hp) here indicates the first peak value appearing at the closest position from the origin in the distribution line of the histogram. However, in the example of the histogram shown in FIG. 8, only one peak appears.
- the image processing unit 4 displays the obtained first peak value (Hp) on the display unit 6 via the display control unit 5.
- the image processing unit 4 attaches a name associated with the biological tissue image to the first peak value (Hp) and stores it in the storage unit 3.
- the image processing unit 4 functions as a differentiation unit and performs a differentiation process on the histogram distribution line obtained in the previous S6 to obtain a primary differential curve (S7).
- FIG. 9 shows a first-order differential curve obtained by such differential processing.
- the image processing unit 4 displays the obtained primary differential curve on the display unit 6 via the display control unit 5. Further, the image processing unit 4 attaches a file name related to the biological tissue image to the first-order differential curve and stores the file name in the storage unit 3.
- the image processing unit 4 functions as a peak value calculation unit, and obtains a histogram differential first peak value (Dp) from the previous primary differential curve (S8).
- the histogram differential first peak value (Dp) here refers to the first peak value appearing at the closest position from the origin in the primary differential curve. That is, the histogram differential first peak value (Dp) is an inflection point of the distribution line of the previous histogram from the origin to the first peak value (Hp).
- the image processing unit 4 displays the obtained histogram differential first peak value (Dp) on the display unit 6 via the display control unit 5. Further, the image processing unit 4 attaches a name associated with the biological tissue image to the histogram differential first peak value (Dp) and stores it in the storage unit 3.
- the image processing unit 4 functions as a threshold value calculation unit, and calculates the first peak value (Hp) obtained in the previous S6 and the histogram differential first peak value (Dp) obtained in S8 by the mathematical expression.
- the variables included in the mathematical formula are different depending on the biological tissue image to be pathologically diagnosed.
- the biological tissue image includes an image of cancer tissue.
- the variable is set to 0.6.
- the selection of the variable is automatically or manually selected when the pathological diagnosis target is determined on the program of the image processing apparatus.
- the image processing unit 4 displays the obtained threshold value on the display unit 6 via the display control unit 5.
- the image processing unit 4 assigns a name associated with the biological tissue image to the threshold value and stores it in the storage unit 3.
- the image processing unit 4 functions as a threshold value calculation unit, and calculates a threshold line from the threshold value obtained in S9 (S10). Specifically, a point on the two-dimensional plot (on the regression line) with the previous threshold as the value of the X coordinate and the value of the Y coordinate obtained by substituting the X coordinate in the regression line equation as the value of the Y coordinate. ), And a threshold straight line orthogonal to the regression line is calculated.
- the image processing unit 4 displays the obtained threshold straight line on the display unit 6 via the display control unit 5.
- the image processing unit 4 attaches a name associated with the biological tissue image to the threshold line and stores the name in the storage unit 3.
- the image processing unit 4 functions as a binarization processing unit, performs binarization processing on the biological tissue image using the threshold line obtained in S10, and obtains a binarized image (S11). ).
- the image processing unit 4 displays the obtained binarized image on the display unit 6 via the display control unit 5. Further, the image processing unit 4 attaches a file name related to the biological tissue image to the binarized image and stores it in the storage unit 3.
- FIG. 4 is a binarized image obtained in S11. 5 is a binarized image obtained by binarization processing using the first peak value (Hp), and FIG. 6 is binarization using the histogram differential first peak value (Dp). It is the binarized image obtained by processing.
- black portions are pixels used in the binarization process. 4 to 6, the binarized image obtained by the image processing method according to the present embodiment is positioned between the first peak value (Hp) and the histogram differential first peak value (Dp). It can be seen that it was obtained using the threshold value. That is, since the black part in FIG. 4 is less than the black part shown in FIG. 5 and more than the black part shown in FIG. 6, the binarized image obtained by the image processing method according to the present embodiment is the first. It can be seen that it was obtained using a threshold value located between the peak value (Hp) and the histogram differential first peak value (Dp).
- the present inventors have confirmed that the use of the binarized image obtained by the image processing method according to the present embodiment as described above enables pathological diagnosis more accurately than in the past. That is, in this type of pathological diagnosis, the presence or absence of cancer cells is confirmed based on the number of spaces surrounded by the outer edge of the cancer tissue, but the binarized image obtained by the image processing method according to the present embodiment is used. It has been confirmed that the presence or absence of cancer cells can be determined with high accuracy. As described above, the image processing method according to the present embodiment can greatly contribute to the improvement of objectivity of pathological diagnosis based on image analysis.
- the scatter diagrams, histograms, and the like shown in the above embodiments are examples, and it goes without saying that these scatter diagrams and the like differ depending on the biological tissue image to be subjected to pathological diagnosis.
- the image processing unit 4 displays these on the display unit 6 every time a scatter diagram or a histogram is obtained.
- the present invention is not limited to this, and the image processing unit 4 Only the finally obtained binarized image may be displayed on the display unit 6.
Landscapes
- Engineering & Computer Science (AREA)
- Physics & Mathematics (AREA)
- General Physics & Mathematics (AREA)
- Theoretical Computer Science (AREA)
- Computer Vision & Pattern Recognition (AREA)
- Life Sciences & Earth Sciences (AREA)
- Health & Medical Sciences (AREA)
- Biomedical Technology (AREA)
- General Health & Medical Sciences (AREA)
- Molecular Biology (AREA)
- Multimedia (AREA)
- Investigating Or Analysing Biological Materials (AREA)
- Image Processing (AREA)
- Image Analysis (AREA)
Abstract
An image processing method, wherein there is obtained an optimum threshold value for binarization processing without influence from factors such as staining conditions of biological tissue. This invention comprises: a step for plotting, on the basis of color density, a plurality of predetermined dots selected from an image of biological tissue on a two-dimensional field comprising XY reference axes having two different colors, and obtaining a scatter plot; a step for calculating the regression line of the predetermined dots on the scatter plot, setting imaginary straight lines oriented in a direction orthogonal to the regression line at equidistant positions on the regression line, and setting regions demarcated by the imaginary straight lines on the two-dimensional field; a step for obtaining a histogram showing the number of predetermined dots included in each region; a step for obtaining a first peak value, which is a distribution peak value, from the histogram; a step for differentiating the distribution line of the histogram and calculating a histogram differentiation first peak value, which is the point of inflection of the distribution line; and a step for calculating the threshold value from the first peak value and the histogram differentiation first peak value.
Description
本発明は、生体組織画像に対して二値化処理を行って、二値化画像を得るための画像処理方法に関する。
また、本発明は、当該画像処理方法を実行する画像処理装置と、当該画像処理方法をコンピュータ上で動作させるための画像処理プログラム、および当該画像処理プログラムが記録された記録媒体に関する。 The present invention relates to an image processing method for obtaining a binarized image by performing binarization processing on a biological tissue image.
The present invention also relates to an image processing apparatus that executes the image processing method, an image processing program for operating the image processing method on a computer, and a recording medium on which the image processing program is recorded.
また、本発明は、当該画像処理方法を実行する画像処理装置と、当該画像処理方法をコンピュータ上で動作させるための画像処理プログラム、および当該画像処理プログラムが記録された記録媒体に関する。 The present invention relates to an image processing method for obtaining a binarized image by performing binarization processing on a biological tissue image.
The present invention also relates to an image processing apparatus that executes the image processing method, an image processing program for operating the image processing method on a computer, and a recording medium on which the image processing program is recorded.
病理診断の分野において、生体組織画像を解析することで、癌細胞の有無を判別することは広く行われている。また、かかる病理診断に際して、生体組織画像に対して画像解析処理を行うことで、ヒューマンエラーの発生を抑えて客観性を担保する試みも広く行われている。このような画像解析においてはデジタル化された画像をそのまま解析するのではなく、画像処理を行って解析に必要な情報を整理したうえで解析が行われることが多く、画像処理の精度によって解析結果が異なるものとなることが避けられない。
In the field of pathological diagnosis, it is widely performed to determine the presence or absence of cancer cells by analyzing biological tissue images. At the time of such pathological diagnosis, an attempt has been widely made to ensure objectivity by suppressing the occurrence of human error by performing image analysis processing on a biological tissue image. In such image analysis, the digitized image is not analyzed as it is, but the analysis is often performed after image processing is performed to organize the information necessary for the analysis, and the analysis result depends on the accuracy of the image processing. Are inevitable.
すなわち、画像解析に際して最も頻繁に行われる画像処理は、二値化と呼ばれる処理により染色された生体組織画像を二色画像に変換する処理である。このため、二値化の精度が画像解析の精度を左右し、高精度の画像解析を行うためには、二値化処理のための適切な閾値を設定することがネックとなる。かかる閾値の設定方法の従来例としては、特許文献1乃至3などを挙げることができる。特許文献1においては、赤色、緑色、及び青色の波長領域における各濃度信号の最大値と最小値から、二値化処理のための閾値を算出している。特許文献2では、細胞像の濃度ヒストグラムのピークより閾値を得ている。特許文献3では、生体組織画像に対して閾値を大小に調整しながら二値化画像を得ている。
That is, the image processing that is most frequently performed in image analysis is a process of converting a biological tissue image stained by a process called binarization into a two-color image. For this reason, the accuracy of binarization affects the accuracy of image analysis, and in order to perform high-accuracy image analysis, setting an appropriate threshold value for binarization processing becomes a bottleneck. Patent Documents 1 to 3 can be cited as conventional examples of such threshold setting methods. In Patent Document 1, a threshold value for binarization processing is calculated from the maximum value and the minimum value of each density signal in the red, green, and blue wavelength regions. In Patent Document 2, the threshold value is obtained from the peak of the density histogram of the cell image. In Patent Document 3, a binarized image is obtained while adjusting a threshold value to a biological tissue image.
生体組織画像は、染色された生体組織を顕微鏡を介して撮像機器により撮像することで得られる。このため、生体組織に対する染色条件、或いは生体組織を撮像する際の撮像条件などの各種条件により、ばらつきが生じやすい。従って、特許文献1のような各色の波長領域における濃度信号の最大値と最小値から二値化処理のための閾値を算出する方法、或いは特許文献2のような細胞像の濃度ヒストグラムのピークより閾値を得る方法では、生体組織画像のばらつきにより、閾値も異なるものとなることは避けられず、当該閾値を使って画像処理をすることで得られる二値化画像を使って、客観性を担保しながら正確に病理診断を行うことは困難である。特許文献3に記載の方法では、大小に閾値を調整する作業が不可欠であり、迅速に最適な閾値を得ることができず、画像解析や病理診断を迅速に行なうことができない。
The biological tissue image is obtained by imaging the stained biological tissue with an imaging device through a microscope. For this reason, variations are likely to occur depending on various conditions such as staining conditions for living tissue or imaging conditions for imaging living tissue. Therefore, from the method of calculating a threshold for binarization processing from the maximum value and minimum value of the density signal in the wavelength region of each color as in Patent Document 1, or from the peak of the density histogram of the cell image as in Patent Document 2. In the method of obtaining the threshold value, it is inevitable that the threshold value will be different due to variations in the tissue image, and the objectivity is ensured by using the binarized image obtained by image processing using the threshold value. However, accurate pathological diagnosis is difficult. In the method described in Patent Document 3, it is indispensable to adjust the threshold value to a large or small value, an optimal threshold value cannot be obtained quickly, and image analysis and pathological diagnosis cannot be performed quickly.
本発明は、以上のような従来の画像処理方法の問題点を解決することを目的としてなされたものであり、生体組織の染色条件、或いは生体組織の撮像条件のばらつきに左右されることなく、適切且つ迅速に二値化処理のための最適な閾値を得ることができ、従って、病理診断の客観性の向上および迅速化に大いに貢献することができる、画像処理方法を提供することにある。
The present invention was made for the purpose of solving the problems of the conventional image processing method as described above, and is not affected by variations in staining conditions of living tissue or imaging conditions of living tissue, It is an object of the present invention to provide an image processing method capable of obtaining an optimum threshold value for binarization processing appropriately and quickly, and thus greatly contributing to improvement and speed of objectivity of pathological diagnosis.
本発明に係る画像処理方法は、生体組織画像から選択された複数個の所定点を、各所定点の色濃度に基づいて、異なる二色のXY基準軸からなる二次元フィールド上にプロットして、所定点の散布図を得る工程と、前記散布図における所定点の回帰直線を算出するとともに、前記回帰直線上の等間隔位置に、該回帰直線に対して直交する方向に指向する多数本の仮想直線を設定し、これら仮想直線により区画される多数個の領域を前記二次元フィールド上に設定する工程と、前記各領域に含まれる各所定点の数を示すヒストグラムを得る工程と、前記ヒストグラムから、分布ピーク値である第1ピーク値(Hp)を得る工程と、前記ヒストグラムの分布線を微分して、該分布線の変曲点であるヒストグラム微分第1ピーク値(Dp)を算出する工程と、前記第1ピーク値(Hp)と前記ヒストグラム微分第1ピーク値(Dp)とを下記の数式に代入して、前記生体組織画像を二値化処理する際に使用する閾値を算出する工程と、前記閾値を交点とする該回帰直線に対し直交する閾値直線を得る工程と、該閾値直線を使って生体組織画像に対して二値化処理を施して二値化画像を得る工程と、を含む。
<数式>
(Hp-Dp)×変数+Dp=閾値
変数:病理診断対象となる生体組織画像に応じて、予め決定されている値(0.5~0.9) The image processing method according to the present invention plots a plurality of predetermined points selected from a biological tissue image on a two-dimensional field composed of XY reference axes of two different colors based on the color density of each predetermined point, A step of obtaining a scatter diagram of a predetermined point, a regression line of the predetermined point in the scatter diagram is calculated, and a large number of virtual points oriented in a direction orthogonal to the regression line at equal intervals on the regression line From the step of setting a straight line, setting a number of regions partitioned by these virtual straight lines on the two-dimensional field, obtaining a histogram indicating the number of each predetermined point included in each region, A step of obtaining a first peak value (Hp) that is a distribution peak value, and a differentiation line of the histogram are differentiated to calculate a histogram differentiation first peak value (Dp) that is an inflection point of the distribution line. Substituting the first peak value (Hp) and the histogram differential first peak value (Dp) into the following formula to calculate a threshold value used when binarizing the biological tissue image A step of obtaining a threshold straight line orthogonal to the regression line having the threshold as an intersection; and a step of binarizing the biological tissue image using the threshold straight line to obtain a binarized image; ,including.
<Formula>
(Hp−Dp) × variable + Dp = threshold variable: a value (0.5 to 0.9) determined in advance according to the biological tissue image to be a pathological diagnosis target
<数式>
(Hp-Dp)×変数+Dp=閾値
変数:病理診断対象となる生体組織画像に応じて、予め決定されている値(0.5~0.9) The image processing method according to the present invention plots a plurality of predetermined points selected from a biological tissue image on a two-dimensional field composed of XY reference axes of two different colors based on the color density of each predetermined point, A step of obtaining a scatter diagram of a predetermined point, a regression line of the predetermined point in the scatter diagram is calculated, and a large number of virtual points oriented in a direction orthogonal to the regression line at equal intervals on the regression line From the step of setting a straight line, setting a number of regions partitioned by these virtual straight lines on the two-dimensional field, obtaining a histogram indicating the number of each predetermined point included in each region, A step of obtaining a first peak value (Hp) that is a distribution peak value, and a differentiation line of the histogram are differentiated to calculate a histogram differentiation first peak value (Dp) that is an inflection point of the distribution line. Substituting the first peak value (Hp) and the histogram differential first peak value (Dp) into the following formula to calculate a threshold value used when binarizing the biological tissue image A step of obtaining a threshold straight line orthogonal to the regression line having the threshold as an intersection; and a step of binarizing the biological tissue image using the threshold straight line to obtain a binarized image; ,including.
<Formula>
(Hp−Dp) × variable + Dp = threshold variable: a value (0.5 to 0.9) determined in advance according to the biological tissue image to be a pathological diagnosis target
本発明における第1ピーク値(Hp)とは、ヒストグラムにおいて原点から最も近い位置に現出されるピークの値を意味する。ヒストグラム微分第1ピーク値(Dp)とは、一次微分曲線において原点からも最も近い位置に現出されるピーク値であり、要は、原点から第1ピーク値(Hp)に至る分布線の変曲点を意味する。
また、本発明における「生体組織画像から選択された複数個の所定点を、各所定点の色濃度に基づいて、異なる二色のXY基準軸からなる二次元フィールド上にプロットする」とは、例えば青の輝度をX軸に、赤の輝度をY軸に取った二次元フィールド上に、生体組織画像から任意に選択された複数個のピクセル点の青、赤の各輝度をプロットする態様のみならず、生体組織画像に含まれる全てのピクセル点が選択されて、これら全てのピクセル点の輝度を二次元フィールド上にプロットする態様をも含む概念である。 The first peak value (Hp) in the present invention means a peak value appearing at a position closest to the origin in the histogram. The histogram differential first peak value (Dp) is a peak value that appears at the closest position from the origin in the primary differential curve. In short, the distribution line from the origin to the first peak value (Hp) is changed. It means a music point.
Further, in the present invention, “a plurality of predetermined points selected from a biological tissue image are plotted on a two-dimensional field composed of XY reference axes of two different colors based on the color density of each predetermined point” If only the aspect of plotting the blue and red luminances of a plurality of pixel points arbitrarily selected from a biological tissue image on a two-dimensional field with the blue luminance on the X axis and the red luminance on the Y axis It is a concept including a mode in which all pixel points included in the biological tissue image are selected and the luminance of all the pixel points is plotted on a two-dimensional field.
また、本発明における「生体組織画像から選択された複数個の所定点を、各所定点の色濃度に基づいて、異なる二色のXY基準軸からなる二次元フィールド上にプロットする」とは、例えば青の輝度をX軸に、赤の輝度をY軸に取った二次元フィールド上に、生体組織画像から任意に選択された複数個のピクセル点の青、赤の各輝度をプロットする態様のみならず、生体組織画像に含まれる全てのピクセル点が選択されて、これら全てのピクセル点の輝度を二次元フィールド上にプロットする態様をも含む概念である。 The first peak value (Hp) in the present invention means a peak value appearing at a position closest to the origin in the histogram. The histogram differential first peak value (Dp) is a peak value that appears at the closest position from the origin in the primary differential curve. In short, the distribution line from the origin to the first peak value (Hp) is changed. It means a music point.
Further, in the present invention, “a plurality of predetermined points selected from a biological tissue image are plotted on a two-dimensional field composed of XY reference axes of two different colors based on the color density of each predetermined point” If only the aspect of plotting the blue and red luminances of a plurality of pixel points arbitrarily selected from a biological tissue image on a two-dimensional field with the blue luminance on the X axis and the red luminance on the Y axis It is a concept including a mode in which all pixel points included in the biological tissue image are selected and the luminance of all the pixel points is plotted on a two-dimensional field.
本発明における閾値直線とは、該第1ピーク値(Hp)とヒストグラム微分第1ピーク値(Dp)により求められる閾値をX座標の値とし、回帰直線の式に該X座標を代入して得られるY座標の値をY座標の値とした二次元プロット上の点(回帰直線上の点)を通り、回帰直線に直交した直線である。
また、閾値直線による二値化処理とは、各所定点が、閾値直線により二分される二次元プロット領域のどちらに分布されるかにより二値化する処理を意味する。 The threshold straight line in the present invention is obtained by substituting the threshold obtained from the first peak value (Hp) and the histogram differential first peak value (Dp) as the value of the X coordinate and substituting the X coordinate into the equation of the regression line. This is a straight line that passes through a point on the two-dimensional plot (point on the regression line) with the Y coordinate value obtained as the Y coordinate value, and is orthogonal to the regression line.
Also, the binarization process using the threshold line means a process of binarizing depending on which of the two-dimensional plot regions each predetermined point is divided by the threshold line.
また、閾値直線による二値化処理とは、各所定点が、閾値直線により二分される二次元プロット領域のどちらに分布されるかにより二値化する処理を意味する。 The threshold straight line in the present invention is obtained by substituting the threshold obtained from the first peak value (Hp) and the histogram differential first peak value (Dp) as the value of the X coordinate and substituting the X coordinate into the equation of the regression line. This is a straight line that passes through a point on the two-dimensional plot (point on the regression line) with the Y coordinate value obtained as the Y coordinate value, and is orthogonal to the regression line.
Also, the binarization process using the threshold line means a process of binarizing depending on which of the two-dimensional plot regions each predetermined point is divided by the threshold line.
前記生体組織画像が、癌組織の像が含まれているか否かを判断するための病理診断画像である場合には、前記変数は0.6に設定することが好ましい。
When the biological tissue image is a pathological diagnosis image for determining whether or not an image of a cancer tissue is included, the variable is preferably set to 0.6.
本発明に係る画像処理装置は、生体組織画像から選択された複数個の所定点を、各所定点の色の輝度に基づいて、異なる二色のXY基準軸からなる二次元フィールド上にプロットして、所定点の散布図を作成する散布図作成手段と、前記散布図における所定点の回帰直線を算出する回帰直線算出手段と、前記回帰直線上の等間隔位置に、該回帰直線に対して直交する方向に指向する多数本の仮想直線を設定し、該仮想直線により区画される多数個の領域を前記二次元フィールド上に設定する領域設定手段と、前記各領域に含まれる各所定点の数を示すヒストグラムを作成するヒストグラム作成手段と、前記ヒストグラム作成手段により得られた前記ヒストグラムの分布線を微分して、一次微分曲線を得る微分手段と、前記ヒストグラムの分布線から分布ピーク値である第1ピーク値(Hp)を得るとともに、前記微分手段により得られた一次微分曲線から該分布線の変曲点であるヒストグラム微分第1ピーク値(Dp)を得るピーク値算出手段と、前記第1ピーク値(Hp)と前記ヒストグラム微分第1ピーク値(Dp)とを下記の数式に代入して、生体組織画像を二値化処理する際に使用する閾値を算出する閾値算出手段と、前記閾値算出手段により得られた閾値を交点とする該回帰直線に対し直交する閾値直線を得る閾値直線算出手段と、前記閾値直線を使って生体組織画像に対して二値化処理を施して二値化画像を得る二値化処理手段と、を備えることを特徴とする。
<数式>
(Hp-Dp)×変数+Dp=閾値
変数:病理診断対象となる生体組織画像に応じて、予め決定されている値(0.5~0.9) The image processing apparatus according to the present invention plots a plurality of predetermined points selected from a biological tissue image on a two-dimensional field composed of XY reference axes of two different colors based on the luminance of the color of each predetermined point. A scatter diagram creating means for creating a scatter diagram of a predetermined point; a regression line calculating means for calculating a regression line of a predetermined point in the scatter diagram; and orthogonally spaced relative to the regression line at equidistant positions on the regression line A plurality of virtual straight lines directed in the direction to be set, a region setting means for setting a plurality of regions partitioned by the virtual straight lines on the two-dimensional field, and the number of each predetermined point included in each region A histogram creating means for creating a histogram, a differentiation means for differentiating the histogram distribution line obtained by the histogram creating means to obtain a primary differential curve, and the histogram distribution A peak value that obtains a first peak value (Hp) that is a distribution peak value from, and a histogram derivative first peak value (Dp) that is an inflection point of the distribution line from a primary differential curve obtained by the differentiating means Substituting the calculation means, the first peak value (Hp) and the histogram differential first peak value (Dp) into the following formula, calculates a threshold value used when the biological tissue image is binarized. Threshold value calculation means, threshold value straight line calculation means for obtaining a threshold straight line orthogonal to the regression line with the threshold value obtained by the threshold value calculation means as an intersection, and binarization for a biological tissue image using the threshold value straight line Binarization processing means for performing processing to obtain a binarized image.
<Formula>
(Hp−Dp) × variable + Dp = threshold variable: a value (0.5 to 0.9) determined in advance according to the biological tissue image to be a pathological diagnosis target
<数式>
(Hp-Dp)×変数+Dp=閾値
変数:病理診断対象となる生体組織画像に応じて、予め決定されている値(0.5~0.9) The image processing apparatus according to the present invention plots a plurality of predetermined points selected from a biological tissue image on a two-dimensional field composed of XY reference axes of two different colors based on the luminance of the color of each predetermined point. A scatter diagram creating means for creating a scatter diagram of a predetermined point; a regression line calculating means for calculating a regression line of a predetermined point in the scatter diagram; and orthogonally spaced relative to the regression line at equidistant positions on the regression line A plurality of virtual straight lines directed in the direction to be set, a region setting means for setting a plurality of regions partitioned by the virtual straight lines on the two-dimensional field, and the number of each predetermined point included in each region A histogram creating means for creating a histogram, a differentiation means for differentiating the histogram distribution line obtained by the histogram creating means to obtain a primary differential curve, and the histogram distribution A peak value that obtains a first peak value (Hp) that is a distribution peak value from, and a histogram derivative first peak value (Dp) that is an inflection point of the distribution line from a primary differential curve obtained by the differentiating means Substituting the calculation means, the first peak value (Hp) and the histogram differential first peak value (Dp) into the following formula, calculates a threshold value used when the biological tissue image is binarized. Threshold value calculation means, threshold value straight line calculation means for obtaining a threshold straight line orthogonal to the regression line with the threshold value obtained by the threshold value calculation means as an intersection, and binarization for a biological tissue image using the threshold value straight line Binarization processing means for performing processing to obtain a binarized image.
<Formula>
(Hp−Dp) × variable + Dp = threshold variable: a value (0.5 to 0.9) determined in advance according to the biological tissue image to be a pathological diagnosis target
前記生体組織画像が、癌組織の像が含まれているか否かを判断するための病理診断画像である場合には、前記変数は0.6に設定することが望ましい。
When the biological tissue image is a pathological diagnosis image for determining whether or not an image of a cancer tissue is included, it is desirable to set the variable to 0.6.
本発明は、上記画像処理装置を動作させるための画像処理プログラムであって、コンピュータを上記各手段として機能させるための画像処理プログラムである。
The present invention is an image processing program for operating the image processing apparatus, and is an image processing program for causing a computer to function as each means.
また、本発明は、上記画像処理プログラムが記録された、コンピュータにより読取可能な記録媒体である。
Further, the present invention is a computer-readable recording medium on which the image processing program is recorded.
本発明においては、散布図における所定点の回帰直線と、該所定点の分布状況を示すヒストグラムから、分布ピーク値である第1ピーク値(Hp)とヒストグラム微分第1ピーク値(Dp)とを算出する。次いで、これら第1ピーク値(Hp)とヒストグラム微分第1ピーク値(Dp)とから、二値化処理のための閾値を算出し、該閾値を用いて閾値直線を算出し、閾値直線を用いて生体組織画像に二値化処理を施して二値化画像を得る。
In the present invention, the first peak value (Hp) and the histogram differential first peak value (Dp), which are distribution peak values, are obtained from the regression line of the predetermined points in the scatter diagram and the histogram indicating the distribution status of the predetermined points. calculate. Next, a threshold for binarization processing is calculated from the first peak value (Hp) and the histogram differential first peak value (Dp), a threshold straight line is calculated using the threshold, and the threshold straight line is used. Then, binarization processing is performed on the biological tissue image to obtain a binarized image.
このように、回帰直線と直交する方向に該所定点をカウントしたヒストグラムを用いて二値化処理のための閾値直線を得ていると、従来のXY基準軸の原点からの距離に係る該所定点の分布状況を示すヒストグラムを用いて閾値を得る方法においては不可避となる、生体組織の染色条件のばらつき、或いは生体組織の撮像条件のばらつきといった影響を排除することができる。従って、本発明によれば、染色条件或いは撮像条件のばらつきに左右されることなく、二値化処理のための最適な閾値直線を得ることができ、病理診断の客観性の向上および迅速化に大いに貢献することができる。
As described above, when a threshold line for binarization processing is obtained using a histogram in which the predetermined points are counted in a direction orthogonal to the regression line, the position related to the distance from the origin of the conventional XY reference axis is obtained. In the method of obtaining a threshold value using a histogram indicating the distribution of fixed points, influences such as variations in staining conditions of living tissue or variations in imaging conditions of living tissue can be eliminated. Therefore, according to the present invention, it is possible to obtain an optimal threshold line for binarization processing without being affected by variations in staining conditions or imaging conditions, thereby improving and speeding up the objectiveness of pathological diagnosis. You can contribute a lot.
一例を挙げると、同一の生体組織に対して、同一の染色時間で染色を行うとともに、同一の撮像条件で撮像を行った場合でも、染色剤の色具合が異なると、最終的に得られる生体組織画像は異なるものとなる。つまり、赤みがかった染色剤を用いると、生体組織画像も赤みがかったものとなり、青みがかった染色剤を用いると、生体組織画像も青みがかったものとなる。図20(a)(b)に、これら二種の生体組織画像に含まれる全ピクセル点を、各ピクセル点の輝度(赤色と青色の色強度)に基づいて、赤色と青色のXY基準軸からなる二次元フィールド上にプロットして得られた、ピクセル点の散布図を模式的に示す。図20(a)は、赤みがかった染色剤を用いた場合の散布図を、図20(b)は、青みがかった染色剤を用いた場合の散布図を示す。つまり、赤みがかった染色剤を用いた場合には、図20(a)に示すように、各ピクセル点は赤色の色強度が高く、青色の色強度が低いものとなる。一方、青みがかった染色剤を用いた場合には、図20(b)に示すように、各ピクセル点は青色の色強度が高く、赤色の色強度が低いものとなる。
For example, the same biological tissue is stained with the same staining time, and even when imaging is performed under the same imaging conditions, the final biological body obtained if the color condition of the staining agent is different. Tissue images will be different. That is, when a reddish stain is used, the biological tissue image is also reddish, and when a bluish stain is used, the biological tissue image is also bluish. 20 (a) and 20 (b), all pixel points included in these two types of biological tissue images are determined from the red and blue XY reference axes based on the luminance (red and blue color intensities) of each pixel point. A scatter diagram of pixel points obtained by plotting on a two-dimensional field is schematically shown. FIG. 20A shows a scatter diagram when using a reddish stain, and FIG. 20B shows a scatter diagram when using a bluish stain. That is, when a reddish stain is used, as shown in FIG. 20A, each pixel point has a high red color intensity and a low blue color intensity. On the other hand, when a bluish stain is used, each pixel point has a high blue color intensity and a low red color intensity, as shown in FIG.
図21(a)は、図20(a)(b)の散布図より作成された、X軸の値の頻度を示したヒストグラムである。図21(b)は、図20(a)(b)の散布図より作成された、回帰直線に直交した方向に各ピクセル点をカウントしたヒストグラムである。なお、ここで言う回帰直線に直交した方向に各ピクセル点をカウントしたヒストグラムとは、具体的には、回帰直線上の等間隔位置に、該回帰直線に対して直交する方向に指向する多数本の仮想直線を設定し、該仮想直線により区画される領域内に所属する各ピクセルの数をカウントすることで作成されたものである。
FIG. 21 (a) is a histogram showing the frequency of the X-axis values created from the scatter diagrams of FIGS. 20 (a) and 20 (b). FIG. 21B is a histogram created from the scatter diagrams of FIGS. 20A and 20B and counting each pixel point in a direction orthogonal to the regression line. Note that the histogram in which each pixel point is counted in a direction orthogonal to the regression line referred to here is, specifically, a large number of pixels that are oriented at equal intervals on the regression line in a direction orthogonal to the regression line. Is created by counting the number of pixels belonging to the area defined by the virtual straight line.
図21(a)(b)において、斜線領域は、二値化処理において採用されるべき領域を示している。すなわち、当該斜線領域が採用されるような閾値直線を使って二値化処理を施せば、最終的に、染色剤の色具合とは無関係に同一の二値化画像を得ることができる。換言すれば、図21(a)(b)における「閾値」とは、二値化処理に最適な閾値を示している。
21 (a) and 21 (b), hatched areas indicate areas that should be employed in the binarization process. That is, if a binarization process is performed using a threshold straight line in which the hatched area is adopted, finally, the same binarized image can be obtained regardless of the color condition of the staining agent. In other words, the “threshold value” in FIGS. 21A and 21B indicates the optimum threshold value for the binarization process.
図21(a)および図21(b)の比較からわかるように、図21(a)のヒストグラムでは、二つの分布曲線の形状が全く異なる。つまり、図21(a)のヒストグラムでは、染色剤の色具合という染色条件の影響を受けて、二つの分布線の形状は全く異なるものとなっている。このため、これら二つの分布線より、一義的に最適な二値化処理のための閾値を得ることは不可能である。つまり、図21(a)のヒストグラムでは、これら二つの分布線の第1ピーク値などの各種値と、最適な閾値との間に相関関係を見出すことは全くできない。
以上のように、X軸の値の頻度を示すヒストグラムを使って、最適な閾値を算出することは不可能である。 As can be seen from the comparison between FIG. 21A and FIG. 21B, in the histogram of FIG. 21A, the shapes of the two distribution curves are completely different. That is, in the histogram of FIG. 21A, the shapes of the two distribution lines are completely different due to the influence of the staining condition called the color condition of the staining agent. For this reason, it is impossible to obtain a uniquely optimum threshold value for binarization processing from these two distribution lines. That is, in the histogram of FIG. 21A, no correlation can be found between various values such as the first peak values of these two distribution lines and the optimum threshold value.
As described above, it is impossible to calculate the optimum threshold using the histogram indicating the frequency of the X-axis value.
以上のように、X軸の値の頻度を示すヒストグラムを使って、最適な閾値を算出することは不可能である。 As can be seen from the comparison between FIG. 21A and FIG. 21B, in the histogram of FIG. 21A, the shapes of the two distribution curves are completely different. That is, in the histogram of FIG. 21A, the shapes of the two distribution lines are completely different due to the influence of the staining condition called the color condition of the staining agent. For this reason, it is impossible to obtain a uniquely optimum threshold value for binarization processing from these two distribution lines. That is, in the histogram of FIG. 21A, no correlation can be found between various values such as the first peak values of these two distribution lines and the optimum threshold value.
As described above, it is impossible to calculate the optimum threshold using the histogram indicating the frequency of the X-axis value.
一方、図21(b)のヒストグラムでは、二つの分布線の位置(X軸方向における位置)、ピーク高さ(Y軸方向の高さ)、および分布線幅(X軸方向の幅)などの点において異なるものの、二つの分布線の形状は略同じ形状となっている。より詳しくは、図21(b)に示す例では、分布線のX軸方向に全幅における最適な閾値の位置(X軸方向の位置)は、二つの分布線において同位置にある。このため、これら二つの分布線より、一義的に同一の最適な二値化処理のための閾値を得ることは可能である。つまり、図21(b)のヒストグラムでは、これら二つの分布線と最適な閾値との間には相関関係があり、従って、当該分布線に基づいて、一義的に最適な閾値を得ることは可能である。
On the other hand, in the histogram of FIG. 21B, the position of two distribution lines (position in the X-axis direction), the peak height (height in the Y-axis direction), the distribution line width (width in the X-axis direction), and the like. Although different in point, the shapes of the two distribution lines are substantially the same. More specifically, in the example shown in FIG. 21B, the optimum threshold position (the position in the X-axis direction) in the entire width in the X-axis direction of the distribution line is the same in the two distribution lines. For this reason, it is possible to uniquely obtain the same threshold value for the optimum binarization process from these two distribution lines. That is, in the histogram of FIG. 21B, there is a correlation between these two distribution lines and the optimum threshold value, and therefore it is possible to uniquely obtain the optimum threshold value based on the distribution line. It is.
そのうえで、本発明者等は、最適な閾値と分布線とを比較して、その相関関係について鋭意検討した結果、分布線の第1ピーク値(Hp)、および分布線の変曲点であるヒストグラム微分第1ピーク値(Dp)とから、最適な閾値を算出することが可能であることを見出した。
In addition, the inventors of the present invention compared the optimum threshold value with the distribution line, and as a result of intensive studies on the correlation, the first peak value (Hp) of the distribution line and the histogram that is the inflection point of the distribution line. It was found that an optimum threshold value can be calculated from the differential first peak value (Dp).
具体的には、常に最適な閾値は、第1ピーク値(Hp)よりも小さな値を取ること、および、常に最適な閾値は、ヒストグラム微分第1ピーク値(Dp)よりも大きな値を取ることを見出した。そのうえで、これら三者の間には、下記の数式で表される関係があることを見出して、本発明を完成するに至った。
<数式>
(Hp-Dp)×変数+Dp=閾値(最適な閾値) Specifically, the optimum threshold value always takes a value smaller than the first peak value (Hp), and the optimum threshold value always takes a value larger than the histogram differential first peak value (Dp). I found. In addition, the inventors have found that there is a relationship represented by the following mathematical formula among these three parties, and have completed the present invention.
<Formula>
(Hp−Dp) × variable + Dp = threshold (optimum threshold)
<数式>
(Hp-Dp)×変数+Dp=閾値(最適な閾値) Specifically, the optimum threshold value always takes a value smaller than the first peak value (Hp), and the optimum threshold value always takes a value larger than the histogram differential first peak value (Dp). I found. In addition, the inventors have found that there is a relationship represented by the following mathematical formula among these three parties, and have completed the present invention.
<Formula>
(Hp−Dp) × variable + Dp = threshold (optimum threshold)
尤も、上記のような閾値の算出方法において使用される「変数」は、病理診断の対象となる生体組織画像によって異なる。本発明者等の知見によれば、生体組織画像が、癌組織の像が含まれているか否かを判断するための病理診断画像である場合には、変数は0.6に設定することが好ましい。これは、当該変数(0.6)を採用することで得られる閾値を用いて二値化処理を行って二値化画像を作成すると、細胞の核部分の周縁が明確に現出されるとの経験則に拠る。なお、これら変数は、病理診断の対象をプログラム上で決定する際に、自動或いは手動で選択されるようにすればよい。
However, the “variable” used in the threshold value calculation method as described above differs depending on the biological tissue image to be subjected to pathological diagnosis. According to the knowledge of the present inventors, when the biological tissue image is a pathological diagnosis image for determining whether or not an image of a cancer tissue is included, the variable can be set to 0.6. preferable. This is because when the binarization process is performed using the threshold value obtained by adopting the variable (0.6) to create a binarized image, the peripheral edge of the cell nucleus is clearly displayed. Based on the rule of thumb. These variables may be selected automatically or manually when the pathological diagnosis target is determined on the program.
以上のように、本発明に係る画像処理方法、或いは画像処理装置を用いれば、生体組織の染色条件、或いは生体組織の撮像条件のばらつきに左右されることなく、適切且つ迅速に二値化処理のための最適な閾値を得ることができる。従って、病理診断の客観性の向上および迅速化の向上に大いに貢献することができる。また、当該画像処理方法は、コンピュータ上で動作するプログラムデータ(画像処理プログラム)の形で提供することができ、さらに、当該画像処理プログラムが記録された記録媒体の形で提供することができる。
As described above, when the image processing method or the image processing apparatus according to the present invention is used, binarization processing can be performed appropriately and quickly without being affected by variations in staining conditions of living tissue or imaging conditions of living tissue. The optimal threshold for can be obtained. Therefore, it can greatly contribute to the improvement of the objectivity and speeding up of the pathological diagnosis. The image processing method can be provided in the form of program data (image processing program) that runs on a computer, and can also be provided in the form of a recording medium on which the image processing program is recorded.
本発明は、画像解析により生体組織に癌細胞等が含まれているか否かを判定する病理診断を行う際に、画像解析の前処理として行われる生体組織画像を二値化処理するための画像処理方法を対象とする。かかる生体組織画像は染色された生体組織を顕微鏡により撮像することで得られるものであるが、該生体組織画像が、生体組織の染色条件、或いは、撮像条件などの各種条件によりばらつくことが多いことは先に述べたとおりである。
The present invention is an image for binarizing a biological tissue image that is performed as a pre-processing of image analysis when performing pathological diagnosis for determining whether or not cancer cells or the like are included in the biological tissue by image analysis. Intended for processing methods. Such a biological tissue image is obtained by imaging a stained biological tissue with a microscope, but the biological tissue image often varies depending on various conditions such as staining conditions of the biological tissue or imaging conditions. Is as described above.
(染色剤にばらつきがある場合)
図10(a)~(c)は、色相の異なる3種の染色剤を使用して得られた生体組織画像から作成された散布図を示す。すなわち、図10(a)~(c)は、生体組織画像から選択された複数個の所定点(ここでは生体組織画像を構成する全ピクセル点)を、各所定点の色濃度に基づいて、赤色と青色のXY基準軸からなる二次元フィールド上にプロットして得られた所定点の散布図であり、図10(a)~(c)では、各所定点に係るピクセルをR、G、Bの色成分に分解し、そのうちのR(赤色:縦軸)とB(青色:横軸)の色成分に基づいて、各所定点を二次元フィールド上にプロットしている。 (When there is variation in the dyeing agent)
FIGS. 10A to 10C show scatter diagrams created from biological tissue images obtained using three kinds of stains having different hues. That is, FIGS. 10A to 10C show a plurality of predetermined points selected from the biological tissue image (here, all pixel points constituting the biological tissue image) based on the color density of each predetermined point. 10A and 10C are scatter diagrams of predetermined points obtained by plotting on a two-dimensional field composed of a blue and XY reference axes. In FIGS. 10A to 10C, pixels corresponding to the predetermined points are represented by R, G, and B. Each predetermined point is plotted on a two-dimensional field based on the color components of R (red: vertical axis) and B (blue: horizontal axis).
図10(a)~(c)は、色相の異なる3種の染色剤を使用して得られた生体組織画像から作成された散布図を示す。すなわち、図10(a)~(c)は、生体組織画像から選択された複数個の所定点(ここでは生体組織画像を構成する全ピクセル点)を、各所定点の色濃度に基づいて、赤色と青色のXY基準軸からなる二次元フィールド上にプロットして得られた所定点の散布図であり、図10(a)~(c)では、各所定点に係るピクセルをR、G、Bの色成分に分解し、そのうちのR(赤色:縦軸)とB(青色:横軸)の色成分に基づいて、各所定点を二次元フィールド上にプロットしている。 (When there is variation in the dyeing agent)
FIGS. 10A to 10C show scatter diagrams created from biological tissue images obtained using three kinds of stains having different hues. That is, FIGS. 10A to 10C show a plurality of predetermined points selected from the biological tissue image (here, all pixel points constituting the biological tissue image) based on the color density of each predetermined point. 10A and 10C are scatter diagrams of predetermined points obtained by plotting on a two-dimensional field composed of a blue and XY reference axes. In FIGS. 10A to 10C, pixels corresponding to the predetermined points are represented by R, G, and B. Each predetermined point is plotted on a two-dimensional field based on the color components of R (red: vertical axis) and B (blue: horizontal axis).
図10(a)~(c)では、一つの生体組織画像から赤色、或いは青色の色相を上下に変更することで、計3つの生体組織画像を作成して、これらを色相の異なる染色剤を用いて染色されて得られた生体組織画像と想定している。より詳しくは、図10(a)は、図10(b)に係る元データとなる生体組織画像から赤色の色相を上げて得られたサンプル画像データに基づいて作成された散布図であり、図10(b)に示す形態よりも、生体組織の全体が、赤みがかった染色剤を用いて染色された場合を想定している。図10(c)は、図10(b)に係る元データとなる生体組織画像から青色の色相を上げて得られたサンプル画像データに基づいて作成された散布図であり、図10(b)に示す形態よりも、生体組織の全体が、青みがかった染色剤を用いて染色された場合を想定している。赤みがかった染色剤を用いた場合には、図10(a)に示すように、各ピクセル点は赤色の色強度が強く、青色の色強度が低いものとなる。一方、青みがかった染色剤を用いた場合には、図10(c)に示すように、各ピクセル点は青色の色強度が強く、赤色の色強度が低いものとなる。
In FIGS. 10 (a) to 10 (c), a red or blue hue is changed up and down from one biological tissue image to create a total of three biological tissue images, and these are used as dyes having different hues. It is assumed that the image is a biological tissue image obtained by staining. More specifically, FIG. 10A is a scatter diagram created based on sample image data obtained by raising the red hue from the biological tissue image as the original data according to FIG. 10B. It is assumed that the entire biological tissue is stained with a reddish stain rather than the form shown in FIG. 10 (b). FIG. 10C is a scatter diagram created based on the sample image data obtained by raising the blue hue from the biological tissue image which is the original data according to FIG. 10B, and FIG. The case where the whole biological tissue is dye | stained using the bluish dye rather than the form shown to (4) is assumed. When a reddish stain is used, as shown in FIG. 10A, each pixel point has a strong red color intensity and a low blue color intensity. On the other hand, when a bluish stain is used, as shown in FIG. 10C, each pixel point has a high blue color intensity and a low red color intensity.
次に、仮想直線で規定される各領域に含まれる各所定点の数を示すヒストグラムを作成する。具体的には、図10(a)~(c)に示すように、散布図における所定点の回帰直線を算出したうえで、回帰直線上の等間隔位置に、該回帰直線に対して直交する方向に指向する多数本の仮想直線を設定し、該仮想直線により区画領域を二次元フィールド上に設定する。次に、各所定点の前記領域に対する所属状況に基づいて、ヒストグラムを作成する。図11は、ヒストグラムを示しており、図11の二点鎖線は図10(a)の分布図に対応し、実線は図10(b)の分布図に対応し、破線は図10(c)の分布図に対応している。図11において、Hpは、ヒストグラムの第1ピーク値を示す。
Next, a histogram indicating the number of each predetermined point included in each area defined by the virtual straight line is created. Specifically, as shown in FIGS. 10 (a) to 10 (c), after calculating a regression line at a predetermined point in the scatter diagram, it is orthogonal to the regression line at equal intervals on the regression line. A large number of virtual straight lines oriented in the direction are set, and the partitioned area is set on the two-dimensional field by the virtual straight lines. Next, a histogram is created based on the affiliation status of each predetermined point with respect to the region. FIG. 11 shows a histogram. The two-dot chain line in FIG. 11 corresponds to the distribution diagram in FIG. 10A, the solid line corresponds to the distribution diagram in FIG. 10B, and the broken line in FIG. Corresponds to the distribution map. In FIG. 11, Hp indicates the first peak value of the histogram.
次に、ヒストグラムの分布線を微分して、一次微分曲線を作成する。図12は、かかる一次微分曲線を示しており、二点鎖線は図10(a)の分布図に対応し、実線は図10(b)の分布図に対応し、破線は図10(c)の分布図に対応している。また、図12におけるDpは、ヒストグラム微分第1ピーク値を示す。また、図12の中央に位置する一次微分曲線に対する左右のヒストグラムのシフト距離(d1′、およびd2′)が、図11の中央に位置するヒストグラムに対する左右のヒストグラムのシフト距離(d1′、およびd2′)と完全に一致していることが着目される。
Next, differentiate the histogram distribution line to create a first derivative curve. FIG. 12 shows such a first derivative curve, the two-dot chain line corresponds to the distribution diagram of FIG. 10 (a), the solid line corresponds to the distribution diagram of FIG. 10 (b), and the broken line represents FIG. 10 (c). Corresponds to the distribution map. Moreover, Dp in FIG. 12 shows a histogram differential first peak value. Further, the left and right histogram shift distances (d1 ′ and d2 ′) with respect to the first-order differential curve located at the center of FIG. 12 are the left and right histogram shift distances (d1 ′ and d2) with respect to the histogram located at the center of FIG. It is noted that it is completely consistent with ′).
次に、これら第1ピーク値(Hp)と、ヒストグラム微分第1ピーク値(Dp)とを、上記の数式(変数:0.6)に代入して、最適な閾値を算出する。すなわち、図10(a)~(c)の各ヒストグラムに対応する三つの閾値を算出する。
Next, the optimum threshold value is calculated by substituting the first peak value (Hp) and the histogram differential first peak value (Dp) into the above formula (variable: 0.6). That is, three threshold values corresponding to the respective histograms in FIGS. 10A to 10C are calculated.
次に、該第1ピーク値(Hp)とヒストグラム微分第1ピーク値(Dp)により求められる閾値をX座標の値とし、回帰直線の式に該X座標を代入して得られるY座標の値をY座標の値とした二次元プロット上の点(回帰直線上の点)を通り、回帰直線に直交した閾値直線を算出する。
Next, the threshold value obtained from the first peak value (Hp) and the histogram differential first peak value (Dp) is set as the value of the X coordinate, and the value of the Y coordinate obtained by substituting the X coordinate into the regression line equation A threshold straight line that passes through a point on the two-dimensional plot (a point on the regression line) with Y as the value of the Y coordinate and is orthogonal to the regression line is calculated.
次に閾値直線による二値化処理を行う。具体的には各所定点が、閾値直線により二分される二次元プロット領域のどちらに分布されるかにより二値化する処理を行う。
Next, binarization processing is performed using a threshold line. Specifically, the binarization process is performed depending on which of the two-dimensional plot regions each predetermined point is divided by the threshold straight line.
図13(a)~(c)の斜線領域は、これら閾値直線を使った二値化処理において、採用される領域を示す。これら図13(a)~(c)より明らかなように、いずれのヒストグラムにおいても、閾値直線を使った二値化処理により同じ面積領域を抽出できることがわかる。
すなわち、本発明に係る画像処理方法を用いれば、染色剤の色具合という染色条件の影響を受けることなく、常に同じ二値化画像を得ることができる。このことは、二値化の精度が格段に向上することを意味し、従って、より正確に病理診断を実行することができる。また、ヒューマンエラーの介入を抑えて、正確な病理診断の実行に貢献できる。より迅速に最適な二値化画像を得ることができる点でも優れている。 The shaded areas in FIGS. 13A to 13C indicate areas that are employed in the binarization process using these threshold lines. As is clear from FIGS. 13A to 13C, it can be seen that the same area region can be extracted by binarization using a threshold line in any histogram.
That is, by using the image processing method according to the present invention, it is possible to always obtain the same binarized image without being affected by the staining condition such as the color condition of the staining agent. This means that the binarization accuracy is remarkably improved, and therefore pathological diagnosis can be executed more accurately. In addition, human error intervention can be suppressed and accurate pathological diagnosis can be performed. It is also excellent in that an optimum binarized image can be obtained more quickly.
すなわち、本発明に係る画像処理方法を用いれば、染色剤の色具合という染色条件の影響を受けることなく、常に同じ二値化画像を得ることができる。このことは、二値化の精度が格段に向上することを意味し、従って、より正確に病理診断を実行することができる。また、ヒューマンエラーの介入を抑えて、正確な病理診断の実行に貢献できる。より迅速に最適な二値化画像を得ることができる点でも優れている。 The shaded areas in FIGS. 13A to 13C indicate areas that are employed in the binarization process using these threshold lines. As is clear from FIGS. 13A to 13C, it can be seen that the same area region can be extracted by binarization using a threshold line in any histogram.
That is, by using the image processing method according to the present invention, it is possible to always obtain the same binarized image without being affected by the staining condition such as the color condition of the staining agent. This means that the binarization accuracy is remarkably improved, and therefore pathological diagnosis can be executed more accurately. In addition, human error intervention can be suppressed and accurate pathological diagnosis can be performed. It is also excellent in that an optimum binarized image can be obtained more quickly.
(撮像機器にばらつきがある場合)
撮像機器であるカメラにおいては、画像エンジンと称される画像処理専用のICが、撮像素子から出力されたデータに対して、色空間変換、ガンマ補正、ノイズリダクション等の種々の画像処理を行う。このため、カメラのメーカー、或いは種別が異なると、画質の傾向が異なるものとなることは広く知られている。つまり、同一の染色条件で染色された生体組織であっても、撮像機器の種別という撮像条件が異なるものであると、最終的に得られる生体組織画像が異なるものとなることが避けられない。 (When there are variations in imaging equipment)
In a camera that is an imaging device, an image processing-dedicated IC called an image engine performs various image processing such as color space conversion, gamma correction, and noise reduction on data output from an imaging device. For this reason, it is widely known that the tendency of image quality differs when the manufacturer or type of camera is different. In other words, even when the biological tissue is stained under the same staining condition, if the imaging condition of the type of the imaging device is different, it is inevitable that the finally obtained biological tissue image will be different.
撮像機器であるカメラにおいては、画像エンジンと称される画像処理専用のICが、撮像素子から出力されたデータに対して、色空間変換、ガンマ補正、ノイズリダクション等の種々の画像処理を行う。このため、カメラのメーカー、或いは種別が異なると、画質の傾向が異なるものとなることは広く知られている。つまり、同一の染色条件で染色された生体組織であっても、撮像機器の種別という撮像条件が異なるものであると、最終的に得られる生体組織画像が異なるものとなることが避けられない。 (When there are variations in imaging equipment)
In a camera that is an imaging device, an image processing-dedicated IC called an image engine performs various image processing such as color space conversion, gamma correction, and noise reduction on data output from an imaging device. For this reason, it is widely known that the tendency of image quality differs when the manufacturer or type of camera is different. In other words, even when the biological tissue is stained under the same staining condition, if the imaging condition of the type of the imaging device is different, it is inevitable that the finally obtained biological tissue image will be different.
図14は、異なる3種の撮像機器を使って撮像することで得られた3つの生体組織画像の散布図を概念的に示す図である。ここでは、図14の実線で示される回帰直線で特定される散布図を元データとして、当該元データに係る散布図を赤色が強調される方向にシフトすることで、破線で示される回帰直線で特定される散布図を得て、これを赤色が強調される傾向にあるカメラを使って撮像された生体組織画像の散布図としている。また、当該元データに係る散布図を赤色が減退される方向にシフトすることで、二点鎖線で示される回帰直線で特定される散布図を得て、これを赤色が減退される傾向にあるカメラを使って撮像された生体組織画像の散布図としている。なお、図14においては、比較のため、これら三つの散布図を同一の二次元フィールド(縦軸:赤色、横軸:青色)上に記載している。
FIG. 14 is a diagram conceptually showing a scatter diagram of three biological tissue images obtained by imaging using three different types of imaging devices. Here, the scatter diagram specified by the regression line shown by the solid line in FIG. 14 is used as the original data, and the scatter diagram related to the original data is shifted in the direction in which red is emphasized, A specified scatter diagram is obtained, and this is a scatter diagram of a biological tissue image captured using a camera that tends to emphasize red. In addition, by shifting the scatter diagram related to the original data in the direction in which the red color is reduced, the scatter diagram specified by the regression line indicated by the two-dot chain line is obtained, and this tends to reduce the red color. It is a scatter diagram of a biological tissue image captured using a camera. In FIG. 14, these three scatter diagrams are shown on the same two-dimensional field (vertical axis: red, horizontal axis: blue) for comparison.
次に、図14に示される三つの散布図のそれぞれに対して、所定点の分布状況を示すヒストグラムを作成する。具体的には、散布図における所定点の回帰直線を算出したうえで、回帰直線上の等間隔位置に、該回帰直線に対して直交する方向に指向する多数本の仮想直線を設定し、該仮想直線により区画された領域を二次元フィールド上に設定する。次に、各所定点の前記領域に対する所属状況に基づいて、該所定点の分布状況を示すヒストグラムを作成する。図15は、ヒストグラムを示しており、図15(a)のヒストグラムは、図14の二点鎖線で示される回帰直線で特定される散布図に対応し、図15(b)のヒストグラムは、図14の実線で示される回帰直線で特定される散布図に対応し、図15(c)のヒストグラムは、図14の破線で示される回帰直線で特定される散布図に対応している。このように、ヒストグラムを作成することで、各ヒストグラムの第1ピーク値(Hp)を得ることができる。
Next, for each of the three scatter diagrams shown in FIG. 14, a histogram indicating the distribution status of the predetermined points is created. Specifically, after calculating a regression line of a predetermined point in the scatter diagram, a large number of virtual lines directed in a direction orthogonal to the regression line are set at equal intervals on the regression line, A region partitioned by the virtual straight line is set on the two-dimensional field. Next, a histogram indicating the distribution status of the predetermined points is created based on the affiliation status of each predetermined point with respect to the region. FIG. 15 shows a histogram, and the histogram of FIG. 15A corresponds to the scatter diagram specified by the regression line shown by the two-dot chain line of FIG. 14, and the histogram of FIG. 14 corresponds to the scatter diagram specified by the regression line indicated by the solid line, and the histogram of FIG. 15C corresponds to the scatter diagram specified by the regression line indicated by the broken line in FIG. Thus, by creating a histogram, the first peak value (Hp) of each histogram can be obtained.
次に、各ヒストグラムの分布線を微分して一次微分曲線を作成し、ヒストグラム微分第1ピーク値(Dp)を得る。
Next, a first derivative curve is created by differentiating the distribution lines of each histogram to obtain a histogram derivative first peak value (Dp).
次に、これら第1ピーク値(Hp)と、ヒストグラム微分第1ピーク値(Dp)とを、上記の数式(変数:0.6)に代入して、最適な閾値を算出する。すなわち、図15(a)~(c)の各ヒストグラムに対応する三つの閾値を算出する。
Next, the optimum threshold value is calculated by substituting the first peak value (Hp) and the histogram differential first peak value (Dp) into the above formula (variable: 0.6). That is, three threshold values corresponding to the histograms of FIGS. 15A to 15C are calculated.
次に、該第1ピーク値(Hp)とヒストグラム微分第1ピーク値(Dp)により求められる閾値をX座標の値とし、回帰直線の式に該X座標を代入して得られるY座標の値をY座標の値とした二次元プロット上の点(回帰直線上の点)を通り、回帰直線に直交した閾値直線を算出する。
Next, the threshold value obtained from the first peak value (Hp) and the histogram differential first peak value (Dp) is set as the value of the X coordinate, and the value of the Y coordinate obtained by substituting the X coordinate into the regression line equation A threshold straight line that passes through a point on the two-dimensional plot (a point on the regression line) with Y as the value of the Y coordinate and is orthogonal to the regression line is calculated.
次に閾値直線による二値化処理を行う。具体的には各所定点が、閾値直線により二分される二次元プロット領域のどちらに分布されるかにより二値化する処理を行う。
Next, binarization processing is performed using a threshold line. Specifically, the binarization process is performed depending on which of the two-dimensional plot regions each predetermined point is divided by the threshold straight line.
図15(a)~(c)の斜線領域は、これら閾値直線を使った二値化処理において、採用される領域を示す。これら図15(a)~(c)より明らかなように、いずれのヒストグラムにおいても、閾値直線を使った二値化処理により同じ面積領域を抽出できることがわかる。
すなわち、本発明に係る画像処理方法を用いれば、異なる撮像機器を用いることに起因する、画質の指向性のばらつきという撮像条件の影響を受けることなく、常に同じ二値化画像を得ることができる。このことは、二値化の精度が格段に向上することを意味し、従って、より正確に病理診断を実行することができる。また、ヒューマンエラーの介入を抑えて、正確な病理診断の実行に貢献できる。より迅速に最適な二値化画像を得ることができる点でも優れている。 The hatched areas in FIGS. 15A to 15C indicate areas that are employed in the binarization process using these threshold lines. As is apparent from FIGS. 15A to 15C, it can be seen that the same area region can be extracted by binarization processing using a threshold straight line in any histogram.
That is, by using the image processing method according to the present invention, it is possible to always obtain the same binarized image without being affected by imaging conditions such as image quality directivity variations caused by using different imaging devices. . This means that the binarization accuracy is remarkably improved, and therefore pathological diagnosis can be executed more accurately. In addition, human error intervention can be suppressed and accurate pathological diagnosis can be performed. It is also excellent in that an optimum binarized image can be obtained more quickly.
すなわち、本発明に係る画像処理方法を用いれば、異なる撮像機器を用いることに起因する、画質の指向性のばらつきという撮像条件の影響を受けることなく、常に同じ二値化画像を得ることができる。このことは、二値化の精度が格段に向上することを意味し、従って、より正確に病理診断を実行することができる。また、ヒューマンエラーの介入を抑えて、正確な病理診断の実行に貢献できる。より迅速に最適な二値化画像を得ることができる点でも優れている。 The hatched areas in FIGS. 15A to 15C indicate areas that are employed in the binarization process using these threshold lines. As is apparent from FIGS. 15A to 15C, it can be seen that the same area region can be extracted by binarization processing using a threshold straight line in any histogram.
That is, by using the image processing method according to the present invention, it is possible to always obtain the same binarized image without being affected by imaging conditions such as image quality directivity variations caused by using different imaging devices. . This means that the binarization accuracy is remarkably improved, and therefore pathological diagnosis can be executed more accurately. In addition, human error intervention can be suppressed and accurate pathological diagnosis can be performed. It is also excellent in that an optimum binarized image can be obtained more quickly.
(露出条件にばらつきがある場合)
同一の染色条件で染色された生体組織に対して、同一の撮像機器を使って撮像が行われた場合であっても、露出条件という撮像条件が異なるものとなると、最終的に得られる生体組織画像が異なるものとなることが避けられない。 (When exposure conditions vary)
Even when the biological tissue stained under the same staining condition is imaged using the same imaging device, the final biological tissue obtained when the imaging condition called the exposure condition is different. It is inevitable that the images will be different.
同一の染色条件で染色された生体組織に対して、同一の撮像機器を使って撮像が行われた場合であっても、露出条件という撮像条件が異なるものとなると、最終的に得られる生体組織画像が異なるものとなることが避けられない。 (When exposure conditions vary)
Even when the biological tissue stained under the same staining condition is imaged using the same imaging device, the final biological tissue obtained when the imaging condition called the exposure condition is different. It is inevitable that the images will be different.
図16(a)~(c)は、同一の染色条件で染色された一つの生体組織に対して、同一の撮像機器を使って、3種の異なる露出条件で撮像された生体組織画像の散布図を概念的に示す図である。図16(a)の散布図の元データとなる生体組織画像は、図16(b)の散布図の元データとなる生体組織画像よりも露出を絞って撮像されたものである。また、図16(c)の散布図の元データとなる生体組織画像は、図16(b)の散布図の元データとなる生体組織画像よりも露出を開いて撮像されたものである。すなわち、露出が絞られると、生体組織画像を構成する各ピクセル点は原点に近づく方向に移動し、露出が開かれると、各ピクセル点は、原点から遠ざかる方向に移動する。
FIGS. 16 (a) to 16 (c) show the distribution of biological tissue images imaged under three different exposure conditions using the same imaging device for one biological tissue stained under the same staining conditions. It is a figure which shows a figure notionally. The biological tissue image that is the original data of the scatter diagram in FIG. 16A is an image that is captured with a smaller exposure than the biological tissue image that is the original data of the scatter diagram in FIG. In addition, the biological tissue image that is the original data of the scatter diagram of FIG. 16C is captured with a larger exposure than the biological tissue image that is the original data of the scatter diagram of FIG. That is, when the exposure is reduced, each pixel point constituting the biological tissue image moves in a direction approaching the origin, and when the exposure is opened, each pixel point moves in a direction away from the origin.
図16(a)における二点鎖線、図16(b)における実線、および図16(c)における破線は、各散布図の回帰直線を示している。これら図16(a)~(c)の回帰直線より明らかなように、異なる露出条件で撮像された生体組織画像であっても、その回帰直線は同じものとなる。
The two-dot chain line in Fig. 16 (a), the solid line in Fig. 16 (b), and the broken line in Fig. 16 (c) indicate the regression line of each scatter diagram. As is apparent from the regression lines in FIGS. 16A to 16C, the regression lines are the same even for biological tissue images captured under different exposure conditions.
次に、図16に示される三つの散布図のそれぞれに対して、ヒストグラムを作成する。具体的には、散布図における所定点の回帰直線を算出したうえで、回帰直線上の等間隔位置に、該回帰直線に対して直交する方向に指向する多数本の仮想直線を設定し、該仮想直線により区画される領域を二次元フィールド上に設定する。次に、各所定点の前記領域に対する所属状況に基づいて、該所定点の分布状況を示すヒストグラムを作成する。
Next, a histogram is created for each of the three scatter diagrams shown in FIG. Specifically, after calculating a regression line of a predetermined point in the scatter diagram, a large number of virtual lines directed in a direction orthogonal to the regression line are set at equal intervals on the regression line, An area partitioned by the virtual straight line is set on the two-dimensional field. Next, a histogram indicating the distribution status of the predetermined points is created based on the affiliation status of each predetermined point with respect to the region.
図17は、以上のようにして作成されたヒストグラムを示しており、図17において二点鎖線で示されるヒストグラムは、図16(a)の散布図に対応し、図17において実線で示されるヒストグラムは、図16(b)の散布図に対応し、図17において破線で示されるヒストグラムは、図16(c)の散布図に対応する。これにて、各ヒストグラムの第1ピーク値(Hp)を得ることができる。
FIG. 17 shows the histogram created as described above. The histogram indicated by the two-dot chain line in FIG. 17 corresponds to the scatter diagram of FIG. 16A and is indicated by the solid line in FIG. Corresponds to the scatter diagram of FIG. 16 (b), and the histogram indicated by a broken line in FIG. 17 corresponds to the scatter diagram of FIG. 16 (c). Thus, the first peak value (Hp) of each histogram can be obtained.
次に、図18に示すように、各ヒストグラムの分布線を微分して一次微分曲線を作成し、ヒストグラム微分第1ピーク値(Dp)を得る。図18において二点鎖線で示される一次微分曲線は、図16(a)の散布図に対応し、図18において実線で示される一次微分曲線は、図16(b)の散布図に対応し、図18において破線で示される一次微分曲線は、図16(c)の散布図に対応する。これにて、各ヒストグラムのヒストグラム微分第1ピーク値(Dp)を得ることができる。
Next, as shown in FIG. 18, the distribution line of each histogram is differentiated to create a primary differential curve, and a histogram differential first peak value (Dp) is obtained. 18 corresponds to the scatter diagram of FIG. 16 (a), and the primary differential curve shown by the solid line in FIG. 18 corresponds to the scatter diagram of FIG. 16 (b). A primary differential curve indicated by a broken line in FIG. 18 corresponds to the scatter diagram in FIG. Thereby, the histogram differential first peak value (Dp) of each histogram can be obtained.
次に、これら第1ピーク値(Hp)と、ヒストグラム微分第1ピーク値(Dp)とを、上記の数式(変数:0.6)に代入して、最適な閾値を算出する。すなわち、図17の各ヒストグラムに対応する三つの閾値を算出する。
Next, the optimum threshold value is calculated by substituting the first peak value (Hp) and the histogram differential first peak value (Dp) into the above formula (variable: 0.6). That is, three threshold values corresponding to each histogram in FIG. 17 are calculated.
次に、該第1ピーク値(Hp)とヒストグラム微分第1ピーク値(Dp)により求められる閾値をX座標の値とし、回帰直線の式に該X座標を代入して得られるY座標の値をY座標の値とした二次元プロット上の点(回帰直線上の点)を通り、回帰直線に直交した閾値直線を算出する。
Next, the threshold value obtained from the first peak value (Hp) and the histogram differential first peak value (Dp) is set as the value of the X coordinate, and the value of the Y coordinate obtained by substituting the X coordinate into the regression line equation A threshold straight line that passes through a point on the two-dimensional plot (a point on the regression line) with Y as the value of the Y coordinate and is orthogonal to the regression line is calculated.
次に閾値直線による二値化処理を行う。具体的には各所定点が、閾値直線により二分される二次元プロット領域のどちらに分布されるかにより二値化する処理を行う。
Next, binarization processing is performed using a threshold line. Specifically, the binarization process is performed depending on which of the two-dimensional plot regions each predetermined point is divided by the threshold straight line.
図19(a)~(c)の斜線領域は、これら閾値直線を使った二値化処理において、採用される領域を示す。これら図19(a)~(c)より明らかなように、いずれのヒストグラムにおいても、閾値直線を使った二値化処理により、全体に対して同じ割合の面積領域を抽出できることがわかる。すなわち、本発明に係る画像処理方法を用いれば、露出条件という撮像条件の影響を受けることなく、常に同じ二値化画像を得ることができる。このことは、二値化の精度が格段に向上することを意味し、従って、より正確に病理診断を実行することができる。また、ヒューマンエラーの介入を抑えて、正確な病理診断の実行に貢献できる。より迅速に最適な二値化画像を得ることができる点でも優れている。
In FIG. 19 (a) to 19 (c), the hatched area indicates an area that is employed in the binarization process using these threshold lines. As can be seen from FIGS. 19A to 19C, in any of the histograms, it is understood that an area region having the same ratio with respect to the whole can be extracted by the binarization process using the threshold line. That is, if the image processing method according to the present invention is used, the same binarized image can always be obtained without being affected by the imaging condition such as the exposure condition. This means that the binarization accuracy is remarkably improved, and therefore pathological diagnosis can be executed more accurately. In addition, human error intervention can be suppressed and accurate pathological diagnosis can be performed. It is also excellent in that an optimum binarized image can be obtained more quickly.
(画像処理装置の構成)
図1に示すように、本発明に係る画像処理装置1は、画像取得部2、記憶部3、画像処理部4、表示制御部5、表示部6、一次記憶部7を備えている。なお、当該画像処理装置1は、市販のパーソナルコンピュータに専用の画像処理プログラムをインストールしてなるものであってもよい。 (Configuration of image processing apparatus)
As shown in FIG. 1, animage processing apparatus 1 according to the present invention includes an image acquisition unit 2, a storage unit 3, an image processing unit 4, a display control unit 5, a display unit 6, and a primary storage unit 7. The image processing apparatus 1 may be one obtained by installing a dedicated image processing program on a commercially available personal computer.
図1に示すように、本発明に係る画像処理装置1は、画像取得部2、記憶部3、画像処理部4、表示制御部5、表示部6、一次記憶部7を備えている。なお、当該画像処理装置1は、市販のパーソナルコンピュータに専用の画像処理プログラムをインストールしてなるものであってもよい。 (Configuration of image processing apparatus)
As shown in FIG. 1, an
画像取得部2は、外部の装置(例えば、撮像装置)から生体組織を撮像した生体組織画像を取得し、該生体組織画像を記憶部3に記憶させるものである。画像取得部2の具体例としては、撮像装置により撮像された生体組織画像を直接受けるキャプチャーカードのほか、メモリカードから情報を読み取るカードリーダ、或いはUSBメモリから情報を読み取るリーダー装置などを挙げることができる。
The image acquisition unit 2 acquires a biological tissue image obtained by imaging a biological tissue from an external device (for example, an imaging device), and causes the storage unit 3 to store the biological tissue image. Specific examples of the image acquisition unit 2 include a capture card that directly receives a biological tissue image captured by an imaging device, a card reader that reads information from a memory card, or a reader device that reads information from a USB memory. it can.
本発明における生体組織の染色方法は、特に限定されず、例えば、HE(Hematoxilin-Eosin)染色などを挙げることができる。HE染色では、細胞核および細胞質が染色され、細胞および細胞構造の全体像を把握することができる。図3に、HE染色により得られた生体組織画像を示す。
The method for staining biological tissue in the present invention is not particularly limited, and examples thereof include HE (Hematoxilin-Eosin) staining. In HE staining, cell nuclei and cytoplasm are stained, and an overall picture of cells and cell structures can be grasped. FIG. 3 shows a biological tissue image obtained by HE staining.
記憶部3は、ハードディスク、或いはフラッシュメモリなどの不揮発性の記憶装置であり、画像取得部2を介して取得された生体組織画像のほか、画像処理部4により作成された、散布図、回帰直線、仮想直線で区画された領域、ヒストグラム、一次微分曲線、第1ピーク値(Hp)、ヒストグラム微分第1ピーク値(Dp)などの各種データが格納される。また、記憶部3には、画像取得部2、表示制御部5などを制御するための各種制御プログラムのほか、OSプログラムが格納されている。さらに、本発明に係る画像処理方法を実行するためのアプリケーションプログラム(画像処理プログラム)が予めインストールされて、格納されている。なお、図外のROM(Read Only Memory)には、システムプログラムなどが格納されている。
The storage unit 3 is a non-volatile storage device such as a hard disk or a flash memory. In addition to the biological tissue image acquired via the image acquisition unit 2, a scatter diagram and a regression line created by the image processing unit 4 are used. Various data such as a region partitioned by virtual straight lines, a histogram, a primary differential curve, a first peak value (Hp), and a histogram differential first peak value (Dp) are stored. The storage unit 3 stores an OS program in addition to various control programs for controlling the image acquisition unit 2, the display control unit 5, and the like. Further, an application program (image processing program) for executing the image processing method according to the present invention is installed and stored in advance. A ROM (Read Only Memory) (not shown) stores system programs and the like.
画像処理部4は、所謂CPU(Central Processing Unit)と称される中央処理装置であり、記憶部3の格納されているアプリケーションプログラムに基づいて、RAM(Random Access Memory)である一次記憶部7を作業領域として、画像処理を実行する。具体的には、画像処理部4は、アプリケーションプログラムに基づいて、散布図作成部(散布図作成手段)、回帰直線算出部(回帰直線算出手段)、領域設定部(領域設定手段)、ヒストグラム作成部(ヒストグラム作成手段)、微分部(微分手段)、ピーク値算出部(ピーク値算出手段)、閾値算出部(閾値算出手段)、閾値直線算出部(閾値直線算出手段)、および二値化処理部(二値化処理手段)として機能する。画像処理部4の具体的動作については後述する。
The image processing unit 4 is a central processing unit called a CPU (Central Processing Unit), and a primary storage unit 7 which is a RAM (Random Access Memory) based on an application program stored in the storage unit 3. Image processing is executed as a work area. Specifically, the image processing unit 4 is based on an application program, a scatter diagram creation unit (scatter diagram creation unit), a regression line calculation unit (regression line calculation unit), a region setting unit (region setting unit), and a histogram creation Section (histogram creation means), differentiation section (differentiation means), peak value calculation section (peak value calculation means), threshold calculation section (threshold calculation means), threshold straight line calculation section (threshold straight line calculation means), and binarization processing Part (binarization processing means). Specific operations of the image processing unit 4 will be described later.
表示制御部5は、表示部6を制御することにより、画像処理部4による処理結果等を表示部6に表示するものであり、グラフィックチップ、或いはグラフィックチップを搭載したグラフィックカードなどである。表示部6は、例えば液晶表示装置である。
The display control unit 5 controls the display unit 6 to display the processing result by the image processing unit 4 on the display unit 6, and is a graphic chip or a graphic card equipped with a graphic chip. The display unit 6 is a liquid crystal display device, for example.
次に、以上のような構成からなる画像処理装置1による画像処理方法について、図2のフローチャートを参照して説明する。まず、画像処理に係るアプリケーションプログラムが立ち上げられた状態から、図3に示すような生体組織画像が取得されると(S1)、画像処理部4は、散布図作成部として機能として、散布図(図7参照)を作成する(S2)。尤も、予め記憶部3内に格納されている生体組織画像から散布図を作成してもよい(S2)。
Next, an image processing method by the image processing apparatus 1 having the above configuration will be described with reference to the flowchart of FIG. First, when a biological tissue image as shown in FIG. 3 is acquired from a state in which an application program related to image processing is started (S1), the image processing unit 4 functions as a scatter diagram creation unit as a scatter diagram. (See FIG. 7) is created (S2). However, a scatter diagram may be created from the biological tissue image stored in advance in the storage unit 3 (S2).
具体的には、画像処理部4は、生体組織画像から選択された複数個の所定点を、各所定点の色濃度に基づいて、異なる二色の基準軸からなる二次元フィールド上にプロットして、図7に示すような散布図を作成する。図7においては、横軸(X軸)を青色とし、縦軸(Y軸)を赤色とする二次元フィールドを用いて散布図を作成している。また、生体組織画像に含まれる数万個の各所定点に係るピクセルをR、G、Bの色成分に分解し、そのうちのR(赤色)とB(青色)の色成分に基づいて、各所定点を二次元フィールド上にプロットしている。画像処理部4は、表示制御部5を介して、得られた散布図を表示部6に表示する。また、画像処理部4は、生体組織画像と関連するファイル名を散布図に付して記憶部3に格納する。
Specifically, the image processing unit 4 plots a plurality of predetermined points selected from the biological tissue image on a two-dimensional field composed of different two-color reference axes based on the color density of each predetermined point. A scatter diagram as shown in FIG. 7 is created. In FIG. 7, a scatter diagram is created using a two-dimensional field in which the horizontal axis (X axis) is blue and the vertical axis (Y axis) is red. Further, tens of thousands of pixels corresponding to each predetermined point included in the biological tissue image are decomposed into R, G, and B color components, and each predetermined point is determined based on the R (red) and B (blue) color components. Are plotted on a two-dimensional field. The image processing unit 4 displays the obtained scatter diagram on the display unit 6 via the display control unit 5. In addition, the image processing unit 4 attaches a file name related to the biological tissue image to the scatter diagram and stores it in the storage unit 3.
次に、画像処理部4は、回帰直線算出部として機能して、最小二乗法により回帰直線を算出する。すなわち、散布図上の全てのプロット、或いは散布図から抽出された任意の所定点に基づいて回帰直線を算出する(S3)。画像処理部は、表示制御部5を介して、得られた回帰直線を表示部6に表示する。また、画像処理部4は、生体組織画像と関連するファイル名を回帰直線に付して記憶部3に格納する。
Next, the image processing unit 4 functions as a regression line calculation unit, and calculates a regression line by the least square method. That is, a regression line is calculated based on all the plots on the scatter diagram or arbitrary predetermined points extracted from the scatter diagram (S3). The image processing unit displays the obtained regression line on the display unit 6 via the display control unit 5. Further, the image processing unit 4 attaches a file name related to the biological tissue image to the regression line and stores it in the storage unit 3.
次に、画像処理部4は、領域設定部として機能して、二次元フィールドを多数個の領域に設定する(S4)。具体的には、画像処理部4は、回帰直線上の等間隔位置に、該回帰直線に対して直交する方向に指向する多数本の仮想直線を設定し、該仮想直線により区画される領域を二次元フィールド上に設定する。なお、図7においては、数本の仮想直線が引かれた形態が示されているが、実際には、上述のように、図16(a)~(c)に示すように、回帰直線上の等間隔位置に多数本の仮想直線が引かれる。画像処理部4は、表示制御部5を介して、得られた仮想直線および領域を表示部6に表示する。また、画像処理部4は、生体組織画像と関連するファイル名を仮想直線および領域に比して記憶部3に格納する。
Next, the image processing unit 4 functions as a region setting unit, and sets the two-dimensional field to a large number of regions (S4). Specifically, the image processing unit 4 sets a large number of virtual straight lines oriented in a direction orthogonal to the regression line at equal intervals on the regression line, and defines areas partitioned by the virtual line. Set on a two-dimensional field. In FIG. 7, a form in which several virtual straight lines are drawn is shown, but actually, as described above, as shown in FIGS. 16 (a) to (c), A large number of virtual straight lines are drawn at equally spaced positions. The image processing unit 4 displays the obtained virtual straight line and region on the display unit 6 via the display control unit 5. Further, the image processing unit 4 stores the file name related to the biological tissue image in the storage unit 3 in comparison with the virtual straight line and the region.
次に、画像処理部4は、ヒストグラム作成部として機能して、各所定点の前記領域に含まれる所定点の数を示すヒストグラム(図8参照)を作成する(S5)。画像処理部4は、表示制御部5を介して、得られたヒストグラムを表示部6に表示する。また、画像処理部4は、生体組織画像と関連するファイル名をヒストグラムに付して記憶部3に格納する。
Next, the image processing unit 4 functions as a histogram creation unit, and creates a histogram (see FIG. 8) indicating the number of predetermined points included in the region of each predetermined point (S5). The image processing unit 4 displays the obtained histogram on the display unit 6 via the display control unit 5. Further, the image processing unit 4 attaches a file name associated with the biological tissue image to the histogram and stores it in the storage unit 3.
次に、画像処理部4は、ピーク値算出部として機能して、先のヒストグラムから第1ピーク値(Hp)を得る(S6)。ここでいう第1ピーク値(Hp)とは、ヒストグラムの分布線において、原点から最も近い位置に現出される最初のピーク値を示す。尤も、図8に示すヒストグラムの例では、ピークは一つしか現出していない。画像処理部4は、表示制御部5を介して、得られた第1ピーク値(Hp)を表示部6に表示する。また、画像処理部4は、生体組織画像と関連する名称を第1ピーク値(Hp)に付して記憶部3に格納する。
Next, the image processing unit 4 functions as a peak value calculation unit and obtains the first peak value (Hp) from the previous histogram (S6). The first peak value (Hp) here indicates the first peak value appearing at the closest position from the origin in the distribution line of the histogram. However, in the example of the histogram shown in FIG. 8, only one peak appears. The image processing unit 4 displays the obtained first peak value (Hp) on the display unit 6 via the display control unit 5. In addition, the image processing unit 4 attaches a name associated with the biological tissue image to the first peak value (Hp) and stores it in the storage unit 3.
次に、画像処理部4は、微分手段として機能して、先のS6で得られたヒストグラムの分布線に対して微分処理を行って、一次微分曲線を得る(S7)。図9は、かかる微分処理により得られた一次微分曲線を示している。画像処理部4は、表示制御部5を介して、得られた一次微分曲線を表示部6に表示する。また、画像処理部4は、生体組織画像と関連するファイル名を一次微分曲線に付して記憶部3に格納する。
Next, the image processing unit 4 functions as a differentiation unit and performs a differentiation process on the histogram distribution line obtained in the previous S6 to obtain a primary differential curve (S7). FIG. 9 shows a first-order differential curve obtained by such differential processing. The image processing unit 4 displays the obtained primary differential curve on the display unit 6 via the display control unit 5. Further, the image processing unit 4 attaches a file name related to the biological tissue image to the first-order differential curve and stores the file name in the storage unit 3.
次に、画像処理部4は、ピーク値算出部として機能して、先の一次微分曲線からヒストグラム微分第1ピーク値(Dp)を得る(S8)。ここでいうヒストグラム微分第1ピーク値(Dp)とは、一次微分曲線において、原点から最も近い位置に現出される最初のピーク値を示す。すなわち、ヒストグラム微分第1ピーク値(Dp)は、原点から第1ピーク値(Hp)に至る、先のヒストグラムの分布線の変曲点である。画像処理部4は、表示制御部5を介して、得られたヒストグラム微分第1ピーク値(Dp)を表示部6に表示する。また、画像処理部4は、生体組織画像と関連する名称をヒストグラム微分第1ピーク値(Dp)に付して記憶部3に格納する。
Next, the image processing unit 4 functions as a peak value calculation unit, and obtains a histogram differential first peak value (Dp) from the previous primary differential curve (S8). The histogram differential first peak value (Dp) here refers to the first peak value appearing at the closest position from the origin in the primary differential curve. That is, the histogram differential first peak value (Dp) is an inflection point of the distribution line of the previous histogram from the origin to the first peak value (Hp). The image processing unit 4 displays the obtained histogram differential first peak value (Dp) on the display unit 6 via the display control unit 5. Further, the image processing unit 4 attaches a name associated with the biological tissue image to the histogram differential first peak value (Dp) and stores it in the storage unit 3.
次に、画像処理部4は、閾値算出部として機能して、先のS6で得られた第1ピーク値(Hp)、およびS8で得られたヒストグラム微分第1ピーク値(Dp)を、数式((Hp-Dp)×変数+Dp=閾値)に代入して閾値を算出する(S9)。かかる数式に含まれる変数が、病理診断の対象となる生体組織画像によって異なるものであることは先に述べたとおりであり、本実施例のように、生体組織画像が、癌組織の像が含まれているか否かを判断するための病理診断画像である場合には、変数は0.6に設定されている。かかる変数の選択が、病理診断の対象を画像処理装置のプログラム上で決定する際に、自動或いは手動で選択されるものであることも先に述べたとおりである。画像処理部4は、表示制御部5を介して、得られた閾値を表示部6に表示する。また、画像処理部4は、生体組織画像と関連する名称を閾値に付して、記憶部3に格納する。
Next, the image processing unit 4 functions as a threshold value calculation unit, and calculates the first peak value (Hp) obtained in the previous S6 and the histogram differential first peak value (Dp) obtained in S8 by the mathematical expression. The threshold value is calculated by substituting ((Hp−Dp) × variable + Dp = threshold value) (S9). As described above, the variables included in the mathematical formula are different depending on the biological tissue image to be pathologically diagnosed. As in this embodiment, the biological tissue image includes an image of cancer tissue. In the case of the pathological diagnosis image for determining whether or not it is determined, the variable is set to 0.6. As described above, the selection of the variable is automatically or manually selected when the pathological diagnosis target is determined on the program of the image processing apparatus. The image processing unit 4 displays the obtained threshold value on the display unit 6 via the display control unit 5. In addition, the image processing unit 4 assigns a name associated with the biological tissue image to the threshold value and stores it in the storage unit 3.
次に、画像処理部4は、閾値算出部として機能して、S9で得られた閾値から閾値直線を算出する(S10)。具体的には、先の閾値をX座標の値とし、回帰直線の式に該X座標を代入して得られるY座標の値をY座標の値とした二次元プロット上の点(回帰直線上の点)を通り、回帰直線に直交した閾値直線を算出する。画像処理部4は、表示制御部5を介して、得られた閾値直線を表示部6に表示する。また、画像処理部4は、生体組織画像と関連する名称を閾値直線に付して、記憶部3に格納する。
Next, the image processing unit 4 functions as a threshold value calculation unit, and calculates a threshold line from the threshold value obtained in S9 (S10). Specifically, a point on the two-dimensional plot (on the regression line) with the previous threshold as the value of the X coordinate and the value of the Y coordinate obtained by substituting the X coordinate in the regression line equation as the value of the Y coordinate. ), And a threshold straight line orthogonal to the regression line is calculated. The image processing unit 4 displays the obtained threshold straight line on the display unit 6 via the display control unit 5. In addition, the image processing unit 4 attaches a name associated with the biological tissue image to the threshold line and stores the name in the storage unit 3.
次に、画像処理部4は、二値化処理部として機能して、S10で得られた閾値直線を用いて生体組織画像に対して二値化処理を施して二値化画像を得る(S11)。画像処理部4は、表示制御部5を介して、得られた二値化画像を表示部6に表示する。また、画像処理部4は、生体組織画像と関連するファイル名を二値化画像に付して、記憶部3に格納する。
Next, the image processing unit 4 functions as a binarization processing unit, performs binarization processing on the biological tissue image using the threshold line obtained in S10, and obtains a binarized image (S11). ). The image processing unit 4 displays the obtained binarized image on the display unit 6 via the display control unit 5. Further, the image processing unit 4 attaches a file name related to the biological tissue image to the binarized image and stores it in the storage unit 3.
図4は、S11で得られた二値化画像である。なお、図5は、第1ピーク値(Hp)を使って二値化処理して得られる二値化画像であり、図6は、ヒストグラム微分第1ピーク値(Dp)を使って二値化処理して得られる二値化画像である。これら図4乃至図6において、黒色で示される部分が、二値化処理において採用されたピクセルである。これら図4乃至図6の比較より、本実施例に係る画像処理方法によって得られた二値化画像が、第1ピーク値(Hp)とヒストグラム微分第1ピーク値(Dp)との間に位置する閾値を使って得られたものであることがわかる。すなわち、図4における黒色部分が、図5に示す黒色部分より少なく、且つ図6に示す黒色部分より多いことより、本実施例に係る画像処理方法によって得られた二値化画像が、第1ピーク値(Hp)とヒストグラム微分第1ピーク値(Dp)との間に位置する閾値を使って得られたものであることがわかる。
FIG. 4 is a binarized image obtained in S11. 5 is a binarized image obtained by binarization processing using the first peak value (Hp), and FIG. 6 is binarization using the histogram differential first peak value (Dp). It is the binarized image obtained by processing. In FIGS. 4 to 6, black portions are pixels used in the binarization process. 4 to 6, the binarized image obtained by the image processing method according to the present embodiment is positioned between the first peak value (Hp) and the histogram differential first peak value (Dp). It can be seen that it was obtained using the threshold value. That is, since the black part in FIG. 4 is less than the black part shown in FIG. 5 and more than the black part shown in FIG. 6, the binarized image obtained by the image processing method according to the present embodiment is the first. It can be seen that it was obtained using a threshold value located between the peak value (Hp) and the histogram differential first peak value (Dp).
本発明者等は、以上のような本実施例に係る画像処理方法によって得られた二値化画像を用いれば、従来よりも正確に病理診断を行うことができることを確認済みである。すなわち、この種の病理診断においては、癌組織の外縁によって囲まれた空間数に基づいて癌細胞の有無を確認するが、本実施例に係る画像処理方法により得られた二値化画像を用いれば、精度良く癌細胞の有無を判定することができることを確認済みである。以上より、本実施例に係る画像処理方法は、画像解析に基づく病理診断の客観性の向上に大いに貢献し得るものである。
The present inventors have confirmed that the use of the binarized image obtained by the image processing method according to the present embodiment as described above enables pathological diagnosis more accurately than in the past. That is, in this type of pathological diagnosis, the presence or absence of cancer cells is confirmed based on the number of spaces surrounded by the outer edge of the cancer tissue, but the binarized image obtained by the image processing method according to the present embodiment is used. It has been confirmed that the presence or absence of cancer cells can be determined with high accuracy. As described above, the image processing method according to the present embodiment can greatly contribute to the improvement of objectivity of pathological diagnosis based on image analysis.
上記実施例において示した散布図、ヒストグラム等は一例であり、病理診断の対象となる生体組織画像により、これら散布図等が異なるものとなることは言うまでも無い。上記実施例においては、画像処理部4は、散布図、或いはヒストグラム等が得られるたびに、これらを表示部6に表示していたが、本発明はこれに限られず、画像処理部4は、最終的に得られる二値化画像のみを表示部6に表示するものであってもよい。
The scatter diagrams, histograms, and the like shown in the above embodiments are examples, and it goes without saying that these scatter diagrams and the like differ depending on the biological tissue image to be subjected to pathological diagnosis. In the above embodiment, the image processing unit 4 displays these on the display unit 6 every time a scatter diagram or a histogram is obtained. However, the present invention is not limited to this, and the image processing unit 4 Only the finally obtained binarized image may be displayed on the display unit 6.
1 画像処理装置
4 画像処理部 1 Image processing device 4 Image processing unit
4 画像処理部 1 Image processing device 4 Image processing unit
Claims (6)
- 生体組織画像から選択された複数個の所定点を、各所定点の色濃度に基づいて、異なる二色のXY基準軸からなる二次元フィールド上にプロットして、所定点の散布図を得る工程と、
前記散布図における所定点の回帰直線を算出する工程と、
前記回帰直線上の等間隔位置に、該回帰直線に対して直交する方向に指向する多数本の仮想直線を設定し、これら仮想直線により区画される領域を前記二次元フィールド上に設定する工程と、
前記各領域に含まれる各所定点の数を示すヒストグラムを得る工程と、
前記ヒストグラムから、分布ピーク値である第1ピーク値(Hp)を得る工程と、
前記ヒストグラムの分布線を微分して、該分布線の変曲点であるヒストグラム微分第1ピーク値(Dp)を算出する工程と、
前記第1ピーク値(Hp)と前記ヒストグラム微分第1ピーク値(Dp)とを下記の数式に代入して、前記生体組織画像を二値化処理する際に使用する閾値を算出する工程と、
前記閾値を交点とする該回帰直線に対し直交する閾値直線を得る工程と、
前記閾値を使って閾値直線を算出する工程と、
閾値直線を用いて生体組織画像に対して二値化処理を施して二値化画像を得る工程と、
を含む画像処理方法。
<数式>
(Hp-Dp)×変数+Dp=閾値
変数:病理診断対象となる生体組織画像に応じて、予め決定されている値(0.5~0.9) Plotting a plurality of predetermined points selected from the biological tissue image on a two-dimensional field consisting of XY reference axes of two different colors based on the color density of each predetermined point, and obtaining a scatter diagram of the predetermined points; ,
Calculating a regression line of a predetermined point in the scatter diagram;
Setting a plurality of virtual straight lines oriented in a direction orthogonal to the regression lines at equal intervals on the regression lines, and setting regions defined by the virtual lines on the two-dimensional field; ,
Obtaining a histogram indicating the number of each predetermined point included in each region;
Obtaining a first peak value (Hp) which is a distribution peak value from the histogram;
Differentiating the distribution line of the histogram to calculate a histogram differentiation first peak value (Dp) that is an inflection point of the distribution line;
Substituting the first peak value (Hp) and the histogram differential first peak value (Dp) into the following formula to calculate a threshold value used when binarizing the biological tissue image;
Obtaining a threshold line orthogonal to the regression line having the threshold as an intersection;
Calculating a threshold line using the threshold;
Performing a binarization process on a biological tissue image using a threshold line to obtain a binarized image;
An image processing method including:
<Formula>
(Hp−Dp) × variable + Dp = threshold variable: a value (0.5 to 0.9) determined in advance according to the biological tissue image to be a pathological diagnosis target - 前記生体組織画像が、癌組織の像が含まれているか否かを判断するための病理診断画像であり、
前記変数が0.6に設定されている、請求項1記載の画像処理方法。 The biological tissue image is a pathological diagnosis image for determining whether an image of a cancer tissue is included,
The image processing method according to claim 1, wherein the variable is set to 0.6. - 生体組織画像から選択された複数個の所定点を、各所定点の色濃度に基づいて、異なる二色のXY基準軸からなる二次元フィールド上にプロットして、所定点の散布図を作成する散布図作成手段と、
前記散布図における所定点の回帰直線を算出する回帰直線算出手段と、
前記回帰直線上の等間隔位置に、該回帰直線に対して直交する方向に指向する多数本の仮想直線を設定し、該仮想直線により区画される領域を前記二次元フィールド上に設定する領域設定手段と、
前記各領域に含まれる各所定点の数を示すヒストグラムを作成するヒストグラム作成手段と、
前記ヒストグラム作成手段により得られた前記ヒストグラムの分布線を微分して、一次微分曲線を得る微分手段と、
前記ヒストグラムの分布線から分布ピーク値である第1ピーク値(Hp)を得るとともに、前記微分手段により得られた一次微分曲線から該分布線の変曲点であるヒストグラム微分第1ピーク値(Dp)を得るピーク値算出手段と、
前記第1ピーク値(Hp)と前記ヒストグラム微分第1ピーク値(Dp)とを下記の数式に代入して、生体組織画像を二値化処理する際に使用する閾値を算出する閾値算出手段と、
前記閾値算出手段により得られた閾値を使って閾値直線を算出する閾値直線算出手段と、
前記閾値算出手段により得られた閾値を交点とする該回帰直線に対し直交する閾値直線を得る閾値直線算出手段と、
前記閾値直線を使って生体組織画像に対して二値化処理を施して二値化画像を得る二値化処理手段と、を備えることを特徴とする画像処理装置。
<数式>
(Hp-Dp)×変数+Dp=閾値 A plurality of predetermined points selected from a tissue image are plotted on a two-dimensional field consisting of XY reference axes of two different colors based on the color density of each predetermined point, and a scatter diagram for creating a scatter diagram of the predetermined points is created Drawing means;
Regression line calculating means for calculating a regression line of a predetermined point in the scatter diagram;
A region setting for setting a plurality of virtual straight lines oriented in a direction orthogonal to the regression line at equal intervals on the regression line, and setting a region partitioned by the virtual line on the two-dimensional field Means,
A histogram creating means for creating a histogram indicating the number of each predetermined point included in each region;
Differentiating means for differentiating the distribution line of the histogram obtained by the histogram creating means to obtain a primary differential curve;
A first peak value (Hp) that is a distribution peak value is obtained from the distribution line of the histogram, and a histogram differential first peak value (Dp) that is an inflection point of the distribution line is obtained from the primary differential curve obtained by the differentiating means. ) To obtain a peak value,
A threshold value calculation means for calculating a threshold value used when binarizing the biological tissue image by substituting the first peak value (Hp) and the histogram differential first peak value (Dp) into the following equation: ,
Threshold straight line calculating means for calculating a threshold straight line using the threshold obtained by the threshold calculating means;
Threshold line calculation means for obtaining a threshold line orthogonal to the regression line with the threshold obtained by the threshold calculation means as an intersection;
An image processing apparatus comprising: binarization processing means for performing binarization processing on a biological tissue image using the threshold line to obtain a binarized image.
<Formula>
(Hp−Dp) × variable + Dp = threshold - 前記生体組織画像が、癌組織の像が含まれているか否かを判断するための病理診断画像であり、
前記変数が0.6に設定されている、請求項3記載の画像処理装置。 The biological tissue image is a pathological diagnosis image for determining whether an image of a cancer tissue is included,
The image processing apparatus according to claim 3, wherein the variable is set to 0.6. - 請求項3又は4のいずれかに記載の画像処理装置を動作させるための画像処理プログラムであって、コンピュータを上記各手段として機能させるための画像処理プログラム。 An image processing program for operating the image processing apparatus according to claim 3 or 4 for causing a computer to function as each of the above means.
- 請求項5記載の画像処理プログラムが記録された、コンピュータにより読取可能な記録媒体。 A computer-readable recording medium on which the image processing program according to claim 5 is recorded.
Priority Applications (2)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
PCT/JP2012/000016 WO2013102949A1 (en) | 2012-01-04 | 2012-01-04 | Image processing method, image processing device, image processing program, and memory medium |
JP2013552329A JP5762571B2 (en) | 2012-01-04 | 2012-01-04 | Image processing method, image processing apparatus, image processing program, and recording medium |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
PCT/JP2012/000016 WO2013102949A1 (en) | 2012-01-04 | 2012-01-04 | Image processing method, image processing device, image processing program, and memory medium |
Publications (1)
Publication Number | Publication Date |
---|---|
WO2013102949A1 true WO2013102949A1 (en) | 2013-07-11 |
Family
ID=48745028
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
PCT/JP2012/000016 WO2013102949A1 (en) | 2012-01-04 | 2012-01-04 | Image processing method, image processing device, image processing program, and memory medium |
Country Status (2)
Country | Link |
---|---|
JP (1) | JP5762571B2 (en) |
WO (1) | WO2013102949A1 (en) |
Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JPH05501151A (en) * | 1989-02-24 | 1993-03-04 | セル・アナラシス・システムズ・インコーポレーテッド | Dual camera microscope and method for staining and analyzing cells |
JPH09119892A (en) * | 1995-10-26 | 1997-05-06 | Olympus Optical Co Ltd | Scanning-type cell-measuring apparatus |
JP2000500665A (en) * | 1997-04-18 | 2000-01-25 | アプライド スペクトラル イメージング リミテッド | Chromosome classification method |
JP2005535888A (en) * | 2002-08-09 | 2005-11-24 | ユニバーシティー オブ マサチューセッツ | Cancer diagnosis and prognosis |
Family Cites Families (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CA2485602C (en) * | 2002-05-14 | 2013-10-01 | Amersham Biosciences Niagara, Inc. | System and methods for rapid and automated screening of cells |
US8718377B2 (en) * | 2009-01-27 | 2014-05-06 | Osaka University | Image analysis apparatus, image analysis method, image analysis program and recording medium |
JP2011081648A (en) * | 2009-10-08 | 2011-04-21 | Olympus Corp | Pathological diagnosis support device and pathological diagnosis support system |
-
2012
- 2012-01-04 JP JP2013552329A patent/JP5762571B2/en not_active Expired - Fee Related
- 2012-01-04 WO PCT/JP2012/000016 patent/WO2013102949A1/en active Application Filing
Patent Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JPH05501151A (en) * | 1989-02-24 | 1993-03-04 | セル・アナラシス・システムズ・インコーポレーテッド | Dual camera microscope and method for staining and analyzing cells |
JPH09119892A (en) * | 1995-10-26 | 1997-05-06 | Olympus Optical Co Ltd | Scanning-type cell-measuring apparatus |
JP2000500665A (en) * | 1997-04-18 | 2000-01-25 | アプライド スペクトラル イメージング リミテッド | Chromosome classification method |
JP2005535888A (en) * | 2002-08-09 | 2005-11-24 | ユニバーシティー オブ マサチューセッツ | Cancer diagnosis and prognosis |
Also Published As
Publication number | Publication date |
---|---|
JPWO2013102949A1 (en) | 2015-05-11 |
JP5762571B2 (en) | 2015-08-12 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
US8849024B2 (en) | Image processing device and medium storing image processing program | |
JP5647878B2 (en) | Steel pipe internal corrosion analysis apparatus and steel pipe internal corrosion analysis method | |
Ganesan et al. | Segmentation and edge detection of color images using CIELAB color space and edge detectors | |
US9916666B2 (en) | Image processing apparatus for identifying whether or not microstructure in set examination region is abnormal, image processing method, and computer-readable recording device | |
JP5995215B2 (en) | Cancer cell region extraction apparatus, method, and program | |
CN102393959A (en) | Image processing apparatus, image processing method, and image processing program | |
US20110057946A1 (en) | Image processing method, image processing apparatus, and computer-readable recording medium storing image processing program | |
US10620417B2 (en) | Method for generating a reflection-reduced contrast image and corresponding device | |
TWI630581B (en) | Cytological image processing device and method for quantifying characteristics of cytological image | |
US20130170756A1 (en) | Edge detection apparatus, program and method for edge detection | |
US20130114911A1 (en) | Post processing for improved generation of intrinsic images | |
WO2019181072A1 (en) | Image processing method, computer program, and recording medium | |
JP2016538537A (en) | Registration method | |
JP7171549B2 (en) | Image analysis evaluation method, computer program, image analysis evaluation device | |
US20150260973A1 (en) | Focus determination apparatus, focus determination method, and imaging apparatus | |
US11210791B2 (en) | Computer-implemented method for locating possible artifacts in a virtually stained histology image | |
Pollatou | An automated method for removal of striping artifacts in fluorescent whole-slide microscopy | |
JP5762571B2 (en) | Image processing method, image processing apparatus, image processing program, and recording medium | |
JP5860970B2 (en) | Post-processing to improve eigenimage generation | |
EP3590404A1 (en) | Image processing apparatus, image forming method, and program | |
CN106462964B (en) | Method and digital microscope for being split to color image | |
US20160320603A1 (en) | Method for generating a contrast image of an object structure and apparatuses relating thereto | |
WO2020107196A1 (en) | Photographing quality evaluation method and apparatus for photographing apparatus, and terminal device | |
WO2019239532A1 (en) | Image processing device, image processing method and program | |
Tosi et al. | 3D tracking of migrating cells from live microscopy time-lapses |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
121 | Ep: the epo has been informed by wipo that ep was designated in this application |
Ref document number: 12864028 Country of ref document: EP Kind code of ref document: A1 |
|
ENP | Entry into the national phase |
Ref document number: 2013552329 Country of ref document: JP Kind code of ref document: A |
|
NENP | Non-entry into the national phase |
Ref country code: DE |
|
122 | Ep: pct application non-entry in european phase |
Ref document number: 12864028 Country of ref document: EP Kind code of ref document: A1 |