Deep Learning-Based Magnetic Resonance Imaging in the Evaluation of Tumor, Node, and Metastasis Staging of Renal Cancer

*is study was aimed to investigate the diagnostic accuracy of magnetic resonance imaging (MRI) based on deep dictionary learning in TNM (tumor, node, and metastasis) staging of renal cell carcinoma. In this study, 82 patients with renal cancer were selected as the research object. *e results were diagnosed by deep dictionary learning MRI, and TNM staging was performed by professional imaging personnel. MRI image will be reconstructed after deep dictionary learning to improve its image recognition ability. *e pathological diagnosis will be handed over to the physiological pathology laboratory of the hospital for diagnosis. *e staging results were compared with the pathological diagnostic staging results, and the results were analyzed by consistency statistics to evaluate the diagnostic value. *e results showed that T staging was significantly consistent with the pathological diagnosis. 2 cases were misdiagnosed, and the accuracy rate was 97.56%. Compared with the pathological diagnosis, N staging had less obvious consistency. 10 cases were misdiagnosed, and the accuracy rate was 87.80%. M staging was significantly consistent with the pathological diagnosis. 4 cases were misdiagnosed. *e accuracy rate was 95.12%. After laparotomy, it was found that 37 patients had emboli and 45 patients had no emboli, while 40 patients had emboli and 42 patients had no emboli by MRI. *e accuracy rate was 96.34%. *e results showed that in the evaluation of TNM staging by MRI imaging based on deep dictionary learning in patients with renal cell carcinoma, the diagnostic results of N staging and M staging were highly consistent with the pathological diagnosis, while the diagnostic results of T staging were slightly less accurate, and the diagnostic consistency was good.*e results can provide effective support for the clinical application ofMRI imaging based on deep dictionary learning as the clinical diagnosis of TNM staging of renal cell carcinoma.


Introduction
A renal tumor is a general term for tumor lesions that occur in the kidney that is one of the most common sites of tumors. e renal tumor mostly occurs in renal parenchyma and urinary tubular epithelial system, which is fully known as renal carcinoma (RC) [1]. RC generally originates from different parts of renal proximal convoluted tubules and urinary tubules, but does not include tumors from renal parenchyma and renal pelvis tumors. e exact etiology of renal cell carcinoma is not clear, but it has been confirmed that it can increase the risk with factors such as heredity, obesity, smoking, alcohol, hypertension, and its treatment [2]. Renal cancer often has no obvious clinical symptoms in the early stage. Most patients with renal cancer are asymptomatic renal cancer diagnosed during physical examination, accounting for more than 60% of the total number of patients with renal cancer. When there are typical symptoms, such as blood in urine and low back pain, and a small number of patients' abdominal masses occurring, the disease often develops. Among them, about 30% of patients will have paraneoplastic syndrome, with clinical manifestations of abnormal liver function, hypertension, anemia, hypercalcemia, neuromuscular disease, and other symptoms, while about 25% of patients will have bone pain, fracture, hemoptysis, and other symptoms caused by tumor metastasis [3,4]. According to the World Health Organization (WHO) data released in 2020, RC is the ninth of world's new incidence rate of male cancer, a total of 270 thousand people. e incidence of renal cell carcinoma is dominated by male patients, Western developed countries, and urban population. In China, the high incidence age of renal cancer is about 50 years, the ratio of male to female is 1.83 : 1, and the ratio of urban to rural populations is 4.31 : 1. At present, the number of patients with renal cancer is increasing year by year at an average rate of 6.5% per year [5][6][7]. At present, the treatment of renal cell carcinoma is mainly divided into surgical treatment and nonsurgical treatment. e surgical treatment is not only the first choice for the treatment of renal cell carcinoma, but is also recognized as a curable treatment for renal cell carcinoma. e nonsurgical treatment is currently targeted at patients with advanced renal cell carcinoma. Most of them are based on medical treatment, supplemented by a variety of targeted drugs or improved immunotherapy with unilateral nephrectomy [8][9][10].
e diagnosis of renal cell carcinoma is particularly important because of its early curability. At present, the diagnostic instrument for renal cancer mainly focuses on laboratory examination, imaging examination, and pathological examination. Among them, laboratory tests are generally based on physiological data such as physiological corresponding hormones and cells, which are mainly aiming at the preoperative condition, liver and kidney functions, and prognostic evaluation indexes of patients. e pathological examination is a necessary condition for the diagnosis of renal cell carcinoma, but its operation is complex and difficult to be used as a means of routine examination and diagnosis. e general clinical diagnosis is mainly based on imaging examination [11,12].
Common imaging examinations include chest X-ray film, abdominal ultrasound, abdominal CT (computed tomography), and abdominal magnetic resonance imaging (MRI). e general diagnostic coincidence rate is more than 80%, which has good diagnostic value for the diagnosis of clinical patients with renal cancer [13,14].
TNM (tumor, node, and metastasis) staging system is a common evaluation method for malignant tumor staging. T refers to tumor, which refers to the increase in tumor volume and the involvement range of adjacent tissues, and is divided into T1∼T4. N refers to lymph node involvement, divided into N0∼N3, where N0 refers to lymph node not involved. M refers to metastasis, which refers to distant metastasis, which is divided into nonmetastatic M0 and metastatic M1. e staging system can assist doctors in the diagnosis and treatment of patients' tumors and is widely used in clinic.
e judgment basis of staging comes from the imaging diagnosis of patients [15].
In recent years, computer-aided diagnosis (CAD) has been widely used in the medical field. e medical influence is analyzed and calculated by computer to improve the image accuracy, which greatly improves the diagnostic efficiency and accuracy. e progress of artificial intelligence makes the technology have a new development direction, especially the combination of deep dictionary learning and MRI image, which greatly improves the play of MRI image in exploring lesions and pathological judgment. erefore, the combination of deep dictionary learning and MRI will have a good application prospect in the field of renal cancer diagnosis [16][17][18][19].
In summary, this study will improve the ability of clinical diagnosis through the combination of deep dictionary learning and magnetic resonance, so as to avoid the problems of misdiagnosis and low accuracy of CT and B ultrasound. 82 patients with renal cancer in the hospital were selected as the research object, and the patients were diagnosed by MRI with deep dictionary learning. e clinical value of TNM staging in renal cell carcinoma was judged by comparing it with the pathological diagnosis, to provide a more safe, effective, and convenient diagnostic method for the staging diagnosis of renal cancer patients, verify its effectiveness, and carry out clinical promotion.

