Method and system for compressing and reconstructing 3D medical images
A method for compressing three-dimensional (3D) medical image. The method includes obtaining image data of a 3D medical image, performing a data conversion operation to convert the image data of the 3D medical image into video data of a sequence of frames each corresponding to a respective 2D image, and performing a video encoding operation to encode the video data of the sequence of frames to obtain encoded content data. The encoded content data can be used for reconstructing the 3D medical image.
1 . A method for compressing 3D medical image, comprising:
obtaining image data of a 3D medical image;
performing a data conversion operation to convert the image data of the 3D medical image into video data of a sequence of frames, each of the frames corresponding to a respective 2D image;
wherein the performing the data conversion operation further comprises:
processing the image data of the 3D medical image to obtain image data of a plurality of 2D images; and
performing a bit-depth conversion operation on the image data of the plurality of 2D images to obtain the video data of the sequence of frames;
and
performing a video encoding operation to encode the video data of the sequence of frames to obtain encoded content data;
wherein the encoded content data is operable for reconstruction of the 3D medical image.
2 . The method of claim 1 , wherein processing the image data of the 3D medical image to obtain image data of the plurality of 2D images comprises:
partitioning the 3D medical image along an axis perpendicular to a partition plane to obtain a plurality of slices that can be represented as the plurality of 2D images; and
for each pixel of each of the plurality of 2D images, respectively mapping the pixel to an n-bit integer to obtain a n-bit pixel.
3 . The method of claim 2 , wherein n is 8, 10, or 16.
4 . The method of claim 2 , wherein the mapping is performed based on a data range or data boundary of the 3D medical image.
5 . The method of claim 2 , wherein the bit-depth conversion operation is based on bit-interlacing.
6 . The method of claim 5 , wherein the bit-depth conversion operation based on bit-interlacing comprises:
converting each n-bit pixel into two respective m-bit pixels; and
forming two m-bit sequences based on the m-bit pixels of the plurality of 2D images;
wherein the video data of the sequence of frames comprises the two m-bit sequences.
7 . The method of claim 6 , wherein n=16 and m=8.
8 . The method of claim 6 , wherein for each of the n-bit pixel, the converting respectively includes:
applying a first bit mask to the n-bit pixel to extract m bits;
applying a second bit mask to the n-bit pixel to extract another m bits;
concatenating the m bits to an m-bit pixel; and
concatenating the another m bits to another ma-bit pixel.
9 . The method of claim 8 ,
wherein applying a first bit mask to the n-bit pixel to extract m bits comprises applying the first bit mask to the n-bit pixel to extract m even-position bits; and
wherein applying a second bit mask to the n-bit pixel to extract another m bits comprises applying a second bit mask to the n-bit pixel to extract m odd-position bits.
10 . The method of claim 2 , wherein the bit-depth conversion operation is based on bit-shifting.
11 . The method of claim 10 , wherein the bit-depth conversion operation based on bit-shifting comprises:
converting each n-bit pixel into a respective m-bit pixel; and
forming a m-bit sequence based on the m-bit pixels of the plurality of 2D images;
wherein the video data of the sequence of frames comprises the m-bit sequence.
12 . The method of claim 11 , wherein n=16 and m=8 or 10.
13 . The method of claim 11 , wherein for each of the n-bit pixel, the converting respectively includes:
performing bitwise right-shifting on higher m bits of the n-bit pixel, and
discarding or dropping lower n−m bits of the n-bit pixel,
thereby forming the m-bit pixel.
14 . The method of claim 2 , wherein the data conversion operation further comprises:
generating a data conversion indicator indicating one or more properties associated with the processing of the image data of the 3D medical image and/or the performing of the bit-depth conversion operation; and
performing an encoding operation to encode the data conversion indicator to obtain encoded data conversion indicator data;
wherein the encoded data conversion indicator data is operable for facilitating reconstruction of the 3D medical image.
15 . The method of claim 1 , wherein the video encoding operation is arranged to:
reduce inter-frame redundancy of the video data of the sequence of frames; and/or
reduce intra-frame redundancy of the video data of the sequence of frames.
16 . The method of claim 1 , wherein the video encoding operation is based on Versatile Video Coding (VVC).
17 . The method of claim 1 , wherein the video encoding operation is based on High Efficiency Video Coding (HEVC).
18 . The method of claim 1 , wherein the video encoding operation is based on H.264/MPEG-4 Advanced Video Coding (AVC).
19 . The method of claim 1 , wherein the video encoding operation is based on Audio Video coding Standard (AVS), such as AVS3.
20 . The method of claim 1 , wherein the 3D medical image is a magnetic resonance imaging (MRI) image.
21 . The method of claim 1 , wherein the 3D medical image is a computed tomography (CT) image.
22 . A system for compressing 3D medical image, comprising:
one or more processors; and
memory storing one or more programs configured to be executed by the one or more processors, the one or more programs including instructions for performing or facilitating performing of the method of claim 1 .
23 . A method for reconstructing 3D medical image, comprising:
performing a video decoding operation to decode encoded content data to obtain video data of a sequence of frames, each of the frames corresponding to a respective 2D image; and
performing an inverse data conversion operation to convert the video data of the sequence of frames into image data of a 3D medical image; wherein performing the inverse data conversion operation comprises:
performing an inverse bit-depth conversion operation on the video data of the sequence of frames to obtain image data of a plurality of 2D images; and
processing the image data of the plurality of 2D images to obtain the image data of the 3D medical image, wherein the image data of the 3D medical image is operable for reconstructing the 3D medical image.
24 . The method of claim 23 , wherein the video decoding operation is based on Versatile Video Coding (VVC).
25 . The method of claim 23 , wherein the video decoding operation is based on High Efficiency Video Coding (HEVC).
26 . The method of claim 23 , wherein the video decoding operation is based on H.264/MPEG-4 Advanced Video Coding (AVC).
27 . The method of claim 23 , wherein the video decoding operation is based on Audio Video coding Standard (AVS), such as AVS3.
28 . The method of claim 23 , wherein the inverse bit-depth conversion operation is based on inverse bit-interlacing.
29 . The method of claim 23 , wherein the inverse bit-depth conversion operation is based on inverse bit-shifting.
30 . The method of claim 23 , wherein the plurality of 2D images comprises a plurality of n-bit pixels; and
wherein processing the image data of the plurality of 2D images to obtain the image data of the 3D medical image comprises:
for each n-bit pixel of each of the plurality of 2D images, respectively inversely mapping the n-bit pixel to a pixel based on a data range or data boundary; and
combining a plurality of slices represented by the plurality of 2D images with inversely mapped pixels along an axis perpendicular to a partition plane to obtain the 3D medical image.
31 . The method of claim 23 , wherein the inverse data conversion operation further comprises:
performing a decoding operation to decode encoded data conversion indicator data to obtain a data conversion indicator, the data conversion indicator indicating one or more properties associated with a processing of the image data of the 3D medical image and/or a performing of the bit-depth conversion operation;
wherein the data conversion indicator is operable for facilitating reconstruction of the 3D medical image.
32 . A system for reconstructing 3D medical image, comprising:
one or more processors; and
memory storing one or more programs configured to be executed by the one or more processors,
the one or more programs including instructions for performing or facilitating performing of the method of claim 23 .