Method, apparatuses and system for presenting a target, and a storage medium and a program product
Techniques are provided for presenting a target in X-ray imaging. The techniques include acquiring N 3D images of an imaging target, with each 3D image being provided with a respective camera coordinate system and N being a positive integer greater than or equal to 2. The techniques also include generating a virtual 3D image on the basis of the N 3D images, with a camera coordinate system of the virtual 3D image taking an X-ray source as the origin, and converting the virtual 3D image into a 2D image. Finally, the technique includes presenting the 2D image. By means of the 2D image, the X-ray imaging target may be fully observed. In addition, distortion, such as warping or deformation, is not present in an imaging region and an automatic exposure region.
1 . A method for presenting a target in X-ray imaging, comprising:
acquiring a number of three-dimensional (3D) images, greater than or equal to 2, of an imaging target, each one of the 3D images having a respective camera coordinate system;
generating a virtual 3D image based upon the 3D images by:
converting the 3D images into respective point-cloud images having respective camera coordinate systems to obtain a number of point-cloud images; and
fusing the point-cloud images into a single point-cloud image representing the virtual 3D image in a camera coordinate system that uses an X-ray source as an origin;
converting the virtual 3D image into a two-dimensional (2D) image by:
receiving a predetermined instruction indicating a focal length value and a resolution value;
parsing, from the predetermined instruction, the focal length value and the resolution value to thereby obtain the focal length value and the resolution value; and
mapping, based upon the focal length value and the resolution value, the single point-cloud image to the 2D image; and
presenting the 2D image.
2 . The method as claimed in claim 1 , further comprising:
receiving an X-ray imaging region;
determining a coordinate range of the virtual 3D image corresponding to the X-ray imaging region;
determining, based upon the coordinate range, a first accentuation region for accentuating the X-ray imaging region in the 2D image; and
presenting the first accentuation region in the 2D image.
3 . The method as claimed in claim 1 , further comprising:
determining an automatic exposure region based upon a detector type;
determining a coordinate range of the virtual 3D image corresponding to the automatic exposure region;
determining, based upon the coordinate range, a second accentuation region for accentuating the automatic exposure region in the 2D image; and
presenting the second accentuation region in the 2D image.
4 . An apparatus for presenting a target in X-ray imaging, comprising:
an image acquirer configured to acquire a number of three-dimensional (3D) images, greater than or equal to 2, of an imaging target, each one of the 3D images having a respective camera coordinate system;
an image generator configured to generate a virtual 3D image based upon the 3D images by:
converting the 3D images into respective point-cloud images having respective camera coordinate systems to obtain a number of point-cloud images; and
fusing the point-cloud images into a single point-cloud image representing the virtual 3D image in a camera coordinate system that uses an X-ray source as an origin;
an image converter configured to convert the virtual 3D image into a two-dimensional (2D) image by:
receiving a predetermined instruction indicating a focal length value and a resolution value;
parsing, from the predetermined instruction, the focal length value and the resolution value to thereby obtain the focal length value and the resolution value; and
mapping, based upon the focal length value and the resolution value, the single point-cloud image to the 2D image; and
an image presenter configured to present the 2D image.
5 . The apparatus as claimed in claim 4 , wherein the image presenter is configured to:
receive an X-ray imaging region;
determine a coordinate range of the virtual 3D image corresponding to the X-ray imaging region;
determine, based upon the coordinate range, a first accentuation region for accentuating the X-ray imaging region in the 2D image; and
present the first accentuation region in the 2D image.
6 . The apparatus as claimed in claim 4 , wherein the image presenter is configured to:
determine an automatic exposure region based upon a detector type;
determine a coordinate range of the virtual 3D image corresponding to the automatic exposure region;
determine, based upon the coordinate range, a second accentuation region for accentuating the automatic exposure region in the 2D image; and
present the second accentuation region in the 2D image.
7 . A system for presenting a target in X-ray imaging, comprising:
a number of cameras, each one of the cameras being configured to acquire a respective 3D image of an imaging target to provide a number of three-dimensional (3D) images, greater than or equal to 2, of the imaging target,
wherein each one of the 3D images has a respective camera coordinate system; and
controller configured to:
generate a virtual 3D image based upon the 3D images by:
converting the 3D images into respective point-cloud images having respective camera coordinate systems to obtain a number of point-cloud images; and
fusing the point-cloud images into a single point-cloud image representing the virtual 3D image in a camera coordinate system that uses an X-ray source as an origin;
convert the virtual 3D image into a two-dimensional (2D) image by:
receiving a predetermined instruction indicating a focal length value and a resolution value;
parsing, from the predetermined instruction, the focal length value and the resolution value to thereby obtain the focal length value and the resolution value; and
mapping, based upon the focal length value and the resolution value, the single point-cloud image to the 2D image; and
present the 2D image.
8 . The system as claimed in claim 7 , wherein the cameras are arranged at respective mounting positions on an X-ray generating component.
9 . A non-transitory computer-readable storage medium having instruction stored thereon that, when executed by an apparatus for presenting a target in X-ray imaging, cause the apparatus to:
acquire a number of three-dimensional (3D) images, greater than or equal to 2, of an imaging target, each one of the 3D images having a respective camera coordinate system;
generate a virtual 3D image based upon the 3D images by:
converting the 3D images into respective point-cloud images having respective camera coordinate systems to obtain a number of point-cloud images; and
fusing the point-cloud images into a single point-cloud image representing the virtual 3D image in a camera coordinate system that uses an X-ray source as an origin,
wherein a camera coordinate system of the virtual 3D image uses an X-ray source as an origin;
convert the virtual 3D image into a three-dimensional (2D) image by:
receiving a predetermined instruction indicating a focal length value and a resolution value;
parsing, from the predetermined instruction, the focal length value and the resolution value to thereby obtain the focal length value and the resolution value; and
mapping, based upon the focal length value and the resolution value, the single point-cloud image to the 2D image; and
present the 2D image.