Research Object.
Eighty-two patients with renal cancer in the hospital were collected as research objects, including 64 males and 18 females, aged from 27 to 83 years, with an average age of (54.73 ± 4.59) years. e main clinical manifestations were abdominal mass in 35 cases, abdominal pain in 23 cases, hematuria in 11 cases, fever in 7 cases, and no obvious symptoms in 6 cases. is study has been approved by the Medical Ethics Committee of the hospital. Patients and their families have been informed of this study and signed the informed consent.
Inclusion criteria: (1) patients with confirmed renal cancer [20] Exclusion criteria: (1) patients with other serious heart, kidney, liver, and other organ diseases; (2) patients with severe mental illness and unable to communicate normally; (3) family members and patients are reluctant to participate

Treatment Options and Course of Treatment.
All cases meeting the access requirements were performed with deep dictionary learning magnetic resonance, and the instrument was an MRI system. e patients were bedridden, and plain scan and dynamic enhanced scan were performed by a scanner. e plain scan was the transverse section (TRA) axis, including the fat sequence made by T2-weighted image (T2WI), the fat sequence without inhibition, and the diffusion-weighted imaging (DWI) sequence. e T2WI was repeated, and the echo time was 800 ms and 60 ms. e layer thickness was 5-7 mm, and the layer spacing was 1.5-2.5 mm.
e contrast agent used Gd-DTPA, 15 mL, through the elbow vein group injection, 2 mL/s. Imaging was performed within 30 s, 50 s, 100 s, and 150 s after injection.

