Medical image processing apparatus, oct apparatus, and medical image processing program
The medical image processing device and program enhance the understanding of tissue changes by correlating and aligning three-dimensional images, addressing the challenge of low segmentation accuracy in existing systems.
Patent Information
- Application Number
- JP2023059149
- Authority / Receiving Office
- JP · JP
- Patent Type
- Applications
- Current Assignee / Owner
- Filing Date
- 2023-03-31
- Publication Date
- 2024-10-15
AI Technical Summary
Existing medical image processing systems struggle to accurately understand differences between multiple three-dimensional images, particularly when segmentation processing accuracy is low, making it difficult to detect subtle changes in biological tissues over time.
A medical image processing device and program that analyze three-dimensional image data by calculating correlations between images taken at different times, using techniques such as template matching and normalized cross-correlation to generate similarity maps, allowing for precise comparison of biological tissue changes.
Enables users to intuitively grasp differences and changes in biological tissues over time by providing detailed correlation maps and aligned two-dimensional images, enhancing medical treatment efficiency.
Smart Images

Figure 2024146325000001_ABST
Abstract
Description
[Technical field]
[0001] The present disclosure relates to a medical image processing device that processes image data of a three-dimensional image of biological tissue, an OCT device, and a medical image processing program executed in the medical image processing device. [Background technology]
[0002] Three-dimensional images of biological tissues are useful for assisting medical professionals in the treatment of patients. In recent years, a technique has been proposed that allows users such as medical professionals to understand differences between multiple three-dimensional images (e.g., changes over time in biological tissues that appear in multiple three-dimensional images) by processing multiple three-dimensional images taken of the same biological tissue. For example, the device described in Patent Document 1 performs segmentation processing on a three-dimensional image of the fundus, which is an example of biological tissue, to detect layers that appear in the three-dimensional image, and generates an analysis map that shows the two-dimensional distribution of the thickness of a specific layer. In addition, conventional devices can also capture images of the same position of the same subject at different times and generate an analysis map for each of the multiple three-dimensional images taken. The multiple analysis maps generated may be used to allow users to understand changes over time in tissues. [Prior art documents] [Patent documents]
[0003] [Patent Document 1] Patent Publication No. 2021-100704 Summary of the Invention [Problem to be solved by the invention]
[0004] When using segmentation processing for three-dimensional images, if the accuracy of the segmentation processing for at least one of the three-dimensional images is low, it is difficult for the user to accurately grasp the differences between the multiple three-dimensional images. In addition, it is difficult to reflect changes over time that have little effect on layers (for example, changes over time in white spots that appear in tissues) in the results of the segmentation processing. The inventor of the present invention has newly discovered a technology different from segmentation processing to allow the user to properly grasp the differences between multiple three-dimensional images.
[0005] A typical object of the present disclosure is to provide a medical image processing device, an OCT device, and a medical image processing program that enable a user to appropriately grasp the differences between multiple three-dimensional images. [Means for solving the problem]
[0006] A medical image processing device provided by a typical embodiment of the present disclosure is a medical image processing device that processes image data of biological tissue, and the image data is image data of a three-dimensional image in which multiple Z-direction images extending in the Z direction, which is the depth direction of the biological tissue, are arranged in two-dimensional XY directions that intersect the Z direction, and a control unit of the medical image processing device executes an image data acquisition step of acquiring first image data and second image data that are taken at different times for the biological tissue of the same subject and have at least a portion of the shooting positions that overlap with each other, a correlation acquisition step of acquiring, for each position in the X and Y directions, a correlation between the Z-direction image of the first image data and the Z-direction image of the second image data, among the multiple Z-direction images included in each of the first image data and the second image data, where the shooting positions of the biological tissue in the X and Y directions coincide with each other, and a correlation output step of processing and outputting the multiple correlations acquired for each position in the X and Y directions.
[0007] An OCT device provided by a typical embodiment of the present disclosure is an OCT device that captures image data of biological tissue by receiving interference light between a reference light and reflected light of a measurement light irradiated onto the biological tissue, and the image data is image data of a three-dimensional image in which multiple Z-direction images extending in the Z direction, which is the depth direction of the biological tissue, are arranged in two-dimensional XY directions that intersect the Z direction, and a control unit of the OCT device executes an image data acquisition step of acquiring first image data and second image data that are captured at different times for the biological tissue of the same subject and have at least a portion of the capturing positions that overlap with each other, a correlation acquisition step of acquiring, for each position in the XY directions, a correlation between the Z-direction image of the first image data and the Z-direction image of the second image data, among the multiple Z-direction images included in each of the first image data and the second image data, where the capturing positions of the biological tissue in the XY directions coincide with each other, and a correlation output step of processing and outputting the multiple correlations acquired for each position in the XY directions.
[0008] A medical image processing program provided by a typical embodiment of the present disclosure is a medical image processing program executed by a medical image processing device that processes image data of biological tissue, the image data being a three-dimensional image in which multiple Z-direction images extending in the Z direction, which is the depth direction of the biological tissue, are arranged in a two-dimensional XY direction that intersects the Z direction, and the medical image processing program is executed by a control unit of the medical image processing device to cause the medical image processing device to execute an image data acquisition step of acquiring first image data and second image data that are taken of the biological tissue of the same subject at different times and in which at least a portion of the shooting positions overlap with each other, a correlation acquisition step of acquiring, for each position in the XY directions, the correlation between the Z-direction image of the first image data and the Z-direction image of the second image data, among the multiple Z-direction images contained in each of the first image data and the second image data, in which the shooting positions of the biological tissue in the XY directions coincide with each other, and a correlation output step of processing and outputting the multiple correlations acquired for each position in the XY directions.
[0009] According to the medical image processing device, OCT device, and medical image processing program of the present disclosure, the difference between multiple three-dimensional images can be appropriately grasped by the user. [Brief description of the drawings]
[0010] [Figure 1] FIG. 1 is a block diagram showing a schematic configuration of a medical image processing system 100. [Diagram 2] 1 is an explanatory diagram for explaining a method in which the imaging device 1 of the present embodiment captures a three-dimensional image of a biological tissue 50. FIG. [Diagram 3] FIG. 6 is an explanatory diagram for explaining a state in which a three-dimensional image is composed of a plurality of two-dimensional images 61. [Figure 4] FIG. 2 is a diagram showing an example of a three-dimensional image 60. [Diagram 5] 1 is a diagram showing an example of a plurality of Z direction images 62 included in a two-dimensional image 61. FIG. [Figure 6] FIG. 2 is a diagram showing an example of medical image processing executed by a medical image processing apparatus 40. [Figure 7] FIG. 13 is a diagram showing an example of a first front image 65A generated from a first three-dimensional image 60A, and a second front image 65B generated from a second three-dimensional image 60B. [Figure 8] 10 is an explanatory diagram for explaining a method of acquiring the correlation and displacement between Z direction images 62A and 62B at the same position in the XY direction. FIG. [Figure 9] FIG. 2 is a diagram showing an example of a similarity map 70. [Figure 10] 13 is a flowchart of a two-dimensional image display process executed during medical image processing. [Figure 11] FIG. 13 is a diagram showing an example of a state in which an extraction position 75 of a two-dimensional image is set on a similarity map 70. [Figure 12] 1A is a diagram showing an example of a first two-dimensional image 61A, a second two-dimensional image 61B, and a composite two-dimensional image 69. FIG. DETAILED DESCRIPTION OF THE PREFERRED EMBODIMENTS
[0011] <Summary> A first aspect of the medical image processing device exemplified in the present disclosure processes image data of biological tissue. The image data is image data of a three-dimensional image in which a plurality of Z-direction images extending in the Z direction, which is the depth direction of the biological tissue, are arranged in two-dimensional XY directions intersecting the Z direction. A control unit of the medical image processing device executes an image data acquisition step, a correlation acquisition step, and a correlation output step. In the image data acquisition step, the control unit acquires first image data and second image data that are photographed at different times for biological tissue of the same subject and in which at least a part of the photographing positions overlap each other. In the correlation acquisition step, the control unit acquires, for each position in the XY direction, a correlation (which may be expressed as "similarity") between a Z-direction image in the first image data and a Z-direction image in the second image data, in which the photographing positions of the biological tissue in the XY direction match each other, among a plurality of Z-direction images included in each of the first image data and the second image data. In the correlation output step, the control unit processes and outputs a plurality of correlations acquired for each position in the XY direction.
[0012] According to the technology according to the first aspect of the present disclosure, the correlation between two Z direction images (i.e., a Z direction image in the first image data and a Z direction image in the second image data) whose photographing positions in the XY direction coincide with each other is acquired for each position in the XY direction. At positions in the XY direction where the difference between the first image data and the second image data is small (e.g., positions where the change in the biological tissue is small), the correlation between the two Z direction images is strong. On the other hand, at positions in the XY direction where the difference between the first image data and the second image data is large (e.g., positions where the change in the biological tissue is large), the correlation between the two Z direction images is weak. Therefore, the user can appropriately grasp the difference between the first image data and the second image data by checking the correlation information acquired for each position in the XY direction. For example, the user can appropriately grasp the change over time of the biological tissue between the time when the first image data is photographed and the time when the second image data is photographed by checking the correlation information acquired for each position in the XY direction.
[0013] In the present disclosure, a case where image data of a three-dimensional image captured by an OCT device is processed is exemplified. The OCT device can capture a three-dimensional image (three-dimensional tomographic image) of a biological tissue by utilizing the principle of optical coherence tomography. As an example, the OCT device in the present disclosure captures a three-dimensional image by scanning a spot of light (measurement light) in a two-dimensional direction. However, the irradiation optical system of the OCT device may simultaneously irradiate a two-dimensional area on the tissue of the subject with measurement light. In this case, the light receiving element may be a two-dimensional light receiving element that detects an interference signal in a two-dimensional area on the tissue. That is, the OCT device may capture a three-dimensional image by the principle of so-called full-field OCT (FF-OCT). In addition, the OCT device may simultaneously irradiate measurement light on an irradiation line extending in a one-dimensional direction in the tissue and scan the measurement light in a direction intersecting the irradiation line. In this case, the light receiving element may be a one-dimensional light receiving element (e.g., a line sensor) or a two-dimensional light receiving element. That is, the OCT device may capture a three-dimensional image based on the principle of so-called line-field OCT (LF-OCT).
[0014] However, the technology exemplified in this disclosure can also be applied to the processing of image data captured by an imaging device other than an OCT device. For example, the technology exemplified in this disclosure may be used to process image data captured by an MRI (magnetic resonance imaging) device, a CT (computed tomography) device, or the like.
[0015] In the present disclosure, a one-dimensional image (so-called A-scan image) extending in the Z direction along the optical axis of the light capturing the OCT image is processed as the Z direction image. However, the Z direction image is not limited to the A-scan image. For example, even if the three-dimensional image is an image different from the OCT image, a plurality of pixel rows arranged in the Z direction may be processed as the Z direction image. Also, a set of a plurality of pixel rows extending in the Z direction may be processed as the Z direction image. In other words, each Z direction image may include a plurality of pixels in the XY directions as well.
[0016] A method for acquiring the correlation between two Z-direction images (i.e., a Z-direction image in the first image data and a Z-direction image in the second image data) whose shooting positions in the XY direction are the same can be appropriately selected. For example, the control unit may acquire the correlation by searching for a correlation value when the correlation between the two Z-direction images becomes strongest while changing the relative position in the Z direction of the two Z-direction images whose shooting positions are the same. This method is known as template matching. In this case, the Z-direction displacement between the two Z-direction images is also detected together with the highest correlation value between the two Z-direction images. In addition, at least one of normalized cross-correlation, correlation coefficient, phase correlation, etc. may be used as a method for acquiring the correlation. SSD (sum of squared errors), SAC (sum of absolute errors), etc. may be acquired as the correlation. In this case, the smaller the value, the higher the similarity between the two Z-direction images.
[0017] In the correlation output step, the control unit may execute a process for generating a similarity map that indicates a two-dimensional distribution in the X and Y directions of the strength of correlation obtained for each position in the X and Y directions, and output the generated similarity map.
[0018] In this case, the user can intuitively grasp the two-dimensional distribution in the XY direction of the strength of correlation (i.e., the level of similarity) between the first image data and the second image data by checking the output similarity map. For example, the user can appropriately grasp the position in the XY direction where the biological tissue is likely to change significantly over time by checking the output similarity map.
[0019] The control unit may further execute an extraction position receiving step and an extraction display step. In the extraction position receiving step, the control unit receives an instruction by a user to specify an extraction position of the two-dimensional image on the similarity map displayed and output on the display unit. In the extraction display step, when the instruction to specify the extraction position is received in the extraction position receiving step, the control unit extracts a two-dimensional image that passes through the specified extraction position and spreads in the Z direction from at least one of the first image data and the second image data, and displays the two-dimensional image on the display unit.
[0020] In this case, the user can display a two-dimensional image at an appropriate position after grasping the two-dimensional distribution of the strength of correlation between the first image data and the second image data shown by the similarity map. For example, at a position where the correlation is weak shown by the similarity map, there is a high possibility that the change over time of the biological tissue in the image is large between the first image data and the second image data. Therefore, the user can appropriately grasp the change over time of the biological tissue by the two-dimensional image by specifying the extraction position at the position where the correlation is weak on the similarity map. Furthermore, the user can grasp the position where the two-dimensional image is extracted on the similarity map. This makes it easier to further improve the efficiency of medical treatment.
[0021] A specific method for accepting an instruction to specify an extraction position by a user can be appropriately selected. For example, an instruction to specify an extraction position can be accepted by having a user specify a linear extraction position on a two-dimensional similarity map. In this case, the user can specify a linear extraction position by operating an operation unit (e.g., at least one of a mouse and a touch panel). The shape of the line indicating the extraction position can also be various shapes such as a straight line, a curved line, a ring, etc. Needless to say, a plurality of extraction positions can be specified. In addition, the user can specify a linear extraction position of any shape on the similarity map by operating at least one of a mouse and a touch panel (e.g., dragging the mouse, etc.).
[0022] In the extraction display step, the control unit may extract two-dimensional images that pass through the extraction position specified in the extraction position receiving step and extend in the Z direction from each of the first image data and the second image data, and display them on the display unit.
[0023] In this case, the user can easily compare the two-dimensional image in the first image data with the two-dimensional image in the second image data for the same extraction position specified based on the strength of correlation between the first image data and the second image data. For example, the user can specify the extraction position at a position in the similarity map where the correlation is weak, and compare the two displayed two-dimensional images to more appropriately grasp the change over time of the biological tissue.
[0024] The display method of the two two-dimensional images extracted from the same positions of the first image data and the second image data can be selected appropriately. For example, the control unit may cause the display unit to display the two extracted two-dimensional images side by side, or may cause the display unit to switch (alternately) between the two two-dimensional images. The control unit may also cause the two extracted two-dimensional images to be synthesized and displayed by a method described later.
[0025] The control unit may further execute an extraction position automatic setting step and an extraction display step. In the extraction position automatic setting step, the control unit automatically sets an extraction position of the two-dimensional image to a position including a position on the similarity map where the correlation is weakest. In the extraction display step, the control unit may extract a two-dimensional image that passes through the extraction position automatically set in the extraction position automatic setting step and spreads in the Z direction from at least one of the first image data and the second image data, and display the two-dimensional image on the display unit.
[0026] In this case, the user can easily check the two-dimensional image at the position where the correlation between the first image data and the second image data shown by the similarity map is the weakest. For example, at the position where the correlation between the first image data and the second image data is the weakest, there is a high possibility that the change over time of the biological tissue shown in the image is large between the first image data and the second image data. Therefore, the efficiency of follow-up observation by the user is also easily improved.
[0027] As described above, the extraction position may be a line. The shape of the line indicating the extraction position may be a straight line, a curved line, a ring, or any other shape. A plurality of extraction positions may be specified.
[0028] A specific method for automatically setting the extraction position of the two-dimensional image can be appropriately selected. For example, the control unit may search for a position where the cumulative value of correlation is the weakest at an extraction position of a predetermined shape (e.g., a line shape, etc.) and automatically set the searched position as the extraction position. The control unit may also automatically set the extraction position to a linear position that has the position of the weakest correlation as its center and extends in a predetermined direction (e.g., the X direction or the Y direction, etc.). The control unit may automatically set the extraction position to a linear position that passes through both the position of the weakest correlation and a reference position on the image (e.g., the center of the macula or the center of the optic disc, etc.).
[0029] In the extraction display step, the control unit may extract two-dimensional images that pass through the extraction position automatically set in the extraction position automatic setting step and extend in the Z direction from each of the first image data and the second image data, and display them on the display unit.
[0030] In this case, the user can easily compare the two-dimensional image in the first image data with the two-dimensional image in the second image data for the same extraction position including the position where the correlation between the first image data and the second image data is weakest. Therefore, the user's medical treatment can be more appropriately assisted. As described above, various methods can be selected for the display method of the two two-dimensional images.
[0031] In the correlation output step, the control unit may execute a process of integrating a plurality of correlation values acquired for each position in the X and Y directions, and output the calculated integrated correlation value.
[0032] In this case, the user can appropriately grasp the difference between the first image data and the second image data by the outputted integrated value of correlation. For example, the user can grasp the degree of overall time-dependent change of the biological tissue between the time of capturing the first image data and the time of capturing the second image data by the integrated value of correlation. In addition, the integrated value of correlation can evaluate the accuracy of the alignment of the first image data and the second image data when the correlation between the Z-direction images is acquired. In addition, if the accuracy of capturing at least one of the first image data and the second image data is low, the integrated value of correlation is low. Therefore, the capturing accuracy of the image can be evaluated by the integrated value of correlation. For example, when the second image data is newly captured, if the integrated value of the correlation between the first image data and the second image data is less than a threshold value, the control unit may determine that the capturing accuracy of the second image data is low and output an instruction to recapture the second image data.
[0033] The method of integrating the multiple correlation values can be appropriately selected. For example, the control unit may integrate the multiple correlation values by calculating the average value, median value, maximum value, minimum value, etc. of the multiple correlation values. The control unit may also calculate the number or percentage of correlations whose values exceed a threshold value or whose values are less than a threshold value as an integrated value.
[0034] The control unit may further execute a first front image generating step and a second front image generating step. In the first front image generating step, the control unit generates a two-dimensional first front image of the subject viewed from the Z direction based on the first image data. In the second front image generating step, the control unit generates a two-dimensional second front image of the subject viewed from the Z direction based on the second image data. In the correlation acquiring step, the control unit may acquire the correlation by identifying, based on the first front image and the second front image, a Z direction image of the first image data and a Z direction image of the second image data in which the photographing positions of the biological tissue in the XY directions match each other.
[0035] In this case, a front image is generated from the first image data and the second image data themselves, which need to identify the same position in the XY direction, and the same position is identified based on the generated front image. Therefore, compared to the case where other methods are used (for example, a method of identifying the same position based on a front image captured by a different principle from that of the first image data and the second image data), the same position in the XY direction of the first image data and the second image data can be identified more accurately.
[0036] A specific method for generating a front image (first front image and second front image) based on image data (first image data and second image data) can be appropriately selected. For example, the control unit may generate a front image by adding (or averaging) pixel values of a plurality of pixels arranged in the Z direction for each of a plurality of Z direction images included in the image data. The control unit may also generate a front image (so-called Enface image) based on pixel values at a specific position or range (for example, pixel values of a specific layer, pixel values of a specific boundary, or pixel values within a range of a specific layer / boundary, among layers and boundaries shown in the image data) among a plurality of Z direction images included in the image data. In this case, the control unit may execute a segmentation process to detect at least any layer / boundary shown in the image data, and generate a front image based on the result of the segmentation process.
[0037] The control unit may identify the Z-direction image of the first image data and the Z-direction image of the second image data in which the photographing positions of the biological tissue in the XY direction coincide with each other by aligning the first front image with the second front image. In this case, by aligning the first front image with the second front image, the positions of the Z-direction image of the first image data and the Z-direction image of the second image data coincide with each other in the entire range in the XY direction. Therefore, the same position in the XY direction of the first image data and the second image data can be more easily and accurately identified. When aligning the first front image with the second front image, the control unit may change the relative position and angle between the two front images while overlapping the first front image with the second front image. The control unit may align the two front images by searching for the position and angle at which the correlation between the two front images is strongest. In addition, the first front image and the second front image may be aligned by using a method such as image local feature (for example, SIFT: Scale-Invariant Feature Transform) or rotation-invariant phase-only correlation.
[0038] The control unit may also specify the same position in the XY directions of the first image data and the second image data without actually aligning the first front image and the second front image. For example, the control unit may calculate a positional shift between the biological tissue captured in the first front image and the biological tissue captured in the second front image, and specify the Z-direction image of the first image data and the Z-direction image of the second image data in which the photographing positions of the biological tissue in the XY directions coincide with each other based on the calculated positional shift.
[0039] It is also possible to change the method for identifying the same position in the XY direction of the first image data and the second image data. For example, when the first image data is captured, a front image may be captured at the same shooting position as the first image data, but with a different shooting principle from that of the first image data. Similarly, when the second image data is captured, a front image may be captured at the same shooting position as the second image data, but with a different shooting principle from that of the second image data. The control unit may identify the same position in the XY direction of the first image data and the second image data based on the front image captured with a different shooting principle from that of the first image data and the second image data.
[0040] The control unit may further execute a first intra-image alignment step and a second intra-image alignment step. In the first intra-image alignment step, the control unit aligns in the Z direction between the multiple Z direction images included in the first image data. In the second intra-image alignment step, the control unit aligns in the Z direction between the multiple Z direction images included in the second image data.
[0041] At least some of the multiple Z-direction images included in the three-dimensional image data may include Z-direction images whose positions in the Z direction are out of the normal position due to, for example, the movement of biological tissue during imaging, the vibration of the device, etc. By performing registration between the multiple Z-direction images, various effects caused by images whose positions in the Z direction are out of the normal position are suppressed. For example, when a two-dimensional image is extracted from at least one of the first image data and the second image data, the positional deviation in the Z direction of each Z-direction image included in the extracted two-dimensional image is suppressed, so that a more appropriate two-dimensional image can be easily extracted.
[0042] In the correlation acquisition step, the control unit may acquire correlations between the positions in the XY directions between the entire captured first image data and the entire captured second image data. In this case, the difference between the first image data and the second image data is appropriately grasped over the entire captured range of the image. Therefore, the user's medical treatment, etc. can be more appropriately assisted.
[0043] However, the control unit can also obtain the correlation between positions in the X and Y directions between some areas common to the first image data and the second image data.
[0044] The date on which the first image data is captured may be different from the date on which the second image data is captured. In this case, the change over time of the biological tissue between the time when the first image data is captured and the time when the second image data is captured can be easily and appropriately understood. Therefore, the progress of the biological tissue can be more easily and appropriately observed.
[0045] The control unit may input at least one of the first image data and the second image data to a mathematical model trained by a machine learning algorithm to obtain a probability distribution for identifying at least one of a layer and a boundary in the fundus tissue shown in the input three-dimensional image, and generate a deviation map based on the obtained probability distribution. The deviation map indicates a two-dimensional distribution of deviation of the obtained probability distribution with respect to a probability distribution when the layer or boundary to be identified is accurately identified. The control unit may display and output the deviation map and the similarity map on the display unit simultaneously or by switching between them.
[0046] As a premise, when there is no abnormality in the structure of the layers and boundaries, the layers and boundaries are easily identified accurately by the mathematical model, and the probability distribution when identifying the layers and boundaries by the mathematical model is easily biased. On the other hand, when there is an abnormality in the structure of the layers and boundaries, the probability distribution is less likely to be biased. Therefore, the degree of abnormality in the structure of the layers and boundaries is easily reflected in the discrepancy map showing the two-dimensional distribution of the degree of discrepancy between the probability distribution when the layers and boundaries are accurately identified and the actually obtained probability distribution. Also, as described above, the similarity map makes it easy to appropriately grasp the positions in the XY direction where the change over time of the biological tissue is likely to be large. Therefore, by displaying the discrepancy map and the similarity map simultaneously or by switching them on the display unit, the user can more appropriately grasp the state of the biological tissue of the subject. The control unit may determine whether to simultaneously display the discrepancy map and the similarity map, or whether to switch between the display of the discrepancy map and the similarity map, according to an instruction input by the user. In this case, the map desired by the user is appropriately displayed on the display unit, which further improves the efficiency of medical treatment, etc., performed by the user.
[0047] The control unit may generate a thickness map showing a two-dimensional distribution of an analysis result of a thickness of at least any layer in the fundus tissue captured in at least one of the first image data and the second image data. The control unit may display and output the thickness map and the similarity map simultaneously or by switching between them on the display unit.
[0048] According to the thickness map, the distribution of the thickness of the layer of the biological tissue can be appropriately understood. Also, as described above, according to the similarity map, the position in the XY direction where the biological tissue is likely to change significantly over time can be easily appropriately understood. Therefore, by displaying the thickness map and the similarity map simultaneously or by switching them on the display unit, the user can easily and appropriately understand the state of the biological tissue of the subject. In addition, the control unit may determine whether to execute simultaneous display of the thickness map and the similarity map, whether to execute switching display of the thickness map and the similarity map, etc., according to an instruction input by the user. In this case, the map desired by the user is appropriately displayed on the display unit, so that the efficiency of the medical treatment by the user can be further improved.
[0049] Furthermore, the control unit can display at least two of the deviation map, the thickness map, and the similarity map on the display unit simultaneously or by switching between them. Furthermore, a map showing a two-dimensional distribution of information on biological tissue other than the deviation map and the thickness map, which is generated based on at least one of the first image data and the second image data, may be displayed simultaneously with the similarity map or by switching between them.
[0050] A second aspect of the medical image processing device exemplified in the present disclosure processes image data of biological tissue. A control unit of the medical image processing device executes a two-dimensional image acquisition step and a composite display step. In the two-dimensional image acquisition step, the control unit acquires a first two-dimensional image and a second two-dimensional image, which are images of the same type of biological tissue. In the composite display step, the control unit causes the first two-dimensional image and the second two-dimensional image to be composited in an overlaid state and displayed on the display unit.
[0051] According to the technology of the second aspect of the present disclosure, a first two-dimensional image and a second two-dimensional image of the same kind of biological tissue are displayed on a display unit in a superimposed and composite state. Therefore, a user can appropriately compare the difference between the biological tissues shown in the first two-dimensional image and the second two-dimensional image by checking the two-dimensional image (hereinafter referred to as the "composite two-dimensional image") compositely displayed on the display unit.
[0052] In the composite display step, the control unit may composite the first two-dimensional image and the second two-dimensional image in different colors and display them. In this case, in one composite two-dimensional image, the subject appearing in the first two-dimensional image and the subject appearing in the second two-dimensional image are displayed in different colors. Therefore, the user can more appropriately grasp the change over time of the biological tissue between the time when the first image data was captured and the time when the second image data was captured by the composite two-dimensional image.
[0053] In the composite display step, the control unit may set a background color, which is the color of pixels in the background where the subject is not shown, to black or white. The color of pixels in the area where the subject is shown in the first two-dimensional image is set to a first color. The color of pixels in the area where the subject is shown in the second two-dimensional image is set to a second color. The control unit may set a combination of the first and second colors such that when the two colors are composited, the combination becomes the opposite color to the background color (black or white).
[0054] In this case, at the position where the subject of the first two-dimensional image and the subject of the second two-dimensional image overlap, the subject is expressed in a color (white or black) opposite to the background color. That is, at the position where the subject of the first two-dimensional image and the subject of the second two-dimensional image overlap, the subject is expressed in grayscale. Furthermore, at the position where the subject of the first two-dimensional image and the subject of the second two-dimensional image do not overlap, the subject of the first two-dimensional image is expressed in a first color, and the subject of the second two-dimensional image is expressed in a second color. As a result, at the position where the subject of the first two-dimensional image and the subject of the second two-dimensional image do not overlap, the subject of each two-dimensional image is appropriately recognized by the first color and the second color, not by grayscale. Therefore, the user can intuitively recognize each of the parts where only the subject of the first two-dimensional image is reflected, the parts where only the subject of the second two-dimensional image is reflected, the parts where the subject of the first two-dimensional image and the subject of the second two-dimensional image overlap, and the background parts.
[0055] In other words, if the composite color of the first and second colors is not the opposite color to the background, the three colors, the first color, the second color, and the composite color, are included in the composite two-dimensional image, which tends to reduce the visibility of the subject. For example, if the first color is red and the second color is green, the composite color of red and green, yellow, is also included in the composite two-dimensional image. In contrast, if the composite color of the first and second colors is the opposite color to the background color, the position where the two subjects overlap is shown in grayscale, which tends to improve the visibility of the subject.
[0056] A specific combination of the first color and the second color can be appropriately selected. For example, when the background color is black, the control unit may set a composite color of two primary colors of the three primary colors (red, green, blue) of light that become white when all colors are combined as one of the first color and the second color, and set the remaining primary color as the other color. As an example, when the background color is black, the control unit may set magenta, which is a composite of red and blue, as the first color, and green, which is the remaining primary color, as the second color. Also, when the background color is white, the control unit may set a composite color of two primary colors of the three primary colors (cyan, magenta, yellow) of color materials that become black when all colors are combined as one of the first color and the second color, and set the remaining primary color as the other color.
[0057] However, the position where the subject of the first two-dimensional image and the subject of the second two-dimensional image overlap can also be expressed in a color other than grayscale (i.e., white or black). Even in this case, by setting the first color and the second color to different colors, each of the areas where only the subject of the first two-dimensional image appears, the area where only the subject of the second two-dimensional image appears, the area where the subject and the subject of the second two-dimensional image overlap in the second two-dimensional image, and the background area can be appropriately grasped.
[0058] The control unit may further execute a two-dimensional image similarity map output step of calculating similarities between partial images that are in the same position as a result of aligning the first and second two-dimensional images among a plurality of partial images constituting each of the first and second two-dimensional images, and outputting a two-dimensional image similarity map showing a two-dimensional distribution of the calculated similarities. In this case, the user can intuitively grasp the distribution of similarities when the first and second two-dimensional images are aligned by checking the output two-dimensional image similarity map. Therefore, the user can more appropriately grasp the change over time of the biological tissue between the time when the first image data is captured and the time when the second image data is captured.
[0059] The partial image serving as a unit for obtaining the similarity between the first two-dimensional image and the second two-dimensional image may be a pixel constituting each image. In this case, the distribution of the similarity between the two images is shown for each pixel, making it easier to grasp the change over time of the biological tissue in detail. However, it is also possible to change the unit of the partial image. For example, the similarity may be obtained by using a rectangular partial image including a plurality of pixels as a unit. Also, the similarity may be obtained by using a Z-direction image, which is a set of a plurality of pixels extending in the Z direction, as the partial image.
[0060] A specific method for generating the two-dimensional image similarity map can be appropriately selected. For example, the two-dimensional image similarity map may be generated by using a known SSIM (Structural Similarity). In this case, the SSIM is calculated in a small region including a plurality of pixels. A plurality of SSIMs are calculated while shifting the relative positions of the two small regions, and the average value of the calculated plurality of SSIMs is set as the similarity. As a result, in addition to information (e.g., brightness and contrast) of a pair of partial images at the same position, information of the surrounding partial images is also used, so that the difference in the structure of the images can also be evaluated.
[0061] The image data may be image data of a three-dimensional image extending in a Z direction, which is a depth direction of the biological tissue, and two-dimensional XY directions intersecting the Z direction. The control unit may further execute an image data acquisition step and an extraction position setting step. In the image data acquisition step, the control unit acquires first image data and second image data, which are photographed at different times for biological tissue of the same subject, and in which at least a part of the photographing positions overlap each other. In the extraction position setting step, the control unit sets an extraction position for extracting a two-dimensional image within a photographing range in the XY direction common to the first image data and the second image data. In the two-dimensional image acquisition step, the control unit may acquire a first two-dimensional image and a second two-dimensional image by extracting two-dimensional images from the same extraction position, which is common to the positions in the biological tissue depicted in the images, of each of the first image data and the second image data. In the synthesis display step, the control unit may synthesize the first two-dimensional image extracted from the extraction position of the first image data and the second two-dimensional image extracted from the extraction position of the second image data in a state of being aligned, and display the synthesized images on the display unit.
[0062] In this case, two-dimensional images (i.e., the first two-dimensional image and the second two-dimensional image) are automatically extracted from the same position in the biological tissue captured in each of the first image data and the second image data. The extracted first two-dimensional image and the second two-dimensional image are compositely displayed on the display unit in a registered state. Therefore, the user can properly compare the subjects of the first two-dimensional image and the second two-dimensional image, which are captured at a common position in the biological tissue, by checking the composite two-dimensional image (hereinafter, referred to as the "composite two-dimensional image") displayed on the display unit. Therefore, the user can properly grasp the change over time of the biological tissue between the time when the first image data is captured and the time when the second image data is captured, by using the composite two-dimensional image.
[0063] In the present disclosure, a case where image data of a three-dimensional image captured by an OCT device is processed is exemplified. The OCT device can capture a three-dimensional image (three-dimensional tomographic image) of a biological tissue by utilizing the principle of optical coherence tomography. As an example, the OCT device in the present disclosure captures a three-dimensional image by scanning a spot of light (measurement light) in a two-dimensional direction. However, the irradiation optical system of the OCT device may simultaneously irradiate a two-dimensional area on the tissue of the subject with measurement light. In this case, the light receiving element may be a two-dimensional light receiving element that detects an interference signal in a two-dimensional area on the tissue. That is, the OCT device may capture a three-dimensional image by the principle of so-called full-field OCT (FF-OCT). In addition, the OCT device may simultaneously irradiate measurement light on an irradiation line extending in a one-dimensional direction in the tissue and scan the measurement light in a direction intersecting the irradiation line. In this case, the light receiving element may be a one-dimensional light receiving element (e.g., a line sensor) or a two-dimensional light receiving element. That is, the OCT device may capture a three-dimensional image based on the principle of so-called line-field OCT (LF-OCT).
[0064] However, the technology exemplified in this disclosure can also be applied to the processing of image data captured by an imaging device other than an OCT device. For example, the technology exemplified in this disclosure may be used to process image data captured by an MRI (magnetic resonance imaging) device, a CT (computed tomography) device, or the like.
[0065] It is also possible to change the method of acquiring the first and second two-dimensional images in the two-dimensional image acquiring step. For example, the control unit may execute an image data acquiring step of acquiring image data of a three-dimensional image of the biological tissue extending in the Z direction, which is the depth direction of the biological tissue, and the two-dimensional XY direction intersecting the Z direction. In the two-dimensional image acquiring step, the control unit may acquire the first and second two-dimensional images by extracting two-dimensional images from each of two extraction positions, which are different positions in the biological tissue shown in the image, from the image data of one acquired three-dimensional image. In the composite display step, the control unit may composite the first and second two-dimensional images in an overlapping state and display them on the display unit. In this case, the first and second two-dimensional images extracted from different positions in one three-dimensional image are compositely displayed. Therefore, the user can appropriately compare the difference between the biological tissues shown in the first and second two-dimensional images, which are different in the photographing positions (extraction positions) of one biological tissue, by using the composite two-dimensional image.
[0066] A specific method for extracting a two-dimensional image from each of two extraction positions from the image data of one three-dimensional image can be appropriately selected. For example, the control unit may specify the position of a specific reference site (e.g., the macula or the optic nerve), and set the extraction positions of the two-dimensional image at two positions that are symmetrical about the specified reference site. In this case, the difference between the two-dimensional images at the two positions that are symmetrical about the reference site is appropriately compared by the composite two-dimensional image. Specifically, the control unit may set the extraction positions of the two-dimensional image at two linear positions that are symmetrical above and below the reference site as the center, using the macula as the reference site. In diseases such as glaucoma, the symmetry of tissues at positions above and below the macula is often effectively utilized in medical treatment. Therefore, the difference between the two-dimensional images at two positions that are symmetrical above and below the macula is appropriately compared by the composite two-dimensional image, which makes it easier to more appropriately assist medical treatment.
[0067] The control unit may also acquire a first two-dimensional image and a second two-dimensional image taken at different times for the same position of the biological tissue of the same subject in the two-dimensional image acquisition step. In the synthesis display step, the control unit may synthesize the first two-dimensional image and the second two-dimensional image in an overlapping state and display them on the display unit. That is, the control unit may directly acquire the first two-dimensional image and the second two-dimensional image taken at different times for the same position without performing a process of extracting a two-dimensional image at the same position from two three-dimensional images taken at different times for the biological tissue of the same subject. Even in this case, the change over time of the biological tissue between the time of taking the first two-dimensional image and the time of taking the second two-dimensional image can be appropriately grasped by the synthetic two-dimensional image.
[0068] In the present disclosure, a case where two-dimensional tomographic images extending in the depth direction of tissue are used as the first and second two-dimensional images of the object to be synthesized is mainly illustrated. However, the first and second two-dimensional images of the object to be synthesized may be two-dimensional front images of the tissue viewed from the front. In this case, the difference between the front of the biological tissue shown in each of the first and second two-dimensional images is appropriately grasped by the synthesized two-dimensional image. The method of acquiring the first and second two-dimensional images, which are two-dimensional front images, may also be appropriately selected. For example, the two-dimensional front image may be captured by an imaging device that captures a two-dimensional front image of biological tissue (at least one of a fundus camera and a scanning laser ophthalmoscope, etc., when the biological tissue is a fundus). The control unit may also obtain a two-dimensional front image by generating a front image (a so-called enface image) based on pixel values at a specific position or range in each of a plurality of Z-direction images included in the three-dimensional image (for example, pixel values of a specific layer, pixel values of a specific boundary, or pixel values within a range of a specific layer / boundary among the layers and boundaries depicted in the image data).
[0069] In the present disclosure, a case where a first two-dimensional image and a second two-dimensional image taken of the biological tissue of the same subject are synthesized and displayed is exemplified. However, the control unit may synthesize and display a first two-dimensional image and a second two-dimensional image taken of the same type of biological tissue of each of multiple subjects. In this case, the difference between the biological tissues of multiple subjects is easily grasped appropriately by the synthesized two-dimensional image. In addition, the control unit may synthesize and display a first two-dimensional image of the left eye and a second two-dimensional image of the right eye of the same subject. In this case, the first two-dimensional image and the second two-dimensional image of the biological tissues of the left eye and the right eye at positions symmetrical to each other may be synthesized. Note that, when the left and right of the biological tissues shown in each of the first and second two-dimensional images are approximately symmetrical, the left and right of one image may be determined and then the two images may be synthesized. In this case, the biological tissues of the left eye and the right eye are easily compared appropriately.
[0070] The control unit may further execute a first front image generating step and a second front image generating step. In the first front image generating step, the control unit generates a two-dimensional first front image of the subject viewed from the Z direction based on the first image data. In the second front image generating step, the control unit generates a two-dimensional second front image of the subject viewed from the Z direction based on the second image data. In the two-dimensional image acquiring step, the same extraction position that is common to both the first image data and the second image data in the biological tissue may be identified based on the first front image and the second front image.
[0071] In this case, a front image is generated from the first image data and the second image data themselves, which need to specify the same extraction position in the XY direction, and the extraction position of the two-dimensional image is specified based on the generated front image. Therefore, compared to the case where other methods are used (for example, a method of specifying the extraction position based on a front image captured by a different principle from the first image data and the second image data), the extraction position of the two-dimensional image in the XY direction of the first image data and the second image data can be more accurately specified.
[0072] A specific method for generating a front image (first front image and second front image) based on image data (first image data and second image data) can be appropriately selected. For example, the control unit may generate a front image by adding (or averaging) pixel values of a plurality of pixels arranged in the Z direction for each of a plurality of Z direction images included in the image data. The control unit may also generate a front image (so-called Enface image) based on pixel values at a specific position or range (for example, pixel values of a specific layer, pixel values of a specific boundary, or pixel values within a range of a specific layer / boundary, among layers and boundaries shown in the image data) among a plurality of Z direction images included in the image data. In this case, the control unit may execute a segmentation process to detect at least any layer / boundary shown in the image data, and generate a front image based on the result of the segmentation process.
[0073] The control unit may identify the same extraction position in the first image data and the second image data in the XY direction by aligning the first front image with the second front image. In this case, by aligning the first front image with the second front image, the positions of the first image data and the second image data on the biological tissue match in the entire range in the XY direction. Therefore, the extraction positions of the first image data and the second image data are more easily and accurately identified. In addition, when aligning the first front image with the second front image, the control unit may change the relative position and angle between the two front images while overlapping the first front image with the second front image. The control unit may align the two front images by searching for the position and angle at which the correlation between the two front images is highest.
[0074] The control unit may also specify the same extraction position in the first image data and the second image data without actually aligning the first front image and the second front image. For example, the control unit may calculate a positional shift between the biological tissue shown in the first front image and the biological tissue shown in the second front image, and specify the extraction position based on the calculated positional shift.
[0075] It is also possible to change the method for identifying the extraction position of each of the two-dimensional images of the first image data and the second image data. For example, when the first image data is photographed, a front image may be photographed at the same photographing position as the first image data, but with a different principle from that of the first image data. Similarly, when the second image data is photographed, a front image may be photographed at the same photographing position as the second image data, but with a different principle from that of the second image data. The control unit may identify the extraction position of each of the two-dimensional images of the first image data and the second image data based on the front image photographed with a different principle from that of the first image data and the second image data.
[0076] In the composite display step, the control unit may composite the first two-dimensional image and the second two-dimensional image on the display unit in a state where the images captured in the first two-dimensional image and the second two-dimensional image are aligned in the Z direction. At least a part of the multiple Z direction images (images extending in the Z direction) included in the two-dimensional image may include a Z direction image whose position in the Z direction is out of the normal position due to, for example, the movement of the biological tissue during shooting, the vibration of the device, etc. Even if the two two-dimensional images are composited in a state where the Z direction image whose position in the Z direction is out of the normal position is included in the two-dimensional image, it is difficult for the user to grasp the difference between the biological tissues by the composite two-dimensional image. In contrast, by displaying the composite two-dimensional image in a state where the images are aligned in the Z direction, the subjects of the first two-dimensional image and the second two-dimensional image can be more appropriately compared by the composite two-dimensional image.
[0077] The control unit may extract the first and second two-dimensional images after performing a positional alignment in the Z direction between the first and second image data, which are three-dimensional images. In this case, the relative positions in the Z direction of the extracted first and second two-dimensional images are appropriate regardless of the extraction positions.
[0078] The method of performing the alignment in the Z direction between the first image data and the second image data can also be appropriately selected. For example, the control unit may search for a correlation value when the correlation between the two Z direction images is highest while changing the relative position in the Z direction between the two Z direction images (i.e., the Z direction image in the first image data and the Z direction image in the second image data) whose shooting positions in the XY direction match. The control unit may perform the alignment of the two Z direction images based on the displacement in the Z direction when the searched correlation is highest. Here, before performing the alignment in the Z direction between the first image data and the second image data, the control unit may perform the alignment in the Z direction between the multiple Z direction images included in the first image data and the alignment in the Z direction between the multiple Z direction images included in the second image data in advance. In this case, even if there is a part whose position in the Z direction is deviated from the normal position due to the movement of the biological tissue during shooting, the alignment in the Z direction can be performed more accurately.
[0079] However, the control unit can also align the first and second two-dimensional images in the Z direction after acquiring (eg, extracting) the first and second two-dimensional images.
[0080] The first and second two-dimensional images may be images of the biological tissue of the same subject. The first and second two-dimensional images may be taken on different days. In this case, the change over time of the biological tissue between the time of taking the first and second two-dimensional images can be easily and appropriately understood. Therefore, the progress of the biological tissue can be more easily and appropriately observed.
[0081] <Embodiment> A typical embodiment according to the present disclosure will be described below. In this embodiment, a case where image data of a three-dimensional image of the fundus tissue of the subject's eye E captured by an OCT device is processed is illustrated. However, the image to be processed by the technology of the present disclosure may be an image of tissue other than the fundus tissue. For example, the image to be processed may be an image of a biological tissue other than the fundus of the subject's eye E (e.g., an anterior segment of the eye, etc.), or may be an image of a biological tissue other than the subject's eye E (e.g., skin, digestive organs, or brain, etc.). In addition, as described above, the imaging device that captures the image to be processed is not limited to the OCT device.
[0082] A schematic configuration of a medical image processing system 100 of this embodiment will be described with reference to FIG. 1. The medical image processing system 100 of this embodiment includes an imaging device 1 and a medical image processing device 40. The imaging device (OCT device in this embodiment) 1 captures a three-dimensional image of the biological tissue by receiving light from the biological tissue. The medical image processing device 40 processes image data captured by the imaging device 1. A PC is used for the medical image processing device 40 of this embodiment. However, a device that can function as the medical image processing device 40 is not limited to a PC. For example, the imaging device (OCT device) 1 or a server or the like may function as the medical image processing device 40. When the imaging device 1 functions as the medical image processing device 40, the imaging device 1 can capture a three-dimensional image of the biological tissue while appropriately processing the captured three-dimensional image. In addition, a mobile terminal such as a tablet terminal or a smartphone may function as the medical image processing device 40. Control units of multiple devices (for example, the CPU of the PC and the CPU 31 of the imaging device 1) may cooperate to perform various processes.
[0083] The configuration of the imaging device 1 of this embodiment will be described. The imaging device (OCT device) 1 includes an OCT section 10 and a control unit 30. The OCT section 10 includes an OCT light source 11, a coupler (light splitter) 12, a measurement optical system 13, a reference optical system 20, and a light receiving element 22.
[0084] The OCT light source 11 emits light (OCT light) for acquiring image data. The coupler 12 splits the OCT light emitted from the OCT light source 11 into measurement light and reference light. The coupler 12 of this embodiment combines the measurement light reflected by biological tissue (the fundus of the subject's eye E in this embodiment) with the reference light generated by the reference optical system 20 to cause interference. That is, the coupler 12 of this embodiment serves both as a branching optical element that branches the OCT light into measurement light and reference light, and as a combining optical element that combines the reflected light of the measurement light with the reference light. It is also possible to change the configuration of at least one of the branching optical element and the combining optical element. For example, an element other than a coupler (for example, a circulator, a beam splitter, etc.) may be used.
[0085] The measurement optical system 13 guides the measurement light split by the coupler 12 to the subject, and returns the measurement light reflected by the biological tissue to the coupler 12. The measurement optical system 13 includes a scanning unit (scanner) 14, an irradiation optical system 16, and a focus adjustment unit 17. The scanning unit 14 can scan the measurement light in a two-dimensional direction intersecting the optical axis of the measurement light by being driven by a driving unit 15. In this embodiment, two galvanometer mirrors capable of deflecting the measurement light in different directions are used as the scanning unit 14. However, another device for deflecting light (for example, at least one of a polygon mirror, a resonant scanner, an acousto-optical element, etc.) may be used as the scanning unit 14. The irradiation optical system 16 is provided downstream of the optical path (i.e., on the subject side) from the scanning unit 14, and irradiates the biological tissue with the measurement light. The focus adjustment unit 17 adjusts the focus of the measurement light by moving an optical member (for example, a lens) included in the irradiation optical system 16 in a direction along the optical axis of the measurement light.
[0086] The reference optical system 20 generates a reference light and returns it to the coupler 12. The reference optical system 20 of this embodiment generates the reference light by reflecting the reference light split by the coupler 12 using a reflective optical system (e.g., a reference mirror). However, the configuration of the reference optical system 20 can also be changed. For example, the reference optical system 20 may transmit the light incident from the coupler 12 without reflecting it and return it to the coupler 12. The reference optical system 20 includes an optical path length difference adjustment unit 21 that changes the optical path length difference between the measurement light and the reference light. In this embodiment, the optical path length difference is changed by moving the reference mirror in the optical axis direction. The configuration for changing the optical path length difference may be provided in the optical path of the measurement optical system 13.
[0087] The light receiving element 22 detects an interference signal by receiving interference light between the measurement light and the reference light generated by the coupler 12. In this embodiment, the principle of Fourier domain OCT is adopted. In Fourier domain OCT, the spectral intensity of the interference light (spectral interference signal) is detected by the light receiving element 22, and a complex OCT signal is acquired by Fourier transforming the spectral intensity data. Examples of Fourier domain OCT that can be adopted include Spectral-domain OCT (SD-OCT) and Swept-source OCT (SS-OCT). It is also possible to adopt, for example, Time-domain OCT (TD-OCT).
[0088] In addition, in this embodiment, the measuring light spot is scanned in a two-dimensional region by the scanning unit 14, thereby obtaining three-dimensional image data. However, it is also possible to change the principle of obtaining three-dimensional image data. For example, three-dimensional image data may be obtained by the principle of line-field OCT (hereinafter referred to as "LF-OCT"). In LF-OCT, measuring light is simultaneously irradiated onto an irradiation line extending in a one-dimensional direction in tissue, and the reflected light of the measuring light and the interference light of the reference light are received by a one-dimensional light receiving element (e.g., a line sensor) or a two-dimensional light receiving element. In a two-dimensional measurement region, the measuring light is scanned in a direction intersecting the irradiation line, thereby obtaining three-dimensional OCT data. In addition, three-dimensional image data may be obtained by the principle of full-field OCT. In full-field OCT, measuring light is simultaneously irradiated onto a two-dimensional region on the tissue of the subject, and the interference light is received by a two-dimensional light receiving element.
[0089] The control unit 30 is responsible for various controls of the photographing device 1. The control unit 30 includes a CPU 31, a RAM 32, a ROM 33, and a non-volatile memory (NVM) 34. The CPU 31 is a controller that performs various controls. The RAM 32 temporarily stores various information. The ROM 33 stores programs executed by the CPU 31 and various initial values, etc. The NVM 34 is a non-transient storage medium that can retain the stored contents even if the power supply is cut off. When the photographing device 1 functions as a medical image processing device, a medical image processing program for executing medical image processing (see FIG. 6) described later may be stored in the NVM 34, etc.
[0090] A monitor 37 and an operation unit 38 are connected to the control unit 30. The monitor 37 is an example of a display unit that displays various images. The operation unit 38 is operated by a user in order for the user to input various operation instructions to the photographing device 1. For the operation unit 38, various devices such as a mouse, a keyboard, a touch panel, a foot switch, etc. may be used. Note that various operation instructions may be input to the photographing device 1 by inputting sound into a microphone.
[0091] A schematic configuration of the medical image processing device 40 will be described. The medical image processing device 40 includes a CPU 41, a RAM 42, a ROM 43, and an NVM 44. A medical image processing program for executing medical image processing (see FIG. 6) described later may be stored in the NVM 44. A monitor 47 and an operation unit 48 are connected to the medical image processing device 40. The monitor 47 is an example of a display unit that displays various images. The operation unit 48 is operated by a user so that the user can input various operation instructions to the medical image processing device 40. As with the operation unit 38 of the imaging device 1, various devices such as a mouse, a keyboard, and a touch panel can be used for the operation unit 48. Also, various operation instructions may be input to the medical image processing device 40 by inputting sound to the microphone 46.
[0092] The medical image processing device 40 can acquire various data (e.g., image data captured by the imaging device 1) from the imaging device 1. The various data may be acquired by at least one of wired communication, wireless communication, and a removable storage device (e.g., a USB memory), for example.
[0093] (3D image) An example of a three-dimensional image to be processed will be described with reference to FIG. 2 to FIG. 5. As shown in FIG. 2, the photographing device 1 of this embodiment scans light (measurement light) in a two-dimensional photographing region 51 in a biological tissue 50 (in the example shown in FIG. 2, the fundus tissue). In detail, the photographing device 1 of this embodiment scans light on a scan line 52 extending in a predetermined direction in the photographing region 51 to photograph (obtain) a two-dimensional image 61 (see FIG. 3) extending in a Z direction along the optical axis of the light and an X direction perpendicular to the Z direction. In the example shown in FIG. 3, the Z direction is a direction perpendicular to the two-dimensional photographing region 51 (depth direction of the biological tissue 50), and the X direction is a direction in which the scan line 52 extends. Next, the photographing device 1 moves the position of the scan line 52 in the Y direction in the photographing region 51, and repeats photographing the two-dimensional image 61. The Y direction is a direction that intersects both the Z direction and the X direction (perpendicularly in this embodiment). As a result, a plurality of two-dimensional images 61 are acquired that pass through each of the plurality of scan lines 52 and extend in the depth direction of the biological tissue 50. Next, as shown in Fig. 3, the plurality of two-dimensional images 61 are arranged in the Y direction (a direction intersecting the image area of each two-dimensional image), thereby generating a three-dimensional image 60 (see Fig. 4) in the imaging area 51. In other words, the image data to be processed by the medical image processing device 40 of this embodiment is image data of a three-dimensional image that extends in the Z direction, which is the depth direction of the biological tissue, and in two-dimensional XY directions intersecting the Z direction.
[0094] As shown in FIG. 5, when focusing on one of the multiple two-dimensional images 61 constituting a three-dimensional image, each two-dimensional image 61 is composed of multiple Z-direction images 62 extending in the Z direction arranged in the X direction. As an example, the image processed in this embodiment is an OCT image. In this embodiment, each of the multiple A-scan images constituting the OCT image is a Z-direction image. As described above, a three-dimensional image is composed of multiple two-dimensional images 61 arranged in the Y direction. Therefore, the image data to be processed by the medical image processing device 40 of this embodiment is image data of a three-dimensional image in which multiple Z-direction images 62 extending in the Z direction are arranged in two-dimensional XY directions intersecting the Z direction.
[0095] (Medical Image Processing) With reference to Figs. 6 to 12, the medical image processing performed by the medical image processing device 40 of this embodiment will be described. In this embodiment, the medical image processing device 40, which is a PCT, acquires image data of a three-dimensional image of biological tissue from the imaging device 1 and processes the acquired image data. However, as described above, another device may function as the medical image processing device. For example, the imaging device (OCT device in this embodiment) 1 itself may execute medical image processing. In addition, multiple control units (for example, the CPU 31 of the imaging device 1 and the CPU 41 of the medical image processing device 40) may cooperate to execute medical image processing. In this embodiment, the CPU 41 of the medical image processing device 40 executes the medical image processing shown in Fig. 6 according to a medical image processing program stored in the NVM 44.
[0096] First, the CPU 41 acquires the first image data and the second image data captured by the imaging device 1 (S1). The first image data and the second image data are generated by capturing biological tissue of the same subject at different times. The capturing position (captured area) of the first image data and the capturing position of the second image data overlap with each other at least in part. If there is no change in the biological tissue between the time of capturing the first image data and the time of capturing the second image data, and both of the two image data are captured with high accuracy, the images in the capturing range overlapping between the first image data and the second image data will be the same. On the other hand, if a change over time occurs in the biological tissue between the time of capturing the first image data and the time of capturing the second image data, the images of the part where the change occurs will be different among the capturing ranges overlapping between the first image data and the second image data.
[0097] For example, the user may operate the operation unit 48 to specify two pieces of image data to be compared for follow-up observation or the like from among a plurality of pieces of image data taken at different times for a specific subject, as the first image data and the second image data. The CPU 41 may acquire the first image data and the second image data specified by the user.
[0098] In S1 of this embodiment, two image data taken on different days are acquired as the first image data and the second image data. In this case, by performing the process described below, the change over time of the biological tissue between the time of taking the first image data and the time of taking the second image data can be easily and appropriately understood. Therefore, the progress of the biological tissue can be more easily and appropriately observed. However, in S1, the first image data and the second image data taken at different times on the same day may be acquired.
[0099] The CPU 41 performs position alignment of a plurality of Z-direction images 62 (see FIG. 5) in a three-dimensional first image 60A (see FIG. 7) represented by the first image data (S2). That is, the CPU 41 performs position alignment in the Z direction between the plurality of Z-direction images 62 included in the first image data. Similarly, the CPU 41 performs position alignment of a plurality of Z-direction images 62 in a three-dimensional second image 60B (see FIG. 7) represented by the second image data (S3). At least a part of the plurality of Z-direction images 62 included in the three-dimensional image data (each of the first image data and the second image data) may include an image whose position in the Z direction is deviated from a normal position due to the movement of the living tissue during shooting, the vibration of the device, and the like. By performing position alignment between the plurality of Z-direction images 62 in advance for each of the first image data and the second image data, the influence of an image whose position in the Z direction is deviated from a normal position is suppressed. As a result, the accuracy of various processes performed thereafter and the accuracy of the image output (displayed) are easily improved.
[0100] In S2 and S3, a specific method for aligning the multiple Z-direction images 62 in each image data can be appropriately selected. For example, the CPU 41 may detect a specific layer or layer boundary shown in a three-dimensional image (each of the first image and the second image), and perform alignment in the Z direction of the images shown in each of the multiple Z-direction images 62 so that the detected layer or boundary approaches a straight line along a specific direction (for example, a direction along the XY plane). The CPU 41 may also move each of the multiple Z-direction images 62 in the Z direction so that the positions of the multiple Z-direction images 62 at which the luminance is maximum coincide with each other in the Z direction. The CPU 23 may also detect the amount of positional deviation between adjacent Z-direction images 62 by a phase-only correlation method, template matching, or the like, and perform alignment in the Z direction of the multiple Z-direction images 62 so that the detected amount of deviation is eliminated.
[0101] In addition, the Z-direction positional deviation amount between the multiple Z-direction images 62 included in the three-dimensional image (each of the first image and the second image) may include both a movement component caused by the movement of the biological tissue during image capture and a shape component caused by the shape of the biological tissue. In this case, in the processes of S2 and S3, the CPU 41 may suppress the influence of the movement of the biological tissue during capture by performing a process of eliminating only the movement component (i.e., a process of leaving only the shape component) among the positional deviation amounts between the multiple Z-direction images 62. For example, the technology described in JP 2020-162886 A can be adopted for the above process.
[0102] Next, the CPU 41 generates two-dimensional front images 65A and 65B of the biological tissue to be photographed when viewed from the Z direction (in this embodiment, the direction along the optical axis of the measurement light) based on each of the two three-dimensional images (first image 60A and second image 60B) as shown in Fig. 7 (S4, S5). That is, the CPU 41 generates a two-dimensional first front image 65A of the subject to be photographed when viewed from the Z direction based on the three-dimensional first image 60A (S4). Also, the CPU 41 generates a two-dimensional second front image 65B of the subject to be photographed when viewed from the Z direction based on the three-dimensional second image 60B (S5).
[0103] Although details will be described later, in this embodiment, the first front image 65A and the second front image 65B are used to specify the same position in the XY direction between the first image 60A and the second image 60B. In addition, in this embodiment, when extracting two-dimensional images from each of the first image 60A and the second image 60B, the first front image 65A and the second front image 65B are used to specify the same extraction position in the first image 60A and the second image 60B, which has a common position in the biological tissue. That is, in this embodiment, the front images 65A and 65B are generated from the first image data and the second image data themselves, which need to specify the same position in the XY direction, and the position is specified based on the generated front images 65A and 65B. Therefore, compared to the case where other methods (for example, a method of specifying the position based on a front image captured by a different principle from the first image data and the second image data) are used, the positions in the XY direction of the first image data and the second image data are more easily specified accurately.
[0104] A specific method for generating the front images (the first front image 65A and the second front image 65B) based on the three-dimensional images (the first image 60A and the second image 60B) can be appropriately selected. For example, the CPU 41 may generate the front images 65A and 65B by adding (or averaging) pixel values of a plurality of pixels arranged in the Z direction for each of the plurality of Z direction images 62 included in the image data. The CPU 41 may also generate the front images 65A and 65B (so-called Enface images) based on pixel values at a specific position or range (for example, pixel values of a specific layer, pixel values of a specific boundary, or pixel values within a range of a specific layer / boundary, among layers and boundaries shown in the image data) among the plurality of Z direction images 62 included in the image data. In this case, the CPU 41 may execute a segmentation process for detecting at least any layer / boundary shown in the image data, and generate the front images 65A and 65B based on the result of the segmentation process.
[0105] Next, the CPU 41 aligns the first front image 65A and the second front image 65B (S6). As a result, the positions in the XY directions where the imaging positions of the biological tissues of the first image data and the second image data coincide with each other are specified. That is, in this embodiment, by aligning the first front image 65A and the second front image 65B, the imaging positions of the biological tissues of the first image data and the second image data coincide with each other over the entire range of the common imaging region in the XY directions. Therefore, the positions in the XY directions of the first image data and the second image data can be more easily and accurately specified.
[0106] When aligning the first front image 65A and the second front image 65B, the CPU 41 may change the relative position and angle between the two front images 65A and 65B while the first front image 65A and the second front image 65B are overlapped. The CPU 41 may align the two front images 65A and 65B by searching for a position and angle at which the correlation between the two front images 65A and 65B is strongest. Alternatively, the first front image 65A and the second front image 65B may be aligned by using a method such as image local feature (e.g., SIFT: Scale-Invariant Feature Transform) or rotation-invariant phase-only correlation.
[0107] Next, the CPU 41 acquires the correlation and displacement (i.e., the amount of deviation in the Z direction) between the Z direction image 62A of the first image data and the Z direction image 62B of the second image data, which are the same in the XY direction among the multiple Z direction images 62 included in each of the first image data and the second image data, for each position in the XY direction. At positions in the XY direction where the difference between the first image data and the second image data is small (e.g., positions where the change in the biological tissue is small), the correlation between the two Z direction images 62 at the same position of the biological tissue is strong. On the other hand, at positions in the XY direction where the difference between the first image data and the second image data is large (e.g., positions where the change in the biological tissue is large), the correlation between the two Z direction images 62 at the same position of the biological tissue is weak. Therefore, according to the correlation information acquired for each position in the XY direction, the difference between the first image data and the second image data (e.g., changes over time in the biological tissue) is appropriately grasped.
[0108] With reference to FIG. 8, an example of a method for acquiring correlation and displacement between Z-direction images 62A and 62B at the same position in the XY direction will be described. As shown in FIG. 8, in this embodiment, the CPU 41 specifies the Z-direction image 62A of the first image data and the Z-direction image 62B of the second image data, in which the photographing positions of the biological tissue in the XY direction match each other. As described above, in this embodiment, the positioning between the first image data and the second image data in the XY direction is performed in advance. Therefore, based on the result of the positioning, the position (position (x, y) in the example shown in FIG. 8) where the photographing positions of the biological tissue in the XY direction match each other is appropriately specified. Next, the CPU 41 searches for a correlation value when the correlation between the two Z-direction images 62A and 62B becomes strongest while changing the relative position in the Z direction of the two Z-direction images 62A and 62B whose photographing positions match each other. The CPU 41 acquires the highest value of the correlation searched as the correlation C(x, y) between the two Z-direction images 62A and 62B. Furthermore, the CPU 41 acquires the displacement dz(x, y) of the relative position in the Z direction between the two Z direction images 62A, 62B when the correlation between the two Z direction images 62A, 62B is strongest. The above process is executed for each of a plurality of positions in the X and Y directions. Note that at least one of normalized cross-correlation, correlation coefficient, phase correlation, etc. may be used as a method of acquiring correlation. SSD (sum of squared errors), SAC (sum of absolute errors), etc. may be acquired as correlation. In this case, the smaller the value, the higher the similarity between the two Z direction images.
[0109] Next, based on the displacements acquired at each position in the XY directions in S7 (i.e., the displacements between the two Z direction images 62A, 62B at the same position of the biological tissue), the CPU 41 performs alignment in the Z direction between the first image data and the second image data for each Z direction image 62 (S8). As a result, alignment between the first image data and the second image data can be more easily performed accurately.
[0110] Next, the CPU 41 executes a process of generating a similarity map 70 (see FIG. 9) showing a two-dimensional distribution in the XY directions of the strength of correlation obtained for each position in the XY directions, and outputs the generated similarity map 70 (S9). By checking the output similarity map 70, the user can intuitively grasp the two-dimensional distribution in the XY directions of the strength of correlation between the first image data and the second image data. For example, by checking the output similarity map 70, the user can also appropriately grasp the positions in the XY directions where the biological tissue is likely to change significantly over time.
[0111] In S9 of this embodiment, the CPU 41 acquires the correlation between the positions in the XY directions between the entire captured first image data and the entire captured second image data (that is, at least the entire captured area overlapping between the first image data and the second image data). Therefore, the difference between the first image data and the second image data is appropriately grasped in the entire captured area of the overlapping images. Therefore, the user's medical examination, etc. can be more appropriately assisted.
[0112] The output method of the similarity map 70 can be appropriately selected. For example, the CPU 41 may output the similarity map 70 by displaying the generated similarity map 70 on the monitor (display unit) 47. In this case, the CPU 41 may display a two-dimensional distribution of the strength of correlation by changing at least one of the color and brightness of each position of the similarity map 70 according to the strength of correlation. The CPU 41 may also output the data of the generated similarity map 70 to another device. The CPU 41 may display the similarity map 70 after performing a smoothing process or a process of applying a minimum value filter to the correlation value acquired for each position in the XY directions. In this case, the position where the difference between the first image data and the second image data is large is more likely to be displayed appropriately on the similarity map 70.
[0113] The CPU 41 can also display the deviation map and the correlation map 70 on the monitor 47 simultaneously or by switching between them. The deviation map shows a two-dimensional distribution of deviation of the acquired probability distribution with respect to the probability distribution in the case where the layer or boundary to be identified is accurately identified when the mathematical model trained by the machine learning algorithm identifies at least one of the layer and boundary shown in the three-dimensional image. In this case, the CPU 41 inputs at least one of the first image data and the second image data (e.g., data captured most recently, etc.) to the mathematical model trained by the machine learning algorithm, thereby acquiring a probability distribution for identifying at least one of the layer and boundary in the fundus tissue shown in the input three-dimensional image. The CPU 41 generates the deviation map based on the acquired probability distribution. As described above, the deviation map is likely to show the degree of abnormality in the structure of the layer / boundary. Furthermore, the correlation map 70 makes it easy to appropriately grasp the position in the XY direction where the biological tissue is likely to change significantly over time. Therefore, the deviation map and the correlation map 70 are displayed simultaneously or alternately on the monitor 47, so that the user can more appropriately grasp the state of the subject's biological tissue. Note that, for example, the technology described in JP 2020-18794 A can be adopted for the method of acquiring the deviation and the method of generating the deviation map.
[0114] Also, the CPU 41 can display the thickness map and the correlation map 70 on the monitor 47 simultaneously or by switching between them. The thickness map shows a two-dimensional distribution of the analysis results for the thickness of at least one of the layers and boundaries shown in the three-dimensional image. In this case, the CPU 41 generates the thickness map based on at least one of the first image data and the second image data. The thickness map allows the distribution of the thickness of the layers of the biological tissue to be properly understood. Also, as described above, the correlation map 70 makes it easy to properly understand the positions in the XY direction where the biological tissue is likely to change significantly over time. Therefore, by displaying the thickness map and the correlation map 70 simultaneously or by switching between them on the monitor 47, the user can more properly understand the state of the biological tissue of the subject.
[0115] The CPU 41 calculates the integrated value of the correlations acquired for each position in the XY direction, and outputs the calculated integrated value of the correlation (S10). The user can appropriately grasp the difference between the first image data and the second image data by the output integrated value of the correlation. For example, the user can also grasp the degree of the overall time-dependent change of the biological tissue between the time of capturing the first image data and the time of capturing the second image data by the integrated value of the correlation. In addition, the integrated value of the correlation can also be used to evaluate the accuracy of the alignment of the first image data and the second image data when the correlation between the Z-direction images 62 is acquired. In addition, if the accuracy of capturing at least one of the first image data and the second image data is low, the integrated value of the correlation is low. Therefore, the accuracy of capturing the image can also be evaluated by the integrated value of the correlation. For example, when the second image data is newly captured, if the integrated value of the correlation between the first image data and the second image data is less than a threshold value, the CPU 41 may determine that the capturing accuracy of the second image data is low, and output an instruction to recapture the second image data.
[0116] The output method of the calculated integrated value of the correlations can be appropriately selected. In this embodiment, the CPU 41 calculates the average value of the multiple correlations as the integrated value. However, it is also possible to integrate the values of the multiple correlations by calculating the median, maximum, minimum, etc. of the multiple correlations. The CPU 41 may output the calculated integrated value of the correlations themselves, or an indicator showing the height of the correlation value (for example, an indicator showing which of multiple stages the height of the calculated integrated value of the correlations corresponds to), etc., by at least one of displaying on the display unit and outputting by voice, etc. The CPU 41 may also calculate the number or percentage of correlations whose values exceed a threshold value or whose values are less than a threshold value, etc., as the integrated value.
[0117] Next, the CPU 41 executes a two-dimensional image display process (S11) and ends the process. In the two-dimensional image display process, the CPU 41 processes the three-dimensional first image data and second image data, thereby allowing the monitor 47 to display a two-dimensional image useful for the user's medical examination or the like. In particular, in this embodiment, the CPU 41 can automatically extract two-dimensional images (i.e., a first two-dimensional image 61A and a second two-dimensional image 61B shown in FIG. 12) from the same position in a living tissue commonly captured in the first image data and the second image data. The CPU 41 can generate a composite two-dimensional image 69 (see FIG. 12) by synthesizing the first two-dimensional image 61A and the second two-dimensional image 61B extracted from the same position in a position-aligned state (i.e., in a superimposed state), and can display the composite two-dimensional image 69 on the monitor 47.
[0118] The two-dimensional image display process will be described in detail with reference to Fig. 10. First, the process (S21 to S23, S33 to S38) of automatically extracting and displaying a two-dimensional image at a position where the correlation between the first image data and the second image data is weak will be described.
[0119] The CPU 41 automatically sets an extraction position of the two-dimensional image 61 at a position including the position where the correlation obtained in S7 (see FIG. 6) is the weakest (i.e., the position 55 where the correlation is the weakest on the similarity map 70) within the shooting range of the first image data and the second image data spreading in the XY direction (S21). In this case, the user can appropriately grasp the state of the biological tissue at the position where the correlation between the first image data and the second image data is the weakest (for example, changes over time in the biological tissue, etc.) from the two-dimensional image 61 by checking the two-dimensional image 61 at the automatically set extraction position.
[0120] As shown in FIG. 11, in this embodiment, the CPU 41 sets a linear extraction position 75 on a two-dimensional similarity map 70 extending in the XY direction. In the example shown in FIG. 11, the linear extraction position 75 is automatically set. However, a shape other than a straight line (e.g., curved, annular, etc.) may be adopted as the shape of the line indicating the extraction position 75. In the example shown in FIG. 11, the CPU 41 automatically sets the extraction position 75 at a linear position that passes through both the position 55 with the weakest correlation and the reference position 56 on the image (the center of the macula in FIG. 11). In this case, the CPU 41 may detect the reference position 56 on the image by performing known image processing on at least one of the three-dimensional image and the front image. The CPU 41 may also search for a position at which the cumulative value of correlation is lowest at an extraction position of a predetermined shape (e.g., linear, etc.) and automatically set the searched position as the extraction position. Furthermore, the CPU 41 may automatically set the extraction position to a linear position that has the weakest correlation as its center and extends in a predetermined direction (for example, the X direction or the Y direction).
[0121] The CPU 41 extracts from the first image data a first two-dimensional image 61A (see FIG. 12) that passes through the extraction position 75 automatically set in S21 and spreads in the Z direction (S22). The CPU 41 also extracts from the second image data a second two-dimensional image 61B (see FIG. 12) that passes through the extraction position 75 automatically set in S21 and spreads in the Z direction (S23). That is, in S22 and S23, the CPU 41 extracts two-dimensional images 61A and 61B from the same extraction position 75 that is in common in the biological tissue depicted in the images, from each of the first image data and the second image data.
[0122] As described above, in this embodiment, the front images 65A, 65B are generated from the first image data and the second image data themselves, which need to specify the same extraction position 75 in the XY direction, and the extraction position 75 of each of the two-dimensional images 61A, 61B is specified based on the generated front images 65A, 65B. Therefore, compared to the case where other methods are used (for example, a method of specifying the extraction position based on a front image captured by a different principle from that of the first image data and the second image data), the extraction positions of the two-dimensional images 61A, 61B in the XY direction of the first image data and the second image data can be more accurately specified.
[0123] As described above, in this embodiment, the first front image 65A and the second front image 65B are aligned to specify the same extraction position 75 in the first image data and the second image data in the XY direction. As a result, the positions on the biological tissue in the XY direction of the first image data and the second image data match in the entire range of the common shooting area in the XY direction. Therefore, the extraction position 75 of each of the first image data and the second image data can be more easily and accurately specified.
[0124] The CPU 41 synthesizes the first two-dimensional image 61A and the second two-dimensional image 61B in a state where the images reflected in the first two-dimensional image 61A and the second two-dimensional image 61B are aligned in the Z direction, and displays the synthesized image on the monitor 47. Therefore, the first two-dimensional image 61A and the second two-dimensional image 61B extracted from the same extraction position 75 in the XY direction are synthesized and displayed in a state where the images are aligned in the Z direction. Therefore, the user can more appropriately compare the subjects of the first two-dimensional image 61A and the second two-dimensional image 61B by checking the synthesized two-dimensional image 69. Note that in this embodiment, the CPU 41 extracts the first two-dimensional image 61A and the second two-dimensional image 61B after previously performing alignment in the Z direction between the first image data and the second image data, which are three-dimensional images. Therefore, regardless of the extraction position, the relative positions in the Z direction of the extracted first two-dimensional image 61A and the second two-dimensional image 61B become appropriate.
[0125] If the setting is made to display the extracted two-dimensional images 61A and 61B (S33: YES), the CPU 41 displays the first two-dimensional image 61A and the second two-dimensional image 61B extracted in S22 and S23 side by side or by switching them on the monitor 47 (S34). In this case, the user can appropriately compare the two-dimensional images 61A and 61B of the first image data and the second image data that are extracted at the same position in the biological tissue that is common to both images. Therefore, it becomes easier to appropriately understand changes over time in the biological tissue by comparing the two two-dimensional images 61A and 61B.
[0126] When a setting to display a composite two-dimensional image 69 (see FIG. 12) has been made (S35: YES), the CPU 41 generates a composite two-dimensional image 69 by compositing the first two-dimensional image 61A and the second two-dimensional image 61B extracted from the same position while aligning them, and displays the composite two-dimensional image 69 on the monitor 47 (S36). By checking the composite two-dimensional image 69 displayed on the monitor 47, the user can more appropriately compare the subjects of the first two-dimensional image 61A and the second two-dimensional image 61B, which are photographed at a common position in the biological tissue.
[0127] A method of displaying the composite two-dimensional image 69 on the monitor 47 will be described in detail. In this embodiment, the CPU 41 composites and displays the first two-dimensional image 61A and the second two-dimensional image 61B in different colors. As a result, in one composite two-dimensional image 69, the subject captured in the first two-dimensional image 61A and the subject captured in the second two-dimensional image 61B are displayed in different colors. Therefore, the user can more appropriately grasp the difference between the biological tissues captured in each of the first two-dimensional image 61A and the second two-dimensional image 61B (for example, changes over time in the biological tissues between the time when the first image data was captured and the time when the second image data was captured, etc.) from the composite two-dimensional image 69.
[0128] Further, the CPU 41 sets the color of the pixels of the background where the subject is not captured in the composite two-dimensional image 69 (background color) to black or white. The color of the pixels of the part where the subject is captured in the first two-dimensional image 61A to the first color. The color of the pixels of the part where the subject is captured in the second two-dimensional image 61B to the second color. When displaying the composite two-dimensional image 69, the CPU 41 sets the combination of the first color and the second color to a combination that becomes the opposite color to the background color (black or white) when the two colors are combined. As a result, at a position where the subject of the first two-dimensional image 61A and the subject of the second two-dimensional image 61B overlap, the subject is expressed in a color opposite to the background color (white or black). That is, at a position where the subject of the first two-dimensional image 61A and the subject of the second two-dimensional image 61B overlap, the subject is expressed in grayscale. Furthermore, in a position where the subject of the first two-dimensional image 61A and the subject of the second two-dimensional image 61B do not overlap, the subject of the first two-dimensional image 61A is expressed in a first color, and the subject of the second two-dimensional image 61B is expressed in a second color (a color different from the first color). As a result, in a position where the subject of the first two-dimensional image 61A and the subject of the second two-dimensional image 61B do not overlap, the subjects of each of the two-dimensional images 61A and 61B are appropriately recognized by the first color and the second color, not by grayscale. Therefore, the user can intuitively recognize each of the parts where only the subject of the first two-dimensional image 61A is captured, the parts where only the subject of the second two-dimensional image 61B is captured, the parts where the subject of the first two-dimensional image 61A and the subject of the second two-dimensional image 61B overlap, and the background parts.
[0129] In other words, if the composite color of the first and second colors is not the opposite color to the background, the three colors, the first color, the second color, and the composite color, are included in the composite two-dimensional image. In this case, the visibility of the subject is likely to decrease. For example, if the first color is red and the second color is green, the composite color of red and green, yellow, is also included in the composite two-dimensional image 69. In contrast, if the composite color of the first and second colors is the opposite color to the background color, the position where the two subjects overlap is shown in grayscale, which makes it easier to improve the visibility of the subject.
[0130] As an example, when the background color is black, the CPU 41 sets a composite color of two of the three primary colors of light (red, green, blue) that become white when all colors are combined as one of the first color and the second color, and sets the remaining primary color as the other color. Also, when the background color is white, the CPU 41 sets a composite color of two of the three primary colors of color materials (cyan, magenta, yellow) that become black when all colors are combined as one of the first color and the second color, and sets the remaining primary color as the other color. However, it is also possible to change the combination of the first color and the second color.
[0131] The CPU 41 can also display on the monitor 47 a two-dimensional image similarity map showing a two-dimensional distribution of the similarity between the first two-dimensional image 61A and the second two-dimensional image 61B. When generating the two-dimensional image similarity map, the CPU 41 calculates the similarity between partial images at each position among a plurality of partial images (e.g., pixels, etc.) constituting each of the first two-dimensional image 61A and the second two-dimensional image 61B, which are located at the same position as a result of aligning the first two-dimensional image 61A and the second two-dimensional image 61B, for the partial images. The CPU 41 generates the two-dimensional image similarity map based on the similarity calculated for the partial images at each position. If a setting to display the two-dimensional image similarity map is made (S37: YES), the CPU 41 generates the two-dimensional image similarity map and displays it on the monitor 47 (S38). Thereafter, the process proceeds to S26. By checking the output two-dimensional image similarity map, the user can intuitively grasp the distribution of similarity when the first two-dimensional image 61A and the second two-dimensional image 61B are aligned. Therefore, the user can more appropriately grasp the change over time of the biological tissue between the time when the first image data is captured and the time when the second image data is captured.
[0132] A specific method for generating the two-dimensional image similarity map can be appropriately selected. For example, the two-dimensional image similarity map may be generated by using a known SSIM (Structural Similarity). In this case, the SSIM is calculated in a small region including a plurality of pixels. A plurality of SSIMs are calculated while shifting the relative positions of the two small regions, and the average value of the calculated plurality of SSIMs is set as the similarity. As a result, in addition to information (e.g., brightness and contrast, etc.) of a pair of partial images at the same position, information of the surrounding partial images is also used, so that the difference in the structure of the images can also be evaluated. In addition, the two-dimensional image similarity map may be generated by using a known DP matching method. In this case, the change in the subject (e.g., change in the thickness of a layer, etc.) captured in the two-dimensional images 61A and 61B becomes easier to grasp.
[0133] Next, we will explain the process (S26 to S30, S33 to S38) of setting extraction positions 75 of the first two-dimensional image 61A and the second two-dimensional image 61B in accordance with instructions input by the user and displaying the two-dimensional images at the set extraction positions.
[0134] If an instruction to end the process has not been input (S26: NO), the CPU 41 judges whether or not the extraction positions of the two-dimensional images 61A, 61B have been designated on the similarity map 70 (see Figs. 9 and 11) displayed on the monitor 47 (S27). If not designated (S27: NO), the judgments of S26 and S27 are repeated and the system enters a standby state. If an instruction to end the process has been input (S26: YES), the medical image processing ends.
[0135] In this embodiment, the CPU 41 accepts an instruction from the user to specify extraction positions of the two-dimensional images 61A and 61B on the similarity map 70 displayed and output on the monitor 47. As an example, in this embodiment, the instruction to specify the extraction position 75 is accepted by having the user specify a line-shaped extraction position 75 on the two-dimensional similarity map 70. The user specifies the line-shaped extraction position 75 by operating the operation unit 48. As described above, the shape of the line indicating the extraction position 75 can be various shapes such as a straight line, a curved line, a ring, etc. It goes without saying that a plurality of extraction positions 75 may be specified.
[0136] When the extraction positions of the two-dimensional images 61A and 61B are designated on the similarity map 70 (S27: YES), the CPU 41 sets the extraction position 75 at the designated position on the similarity map 70 (S28). The CPU 41 extracts the first two-dimensional image 61A (see FIG. 12) that passes through the extraction position 75 set in S28 and spreads in the Z direction from the first image data, as in the process of S22 described above (S29). The CPU 41 also extracts the second two-dimensional image 61B (see FIG. 12) that passes through the extraction position 75 set in S28 and spreads in the Z direction from the second image data, as in the process of S23 described above (S30). That is, in S29 and S30, the CPU 41 extracts the two-dimensional images 61A and 61B from the same extraction position 75 that is common to both the first image data and the second image data in the biological tissue depicted in the images. Thereafter, the processes of S33 to S38 are executed. In this case, the user can display a two-dimensional image (at least one of the first two-dimensional image 61A and the second two-dimensional image 61B) at an appropriate position after grasping the two-dimensional distribution of the strength of correlation between the first image data and the second image data shown by the similarity map 70. For example, at a position where the correlation is weak shown by the similarity map 70, there is a high possibility that the change over time of the biological tissue shown in the image is large between the first image data and the second image data. Therefore, the user can appropriately grasp the change over time of the biological tissue by the two-dimensional image by specifying the extraction position 75 at a position where the correlation is weak in the similarity map 70.
[0137] The technology disclosed in the above embodiment is merely an example. Therefore, it is possible to change the technology exemplified in the above embodiment. First, it is possible to execute only a part of the process exemplified in the above embodiment. For example, the CPU 41 may execute a process of displaying the composite two-dimensional image 69 without executing an output process of the correlation between the first image data and the first image data (for example, the similarity map 70, etc.). In this case, the extraction position 75 of the first two-dimensional image 75 and the second two-dimensional image may not be specified on the similarity map 70. For example, the CPU 41 may accept an instruction by the user to specify the extraction position 75 on the front images 65A and 65B. In addition, the CPU 41 may execute an output process of the correlation between the first image data and the first image data without executing a process of displaying the composite two-dimensional image 69. In this case, the CPU 41 may extract only one of the first two-dimensional image 61A and the second two-dimensional image 61B from the image data and display it.
[0138] Hereinafter, each step of the first aspect of the present disclosure will be associated with the process of the above embodiment. The process of acquiring image data in S1 of FIG. 6 is an example of an "image data acquisition step". The process of acquiring correlation in S7 of FIG. 6 is an example of a "correlation acquisition step". The process of processing and outputting correlation in S9 and S10 of FIG. 6 is an example of a "correlation output step". The process of accepting an instruction to specify an extraction position of a two-dimensional image in S27 of FIG. 10 is an example of an "extraction position acceptance step". The process of extracting and displaying a two-dimensional image in S22, S23, S29, S30, and S33 to S36 of FIG. 10 is an example of an "extraction display step". The process of automatically setting an extraction position of a two-dimensional image in S21 of FIG. 10 is an example of an "extraction position automatic setting step". The process of generating a first front image in S4 of FIG. 6 is an example of a "first front image generation step". The process of generating a second front image in S5 of FIG. 6 is an example of a "second front image generation step". The process of performing alignment in the Z direction in the first image data in S2 of Fig. 6 is an example of a "first image alignment step". The process of performing alignment in the Z direction in the second image data in S3 of Fig. 6 is an example of a "second image alignment step".
[0139] Each step of the second aspect of the present disclosure corresponds to the process of the above embodiment. The process of acquiring a two-dimensional image in S22, S23, S29, and S30 in FIG. 10 is an example of a "two-dimensional image acquisition step". The process of displaying a composite two-dimensional image in S36 in FIG. 10 is an example of a "composite display step". The process of acquiring image data in S1 in FIG. 6 is an example of an "image data acquisition step". The process of setting an extraction position of a two-dimensional image in S21 and S28 in FIG. 10 is an example of an "extraction position setting step". The process of outputting a two-dimensional image similarity map in S38 in FIG. 10 is an example of a "two-dimensional image similarity map output step". The process of generating a first front image in S4 in FIG. 6 is an example of a "first front image generation step". The process of generating a second front image in S5 in FIG. 6 is an example of a "second front image generation step".
[0140] 1. Imaging device (OCT device) 40 Medical image processing device 41 CPU 44 NVM 47 Monitor 48 Control section 50 Biological Tissue 61A First 2D image 61B 2nd 2D image 62 Z-direction images 65A 1st front image 65B 2nd front image 69 Synthetic 2D Images 70 Similarity Map 75 Extraction position
Claims
1. A medical image processing device for processing image data of biological tissue, comprising: The image data is A plurality of Z-direction images extending in a Z direction, which is a depth direction of biological tissue, are three-dimensional image data arranged in two-dimensional XY directions intersecting the Z direction, The control unit of the medical image processing device an image data acquiring step of acquiring first image data and second image data which are captured at different times on a living tissue of the same subject and at least a part of the capturing positions overlap each other; a correlation acquisition step of acquiring a correlation between a Z-direction image of the first image data and a Z-direction image of the second image data, the Z-direction image being the same as the imaging position of the biological tissue in the XY directions, for each position in the XY directions, among a plurality of Z-direction images included in each of the first image data and the second image data; a correlation output step of processing and outputting the multiple correlations obtained for each position in the X and Y directions; A medical image processing device comprising:
2. 2. The medical image processing apparatus according to claim 1, In the correlation output step, the control unit executes a process of generating a similarity map that indicates a two-dimensional distribution in the X and Y directions of the strength of correlation obtained for each position in the X and Y directions, and outputs the generated similarity map.
3. 3. The medical image processing apparatus according to claim 2, The control unit is an extraction position receiving step of receiving an instruction by a user to specify an extraction position of a two-dimensional image on the similarity map displayed on a display unit; an extraction display step of extracting a two-dimensional image passing through the specified extraction position and extending in a Z direction from at least one of the first image data and the second image data when an instruction to specify an extraction position is accepted in the extraction position acceptance step, and displaying the extracted two-dimensional image on a display unit; The medical image processing device further comprises:
4. 4. The medical image processing apparatus according to claim 3, A medical image processing device characterized in that, in the extraction display step, the control unit extracts two-dimensional images that pass through the extraction position specified in the extraction position receiving step and extend in the Z direction from each of the first image data and the second image data, and displays them on the display unit.
5. 3. The medical image processing apparatus according to claim 2, The control unit is an automatic extraction position setting step of automatically setting an extraction position of a two-dimensional image to a position including a position on the similarity map where correlation is weakest; an extraction and display step of extracting a two-dimensional image that passes through the extraction position automatically set in the extraction position automatic setting step and spreads in a Z direction from at least one of the first image data and the second image data, and displaying the two-dimensional image on a display unit; The medical image processing device further comprises:
6. 6. The medical image processing apparatus according to claim 5, A medical image processing device characterized in that, in the extraction and display step, the control unit extracts two-dimensional images that pass through the extraction position automatically set in the extraction position automatic setting step and extend in the Z direction from each of the first image data and the second image data, and displays them on the display unit.
7. 7. A medical image processing apparatus according to claim 1, In the correlation output step, the control unit executes a process of integrating multiple correlation values obtained for each position in the X and Y directions, and outputs an integrated value of the integrated correlation.
8. 8. A medical image processing apparatus according to claim 1, a first front image generating step of generating a two-dimensional first front image of the subject viewed from a Z direction based on the first image data; a second front image generating step of generating a two-dimensional second front image of the subject viewed from a Z direction based on the second image data; Further execute A medical image processing device characterized in that, in the correlation acquisition step, the control unit acquires the correlation by identifying a Z-direction image of the first image data and a Z-direction image of the second image data, in which the shooting positions of the biological tissue in the XY directions coincide with each other, based on the first front image and the second front image.
9. 9. A medical image processing apparatus according to claim 1, a first intra-image registration step of performing registration in the Z direction between the plurality of Z direction images included in the first image data; a second intra-image registration step of performing registration in the Z direction between the plurality of Z direction images included in the second image data; The medical image processing device further comprises:
10. 10. A medical image processing apparatus according to claim 1, A medical image processing apparatus characterized in that, in the correlation acquisition step, the control unit acquires correlation between each position in the X and Y directions between the entire first image data and the entire second image data that have been captured.
11. 11. A medical image processing apparatus according to claim 1, 13. A medical image processing apparatus, comprising: a medical image processing device, the medical image processing device being characterized in that the date on which the first image data was captured is different from the date on which the second image data was captured.
12. An OCT apparatus that captures image data of a biological tissue by receiving interference light between a reference light and a reflected light of a measurement light irradiated onto the biological tissue, comprising: The image data is A plurality of Z-direction images extending in a Z direction, which is a depth direction of biological tissue, are three-dimensional image data arranged in two-dimensional XY directions intersecting the Z direction, The control unit of the OCT apparatus includes: an image data acquiring step of acquiring first image data and second image data which are captured at different times on a living tissue of the same subject and at least a part of the capturing positions overlap each other; a correlation acquisition step of acquiring a correlation between a Z-direction image of the first image data and a Z-direction image of the second image data, the Z-direction image being the same as the imaging position of the biological tissue in the XY directions, for each position in the XY directions, among a plurality of Z-direction images included in each of the first image data and the second image data; a correlation output step of processing and outputting the multiple correlations obtained for each position in the X and Y directions; An OCT apparatus comprising:
13. A medical image processing program executed by a medical image processing device for processing image data of biological tissue, The image data is A plurality of Z-direction images extending in a Z direction, which is a depth direction of biological tissue, are three-dimensional image data arranged in two-dimensional XY directions intersecting the Z direction, The medical image processing program is executed by a control unit of the medical image processing device, an image data acquiring step of acquiring first image data and second image data which are captured at different times on a living tissue of the same subject and at least a part of the capturing positions overlap each other; a correlation acquisition step of acquiring a correlation between a Z-direction image of the first image data and a Z-direction image of the second image data, the Z-direction image being the same as the imaging position of the biological tissue in the XY directions, for each position in the XY directions, among a plurality of Z-direction images included in each of the first image data and the second image data; a correlation output step of processing and outputting the multiple correlations obtained for each position in the X and Y directions; A medical image processing program for causing the medical image processing device to execute the above-mentioned.
Citation Information
Patent Citations
Ophthalmological analysis device and ophthalmological analysis program
JP2021100704A
