Image correction method, system, storage medium and electronic device
By acquiring the corrected phase of the magnetic resonance scanning data, the problem of difficult to eliminate the phase error artifact of the first-order linear function in the prior art is solved, and the image quality improvement and computing resource saving are achieved.
Patent Information
- Application Number
- CN202210133860.7
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2022-02-14
- Publication Date
- 2024-11-29
- Estimated Expiration
- 2042-02-14
AI Technical Summary
When the existing image correction method processes phase errors that do not satisfy the first-order linear function, it is difficult to effectively eliminate artifacts and affect image quality.
By obtaining the correction phase corresponding to the row sequence number of the magnetic resonance scan data, the row element values of the image matrix to be corrected are corrected, and the corrected image matrix is added with the uncorrected image matrix to obtain the corrected image and interpolation compensation is used to obtain the Method and correction phase smoothness judgment to optimize the correction process.
Effective elimination of phase error artifacts that do not satisfy the first-order linear function is achieved, image quality is improved, image correction process is simplified, and computing resources are saved.
Smart Images

Figure CN114487961B_ABST
Abstract
Description
Technical Field
[0001] The present invention relates to the field of image processing technology, and in particular to an image correction method, system, storage medium and electronic equipment. Background Art
[0002] Echo Planar Imaging (EPI) is a magnetic resonance imaging method that can perform phase encoding on gradient echo signals and fill the phase-encoded gradient echo signals into k-space to achieve cross-sectional imaging. EPI uses positive and negative gradients as frequency encoding gradients. Due to the influence of the gradient system itself or eddy currents, phase errors are formed between positive and negative gradients, resulting in Nyquist artifacts in the imaging results, which greatly affects the image quality.
[0003] At present, in the process of correcting artifact images, a phase error model φ(x)=a+bx is established, where x is the frequency encoding direction, and the optimal parameters a and b are found through iterative calculation to minimize image artifacts. However, this phase error model regards the phase error as a first-order linear function. For phase errors that do not satisfy the first-order linear function, it cannot effectively eliminate image artifacts. Summary of the invention
[0004] The purpose of the embodiments of the present invention is to provide an image correction method, system, storage medium and electronic device, which can also eliminate artifacts for artifact images with phase errors that do not satisfy the first-order linear function. The specific technical solution is as follows:
[0005] The present invention provides an image correction method, comprising:
[0006] Acquiring magnetic resonance scanning data; the magnetic resonance scanning data is a phase-encoded gradient echo signal;
[0007] When the phase encoding direction is the column direction, a first echo matrix is obtained based on the first target column data of the magnetic resonance scanning data, and the first echo matrix is subjected to inverse Fourier transform to obtain a first image matrix; a second echo matrix is obtained based on the second target column data of the magnetic resonance scanning data, and the second echo matrix is subjected to inverse Fourier transform to obtain a second image matrix; the first target column and the second target column are odd columns or even columns, if the first target column is an odd column, the second target column is an even column, if the first target column is an even column, the second target column is an odd column;
[0008] Acquire a correction phase corresponding to the row number of the first image matrix, and based on the acquired correction phase, correct the row element value of the corresponding row number of the image matrix to be corrected to obtain a corrected image matrix; each row of the first image matrix corresponds to at least one correction phase, and the image matrix to be corrected is the first image matrix or the second image matrix;
[0009] The element values of corresponding elements of the corrected image matrix and the uncorrected image matrix are added to obtain a corrected image.
[0010] Optionally, after obtaining the corrected image, the method further includes:
[0011] Based on the pixel value of the corrected image, determine whether the corrected image meets the image artifact suppression requirement; if the corrected image meets the image artifact suppression requirement, use the corrected image as the artifact suppression image; if the corrected image does not meet the image artifact suppression requirement, obtain a new correction phase corresponding to the row number of the first image matrix, and then return to the step of "correcting the row element value of the corresponding row number of the image matrix to be corrected based on the obtained correction phase".
[0012] Optionally, after obtaining the corrected image, the method further includes:
[0013] Determining whether the corrected image meets the image artifact suppression requirement based on the pixel value of the corrected image;
[0014] If the corrected image does not meet the image artifact suppression requirement, a new correction phase corresponding to the row number of the first image matrix is obtained, and then the process returns to the step of "correcting the row element value of the corresponding row number of the image matrix to be corrected based on the obtained correction phase";
[0015] If the corrected image meets the image artifact suppression requirement, determining whether a difference between a correction phase corresponding to a current row number of the corrected image and a correction phase corresponding to an adjacent row number of the corrected image is less than a preset difference;
[0016] If it is less than, the corrected image is used as the artifact suppressed image;
[0017] If it is not less than, the interpolation compensation method is used to obtain the compensated correction phase for the correction phase corresponding to the current row number, and the row element value of the current row number of the image matrix to be corrected is corrected based on the compensated correction phase to obtain an updated image matrix, and the element values of the corresponding elements of the updated image matrix and the uncorrected image matrix are added to obtain an artifact suppressed image.
[0018] Optionally, judging whether the corrected image meets the image artifact suppression requirement based on the pixel value of the corrected image specifically includes:
[0019] Dividing the corrected image into a first part and a second part by column; the first part includes a plurality of columns arranged continuously, and the second part includes a plurality of columns arranged continuously;
[0020] Exchanging the positions of the first part and the second part in the corrected image, wherein after the exchange, the order of the columns in the first part remains unchanged, and the order of the columns in the second part remains unchanged;
[0021] Calculating the ratio of the pixel value before and after the interchange of the same position point of the corrected image, and adding a plurality of the ratios corresponding to the same row in the corrected image to obtain a cumulative ratio;
[0022] Whether the corrected image meets the image artifact suppression requirement is determined based on the inverse of the accumulated ratio.
[0023] Optionally, judging whether the corrected image meets the image artifact suppression requirement based on the inverse of the accumulated ratio specifically includes:
[0024] When one row of the first image matrix corresponds to a correction phase, determining whether the reciprocal of the accumulated ratio is less than a preset reciprocal value; when the reciprocal of the accumulated ratio is less than the preset reciprocal value, determining that the corrected image meets the image artifact suppression requirement; when the reciprocal of the accumulated ratio is not less than the preset reciprocal value, determining that the corrected image does not meet the image artifact suppression requirement;
[0025] When a row of the first image matrix corresponds to multiple correction phases, the reciprocals of multiple accumulated ratios in the same row of the first image matrix are compared; when the reciprocal of the current accumulated ratio is the reciprocal of the minimum accumulated ratio, it is determined that the corrected image corresponding to the reciprocal of the current accumulated ratio meets the image artifact suppression requirement; when the reciprocal of the current accumulated ratio is not the reciprocal of the minimum accumulated ratio, it is determined that the corrected image corresponding to the reciprocal of the current accumulated ratio does not meet the image artifact suppression requirement.
[0026] Optionally, judging whether the corrected image meets the image artifact suppression requirement based on the pixel value of the corrected image specifically includes:
[0027] When one row of the first image matrix corresponds to a correction phase, the pixel values of the pixels in the same row of the preset edge area of the corrected image are added to obtain a pixel accumulation value; whether the pixel accumulation value of each row of the preset edge area is less than the preset pixel accumulation value; when the pixel accumulation value of each row is less than the preset pixel accumulation value, it is determined that the corrected image meets the image artifact suppression requirement; when the pixel accumulation value of at least one row is not less than the preset pixel accumulation value, it is determined that the corrected image does not meet the image artifact suppression requirement;
[0028] When a row of the first image matrix corresponds to multiple correction phases, the pixel cumulative value of the same row of the preset edge area of each of the corrected images is calculated; whether the current pixel cumulative value is the minimum pixel cumulative value is determined; when the current pixel cumulative value is the minimum pixel cumulative value, it is determined that the corrected image corresponding to the current pixel cumulative value meets the image artifact suppression requirement; when the current pixel cumulative value is not the minimum pixel cumulative value, it is determined that the corrected image corresponding to the current pixel cumulative value does not meet the image artifact suppression requirement.
[0029] Optionally, the step of correcting the row element values of the image matrix to be corrected corresponding to the row number based on the obtained correction phase to obtain the corrected image matrix specifically includes:
[0030] Under the condition that the image matrix to be corrected is the first image matrix, and the first image matrix is obtained based on the even-numbered columns of the magnetic resonance scanning data, a first corrected image matrix is obtained according to the following formula:
[0031]
[0032] In the formula, im even,a is the first corrected image matrix, im even is a first image matrix obtained based on the even columns of the magnetic resonance scan data, ψ 1 * is the first correction phase vector, is a correction phase corresponding to when the row number of the first image matrix obtained based on the even columns of the magnetic resonance scan data is 1, A correction phase corresponding to a row number n of a first image matrix obtained based on even columns of the magnetic resonance scan data, wherein each row of the first image matrix has a plurality of row element values;
[0033] Under the condition that the image matrix to be corrected is the second image matrix, and the second image matrix is obtained based on odd columns of magnetic resonance scanning data, the second corrected image matrix is obtained according to the following formula:
[0034]
[0035] In the formula, im odd,a is the second corrected image matrix, im odd A second image matrix obtained based on odd columns of the magnetic resonance scan data, each row of the second image matrix having a plurality of row element values;
[0036] Under the condition that the image matrix to be corrected is the first image matrix, and the first image matrix is obtained based on the odd columns of the magnetic resonance scanning data, a third corrected image matrix is obtained according to the following formula:
[0037]
[0038] In the formula, im odd,b is the third corrected image matrix, im odd ' is a first image matrix obtained based on the odd columns of the magnetic resonance scanning data, ψ 2* is the second correction phase vector, is a correction phase corresponding to when the row number of the first image matrix obtained based on the odd columns of the magnetic resonance scan data is 1, A correction phase corresponding to when the row number of the first image matrix obtained based on the odd-numbered columns of the magnetic resonance scan data is n;
[0039] Under the condition that the image matrix to be corrected is the second image matrix, and the second image matrix is obtained based on the even-numbered columns of the magnetic resonance scanning data, a fourth corrected image matrix is obtained according to the following formula:
[0040]
[0041] In the formula, im even,b is the fourth corrected image matrix, im even ' is a second image matrix obtained based on the even-numbered columns of the magnetic resonance scanning data.
[0042] The present invention also provides an image correction system, comprising:
[0043] A data acquisition module, used to acquire magnetic resonance scanning data; the magnetic resonance scanning data is a phase-encoded gradient echo signal;
[0044] an inverse Fourier transform module, for obtaining a first echo matrix based on the first target column data of the magnetic resonance scan data, and performing inverse Fourier transform on the first echo matrix to obtain a first image matrix when the phase encoding direction is the column direction; obtaining a second echo matrix based on the second target column data of the magnetic resonance scan data, and performing inverse Fourier transform on the second echo matrix to obtain a second image matrix; the first target column and the second target column are odd columns or even columns, if the first target column is an odd column, the second target column is an even column, if the first target column is an even column, the second target column is an odd column;
[0045] a correction module, configured to obtain a correction phase corresponding to a row number of the first image matrix, and based on the obtained correction phase, correct a row element value of a row number of the image matrix to be corrected to obtain a corrected image matrix; each row of the first image matrix corresponds to at least one correction phase, and the image matrix to be corrected is the first image matrix or the second image matrix;
[0046] The corrected image acquisition module is used to add the element values of the corresponding elements of the corrected image matrix and the uncorrected image matrix to obtain the corrected image.
[0047] The present invention also provides a computer-readable storage medium, on which a program is stored, and when the program is executed by a processor, the above-mentioned image correction method is implemented.
[0048] The present invention also provides an electronic device, comprising:
[0049] At least one processor, and at least one memory and bus connected to the processor;
[0050] The processor and the memory communicate with each other via the bus; the processor is used to call program instructions in the memory to execute the above-mentioned image correction method.
[0051] An image correction method, system, storage medium and electronic device provided by an embodiment of the present invention obtains a correction phase corresponding to the row number of a first image matrix, and based on the obtained correction phase, corrects the row element value of the corresponding row number of the image matrix to be corrected to obtain a corrected image matrix, and adds the element values of the corresponding elements of the corrected image matrix and the uncorrected image matrix to obtain a corrected image. The present invention does not eliminate image artifacts based on a first-order linear phase error model, but corrects each row element value of the second image matrix based on the obtained correction phase to obtain a corrected image. For phase errors that do not satisfy a first-order linear function, the artifact image can also be well eliminated.
[0052] Of course, it is not necessary to achieve all of the advantages described above at the same time to implement any product or method of the present invention. BRIEF DESCRIPTION OF THE DRAWINGS
[0053] In order to more clearly illustrate the embodiments of the present invention or the technical solutions in the prior art, the drawings required for use in the embodiments or the description of the prior art will be briefly introduced below. Obviously, the drawings described below are only some embodiments of the present invention. For ordinary technicians in this field, other drawings can be obtained based on these drawings without paying creative work.
[0054] Figure 1 A flow chart of an image correction method provided by an embodiment of the present invention;
[0055] Figure 2 A schematic diagram of image comparison provided by an embodiment of the present invention;
[0056] Figure 3 A structural diagram of an image correction system provided by an embodiment of the present invention;
[0057] Figure 4 A schematic diagram of the structure of an electronic device provided by an embodiment of the present invention. DETAILED DESCRIPTION
[0058] The following will be combined with the drawings in the embodiments of the present invention to clearly and completely describe the technical solutions in the embodiments of the present invention. Obviously, the described embodiments are only part of the embodiments of the present invention, not all of the embodiments. Based on the embodiments of the present invention, all other embodiments obtained by ordinary technicians in this field without creative work are within the scope of protection of the present invention.
[0059] The present invention provides an image correction method, such as Figure 1 As shown, the method includes:
[0060] Step 101: Acquire magnetic resonance scanning data; the magnetic resonance scanning data is a phase-encoded gradient echo signal.
[0061] When performing magnetic resonance scanning, the scanning phase encoding direction can be the column direction (i.e., left-right direction), or the phase encoding direction can be the row direction (i.e., up-down direction). After completing a scan, a set of magnetic resonance scanning data can be obtained. The magnetic resonance scanning data is k-space data, which is expressed by S(k x ,k y ) represents, where k x Indicates the x-axis coordinate corresponding to the k-space, k y Indicates the y-axis coordinate corresponding to the k-space.
[0062] Step 102: When the phase encoding direction is the column direction, a first echo matrix is obtained based on the first target column data of the magnetic resonance scanning data, and the first echo matrix is inversely transformed by Fourier to obtain a first image matrix; a second echo matrix is obtained based on the second target column data of the magnetic resonance scanning data, and the second echo matrix is inversely transformed by Fourier to obtain a second image matrix; the first target column and the second target column are odd columns or even columns, if the first target column is an odd column, the second target column is an even column, and if the first target column is an even column, the second target column is an odd column.
[0063] When the phase encoding direction is the column direction, one magnetic resonance scan can obtain a column of data. According to the method of dividing the column data into odd columns and even columns, an echo matrix can be obtained based on the odd columns, and another echo matrix can be obtained based on the even columns. It should be noted that, whether it is an odd column or an even column, when obtaining the echo matrix, it is necessary to ensure that the odd columns are still odd columns in the echo matrix, and the even columns are still even columns in the echo matrix. For the echo matrix formed by odd columns, it is necessary to fill the even columns of the echo matrix with 0 so that the sum of the total number of columns of the echo matrix is equal to the sum of the total number of odd columns and the total number of even columns. For the echo matrix formed by even columns, it is necessary to fill the odd columns of the echo matrix with 0 so that the sum of the total number of columns of the echo matrix is equal to the sum of the total number of even columns and the total number of odd columns. Among them, the sum of the total number of odd columns and the total number of even columns is equal to the total number of columns obtained after the magnetic resonance scan is completed.
[0064] If the first target column is an odd column, the first echo matrix is an odd echo matrix, the second target column is an even column, and the second echo matrix is an even echo matrix. If the first target column is an even column, the first echo matrix is an even echo matrix, the second target column is an odd column, and the second echo matrix is an odd echo matrix. The number of rows of the odd echo matrix and the even echo matrix is the same as the number of rows of the magnetic resonance scan data, and the number of columns of the odd echo matrix and the even echo matrix is the same as the number of columns of the magnetic resonance scan data.
[0065] As an optional implementation, when the phase encoding direction is the row direction, a third echo matrix is obtained based on the first target row data of the magnetic resonance scan data, and the third echo matrix is subjected to inverse Fourier transform to obtain a third image matrix; a fourth echo matrix is obtained based on the second target row data of the magnetic resonance scan data, and the fourth echo matrix is subjected to inverse Fourier transform to obtain a fourth image matrix; the first target row and the second target row are odd rows or even rows, if the first target row is an odd row, the second target row is an even row, and if the first target row is an even row, the second target row is an odd row. In this implementation, one magnetic resonance scan can obtain a row of data.
[0066] Since echo planar imaging (EPI) uses positive and negative gradients as frequency encoding gradients, when there is an error Δ between the positive and negative encoding gradients, the echo matrix obtained based on the magnetic resonance scanning data is inversely transformed by Fourier transform, and the artifact image expression is as follows:
[0067]
[0068] In the formula, is an artifact image, ρ(x,y) is an ideal image without artifacts, x is the image horizontal coordinate, y is the image vertical coordinate, FOV represents the field of view, and φ(x)+φ0 is the phase deviation.
[0069] It can be seen from the above formula that when the phase deviation φ(x)+φ0 is 0, ρ′(x,y)=ρ(x,y), that is, an artifact-free image can be obtained when there is no phase deviation. Therefore, eliminating artifacts can be converted into eliminating the phase deviation φ(x)+φ0.
[0070] Step 103: Obtain a correction phase corresponding to the row number of the first image matrix, and based on the obtained correction phase, correct the row element value of the corresponding row number of the image matrix to be corrected to obtain a corrected image matrix; each row of the first image matrix corresponds to at least one correction phase, and the image matrix to be corrected is the first image matrix or the second image matrix.
[0071] When the phase encoding direction is the column direction, the element value of each row of the first image matrix or the second image matrix can be corrected based on the randomly acquired correction phase; when the phase encoding direction is the row direction, the element value of each column of the first image matrix or the second image matrix can be corrected based on the randomly acquired correction phase.
[0072] As an optional implementation, under the condition that the image matrix to be corrected is the first image matrix, and the first image matrix is obtained based on the even columns of the magnetic resonance scanning data, the first corrected image matrix is obtained according to the following formula:
[0073]
[0074] In the formula, im even ,a is the first corrected image matrix,im even is the first image matrix obtained based on the even columns of the magnetic resonance scan data, ψ 1 * is the first correction phase vector, is the correction phase corresponding to the row number 1 of the first image matrix obtained based on the even columns of the magnetic resonance scanning data, The correction phase corresponding to the row number n of the first image matrix obtained based on the even-numbered columns of the magnetic resonance scanning data, each row of the first image matrix has a plurality of row element values.
[0075] As another optional implementation, under the condition that the image matrix to be corrected is the second image matrix, and the second image matrix is obtained based on odd columns of magnetic resonance scanning data, the second corrected image matrix is obtained according to the following formula:
[0076]
[0077] In the formula, im odd,a is the second corrected image matrix, im odd The second image matrix is obtained based on odd-numbered columns of the magnetic resonance scan data, and each row of the second image matrix has a plurality of row element values.
[0078] As another optional implementation, under the condition that the image matrix to be corrected is the first image matrix, and the first image matrix is obtained based on odd columns of magnetic resonance scanning data, the third corrected image matrix is obtained according to the following formula:
[0079]
[0080] In the formula, im odd,b is the third corrected image matrix, im odd ' is the first image matrix obtained based on the odd columns of the magnetic resonance scan data, ψ 2* is the second correction phase vector, is the correction phase corresponding to the row number 1 of the first image matrix obtained based on the odd columns of the magnetic resonance scanning data, A correction phase corresponding to when the row number of the first image matrix obtained based on the odd columns of the magnetic resonance scan data is n;
[0081] As another optional implementation, under the condition that the image matrix to be corrected is the second image matrix, and the second image matrix is obtained based on the even columns of the magnetic resonance scanning data, the fourth corrected image matrix is obtained according to the following formula:
[0082]
[0083] In the formula, im even,b is the fourth corrected image matrix, im even ' is a second image matrix obtained based on the even-numbered columns of the magnetic resonance scanning data.
[0084] The present invention calculates the phase deviation of each row of pixels through the randomly acquired correction phase, rather than regarding the phase error as a first-order linear function, so that artifacts can be eliminated for artifact images with high-order phase errors that do not satisfy the first-order linear function. At the same time, the present invention does not need to perform multiple Fourier operations on the entire image, simplifies the image correction process, avoids repeated Fourier inverse transform processes, and saves computing resources.
[0085] As an optional implementation, when the phase encoding direction is the row direction, a correction phase corresponding to the column number of the third image matrix is obtained, and based on the obtained correction phase, the column element value of the corresponding column number of the image matrix to be corrected is corrected to obtain a corrected image matrix; each row of the third image matrix corresponds to at least one correction phase, and the image matrix to be corrected is the third image matrix or the fourth image matrix.
[0086] Step 104: Add the values of corresponding elements of the corrected image matrix and the uncorrected image matrix to obtain a corrected image.
[0087] The image matrix to be corrected in step 103 may be the first image matrix or the second image matrix, and the uncorrected image matrix may also be the first image matrix or the second image matrix. If the image matrix to be corrected is the first image matrix, the uncorrected image matrix is the second image matrix; if the image matrix to be corrected is the second image matrix, the uncorrected image matrix is the first image matrix.
[0088] As an optional implementation, under the condition that the image matrix to be corrected is the first image matrix, and the first image matrix is obtained based on the even-numbered columns of the magnetic resonance scanning data, the corrected image im=im even,a +im odd .
[0089] As another optional implementation, under the condition that the image matrix to be corrected is the second image matrix, and the second image matrix is obtained based on odd columns of magnetic resonance scanning data, the correction image im=im even +im odd,a .
[0090] As another optional implementation, under the condition that the image matrix to be corrected is the first image matrix, and the first image matrix is obtained based on odd columns of magnetic resonance scanning data, the correction image im=im even +im odd,b .
[0091] As another optional implementation, under the condition that the image matrix to be corrected is the second image matrix, and the second image matrix is obtained based on the even-numbered columns of the magnetic resonance scanning data, the corrected image im=im even,b+im odd .
[0092] Since the acquired correction phase may not be able to completely eliminate artifacts in the obtained corrected image, it is possible to determine whether the corrected image meets the image artifact suppression requirements. If it does not meet the image artifact suppression requirements, it is necessary to acquire a different correction phase again to regain the corrected image until the obtained corrected image meets the image artifact suppression requirements.
[0093] As an optional implementation, after obtaining the corrected image, it is determined whether the corrected image meets the image artifact suppression requirements based on the pixel values of the corrected image; if the corrected image meets the image artifact suppression requirements, the corrected image is used as the artifact suppression image; if the corrected image does not meet the image artifact suppression requirements, a new correction phase corresponding to the row number of the first image matrix is obtained, and then the step of "correcting the row element value of the corresponding row number of the image matrix to be corrected based on the obtained correction phase" is returned.
[0094] The present invention selects a correction phase for each row of the image matrix. Since the pixel values of adjacent rows in the edge area of the image with artifacts change gradually, the correction phase corresponding to each row should also meet the smoothness condition. If the obtained correction phase makes the corrected image meet the image artifact suppression requirement, but the correction phase does not meet the smoothness requirement, it is necessary to eliminate the correction phase and select a new correction phase based on the correction phase smoothness requirement, so as to judge again whether the corrected image obtained based on the selected new correction phase meets the image artifact suppression requirement.
[0095] As another optional implementation, after obtaining the corrected image, it is determined whether the corrected image meets the image artifact suppression requirement based on the pixel value of the corrected image; if the corrected image does not meet the image artifact suppression requirement, a new correction phase corresponding to the row number of the first image matrix is obtained, and then the process returns to the step of "correcting the row element value of the corresponding row number of the image matrix to be corrected based on the obtained correction phase". If the corrected image meets the image artifact suppression requirement, it is determined whether the difference between the correction phase corresponding to the current row number of the corrected image and the correction phase corresponding to the adjacent row number is less than a preset difference; if less than, the corrected image is used as an artifact suppression image; if not less than, the corrected phase corresponding to the current row number is obtained by using an interpolation compensation method to obtain a compensated correction phase, and the row element value of the current row number of the image matrix to be corrected is corrected based on the compensated correction phase to obtain an updated image matrix, and the element values of the corresponding elements of the updated image matrix and the uncorrected image matrix are added to obtain an artifact suppression image.
[0096] As an optional implementation, judging whether the corrected image meets the image artifact suppression requirement based on the pixel value of the corrected image specifically includes: when a row of the first image matrix corresponds to a correction phase, adding the pixel values of the same row of pixels in a preset edge area of the corrected image to obtain a pixel cumulative value; judging whether the pixel cumulative value of each row of the preset edge area is less than the preset pixel cumulative value; when the pixel cumulative value of each row is less than the preset pixel cumulative value, determining that the corrected image meets the image artifact suppression requirement; when the pixel cumulative value of at least one row is not less than the preset pixel cumulative value, determining that the corrected image does not meet the image artifact suppression requirement.
[0097] As another optional implementation, judging whether the corrected image meets the image artifact suppression requirement based on the pixel value of the corrected image specifically includes: when a row of the first image matrix corresponds to multiple correction phases, calculating the pixel cumulative value of the same row of the preset edge area of each corrected image; judging whether the current pixel cumulative value is the minimum pixel cumulative value; when the current pixel cumulative value is the minimum pixel cumulative value, determining that the corrected image corresponding to the current pixel cumulative value meets the image artifact suppression requirement; when the current pixel cumulative value is not the minimum pixel cumulative value, determining that the corrected image corresponding to the current pixel cumulative value does not meet the image artifact suppression requirement.
[0098] As another optional implementation, judging whether the corrected image meets the image artifact suppression requirement based on the pixel value of the corrected image specifically includes: dividing the corrected image into a first part and a second part by column; the first part includes a plurality of columns arranged continuously, and the second part includes a plurality of columns arranged continuously; swapping the positions of the first part and the second part in the corrected image, and after the swapping, the order of the columns in the first part remains unchanged, and the order of the columns in the second part remains unchanged; calculating the ratio of the pixel value before the swap and the pixel value after the swap at the same position point in the corrected image, adding multiple ratios corresponding to the same row in the corrected image to obtain a cumulative ratio; judging whether the corrected image meets the image artifact suppression requirement based on the inverse of the cumulative ratio.
[0099] The present invention takes a row of N pixels in the corrected image as an example to illustrate the specific method of judging whether the corrected image meets the image artifact suppression requirements based on the pixel value of the corrected image in the above implementation. Usually, the middle area of the corrected image is the region of interest, and the areas on both sides of the corrected image are the artifact generation areas. The i-th row element of the corrected image is The corrected image is divided into the first part by column: The second part is The first part and the second part are swapped in the corrected image, and the i-th row element of the corrected image is obtained as follows: Then, the cumulative ratio is equal to Finally, based on the inverse of the accumulated ratio, it is determined whether the corrected image meets the image artifact suppression requirements.
[0100] As an optional implementation, judging whether the corrected image meets the image artifact suppression requirement based on the inverse of the accumulated ratio specifically includes: when a row of the first image matrix corresponds to a correction phase, judging whether the inverse of the accumulated ratio is less than a preset inverse value; when the inverse of the accumulated ratio is less than the preset inverse value, determining that the corrected image meets the image artifact suppression requirement; when the inverse of the accumulated ratio is not less than the preset inverse value, determining that the corrected image does not meet the image artifact suppression requirement.
[0101] As another optional implementation, judging whether the corrected image meets the image artifact suppression requirement based on the inverse of the cumulative ratio specifically includes: when a row of the first image matrix corresponds to multiple correction phases, comparing the inverses of multiple cumulative ratios in the same row of the first image matrix; when the inverse of the current cumulative ratio is the inverse of the minimum cumulative ratio, determining that the corrected image corresponding to the inverse of the current cumulative ratio meets the image artifact suppression requirement; when the inverse of the current cumulative ratio is not the inverse of the minimum cumulative ratio, determining that the corrected image corresponding to the inverse of the current cumulative ratio does not meet the image artifact suppression requirement.
[0102] When the phase encoding direction is column direction, the artifacts are located on the left and right sides of the middle image, such as Figure 2 As shown, Figure 2 (a) is the artifact image, Figure 2 (b) is the corrected image obtained by the method of the present invention.
[0103] The present invention also provides an image correction system, such as Figure 3 As shown, the system includes:
[0104] The data acquisition module 301 is used to acquire magnetic resonance scanning data; the magnetic resonance scanning data is a phase-encoded gradient echo signal.
[0105] The inverse Fourier transform module 302 is used to obtain a first echo matrix based on the first target column data of the magnetic resonance scanning data, and perform inverse Fourier transform on the first echo matrix to obtain a first image matrix when the phase encoding direction is the column direction; obtain a second echo matrix based on the second target column data of the magnetic resonance scanning data, and perform inverse Fourier transform on the second echo matrix to obtain a second image matrix; the first target column and the second target column are odd columns or even columns, if the first target column is an odd column, the second target column is an even column, if the first target column is an even column, the second target column is an odd column.
[0106] The correction module 303 is used to obtain a correction phase corresponding to the row number of the first image matrix, and based on the obtained correction phase, correct the row element value of the corresponding row number of the image matrix to be corrected to obtain a corrected image matrix; each row of the first image matrix corresponds to at least one correction phase, and the image matrix to be corrected is the first image matrix or the second image matrix.
[0107] The correction module 303 specifically includes:
[0108] The first correction unit is used to obtain a first corrected image matrix according to the following formula under the condition that the image matrix to be corrected is a first image matrix and the first image matrix is obtained based on the even-numbered columns of the magnetic resonance scanning data:
[0109]
[0110] In the formula, im even,a is the first corrected image matrix, im even is the first image matrix obtained based on the even columns of the magnetic resonance scan data, ψ 1 * is the first correction phase vector, is the correction phase corresponding to the row number 1 of the first image matrix obtained based on the even columns of the magnetic resonance scanning data, The correction phase corresponding to the row number n of the first image matrix obtained based on the even-numbered columns of the magnetic resonance scanning data, each row of the first image matrix has a plurality of row element values.
[0111] The second correction unit is used to obtain a second corrected image matrix according to the following formula under the condition that the image matrix to be corrected is a second image matrix and the second image matrix is obtained based on odd columns of magnetic resonance scanning data:
[0112]
[0113] In the formula, im odd,a is the second corrected image matrix, im odd The second image matrix is obtained based on odd-numbered columns of the magnetic resonance scan data, and each row of the second image matrix has a plurality of row element values.
[0114] The third correction unit is used to obtain a third corrected image matrix according to the following formula under the condition that the image matrix to be corrected is the first image matrix and the first image matrix is obtained based on odd columns of magnetic resonance scanning data:
[0115]
[0116] In the formula, im odd,bis the third corrected image matrix, im odd ' is the first image matrix obtained based on the odd columns of the magnetic resonance scan data, ψ 2* is the second correction phase vector, is the correction phase corresponding to the row number 1 of the first image matrix obtained based on the odd columns of the magnetic resonance scanning data, It is the correction phase corresponding to when the row number of the first image matrix obtained based on the odd columns of the magnetic resonance scanning data is n.
[0117] The fourth correction unit is used to obtain a fourth corrected image matrix according to the following formula under the condition that the image matrix to be corrected is the second image matrix and the second image matrix is obtained based on the even-numbered columns of the magnetic resonance scanning data:
[0118]
[0119] In the formula, im even,b is the fourth corrected image matrix, im even ' is a second image matrix obtained based on the even-numbered columns of the magnetic resonance scanning data.
[0120] The corrected image acquisition module 304 is used to add the element values of the corresponding elements of the corrected image matrix and the uncorrected image matrix to obtain a corrected image.
[0121] The image correction system of the present invention further comprises:
[0122] The first judgment module is used to judge whether the corrected image meets the image artifact suppression requirement based on the pixel value of the corrected image; if the corrected image meets the image artifact suppression requirement, the corrected image is used as the artifact suppression image; if the corrected image does not meet the image artifact suppression requirement, a new correction phase corresponding to the row number of the first image matrix is obtained, and then the step of "correcting the row element value of the corresponding row number of the image matrix to be corrected based on the obtained correction phase" is returned.
[0123] The first judgment module specifically includes:
[0124] The first judgment unit is used to divide the corrected image into a first part and a second part by column; the first part includes a plurality of columns arranged continuously, and the second part includes a plurality of columns arranged continuously; the first part and the second part are exchanged in the corrected image, and after the exchange, the order of the columns in the first part remains unchanged, and the order of the columns in the second part remains unchanged; the ratio of the pixel value before the exchange and the pixel value after the exchange at the same position point of the corrected image is calculated, and multiple ratios corresponding to the same row in the corrected image are added to obtain a cumulative ratio; based on the inverse of the cumulative ratio, it is judged whether the corrected image meets the image artifact suppression requirements.
[0125] The second judgment unit is used to add the pixel values of the same row of pixels in the preset edge area of the corrected image to obtain a pixel cumulative value when one row of the first image matrix corresponds to a correction phase; judge whether the pixel cumulative value of each row of the preset edge area is less than the preset pixel cumulative value; when the pixel cumulative value of each row is less than the preset pixel cumulative value, determine that the corrected image meets the image artifact suppression requirement; when the pixel cumulative value of at least one row is not less than the preset pixel cumulative value, determine that the corrected image does not meet the image artifact suppression requirement.
[0126] The third judgment unit is used to calculate the pixel cumulative value of the same row of the preset edge area of each corrected image when a row of the first image matrix corresponds to multiple correction phases; judge whether the current pixel cumulative value is the minimum pixel cumulative value; when the current pixel cumulative value is the minimum pixel cumulative value, determine that the corrected image corresponding to the current pixel cumulative value meets the image artifact suppression requirement; when the current pixel cumulative value is not the minimum pixel cumulative value, determine that the corrected image corresponding to the current pixel cumulative value does not meet the image artifact suppression requirement.
[0127] The second judgment module is used to judge whether the corrected image meets the image artifact suppression requirement based on the pixel value of the corrected image; if the corrected image does not meet the image artifact suppression requirement, a new correction phase corresponding to the row number of the first image matrix is obtained, and then the step of "correcting the row element value of the corresponding row number of the image matrix to be corrected based on the obtained correction phase" is returned; if the corrected image meets the image artifact suppression requirement, it is judged whether the difference between the correction phase corresponding to the current row number of the corrected image and the correction phase corresponding to the adjacent row number is less than a preset difference; if it is less than, the corrected image is used as an artifact suppression image; if it is not less than, the interpolation compensation method is used for the correction phase corresponding to the current row number to obtain the compensated correction phase, and the row element value of the current row number of the image matrix to be corrected is corrected based on the compensated correction phase to obtain an updated image matrix, and the element values of the corresponding elements of the updated image matrix and the uncorrected image matrix are added to obtain an artifact suppression image.
[0128] The second judgment module specifically includes:
[0129] The fourth judgment unit is used to judge whether the inverse of the accumulated ratio is less than a preset inverse value when a row of the first image matrix corresponds to a correction phase; when the inverse of the accumulated ratio is less than the preset inverse value, determine that the corrected image meets the image artifact suppression requirement; when the inverse of the accumulated ratio is not less than the preset inverse value, determine that the corrected image does not meet the image artifact suppression requirement.
[0130] The fifth judgment unit is used to compare the reciprocals of multiple accumulated ratios in the same row of the first image matrix when a row of the first image matrix corresponds to multiple correction phases; when the reciprocal of the current accumulated ratio is the reciprocal of the minimum accumulated ratio, determine that the corrected image corresponding to the reciprocal of the current accumulated ratio meets the image artifact suppression requirement; when the reciprocal of the current accumulated ratio is not the reciprocal of the minimum accumulated ratio, determine that the corrected image corresponding to the reciprocal of the current accumulated ratio does not meet the image artifact suppression requirement.
[0131] An embodiment of the present invention provides a computer-readable storage medium on which a program is stored. When the program is executed by a processor, the above-mentioned image correction method is implemented.
[0132] An embodiment of the present invention provides an electronic device, such as Figure 4 As shown, the electronic device 40 includes at least one processor 401, at least one memory 402 connected to the processor 401, and a bus 403; wherein the processor 401 and the memory 402 communicate with each other through the bus 403; the processor 401 is used to call the program instructions in the memory 402 to execute the above-mentioned image correction method. The electronic device in this article can be a server, a PC, a PAD, a mobile phone, etc.
[0133] The present application also provides a computer program product, which, when executed on a data processing device, is suitable for executing a program that initializes the steps included in the above-mentioned image correction method.
[0134] The present application is described with reference to the flowcharts and / or block diagrams of the methods, systems and computer program products according to the embodiments of the present application. It should be understood that each process and / or block in the flowchart and / or block diagram, as well as the combination of the processes and / or blocks in the flowchart and / or block diagram, can be implemented by computer program instructions. These computer program instructions can be provided to a processor of a general-purpose computer, a special-purpose computer, an embedded processor or other programmable data processing device to generate a machine, so that the instructions executed by the processor of the computer or other programmable data processing device generate instructions for implementing the processes in the flowchart and / or block diagram. Figure 1 A process or multiple processes and / or boxes Figure 1 A device that provides the functions specified in a block or multiple blocks.
[0135] In a typical configuration, the device includes one or more processors (CPU), memory and bus. The device may also include input / output interface, network interface and the like.
[0136] The memory may include non-permanent memory in a computer-readable medium, random access memory (RAM) and / or non-volatile memory in the form of read-only memory (ROM) or flash RAM, and the memory includes at least one memory chip. The memory is an example of a computer-readable medium.
[0137] Computer readable media include permanent and non-permanent, removable and non-removable media that can be implemented by any method or technology to store information. Information can be computer readable instructions, data structures, program modules or other data. Examples of computer storage media include, but are not limited to, phase change memory (PRAM), static random access memory (SRAM), dynamic random access memory (DRAM), other types of random access memory (RAM), read-only memory (ROM), electrically erasable programmable read-only memory (EEPROM), flash memory or other memory technology, compact disk read-only memory (CD-ROM), digital versatile disk (DVD) or other optical storage, magnetic cassettes, magnetic tape magnetic disk storage or other magnetic storage devices or any other non-transmission media that can be used to store information that can be accessed by a computing device. As defined herein, computer readable media does not include temporary computer readable media (transitory media), such as modulated data signals and carrier waves.
[0138] Those skilled in the art will appreciate that the embodiments of the present application may be provided as methods, systems or computer program products. Therefore, the present application may adopt the form of a complete hardware embodiment, a complete software embodiment or an embodiment in combination with software and hardware. Moreover, the present application may adopt the form of a computer program product implemented on one or more computer-usable storage media (including but not limited to disk storage, CD-ROM, optical storage, etc.) that contain computer-usable program code.
[0139] It should be noted that, in this article, relational terms such as first and second, etc. are only used to distinguish one entity or operation from another entity or operation, and do not necessarily require or imply any such actual relationship or order between these entities or operations. It should also be noted that the terms "include", "comprise" or any other variants thereof are intended to cover non-exclusive inclusion, so that a process, method, commodity or device including a series of elements includes not only those elements, but also other elements not explicitly listed, or also includes elements inherent to such process, method, commodity or device. In the absence of further restrictions, the elements defined by the sentence "comprise a ..." do not exclude the existence of other identical elements in the process, method, commodity or device including the elements.
[0140] Each embodiment in this specification is described in a related manner, and the same or similar parts between the embodiments can be referred to each other, and each embodiment focuses on the differences from other embodiments. In particular, for the system embodiment, since it is basically similar to the method embodiment, the description is relatively simple, and the relevant parts can be referred to the partial description of the method embodiment.
[0141] The above are only embodiments of the present application and are not intended to limit the present application. For those skilled in the art, the present application may have various changes and variations. Any modification, equivalent replacement, improvement, etc. made within the spirit and principle of the present application should be included within the scope of the claims of the present application.
Claims
1. An image correction method, characterized in that: include: Acquiring magnetic resonance scanning data; the magnetic resonance scanning data is a phase-encoded gradient echo signal; When the phase encoding direction is the column direction, a first echo matrix is obtained based on the first target column data of the magnetic resonance scanning data, and the first echo matrix is subjected to inverse Fourier transform to obtain a first image matrix; a second echo matrix is obtained based on the second target column data of the magnetic resonance scanning data, and the second echo matrix is subjected to inverse Fourier transform to obtain a second image matrix; the first target column and the second target column are odd columns or even columns, if the first target column is an odd column, the second target column is an even column, if the first target column is an even column, the second target column is an odd column; Acquire a correction phase corresponding to the row number of the first image matrix, and based on the acquired correction phase, correct the row element value of the image matrix to be corrected corresponding to the row number to obtain a corrected image matrix; each row of the first image matrix corresponds to at least one correction phase, and the image matrix to be corrected is the first image matrix or the second image matrix; Adding the element values of corresponding elements of the corrected image matrix and the uncorrected image matrix to obtain a corrected image; The step of correcting the row element values of the image matrix to be corrected corresponding to the row number based on the obtained correction phase to obtain the corrected image matrix specifically includes: Under the condition that the image matrix to be corrected is the first image matrix, and the first image matrix is obtained based on the even-numbered columns of the magnetic resonance scanning data, a first corrected image matrix is obtained according to the following formula: In the formula, im even,a is the first corrected image matrix, im even is a first image matrix obtained based on the even columns of the magnetic resonance scan data, ψ 1* is the first correction phase vector, is a correction phase corresponding to when the row number of the first image matrix obtained based on the even columns of the magnetic resonance scan data is 1, A correction phase corresponding to a row number n of a first image matrix obtained based on even columns of the magnetic resonance scan data, wherein each row of the first image matrix has a plurality of row element values; Under the condition that the image matrix to be corrected is the second image matrix, and the second image matrix is obtained based on odd columns of magnetic resonance scanning data, the second corrected image matrix is obtained according to the following formula: In the formula, im odd,a is the second corrected image matrix, im odd A second image matrix obtained based on odd columns of the magnetic resonance scan data, each row of the second image matrix having a plurality of row element values; Under the condition that the image matrix to be corrected is the first image matrix, and the first image matrix is obtained based on the odd columns of the magnetic resonance scanning data, a third corrected image matrix is obtained according to the following formula: In the formula, im odd,b is the third corrected image matrix, im odd ' is a first image matrix obtained based on the odd columns of the magnetic resonance scanning data, ψ 2* is the second correction phase vector, is a correction phase corresponding to when the row number of the first image matrix obtained based on the odd columns of the magnetic resonance scan data is 1, A correction phase corresponding to when the row number of the first image matrix obtained based on the odd-numbered columns of the magnetic resonance scan data is n; Under the condition that the image matrix to be corrected is the second image matrix, and the second image matrix is obtained based on the even-numbered columns of the magnetic resonance scanning data, a fourth corrected image matrix is obtained according to the following formula: In the formula, im even,b is the fourth corrected image matrix, im even ' is a second image matrix obtained based on the even-numbered columns of the magnetic resonance scanning data.
2. The image correction method according to claim 1, characterized in that: After obtaining the corrected image, the method further includes: Based on the pixel value of the corrected image, determine whether the corrected image meets the image artifact suppression requirement; if the corrected image meets the image artifact suppression requirement, use the corrected image as the artifact suppression image; if the corrected image does not meet the image artifact suppression requirement, obtain a new correction phase corresponding to the row number of the first image matrix, and then return to the step of "correcting the row element value of the image matrix to be corrected corresponding to the row number based on the obtained correction phase".
3. The image correction method according to claim 1, characterized in that: After obtaining the corrected image, the method further includes: Determining whether the corrected image meets the image artifact suppression requirement based on the pixel value of the corrected image; If the corrected image does not meet the image artifact suppression requirement, a new correction phase corresponding to the row number of the first image matrix is obtained, and then the process returns to the step of "correcting the row element value of the image matrix to be corrected corresponding to the row number based on the obtained correction phase"; If the corrected image meets the image artifact suppression requirement, determining whether a difference between a correction phase corresponding to a current row number of the corrected image and a correction phase corresponding to an adjacent row number of the corrected image is less than a preset difference; If it is less than, the corrected image is used as the artifact suppressed image; If it is not less than, the interpolation compensation method is used to obtain the compensated correction phase for the correction phase corresponding to the current row number, and the row element value of the current row number of the image matrix to be corrected is corrected based on the compensated correction phase to obtain an updated image matrix, and the element values of the corresponding elements of the updated image matrix and the uncorrected image matrix are added to obtain an artifact suppressed image.
4. The image correction method according to claim 2, characterized in that: The determining, based on the pixel value of the corrected image, whether the corrected image meets the image artifact suppression requirement specifically includes: Dividing the corrected image into a first part and a second part by column; the first part includes a plurality of columns arranged continuously, and the second part includes a plurality of columns arranged continuously; Exchanging the positions of the first part and the second part in the corrected image, wherein after the exchange, the order of the columns in the first part remains unchanged, and the order of the columns in the second part remains unchanged; Calculating the ratio of the pixel value before and after the interchange of the same position point of the corrected image, and adding a plurality of the ratios corresponding to the same row in the corrected image to obtain a cumulative ratio; Whether the corrected image meets the image artifact suppression requirement is determined based on the inverse of the accumulated ratio.
5. The image correction method according to claim 4, characterized in that: The determining whether the corrected image meets the image artifact suppression requirement based on the inverse of the accumulated ratio specifically includes: When one row of the first image matrix corresponds to a correction phase, determining whether the reciprocal of the accumulated ratio is less than a preset reciprocal value; when the reciprocal of the accumulated ratio is less than the preset reciprocal value, determining that the corrected image meets the image artifact suppression requirement; when the reciprocal of the accumulated ratio is not less than the preset reciprocal value, determining that the corrected image does not meet the image artifact suppression requirement; When a row of the first image matrix corresponds to multiple correction phases, the reciprocals of multiple accumulated ratios in the same row of the first image matrix are compared; when the reciprocal of the current accumulated ratio is the reciprocal of the minimum accumulated ratio, it is determined that the corrected image corresponding to the reciprocal of the current accumulated ratio meets the image artifact suppression requirement; when the reciprocal of the current accumulated ratio is not the reciprocal of the minimum accumulated ratio, it is determined that the corrected image corresponding to the reciprocal of the current accumulated ratio does not meet the image artifact suppression requirement.
6. The image correction method according to claim 2, characterized in that: The determining, based on the pixel value of the corrected image, whether the corrected image meets the image artifact suppression requirement specifically includes: When one row of the first image matrix corresponds to a correction phase, the pixel values of the pixels in the same row of the preset edge area of the corrected image are added to obtain a pixel accumulation value; whether the pixel accumulation value of each row of the preset edge area is less than the preset pixel accumulation value; when the pixel accumulation value of each row is less than the preset pixel accumulation value, it is determined that the corrected image meets the image artifact suppression requirement; when the pixel accumulation value of at least one row is not less than the preset pixel accumulation value, it is determined that the corrected image does not meet the image artifact suppression requirement; When a row of the first image matrix corresponds to multiple correction phases, the pixel cumulative value of the same row of the preset edge area of each of the corrected images is calculated; whether the current pixel cumulative value is the minimum pixel cumulative value is determined; when the current pixel cumulative value is the minimum pixel cumulative value, it is determined that the corrected image corresponding to the current pixel cumulative value meets the image artifact suppression requirement; when the current pixel cumulative value is not the minimum pixel cumulative value, it is determined that the corrected image corresponding to the current pixel cumulative value does not meet the image artifact suppression requirement.
7. An image correction system, characterized in that: include: A data acquisition module, used to acquire magnetic resonance scanning data; the magnetic resonance scanning data is a phase-encoded gradient echo signal; an inverse Fourier transform module, for obtaining a first echo matrix based on the first target column data of the magnetic resonance scan data, and performing inverse Fourier transform on the first echo matrix to obtain a first image matrix when the phase encoding direction is the column direction; obtaining a second echo matrix based on the second target column data of the magnetic resonance scan data, and performing inverse Fourier transform on the second echo matrix to obtain a second image matrix; the first target column and the second target column are odd columns or even columns, if the first target column is an odd column, the second target column is an even column, if the first target column is an even column, the second target column is an odd column; a correction module, configured to obtain a correction phase corresponding to a row number of the first image matrix, and based on the obtained correction phase, correct the row element value of the image matrix to be corrected corresponding to the row number to obtain a corrected image matrix; each row of the first image matrix corresponds to at least one correction phase, and the image matrix to be corrected is the first image matrix or the second image matrix; A correction image acquisition module, used for adding the element values of corresponding elements of the corrected image matrix and the uncorrected image matrix to obtain a correction image; The correction module corrects the row element values of the image matrix to be corrected corresponding to the row number based on the obtained correction phase to obtain the corrected image matrix, which is specifically used for: Under the condition that the image matrix to be corrected is the first image matrix, and the first image matrix is obtained based on the even-numbered columns of the magnetic resonance scanning data, a first corrected image matrix is obtained according to the following formula: In the formula, im even,a is the first corrected image matrix, im even is a first image matrix obtained based on the even columns of the magnetic resonance scan data, ψ 1* is the first correction phase vector, is a correction phase corresponding to when the row number of the first image matrix obtained based on the even columns of the magnetic resonance scan data is 1, A correction phase corresponding to a row number n of a first image matrix obtained based on even columns of the magnetic resonance scan data, wherein each row of the first image matrix has a plurality of row element values; Under the condition that the image matrix to be corrected is the second image matrix, and the second image matrix is obtained based on odd columns of magnetic resonance scanning data, the second corrected image matrix is obtained according to the following formula: In the formula, im odd,a is the second corrected image matrix, im odd A second image matrix obtained based on odd columns of the magnetic resonance scan data, each row of the second image matrix having a plurality of row element values; Under the condition that the image matrix to be corrected is the first image matrix and the first image matrix is obtained based on the odd columns of the magnetic resonance scanning data, a third corrected image matrix is obtained according to the following formula: In the formula, im odd,b is the third corrected image matrix, im odd ' is a first image matrix obtained based on the odd columns of the magnetic resonance scanning data, ψ 2* is the second correction phase vector, is a correction phase corresponding to when the row number of the first image matrix obtained based on the odd columns of the magnetic resonance scan data is 1, A correction phase corresponding to when the row number of the first image matrix obtained based on the odd-numbered columns of the magnetic resonance scan data is n; Under the condition that the image matrix to be corrected is the second image matrix, and the second image matrix is obtained based on the even-numbered columns of the magnetic resonance scanning data, a fourth corrected image matrix is obtained according to the following formula: In the formula, im even,b is the fourth corrected image matrix, im even ' is a second image matrix obtained based on the even-numbered columns of the magnetic resonance scanning data.
8. A computer-readable storage medium, characterized in that: The computer-readable storage medium stores a program, and when the program is executed by a processor, the image correction method according to any one of claims 1 to 6 is implemented.
9. An electronic device, characterized in that: include: At least one processor, and at least one memory and bus connected to the processor; The processor and the memory communicate with each other via the bus; The processor is used to call the program instructions in the memory to execute the image correction method according to any one of claims 1 to 6.
Citation Information
Patent Citations
Fast and precise MRI (Magnetic Resonance Imaging) reconstruction method
CN106485764A
method for suppressing artefacts in imaging using nuclear magnetic resonance
DE4005675A1