MRI Image Based on Deep Dictionary
Learning. As for deep dictionary learning, this study will choose image reconstruction based on deep dictionary learning to process MRI images. Image reconstruction based on deep dictionary learning can reconstruct the image and greatly improve the accuracy of the image for key parts and the embodiment of small tissue parts. e image reconstruction of deep dictionary learning proposed in this study mainly includes two steps: training dictionary and image reconstruction. e dictionary learning algorithm is used to deeply learn the preselected sample data, and finally, a dictionary D containing the characteristics of the sample data is obtained. e image reconstruction is to decompose the sample image into several image blocks and solve the coefficient Z corresponding to the image block according to the trained dictionary E. Finally, the dictionary E and the solved coefficient Z are reconstructed according to the image block to obtain the reconstructed test image. e coefficient Z of the image block can be solved according to where X i represents the image block coefficient, and the dictionary E obtained through training and the obtained coefficient Z i can reconstruct the image block Y i : e reconstructed image Y can be obtained by combining all the image blocks Y i .
Dictionary updates are also conducted layer by layer, and the equation is as follows: e coefficient update is the least-squares solution of matrix X i constructed by merging the product of the input data of each layer and the current corresponding coefficient according to the row by equation (3) and the matrix A i constructed by merging the same unit diagonal matrix according to the row on the basis of the updated dictionary of each layer. e solution will be used as the coefficient matrix Z i and satisfies In this experiment, the image data obtained by MRI scanning are processed as follows: the collected scanning image (500 × 512) is divided into 128 × 2 image blocks as the sample data of dictionary training. e dimension of the training sample is 256 × 1120. e algorithm iteration N � 100 and the dictionary are three-tier structure. e first 1,000 columns in the training sample are selected and initialized as dictionary E1, and E1 is 256 × 1000. e obtained E1 is normalized, and a new E1 is obtained. e inverse of the new E1 matrix and the inner product of X are calculated, and then, the coefficient matrix Z1 of the first layer of dictionary learning is obtained, which is 1000 × 1120. e obtained coefficient matrix is input into the second layer dictionary learning. e first 800 columns of Z1 are selected to initialize E2, and the E2 is also processed. e coefficient matrix Z2 of the second layer dictionary learning is 800 × 1120.
By the same operation, the coefficient matrix Z3 of the third layer dictionary learning is obtained, which is 600 × 1120. e algorithm iterative is set as 100 times. When the number of iterations is insufficient, the dictionary can be updated layer by layer according to equation (3). Fixation dictionary and matrix X i , A i (i � 1, 2, 3) are built in each layer. According to equation (4), the least-squares solution about X i , A i is obtained to update the corresponding coefficient. All updates are updated layer by layer using alternating minimization. e update is stopped when the error of each layer update is less than the threshold. Because all decompositions are linear during dictionary learning, the final dictionary can be represented as follows: e specific flowchart of the algorithm is shown in Figure 1.

Simulation Experiment.
To evaluate the effect of image reconstruction, the commonly used indexes are to calculate the mean square error (MSE) and peak signal-tonoise ratio (PSNR) of reconstructed image and test image. e calculation equation of mean square error is as follows: where C 1 represents the reconstructed image, C 2 is the test image, L is the image length, and W is the image width. e smaller the MSE, the finer the reconstructed image. PSNR is the most commonly used evaluation index in the field of image processing, and its equation is as follows: peak signal − to − noise ratio � 10Log 10 2 where b represents the number of bits per pixel. e greater the PSNR, the higher the quality of image reconstruction. e data samples are selected and divided into 8 × 8, 10,000 images are selected as training samples, and the depth dictionary learning model training data are constructed to obtain the deep-seated features of the image. KSVD [21,22] algorithm and stacked autoencoder (SAE) [23,24] are selected for data training and image reconstruction, which is compared with the reconstructed image of depth dictionary learning model. e experimental environment is Win10 system, CPU: Intel (R) Celeron (R) CPU 1007U @ 1.50 GHz, and MAT-LAB platform.

TNM Staging.
e specific stage control standard of TNM refers to the newly revised TNM stage standard in 1997 [25]. Two professional diagnostic physicians made an independent judgment on the basis of understanding the patient's clinical symptoms and medical history, and not knowing the final diagnostic results. e final conclusion was reached after discussion on the cases with different diagnostic results.

Statistical Study.
In this study, the MedCalc version is used for data processing as analysis and statistics software, the kappa consistency test is used for correlation, and the test level is ∝ � 0.05. e reference evaluation of K (kappa) value is as follows: K ≤ 0.40, poor diagnostic consistency; 0.40 < K ≤ 0.75, good diagnostic consistency; and 0.75 < K ≤ 1, excellent diagnostic consistency.

START
The data set was partitioned normalized, and parameters and error thresholds were set The first n columns of the sample selected as the initial D i , and the least squares were used to calculate the initial coefficient Zi  Figure 1: Image flow diagram based on deep dictionary learning. Figure 2 shows the input test sample. e test chart is divided into image blocks of 8 × 8. e reconstruction results of the four algorithm models are shown in Figure 3. Figure 3(a) is SAE-reconstructed image. Figure 3(b) is the reconstructed image of single-layer dictionary learning. Figure 3(c) is the reconstructed image of KSVD. Figure 3(d) is the dictionary reconstruction image after the deep dictionary learning model training. e corresponding PSNR and MSE are compared as shown in Figure 4. By comparing the reconstructed image and the reconstructed image with the original PSNR and MSE, the image reconstruction effect under the deep dictionary learning model is significantly better than SAE reconstruction, single-layer dictionary reconstruction model, and KAVD reconstruction. Experiments show that deep dictionary learning has a good performance in image reconstruction.

