The present disclosure relates to a microscopy system, a microscopy method, and a computer-readable recording medium.
In the field of biology, medicine, and the like, there is a user need that when observing a thick object such as a cell nucleus or a stem cell by using a biological microscope having a focal depth level of several tens of μm, users want to promptly specify a region of interest located in a depth direction (Z direction) along the optical axis of an observation optical system. In response to such a need, there is known a technique with which a plurality of images having different focal planes is acquired by performing sequential imaging while shifting the focal position of the observation optical system along the optical axis, and based on the plurality of images, an all-in-focus image that is focused at each position in the Z direction is generated. The plurality of images having different focal planes acquired in this way is also collectively called a Z stack image.
Examples of the method of generating an all-in-focus image include a method of restoring, using a blur function, a multi-focus image generated by superimposing Z stack images, and a method of extracting a focal area from each of a plurality of images having different focal planes and performing composition. Hereinafter, each image having a different focal plane is also referred to as a slice image. For example, JP 2014-21489 A discloses a technique with which a focusing degree within each slice image is calculated, a candidate area to be combined is selected based on the focusing degree, weighting is performed on the candidate area according to the focusing degree, and composition is performed.
With such an all-in-focus image, the user may instantaneously grasp a position of a structure in the Z direction in the object on a two-dimensional XY plane.
Furthermore, as a technique related to the all-in-focus image, for example, JP 2014-21490 A discloses a technique with which a user may select, through a user interface, an area for an all-in-focus image generated from a Z stack image, and thus a slice image focusing the area is displayed.
A microscopy system according to one aspect of the present disclosure may include: an image acquisition unit configured to acquire slice images generated by capturing an object image while shifting a focal position along an optical axis of an observation optical system included in a microscope; an image shift processing configured to relatively shift, with respect to one slice image among the slice images, another slice image in a plane including the one slice image; an all-in-focus image generation unit configured to generate all-in-focus images by combining the one slice image and the other slice image relatively shifted with respect to the one slice image under conditions in which shift amounts of the other slice image with respect to the one slice image are different; and a display unit configured to display the all-in-focus images.
The above and other objects, features, advantages and technical and industrial significance of this disclosure will be better understood by reading the following detailed description of presently preferred embodiments of the disclosure, when considered in connection with the accompanying drawings.
Hereinafter, embodiments of a microscopy system, a microscopy method, and a microscopy program according to the present disclosure will be described in detail below with reference to the drawings. Note that the present disclosure is not limited to these embodiments. Furthermore, in the description of each drawing, the same reference signs are given to the same parts.
The trinocular tube unit 101 branches the observation light incident from the objective lens 140 in the direction of the eyepiece unit 103 for a user to directly observe the object S and in the direction of the imaging unit 211 described later.
The epi-illumination unit 110 includes a light source for epi-illumination 111 and an epi-illumination optical system 112, and irradiates the object S with epi-illumination light. The epi-illumination optical system 112 includes various optical members, specifically, a filter unit, a shutter, a field stop, an aperture diaphragm, and the like. These optical members collect the illumination light emitted from the light source for epi-illumination 111 and guide the illumination light toward an optical axis L of the observation optical system 104.
The transmitted-light illumination unit 120 includes a light source for transmitted-light illumination 121 and a transmitted-light illumination optical system 122, and irradiates the object S with transmitted illumination light. The transmitted-light illumination optical system 122 includes various optical members, specifically, a filter unit, a shutter, a field stop, an aperture diaphragm, and the like. These optical members collect the illumination light emitted from the light source for transmitted-light illumination 121 and guide the illumination light toward the optical axis L.
Either of these epi-illumination unit 110 and transmitted-light illumination unit 120 is selected and used according to a microscopic examination method. Note that only one of the epi-illumination unit 110 and the transmitted-light illumination unit 120 may be provided in the microscope apparatus 10.
The electromotive stage unit 130 includes the stage 131, a stage drive unit 132 that moves the stage 131, and a position detection unit 133. The stage drive unit 132 includes, for example, a motor, and is a moving unit that moves the stage 131 under the control of an imaging control unit 22 described later. An object placement surface 131a of the stage 131 is provided so as to be orthogonal to the optical axis of the objective lens 140. In the following description, the object placement surface 131a is an XY plane, and a normal direction of the XY plane, that is, a direction parallel to the optical axis is a Z direction. In the Z direction, a downward direction in the figure, that is, a direction away from the objective lens 140 is a plus direction.
By moving the stage 131 within the XY plane, the observation field of view of the objective lens 140 may be changed. Furthermore, by moving the stage 131 in the Z direction, the slice of the object S positioned at the focal point of the objective lens 140 may be changed along the optical axis.
Note that in the first embodiment, the stage 131 is configured to be movable by electrical control. However, it is possible to adopt a configuration in which the user manually moves the stage 131 using an adjustment knob or the like.
In
The position detection unit 133 includes, for example, an encoder that detects the rotation amount of the stage drive unit 132 that includes a motor. The position detection unit 133 detects the position of the stage 131 and outputs a detection signal. Note that instead of the stage drive unit 132 and the position detection unit 133, a pulse generating unit and a stepping motor that generate pulses according to the control of the imaging control unit 22 described later may be provided.
The objective lens 140 is attached to a revolver 142 capable of holding a plurality of objective lenses (for example, objective lenses 140 and 141) having different magnifications. By rotating the revolver 142 and changing the objective lenses 140 and 141 opposed to the stage 131, the imaging magnification may be changed. Note that
Referring again to
The image acquisition unit 21 includes the imaging unit 211 and a memory 212. The imaging unit 211 includes an imaging element (imager) 211a including, for example, a CCD and a CMOS, and is configured using a camera capable of capturing a color image having a pixel level (pixel value) in each band of red (R), green (G), and blue (B) in each pixel that the imaging element 211a includes. Alternatively, the imaging unit 211 may be configured using a camera capable of capturing a monochrome image that outputs a luminance value Y as a pixel level (pixel value) in each pixel.
As illustrated in
The memory 212 includes a recording device, for example, a semiconductor memory such as a flash memory, a RAM, and a ROM that may update recording. The memory 212 temporarily stores the image data generated by the imaging unit 211.
The imaging control unit 22 outputs a control signal to the microscope apparatus 10 to move the stage 131, thereby changing the area and the focal position of the object S entering the field of view of the objective lens 140 and causing the imaging unit 211 to perform imaging. In this way, the imaging control unit 22 performs control for sequentially acquiring a plurality of images. Hereinafter, a set of a plurality of images having the same coordinates of the object S in the XY plane and having different focal positions will also be referred to as a Z stack image. An image at each focal position included in the Z stack image is also referred to as a slice image.
The control unit 23 includes, for example, hardware such as a CPU, and reads a program stored in the storage unit 24, thereby collectively controlling the operations of the imaging apparatus 20 and the entire microscopy system 1 based on various parameters stored in the storage unit 24, information input from the input unit 25, and the like. Furthermore, the control unit 23 performs processing of generating an image by subjecting the image data input from the image acquisition unit 21 to predetermined image processing, and further combining a plurality of the generated images to generate an all-in-focus image.
Specifically, the control unit 23 includes an image shift processing unit 231 that relatively shifts the positions of the plurality of slice images included in the Z stack image in the image plane, and an all-in-focus image generation unit 232 that combines the plurality of slice images to generate a multi-focus superimposed image and also generates an all-in-focus image by restoring the multi-focus superimposed image using a point spread function representing blur of the image.
The storage unit 24 includes a recording device, for example, a semiconductor memory such as a flash memory, a RAM, and a ROM that may update recording, a recording medium, which is built-in or connected via a data communication terminal, such as a hard disk, an MO, a CD-R, and a DVD-R, and a writing/reading apparatus that writes information on the recording medium and reads the information recorded on the recording medium. The storage unit 24 includes a parameter storage unit 241 that stores parameters used for calculation in the control unit 23, and a program storage unit 242 that stores various programs. The parameter storage unit 241 stores parameters such as a shift amount according to the focal position when the slice image is shifted in the image shift processing unit 231. Furthermore, the program storage unit 242 stores a control program for causing the imaging apparatus 20 to execute a predetermined operation, an image processing program, and the like.
The input unit 25 includes an input device such as a keyboard, various buttons, and various switches, and a pointing device such as a mouse and a touch panel, and inputs, to the control unit 23, a signal according to an operation performed on these devices.
The output unit 26 is an external interface that outputs, to an external device such as the display apparatus 30, an image based on image data acquired by the image acquisition unit 21, an all-in-focus image generated by the control unit 23, and other various kinds of information, and causes the external device to display these images and the other various kinds of information in a predetermined format.
Such an imaging apparatus 20 may be configured by combining a general-purpose digital camera with a general-purpose apparatus such as a personal computer and a workstation, via an external interface.
The display apparatus 30 includes, for example, an LCD, an EL display, or a CRT display, and displays an image output from the output unit 26 and related information. Note that in the first embodiment, the display apparatus 30 is provided outside the imaging apparatus 20. However, the display apparatus 30 may be provided inside the imaging apparatus 20.
Next, the operation of the microscopy system 1 will be described.
First, in step S10, under the control of the imaging control unit 22, the image acquisition unit 21 acquires the Z stack image by imaging the object S set in the stage 131 (refer to
As illustrated in
Furthermore, in the first embodiment, the Z stack image is acquired in real time while imaging is performed in the imaging unit 211 provided in the microscope apparatus 10. However, a Z stack image stored in a server or the like may be acquired via a network. Alternatively, a Z stack image may be acquired via a storage medium. In these cases, the image acquisition unit 21 includes an interface that inputs and outputs information to and from an external network, a reading device that reads information stored in the storage medium, or the like.
In subsequent step S11, the control unit 23 generates, from the Z stack image acquired in step S10, a plurality of multi-focus superimposed images in which the slice images are superimposed differently. Specifically, the control unit 23 generates a multi-focus superimposed image obtained by shifting a part of the slice images in the Z stack image by a predetermined (non-zero) shift amount with respect to other images and a multi-focus superimposed image obtained by setting a shift amount between the slice images to zero, that is, a multi-focus superimposed image obtained by shifting none of the slice images.
First, in step S110, the control unit 23 reads slice images M1 to M5 as the Z stack image from the image acquisition unit 21.
In subsequent step S111, the control unit 23 generates a multi-focus superimposed image SI0 having no shift amount. Specifically, the all-in-focus image generation unit 232 calculates the pixel value of each pixel in the multi-focus superimposed image SI0 by averaging the pixel values of pixels the positions of which correspond to each other among the slice images M1 to M5. For example, as illustrated in
In subsequent step S112, the image shift processing unit 231 sets any slice image Mj among the Z stack image as a reference image Mk (k represents any of 1 to 5). Specifically, as the reference image Mk, any slice image Mj such as a slice image M1 having the shallowest slice position (Z=F1), a slice image M5 having the deepest slice position (Z=F5), or a slice image M3 the slice position of which is near the center (Z=F3) is set in advance. Alternatively, the reference image Mk may be appropriately set according to information input from the input unit 25 in response to a user operation. In the first embodiment, as an example, it is assumed that the slice image M1 is set as the reference image Mk.
In subsequent step S113, the image shift processing unit 231 sets a shift amount σ (pixel) by which another slice image Mj is shifted with respect to the reference image Mk. As the shift amount σ, the value stored in advance in the parameter storage unit 241 may be read and set, or any value may be set according to the information (user instruction information) input from the input unit 25.
σ=(z·tanθ)/p (1)
Note that in
In subsequent step S114, the image shift processing unit 231 shifts the slice image based on the shift amount σ determined in step S113.
In subsequent step S115, the all-in-focus image generation unit 232 generates a multi-focus superimposed image SI1 having the shift amount σ from the Z stack image after the shift processing of the slice image. That is, by averaging the pixel values of pixels the positions of which correspond to each other between the reference image Mk and the slice image Mj after the shift processing, the pixel value of each pixel in the multi-focus superimposed image SI1 is calculated. Specifically, in the case of
In step S12 subsequent to step S11, the all-in-focus image generation unit 232 generates a plurality of all-in-focus images from a plurality of the multi-focus superimposed images SI0 and SI1 generated in step S11.
In subsequent step S121, the all-in-focus image generation unit 232 generates a multi-focus superimposed PSF image PI0 having a shift amount of zero corresponding to the multi-focus superimposed image SI0. Specifically, by averaging the pixel values of pixels the positions of which correspond to each other among the plurality of PSF images generated in step S121, a pixel value of each pixel in the multi-focus superimposed PSF image PI0 is calculated.
In subsequent step S122, the all-in-focus image generation unit 232 acquires the shift amount σ used when generating the multi-focus superimposed image SI1, and shifts the PSF image based on the shift amount σ. That is, similarly to the case of generating the multi-focus superimposed image SI1, the PSF image corresponding to another slice image Mj is shifted by the shift amount σ with respect to the PSF image corresponding to the reference image Mk.
In subsequent step S123, the all-in-focus image generation unit 232 generates a multi-focus superimposed PSF image PI1 having the shift amount σ, using the plurality of PSF images after the shift processing in step S122. Specifically, by averaging the pixel values of pixels the positions of which correspond to each other between the PSF image corresponding to the reference image Mk and the PSF image after the shift processing corresponding to another slice image Mj, a pixel value of each pixel in the multi-focus superimposed PSF image PI1 is calculated.
In step S124, the all-in-focus image generation unit 232 restores the multi-focus superimposed images SI0 and SI1 generated in step S11 using the multi-focus superimposed PSF images PI0 and PI1 respectively. That is, the all-in-focus image generation unit 232 generates an all-in-focus image AI0 by restoring the multi-focus superimposed image SI0 using the multi-focus superimposed PSF image PI0 having a shift amount of zero. The all-in-focus image generation unit 232 also generates an all-in-focus image AIi by restoring a multi-focus superimposed image SIi using a multi-focus superimposed PSF image PIi having the shift amount σ. Thereafter, the operation of the control unit 23 returns to a main routine.
In step S13 subsequent to step S12, the imaging apparatus 20 outputs the image data of the plurality of all-in-focus images AI0 and AI1 generated in step S12 to the display apparatus 30, and causes the display apparatus 30 to display the all-in-focus images AI0 and AI1. A method of displaying the all-in-focus images AI0 and AI1 is not particularly limited. For example, the all-in-focus images AI0 and AI1 may be displayed side by side, or the all-in-focus images AI0 and AI1 may be alternately displayed in the same area. When the all-in-focus images AI0 and AI1 are alternately displayed in the same area, the all-in-focus images AI0 and AI1 may be automatically switched at predetermined intervals or may be manually switched by the user using the input unit 25.
As described above, according to the first embodiment of the present disclosure, any slice image in the Z stack images is set as a reference image, other slice images are shifted with respect to the reference image in the plane of the reference image, and then the Z stack images are superimposed. In this way, an all-in-focus image is acquired. At this time, a plurality of all-in-focus images having different relative shift amounts of other slice images with respect to the reference image is generated from one set of Z stack images and then displayed. As a result, it is possible to reproduce a state of virtually viewing the object S from a plurality of viewpoints. Specifically, in the first embodiment, the shift amounts are zero and σ. Therefore, by referring to these all-in-focus images, the user may visually and intuitively grasp a position of a structure in the Z direction in the object S, an anteroposterior relationship between structures, an overlapping state of the structures, and the like.
Furthermore, according to the first embodiment, it is possible to greatly suppress the amount of computation and the amount of data, as compared with the case where 3D volume data is generated and displayed based on the Z stack image.
Note that in the first embodiment, the all-in-focus image is generated by restoring the multi-focus superimposed image using the multi-focus superimposed PSF image generated from the PSF image. However, for example, the all-in-focus image may be generated by superimposing after each slice image is restored using the PSF image. Furthermore, the all-in-focus image generating method is not limited to this method and a method of extracting a focal area from each shifted slice image and performing composition may be used.
In the first embodiment, in order to promote understanding, the case where the slice image is shifted only in the X direction has been described. However, similar processing may be performed in the Y direction. In this case, it is possible to generate an all-in-focus image corresponding to the case where the virtual viewpoint with respect to the object S is moved along the Y direction. Furthermore, by shifting the slice image in two directions, i.e., the X direction and the Y direction, it is also possible to generate an all-in-focus image corresponding to the case where the virtual viewpoint with respect to the object S is moved in the horizontal plane.
Furthermore, in the first embodiment, one all-in-focus image having the shift amount σ with the slice image M1 being the reference image Mk is generated. However, a plurality of all-in-focus images having the shift amount σ may be generated by sequentially setting a plurality of slice images appropriately selected from among the slice images M1 to M5 to the reference image Mk.
Next, a first modification of the first embodiment of the present disclosure will be described. The configuration and operation of a microscopy system according to the first modification are generally similar to those in the first embodiment (refer to
In step S131 subsequent to step S112, the image shift processing unit 231 sets a shift amount σi (i=1, 2, . . . , n) by which another slice image Mj is shifted with respect to the reference image Mk.
In subsequent step S132, the image shift processing unit 231 shifts another slice image Mj with respect to the reference image Mk based on the shift amount σi determined in step S131.
In subsequent step S133, the all-in-focus image generation unit 232 generates a multi-focus superimposed image SIi having the shift amount σi from the Z stack image after the shift processing of the slice image. That is, by averaging the pixel values of pixels the positions of which correspond to each other between the reference image Mk and the slice image Mj after processing of shifting by the shift amount σi, the pixel value of each pixel in the multi-focus superimposed image SIi is calculated. In the case of
In subsequent step S134, the control unit 23 determines whether the variable i has reached the maximum value n. When the variable i has not reached the maximum value n (step S134: No), the control unit 23 increments the variable i (step S135). Thereafter, the operation of the control unit 23 returns to step S131. By repeating steps S131 to S133 in this way, a plurality of multi-focus superimposed images SIi having different shift amounts σi with respect to the reference image Mk is generated.
When the variable i has reached the maximum value n (step S134: Yes), on the other hand, the operation of the control unit 23 returns to the main routine.
The processing of step S12 (refer to
Furthermore, in step S13 in
As described above, according to the first modification of the first embodiment of the present disclosure, a plurality of all-in-focus images having different shift amounts σi with respect to the reference image Mk is acquired and displayed. Therefore, the user may grasp in more details an overlapping state of structures in the Z direction in the object S and an anteroposterior relationship between the structures.
Next, a second embodiment of the present disclosure will be described.
The imaging apparatus 40 includes a control unit 41 instead of the control unit 23 illustrated in
The shift amount acquisition processing unit 411 acquires the shift amount of each of other slice images with respect to a reference image, which are used when a multi-focus superimposed image is generated from a Z stack image. This shift amount is acquired based on a shift parameter stored in advance in a parameter storage unit 241. The shift parameter includes the direction of a virtual viewpoint with respect to an object S and a unit shift amount of the slice image set for each viewpoint.
Next, the operation of the microscopy system 2 will be described.
In step S21 subsequent to step S10, the control unit 41 generates a plurality of multi-focus superimposed images in which the shift amounts of the slice images are different from each other.
First, in step S210, the shift amount acquisition processing unit 411 reads the Z stack image from the image acquisition unit 21.
In subsequent step S211, the shift amount acquisition processing unit 411 sets any slice image Mj in the Z stack image as the reference image Mk. Specifically, as the reference image Mk, any slice image Mj such as a slice image M1 having the shallowest slice position (Z=F1), a slice image M5 having the deepest slice position (Z=F5), or a slice image M3 the slice position of which is near the center (Z=F3) is set in advance. Alternatively, the reference image Mk may be appropriately set according to information input from the input unit 25 in response to a user operation. In the second embodiment, as an example, it is assumed that the slice image M1 is set as the reference image Mk.
In subsequent step S212, the shift amount acquisition processing unit 411 acquires the shift parameter from the parameter storage unit 241. In the second embodiment, it is assumed that an all-in-focus image in the case where the object S is observed virtually from the three directions of viewpoints Vα=V−1, V0, V+1 is finally acquired. In this case, as shift parameters, a parameter α=−1, 0, +1 indicating the viewpoint Vα and a unit shift amount δ are acquired. Herein, when the parameter α is zero, this means that the viewpoint Vα is set directly above the object S. When the parameter α is a positive value, this means that the viewpoint Vα is set in the +X direction with respect to directly above the object S. Conversely, when the parameter α is a negative value, this means that the viewpoint Vα is set in the −X direction with respect to directly above the object S.
In subsequent step S213, the shift amount acquisition processing unit 411 calculates a shift amount σαj of each slice image Mj based on the shift parameters acquired in step S212. This shift amount σαj is sequentially calculated for each viewpoint Vα. In the following description, it is assumed that the shift amount σαj is calculated in order of α=−1, 0, +1. However, the calculation order is not limited thereto. Furthermore, reference sign j representing the slice position of the slice image Mj is j=1, 2, 3, 4, 5 in
The shift amount σαj is given by the following formula (2) using the unit shift amount δ (pixel).
σαj=−α×{δ×(j−k)} (2)
Specifically, when the reference image is the slice image M1 (k=1), the viewpoint Vα=V−1 (α=−1), and the unit shift amount δ is δ=1 (pixel), the shift amounts σ−11 to σ−15 of the respective slice images Mj are given by the following formulae (3-1) to (3-5).
σ−11=−(−1)×{1×(1−1)}=0 (pixel) (3-1)
σ−12=−(−1)×{1×(2−1)}=+1 (pixel) (3-2)
σ−13=−(−1)×{1×(3−1)}=+2 (pixels) (3-3)
σ−14=−(−1)×{1×(4−1)}=+3 (pixels) (3-4)
σ−15=−(−1)×{1×(5−1)}=+4 (pixels) (3-5)
In subsequent step S214, the image shift processing unit 231 shifts the slice image Mj based on the shift amount σαj calculated in step S213. Herein, when the reference sign of the shift amount σαj is positive, the slice image Mj is shifted in the +X direction. When the reference sign of the shift amount σαj is negative, the slice image Mj is shifted in the −X direction. Furthermore, when the shift amount σαj is zero, the slice image Mj is not shifted.
In subsequent step S215, the all-in-focus image generation unit 232 generates a multi-focus superimposed image SIα from the Z stack image after the shift processing of the slice image Mj. That is, by averaging the pixel values of pixels the positions of which correspond to each other between the reference image Mk and the slice image Mj after the shift processing, the pixel value of each pixel in the multi-focus superimposed image SIα (in the case of
In subsequent step S216, the control unit 41 determines whether processing has been performed for all viewpoints based on the shift parameters acquired in step S212. In the case where there is a viewpoint yet to be processed (step S216: No), the shift amount acquisition processing unit 411 changes the parameter α (step S217), and repeats the processing in steps S213 to S216 based on the changed parameter α.
On the other hand, if the processing has been performed for all viewpoints (step S216: Yes), the operation of the control unit 41 returns to the main routine.
The processing in step S12 subsequent to step S21 (refer to
Furthermore, when these all-in-focus images are displayed on the display apparatus 30 in step S13, the all-in-focus images having different viewpoints Vα may be displayed in order of α=−1, 0, +1. These all-in-focus images may be sequentially switched and displayed in the same area. In the latter case, by repeatedly switching the all-in-focus images, for example, in the order of α=−1, 0, +1, 0, −1, . . . , the user may observe the all-in-focus images while feeling as if to sequentially shift their viewpoint for the object S left and right
As described above, according to the second embodiment of the present disclosure, it is possible to reproduce a state in which the object S is virtually observed from a plurality of directions, using the plurality of all-in-focus images having different shift amounts. Therefore, the user may further intuitively grasp a position of a structure in the Z direction in the object S, an overlapping state of structures and an anteroposterior relationship between the structures.
Next, second modification 1 of the second embodiment of the present disclosure will be described. In the second embodiment, the shift amount σαj of each slice image Mj is calculated for each viewpoint Vα, using the unit shift amount δ. However, the shift amount σαj may be calculated using θ representing the direction of each viewpoint Vα (θ=−θ0, 0, +θ0).
In this case, the shift amount σαj of the slice image Mj set for each viewpoint Vα is given by the following formula (4), using a distance dj, k=Δz×(j−k) between the slice position Fk of the reference image Mk and the slice position Fj of the slice image Mj, an angle θα, and a pixel pitch p (μm/pixel) of an imaging element provided to an imaging unit 211.
σαj=−(dj,k·tan θα)/p (4)
Note that in
Next, second modification 2 of the second embodiment of the present disclosure will be described. The configuration and operation of a microscopy system according to second modification 2 are generally similar to those in the second embodiment (refer to
In second modification 2, as illustrated in
σαj=−α×{δ×(j−k)} (2)
That is, the shift amount σαj of each slice image Mj when the multi-focus superimposed image SIα is generated increases as the angle θ of the virtual viewpoint Vα increases. Specifically, as illustrated in
In this way, by changing the shift amount between slice images the slice positions (stack order j) of which are adjacent, among a plurality of multi-focus superimposed images SIα, it is possible to more realistically reproduce a state in which the object S is virtually observed from a plurality of directions at different angles. Therefore, the user may intuitively grasp a position of a structure in the Z direction in the object S, an overlapping state of structures and an anteroposterior relationship between the structures in a wider range.
Note that in second modification 2, the viewpoints V1, V2, . . . are changed in one direction (right direction in
Furthermore, also in second modification 2, a shift amount σαj may be calculated by the above-described formula (4), using the angle θα in the direction of the viewpoint Vα.
Next, second modification 3 of the second embodiment will be described. In the second embodiment, the shift amount of each slice image Mj is determined according to the shift parameters stored in the parameter storage unit 241 in advance. However, this shift amount may be determined according to a user operation.
In this case, first, a control unit 41 generates a plurality of all-in-focus images based on shift parameters stored in advance in a parameter storage unit 241, and causes a display apparatus 30 to display the plurality of all-in-focus images. Then, this display apparatus 30 displays an input field that allows the user to input a viewpoint Vα.
According to second modification 3, it is possible to reproduce a state of observing an object S from a viewpoint desired by the user. Therefore, it is possible to adjust a position of a structure in the Z direction in the object S, an overlapping state of structures and an anteroposterior relationship between the structures such that the user may easily see.
Next, a third embodiment of the present disclosure will be described.
The imaging apparatus 50 includes a control unit 51 instead of the control unit 23 illustrated in
The attention image determination processing unit 511 determines, as an attention image, a slice image including an observation area that is input from the display apparatus 60 described later via an input unit 25.
The display apparatus 60 includes, for example, an LCD, an EL display or a CRT display, and includes an image display unit 61 that displays an image output from an output unit 26 and related information and an observation area determination unit 62 that determines, as an observation area, an area in an all-in-focus image displayed in the image display unit 61, according to an operation performed from the outside and inputs a signal representing the observation area to the control unit 51.
Next, the operation of the microscopy system 3 will be described.
In step S31 subsequent to step S13, the observation area determination unit 62 determines whether a user operation of selecting any area for any of the all-in-focus images AIα=1, AIα=2, AIα=3, and AIα=4 displayed on the image display unit 61 has been performed.
When the user operation has not been performed (step S31: No), the operation of the microscopy system 3 returns to step S13.
When the user operation has been performed (step S31: Yes), on the other hand, the observation area determination unit 62 determines the area selected by the user operation as an observation area, and inputs a signal representing the observation area to the control unit 51 (step S32).
In subsequent step S33, the control unit 51 acquires the Z position information of the observation area based on information representing the observation area that is input from the observation area determination unit 62.
In step S331, the attention image determination processing unit 511 acquires the XY position information of an observation area Aα=3 in an all-in-focus image AIα=3.
In subsequent step S332, the attention image determination processing unit 511 extracts areas A′α=1. A′α=2, and A′α=4 corresponding to the observation area Aα=3, from all-in-focus images AIα=1, AIα=2, and AIα=4 other than the all-in-focus image AIα=3, and acquires the XY position information of each area. The areas A′α=1, A′α=2, and A′α=4 may be extracted, using a known image recognition technique such as pattern matching. Hereinafter, these areas A′α=1, A′α=2, A′α=4 are also referred to as observation areas.
In subsequent step S333, the attention image determination processing unit 511 acquires the shift amounts of the observation areas A′α=1, A′α=2, Aα=3, and A′α=4 in the XY position between the all-in-focus images AIα=1, AIα=2, AIα=3, and AIα=4. In the cases of
In subsequent step S334, based on the shift amounts of the observation areas A′α=1, A′α=2, Aα=3, and A′α=4, the attention image determination processing unit 511 acquires a slice position Fj including these observation areas A′α=1. A′α=2, Aα=3, and A′α=4.
Herein, a shift amount σαj of each slice image Mj in the all-in-focus image AIα is given by the following formula (6) as described in the second embodiment. Therefore, if a shift amount |σαj−σ(α+1)j| between the observation areas A′α=1, A′α=2, Aα=3 and A′α=4 is given, it is possible to calculate a slice position Fi of the observation area A′α=1, A′α=2, Aα=3, and A′α=4 according to the following formula (7).
σαj=−α×{δ×(j−k)} (6)
|σαj−σ(α+1)j|=|{α−(α+1)}×{δ×(j−k)}|
|σαj−σ(α+1)j|=|δ×(j−k)| (7)
For example, as illustrated in
The attention image determination processing unit 511 outputs the slice position Fj acquired in this way as the Z position information of the observation area. Thereafter, the operation of the control unit 51 returns to the main routine.
In step S34 subsequent to step S33, the control unit 51 extracts the slice image Mj including the observation area based on the Z position information output from the attention image determination processing unit 511 and outputs the extracted slice image Mj. In response to this, the display apparatus 60 displays the slice image Mj including the observation area. Note that at this moment, it is also possible to display, along with the slice image Mj including the observation area, other slice images the slice positions of which are adjacent to (that is, preceding and succeeding) the slice image Mj. Thereafter, the operation of the microscopy system 3 ends.
According to the third embodiment of the present disclosure described above, it is possible for the user to intuitively easily grasp Z-directional positions of structures that appear to overlap each other on a plane and an anteroposterior relationship between the structures.
Next, a fourth embodiment of the present disclosure will be described.
The imaging apparatus 70 includes a control unit 71 instead of the control unit 51 illustrated in
The all-in-focus image generation unit 711 includes a cutout range determination processing unit 712 that cuts out a range of a multi-focus superimposed image used to generate an all-in-focus image. The all-in-focus image generation unit 711 generates an all-in-focus image with respect to the range cut out by the cutout range determination processing unit 712.
Next, the operation of the microscopy system 4 will be described.
In step S41 subsequent to step S34, a shift amount acquisition processing unit 411 sets the slice image M3 including the observation area determined in step S32 to a new reference image.
In subsequent step S42, the shift amount acquisition processing unit 411 acquires the shift amount of another slice image Mj with respect to the new reference image used when a multi-focus superimposed image is generated from an original Z stack image. This method of determining the shift amount may be calculated, using formula (2) as in the second embodiment.
In subsequent step S43, the image shift processing unit 231 shifts another slice image Mj with respect to the new reference image based on shift amounts δ1, δ2, δ3, and δ4 acquired in step S42, and the all-in-focus image generation unit 711 regenerates a plurality of multi-focus superimposed images SI01, SI02, SI03, and SI04 from the reference image and another slice image Mj after this shift processing. The method of generating the multi-focus superimposed images is similar to that of the second embodiment.
In subsequent step S44, the cutout range determination processing unit 712 determines a range to be cut out from the multi-focus superimposed images SI01, SI02, SI03, and SI04 such that the XY position of the observation area determined in step S32 does not change with respect to the multi-focus superimposed images SI01, SI02, SI03, and SI04 regenerated in step S43. As a result, the cutout ranges C1 to C4 illustrated in
In subsequent step S45, the all-in-focus image generation unit 711 cuts out the multi-focus superimposed images SI01, SI02, SI03, and SI04 in the cutout ranges determined in step S44 and executes restoration processing for the cutout ranges, thereby generating an all-in-focus image.
In subsequent step S46, the imaging apparatus 70 causes the display apparatus 60 to display the plurality of all-in-focus images generated in step S45. Thereafter, the operation of the microscopy system 4 ends.
According to the fourth embodiment of the present disclosure described above, it is possible to display a plurality of all-in-focus images with different virtual viewpoints without changing the position of the observation area selected by the user in the all-in-focus images. Therefore, the user may intuitively grasp the position of the observation area in the Z direction, the anteroposterior relationship with other structures, and the like without changing the line of sight to the observation area selected by the user.
Next, a modification of the fourth embodiment of the present disclosure will be described. In the fourth embodiment, the shift amount between adjacent slice images in each multi-focus superimposed image is made identical (refer to step S42). However, the shift amount between adjacent slice images even within one multi-focus superimposed image may be varied.
Thus, the shift amount between slice images is increased as their slice positions are closer to a slice image including an observation area to which the user pays attention. In this way, it is possible to facilitate grasping of a structure in the slice image to which the user pays attention.
Furthermore, in the fourth embodiment, the shift amount is increased or decreased sequentially with respect to the uppermost slice image M1 or the lowest slice image M5 so that the slice images M1 to M5 are aligned in one direction. However, the increase or decrease of the shift amount may be varied according to the positional relationship of the slice images.
The above-described first to fourth embodiments and modifications are not limited as they are. It is possible to form various inventions by appropriately combining a plurality of constituent elements disclosed in each embodiment and modifications. For example, the inventions may be formed by excluding some constituent elements from all constituent elements illustrated in the embodiment. Alternatively, the inventions may be formed by appropriately combining the constituent elements illustrated in different embodiments.
According to the present disclosure, based on slice images acquired by performing imaging while shifting a focal position along an optical axis of an observation optical system, all-in-focus images are generated and displayed under conditions in which shift amounts of one slice image with respect to another slice image are different. Therefore, it is possible to reproduce a state of virtually viewing the object from a plurality of viewpoints. Thus, the user may visually and intuitively grasp a position of a structure in the Z direction and an anteroposterior relationship between structures.
Additional advantages and modifications will readily occur to those skilled in the art. Therefore, the disclosure in its broader aspects is not limited to the specific details and representative embodiments shown and described herein. Accordingly, various modifications may be made without departing from the spirit or scope of the general inventive concept as defined by the appended claims and their equivalents.
This application is a continuation of PCT international application Ser. No. PCT/JP2015/061640 filed on Apr. 15, 2015 which designates the United States, incorporated herein by reference.
Number | Date | Country | |
---|---|---|---|
Parent | PCT/JP2015/061640 | Apr 2015 | US |
Child | 15782108 | US |