Comparison Results of TNM in Patients with Renal Cell
Carcinoma. After comparative evaluation, the results of T stage diagnosis under MRI based on deep dictionary learning and pathological diagnosis in TNM staging of patients with renal cancer are shown in Figure 5. e accuracy of MRI in the diagnosis of T stage was 97.56%, and 2 cases were misdiagnosed. e diagnosis of T3 stage was consistent, 1 case of T2 stage was misdiagnosed as T1 stage, and 1 case was misdiagnosed as T4 stage. After calculation, K � 0.822.
After comparative evaluation, the results of N stage diagnosis under MRI based on deep dictionary learning and pathological diagnosis in TNM staging of patients with renal cancer are shown in Figure 6. e accuracy of MRI in the diagnosis of N stage was 87.80%, and 10 cases were misdiagnosed. Among them, 5 cases of N2 stage were misdiagnosed as N1 stage, and 5 cases of N2 stage were misdiagnosed as N1 stage. After calculation, K � 0.735.
After comparison and evaluation, the results of M stage diagnosis under MRI based on deep dictionary learning and pathological diagnosis of patients with renal cancer in TNM staging are shown in Figure 7. e accuracy of MRI in the diagnosis of M stage was 95.12%, and 4 cases were misdiagnosed. Four patients with M1 stage were misdiagnosed as M0 stage. After calculation, K � 0.802.
After comparative evaluation, the results of diagnosis under MRI based on deep dictionary learning and pathological diagnosis of renal vein thrombus carcinoma in patients with renal cancer are shown in Figure 8. e accuracy of MRI in diagnosing embolus was 96.34%, and 3 cases were misdiagnosed.

Discussion
TNM staging was first proposed by Pierre Denoix of France from 1943 to 1952, and then, the international staging standard was jointly established by the American Joint Committee on Cancer and the Union for International Cancer Control. e first edition of TNM Classification of Malignant Tumors was published in 1968. At present, TNM staging has become a standard method for clinical staging of malignant tumors. In this study, patients were diagnosed by TNM staging through MRI imaging and pathological examination of deep dictionary learning, so as to determine whether MRI imaging based on deep dictionary learning can be popularized as a means of clinical diagnosis.
Firstly, the verification experiment of deep dictionary learning MRI is carried out. In this study, deep dictionary learning is used to reconstruct the magnetic resonance image to improve the accuracy of the image. rough the verification experiment, it is confirmed that the depth dictionary learning has a better improvement in image accuracy compared with other image reconstruction methods.
In this study, 82 patients in the hospital were selected as research objects, and deep learning-based MRI was performed on all of them, and professional imaging physicians were invited for diagnosis. In the final results, two cases were misdiagnosed at T stage, and the accuracy rate was 97.56%. 10 cases were misdiagnosed with N stage, and the accuracy was 87.8%. 4 cases were misdiagnosed in M stage, and the accuracy was 95.12%. 3 cases of renal venous thrombus carcinoma were misdiagnosed, and the accuracy rate was 96.34%. In this study, the accuracy of T stage, M stage, and renal venous thromboembolic carcinoma was high, and only N stage had more error, but it was still within the range of good consistency diagnosis. e cause of misdiagnosis was preliminarily speculated to be that there was little difference between lymph node metastasis and lymphoproliferative imaging in MRI, which was easy to be confused in N stage diagnosis. It was difficult to distinguish benign tumor from malignant tumor, leading to diagnostic error.
In this study, it is determined that MRI based on deep dictionary learning can effectively show the tumor size, tumor location, tumor invasion range, tumor surrounding tissue involvement range, tumor stage, tumor embolus, and other structures and parts in the clinical diagnosis of renal cell carcinoma, which is convenient for doctors' clinical diagnosis. In addition, because of its clear presentation of the lesion tissue, it can also be used as an imaging guidance scheme for surgery and prognosis recovery comparison and secondary surgery.     e results showed that MRI based on deep dictionary learning has considerable accuracy, sensitivity, and specificity in the diagnosis of benign and malignant lesions of renal cell carcinoma.

Conclusion
In this study, 82 patients with renal tumors were selected as the research object, and their TNM staging was evaluated by MRI based on deep dictionary learning and compared with the results of pathological examination. e results showed that the TNM staging results of MRI based on deep dictionary learning were in good agreement with the pathological examination. In particular, for the judgment of T stage and M stage, there is excellent consistency. It is proved that this detection method can be used in the clinical diagnosis of renal cell carcinoma and is worthy of popularization. In this experiment, there are few diagnostic items in selected patients, and only TNM staging and renal vein thrombosis cancer are judged. More diagnostic items can be compared in the future to further determine the role of MRI based on deep dictionary learning in the diagnosis of renal cell carcinoma. is study provides clinical data, and for the diagnosis of renal cell carcinoma, it provides a certain development direction.

Data Availability
e data used to support the findings of this study are available from the corresponding author upon request.

Conflicts of Interest
e authors declare no conflicts of interest.