文献速递:肿瘤分割---- 弱监督教师-学生网络用于非增强图像的肝脏肿瘤分割

news2024/9/25 3:19:51

文献速递:肿瘤分割---- 弱监督教师-学生网络用于非增强图像的肝脏肿瘤分割

01

文献速递介绍

准确的肝脏肿瘤分割对放射科医师来说是必不可少的,以诊断和治疗肝脏肿瘤并提高患者的生存率(Radtke 等人,2007年)。特别是,肝脏肿瘤分割帮助放射科医师1)确定肿瘤的阶段并制定肝脏手术计划(例如,肿瘤切除术和肝脏移植)。例如,当前常用的分期系统,如巴塞罗那诊所肝癌分期系统,考虑到肿瘤大小以及病变的多发性,以选择适合手术治疗或局部区域治疗的候选人(Chapiro 等人,2015年)。2)简化外科切除的规划。外科切除规划的主要约束之一是例如,加铝酸镓二甲葡胺(Gd-BOPTA,MultiHance)需要40至120分钟来将局灶性肝损害作为黑色病变显示出来,与增强的正常肝脏形成对比(Ibrahim 等,2020年)。

3)由对比剂材料和影像扫描造成的昂贵成本。如果注射过程中发生错误,对比剂材料将被浪费。此外,为了获得增强图像,需要在第一次非增强扫描后进行第二次扫描(动态对比增强磁共振成像),这将产生额外成本。从非增强图像中分割肝脏肿瘤可以避免由对比剂引起的上述缺点,但这是具有挑战性的。

Title

题目

Weakly-Supervised teacher-Student network for liver tumor segmentation from non-enhanced images

弱监督教师-学生网络用于非增强图像的肝脏肿瘤分割

Abstract

摘要

Accurate liver tumor segmentation without contrast agents (non-enhanced images) avoids the contrastagent-associated time-consuming and high risk, which offers radiologists quick and safe assistance to diagnose and treat the liver tumor. However, without contrast agents enhancing, the tumor in liver images presents low contrast and even invisible to naked eyes. Thus the liver tumor segmentation from non-enhanced images is quite challenging. We propose a Weakly-Supervised Teacher-Student network (WSTS) to address the liver tumor segmentation in non-enhanced images by leveraging additional boxlevel-labeled data (labeled with a tumor bounding-box). WSTS deploys a weakly-supervised teacherstudent framework (TCH-ST), namely, a Teacher Module learns to detect and segment the tumor in enhanced images during training, which facilitates a Student Module to detect and segment the tumor in non-enhanced images independently during testing. To detect the tumor accurately, the WSTS proposes a Dual-strategy DRL (DDRL), which develops two tumor detection strategies by creatively introducing a relative-entropy bias in the DRL. To accurately predict a tumor mask for the box-levellabeled enhanced image and thus improve tumor segmentation in non-enhanced images, the WSTS proposes an Uncertainty-Sifting Self-Ensembling (USSE). The USSE exploits the weakly-labeled data with self-ensembling and evaluates the prediction reliability with a newly-designed Multi-scale Uncertaintyestimation. WSTS is validated with a 2D MRI dataset, where the experiment achieves 83.11% of Dice and 85.12% of Recall in 50 patient testing data after training by 200 patient data (half amount data is boxlevel-labeled). Such a great result illustrates the competence of WSTS to segment the liver tumor from non-enhanced images. Thus, WSTS has excellent potential to assist radiologists by liver tumor segmentation without contrast-agents.

无需对比剂(非增强图像)的精确肝脏肿瘤分割避免了与对比剂相关的耗时和高风险,为放射科医生快速且安全地诊断和治疗肝脏肿瘤提供了帮助。然而,由于没有对比剂增强,肝脏图像中的肿瘤对比度低,甚至肉眼看不见。因此,从非增强图像中分割肝脏肿瘤是相当具有挑战性的。我们提出了一种弱监督教师-学生网络(WSTS)来解决非增强图像中的肝脏肿瘤分割问题,通过利用额外的盒级标记数据(用肿瘤边界盒标记)。WSTS 部署了一种弱监督教师-学生框架(TCH-ST),即教师模块在训练期间学习检测和分割增强图像中的肿瘤,从而帮助学生模块在测试期间独立地检测和分割非增强图像中的肿瘤。为了准确检测肿瘤,WSTS 提出了一种双策略 DRL(DDRL),通过创新地引入相对熵偏差到 DRL 中,开发了两种肿瘤检测策略。为了准确预测盒级标记增强图像的肿瘤掩膜,从而改善非增强图像中的肿瘤分割,WSTS 提出了不确定性筛选自组合(USSE)。USSE 利用带有自组合的弱标记数据,并使用新设计的多尺度不确定性估计来评估预测的可靠性。WSTS 通过一个 2D MRI 数据集进行验证,实验在 200 名患者数据(一半为盒级标记数据)训练后,在 50 名患者测试数据中实现了 83.11% 的 Dice 和 85.12% 的 Recall。这样优秀的结果表明 WSTS 能够从非增强图像中分割肝脏肿瘤。因此,WSTS 具有极大的潜力,可以在无需对比剂的情况下帮助放射科医生进行肝脏肿瘤分割。

Methods

方法

The WSTS leverages a Teacher Module to exploit the tumor knowledge in the enhanced image as guidance to train a Student Module so that the Student Module is able to detect and segment the tumor from the non-enhanced image independently in the testing stage (Fig. 5). In detail, 1) the Teacher Module (Section 3.1) deploys the Dual-strategy DRL (DDRL) and the Uncertainty-Sifting Self-Ensembling (USSE) to obtain a tumor mask in the enhanced image. The DDRL deploys two newly-designed Relative-entropybiased Actor-Critics (RACs) to develop tumor detection strategies and determine the tumor location. The USSE designs a Multiscale Uncertainty-estimation (MU) and integrates it with the SelfEnsembling (SE) to predict a pixel-level tumor mask for the boxlevel-label data. 2) The Student Module (Section 3.2) employs a Student DDRL (SDDRL) and a Student DenseUNet (SDUNet) to learn tumor segmentation under the guidance of the Teacher Module in the non-enhanced image. The SDDRL imitates the DDRL to learn tumor detection strategies. The SDUNet utilizes the USSE’s tumor mask as a pseudo-pixel-level label (additional to the manual pixellevel label) to learn the tumor segmentation. 3.1. Teacher module The Teacher Module employs the Dual-strategy DRL (DDRL) and the Uncertainty-Sifting Self-Ensembling (USSE) to detect the tumorWSTS

利用教师模块来利用增强图像中的肿瘤知识作为指导,训练一个学生模块,使学生模块能够在测试阶段独立地从非增强图像中检测和分割肿瘤(见图 5)。具体来说,1)教师模块(第3.1节)部署双策略深度强化学习(DDRL)和不确定性筛选自集成(USSE)来在增强图像中获得肿瘤掩膜。DDRL部署了两个新设计的相对熵偏置的行动者-评论家(RACs)来发展肿瘤检测策略并确定肿瘤位置。USSE设计了一个多尺度不确定性估计(MU),并将其与自集成(SE)集成,为盒子级标记数据预测像素级肿瘤掩膜。2)学生模块(第3.2节)采用学生版双策略深度强化学习(SDDRL)和学生版密集联合网络(SDUNet),在非增强图像中在教师模块的指导下学习肿瘤分割。SDDRL模仿DDRL学习肿瘤检测策略。SDUNet利用USSE的肿瘤掩膜作为伪像素级标签(除了手动像素级标签),来学习肿瘤分割。3.1教师模块,教师模块采用双策略深度强化学习(DDRL)和不确定性筛选自集成(USSE)来检测肿瘤。

Conclusions

结论

This paper proposes a Weakly-Supervised Teacher-Student network (WSTS) to segment the liver tumor from non-enhanced images. WSTS creatively deploys a weakly-supervised teacher-student framework to exploit the visible tumor feature in the enhanced image as guidance and assist the segmentation in the non-enhanced images. In particular, WSTS proposes DDRL to exploit the tumor spatial feature in the enhanced image and transfer the feature via DRL strategies to guide the tumor detection in the non-enhanced image. WSTS also proposes the USSE, which predicts tumor masks for the box-level-labeled enhanced image. Thus the mask is transferred as the tumor shape feature to improve tumor segmentation in the non-enhanced image. The experiment confirms the effectiveness of WSTS, where WSTS achieves 83.11% of Dice and 85.12% of Recall in the 50 patient testing data after training by 200 patients (100 patients with the pixel-level label and 100 patients with the box-level label). These results demonstrate WSTS can be an efficient computer aided-diagnostic tool to assist radiologists with tumor segmentation without contrast-agents.

本文提出了一种用于从非增强图像中分割肝脏肿瘤的弱监督教师-学生网络(WSTS)。WSTS 创新性地部署了一种弱监督的教师-学生框架,利用增强图像中可见的肿瘤特征作为指导,帮助非增强图像中的分割。特别地,WSTS 提出了 DDRL,以利用增强图像中的肿瘤空间特征,并通过 DRL 策略传输这些特征,指导非增强图像中的肿瘤检测。WSTS 还提出了 USSE,用于预测盒级标记的增强图像的肿瘤掩膜。因此,该掩膜作为肿瘤形状特征被转移,以提高非增强图像中的肿瘤分割。实验确认了 WSTS 的有效性,其中 WSTS 在 200 名患者(100 名患者具有像素级标记,100 名患者具有盒级标记)的训练后,在 50 名患者的测试数据中达到了 83.11% 的 Dice 和 85.12% 的 Recall。这些结果表明 WSTS 可以成为一种有效的计算机辅助诊断工具,帮助放射科医生在不使用对比剂的情况下进行肿瘤分割。

Figure

图片

Fig. 1. Almost all existing tumor segmentation methods are only suitable for enhanced images where a contrast agent (CA) is used to improve tumor visibility and thus raises several issues (side-effect, time-consuming, and high cost). Also, the firstly-scanned non-enhanced image is wasted. We propose a method to segment the liver tumor from non-enhanced images, which is safe, quick, and economical because it avoids the use of CAs and the second scanning

图 1. 几乎所有现有的肿瘤分割方法仅适用于增强图像,其中使用了对比剂(CA)来提高肿瘤的可见性,因此引发了一些问题(副作用、耗时和高成本)。此外,最初扫描的非增强图像被浪费了。我们提出了一种从非增强图像中分割肝脏肿瘤的方法,这种方法安全、快速、经济,因为它避免了使用对比剂和第二次扫描。

图片

Fig. 2. Tumor segmentation from non-enhanced images facing the following challenges: 1) Some tumors are barely visible to naked eyes. 2) Normal tissues in the background present intricate and tumor-like appearance and thus may cause interference to the tumor segmentation. 3) The pixel-level-labeled data is limited, and the box-level-labeled data is relatively abundant. It is desirable but challenging to deploy the box-level-labeled data for tumor segmentation training.

图 2. 从非增强图像中进行肿瘤分割面临以下挑战:1)一些肿瘤肉眼几乎无法看到。2)背景中的正常组织呈现复杂且类似肿瘤的外观,因此可能对肿瘤分割造成干扰。3)像素级标记数据有限,而盒子级标记数据相对丰富。利用盒子级标记数据进行肿瘤分割训练是可取的但具有挑战性。

图片

Fig. 3. The teacher-student framework draws support from the enhanced image to facilitate the tumor segmentation in non-enhanced images in the training stage. Thus during the testing stage, the student can segment the tumor independently from non-enhanced images

图 3. 教师-学生框架在训练阶段利用增强图像来辅助非增强图像中的肿瘤分割。因此,在测试阶段,学生可以独立地从非增强图像中分割出肿瘤。

图片

Fig. 4. DRL is a candidate to transfer the tumor spatial feature from the enhanced image to the non-enhanced image via a tumor detection strategy. However, traditional DRL may stick into sub-optimal and cause inaccurate tumor detection. SE is a candidate to transfer the tumor shape feature from the enhanced image to the non-enhanced image by predicting pixel-level tumor masks for the box-level-labeled data. However, traditional SE may produce unreliable and noisy masks

图 4. 深度强化学习(DRL)是一种通过肿瘤检测策略将肿瘤空间特征从增强图像转移到非增强图像的候选方法。然而,传统的深度强化学习可能陷入次优状态,导致肿瘤检测不准确。形状编码(SE)是一种通过预测盒子级标记数据的像素级肿瘤掩膜,将肿瘤形状特征从增强图像转移到非增强图像的候选方法。然而,传统的形状编码可能产生不可靠和噪声过多的掩膜。

图片

Fig. 5. Our WSTS leverages a Teacher Module to train a Student Module so that the Student Module is able to segment the tumor from the non-enhanced image independently. The Teacher Module deploys a DDRL and a USSE to detect and segment the tumor in the enhanced image. The Student Module employs an SDDRL and an SDUNet to learn tumor segmentation under the guidance of the Teacher Module in the non-enhanced image

图 5. 我们的WSTS利用一个教师模块来训练一个学生模块,使学生模块能够独立地从非增强图像中分割出肿瘤。教师模块部署了一个深度强化学习检测(DDRL)和一个不确定形状编码(USSE)来在增强图像中检测和分割肿瘤。学生模块采用一个简化的深度强化学习检测(SDDRL)和一个简化的深度学习网络(SDUNet),在非增强图像中在教师模块的指导下学习肿瘤分割。

图片

Fig. 6. The Dual-strategy DRL (DDRL) deploys two newly-proposed RACs to detect the tumor with respective strategy and fuses their detection results as ultimate tumor detection. The DDRL stimulates each RAC to 1) explore various strategies by maximizing the entropy of explored strategy distribution; 2) take the other RAC’s decision into consideration when learning its own strategy by maximizing the relative entropy between the developed strategies.

图 6. 双策略深度强化学习(DDRL)部署了两个新提出的相对熵偏置的行动者-评论家(RACs),以各自的策略检测肿瘤,并融合他们的检测结果作为最终的肿瘤检测。DDRL激励每个RAC:1)通过最大化探索策略分布的熵来探索各种策略;2)在学习自己的策略时考虑另一个RAC的决策,通过最大化已发展策略之间的相对熵。

图片

Fig. 7. The Uncertainty-Sifting Self-Ensembling (USSE) builds an online model and a target model to build the self-consistency loss and exploit the box-level-labeled data. The prediction of the target model sifted by the Multi-scale Uncertainty-estimation (MU) is employed as a reliable prediction to constrain the segmentation of the online model. The MU creatively introduces multi-scale attention into the uncertainty-estimation to increase the observational uncertainty and thus improve the estimation accuracy of the prediction uncertainty.

图 7. 不确定性筛选自集成(USSE)构建了一个在线模型和一个目标模型,以建立自一致性损失并利用盒子级标记数据。目标模型的预测通过多尺度不确定性估计(MU)进行筛选,作为可靠的预测来约束在线模型的分割。MU创新地将多尺度注意力引入到不确定性估计中,以增加观察不确定性,从而提高预测不确定性的估计准确性。

图片

Fig. 8. Tumor segmentation visualization presents that WSTS achieves a high overlap between the tumor prediction (green area) and the ground-truth (blue contour). In the non-enhanced image, the tumor is low-contrast and barely visible compared with that in the enhanced image. (For interpretation of the references to colour in this figure legend, the reader is referred to the web version of this article.)

图 8. 肿瘤分割可视化展示了WSTS在肿瘤预测(绿色区域)和真实值(蓝色轮廓)之间实现了高度重叠。在非增强图像中,与增强图像相比,肿瘤对比度低,几乎不可见。(关于本图例中颜色引用的解释,读者可参考本文的网络版本。)

图片

Fig. 9. The ROC Curves of control experiments (left) and inter-comparison experiments (right) show every part of WSTS increases AUC to varying degrees and WSTS has the largest AUC compared with other fully-supervised methods.

图 9. 控制实验(左)和交叉比较实验(右)的 ROC 曲线显示 WSTS 的每个部分都不同程度地增加了 AUC,而且与其他全监督方法相比,WSTS 的 AUC 最大。

图片

Fig. 10. The accuracy of tumor proposal predicted by DDRL during training under different temperature values, where the proposal accuracy is evaluated by IoU between the proposal and the ground-truth.

图 10. 在不同温度值下,DDRL 在训练期间预测的肿瘤建议的准确性,其中建议的准确性通过建议与真实标记之间的 IoU 来评估。

图片

Fig. 11. Ablation experimental result related to the DRL method shows SAC achieves the best performance among the three DRL algorithms

图 11. 与 DRL 方法相关的消融实验结果显示,在三种 DRL 算法中,SAC 实现了最佳性能。

图片

Fig. 12. Ablation experimental result related to semi-supervised segmentation methods shows the USSE achieves the best performance among the four SE algorithms.

图 12. 与半监督分割方法相关的消融实验结果显示,在四种 SE 算法中,USSE 实现了最佳性能。

图片

Fig. 13. The tumor segmentation comparison of the WSTS and other methods shows the performance of WSTS approaches these fully-supervised methods and even better than the U-Net. The first and second row illustrates enhanced images and the image with mask superimposed. The third row shows non-enhanced images. The fourth row shows the ground-truth, and the rest rows illustrate the segmentation of five methods on non-enhanced images.

图 13. WSTS 与其他方法的肿瘤分割比较显示 WSTS 的性能接近这些全监督方法,甚至优于 U-Net。第一行和第二行展示了增强图像和叠加了掩膜的图像。第三行显示非增强图像。第四行展示真实标记,其余行展示了五种方法在非增强图像上的分割结果。

图片

Fig. B.14. The network architectures to approximate the state-value function, action-value function, and strategy function.

图 B.14. 用于近似状态价值函数、动作价值函数和策略函数的网络架构。

Table

图片

Table 1 Control experimental result

表 1 控制实验结果

图片

Table 2 Direct effect of Multi-scale Uncertainty-estimation (MU) to tumor segmentation

表 2 多尺度不确定性估计(MU)对肿瘤分割的直接效果

图片

Table 3 The effectiveness of agent number to tumor proposal and segmentation

表 3 代理数量对肿瘤建议和分割的有效性

图片

Table 4 The effect of different distances to the segmentation performance

表 4 不同距离对分割性能的影响

图片

Table 5 Inter-comparison experimental result

表 5 交叉比较实验结果

图片

Table C.6 Performance of our method and other methods under different training-data settings

表 C.6 在不同训练数据设置下,我们的方法与其他方法的性能比较

本文来自互联网用户投稿,该文观点仅代表作者本人,不代表本站立场。本站仅提供信息存储空间服务,不拥有所有权,不承担相关法律责任。如若转载,请注明出处:http://www.coloradmin.cn/o/1440016.html

如若内容造成侵权/违法违规/事实不符,请联系多彩编程网进行投诉反馈,一经查实,立即删除!

相关文章

代码随想录算法训练营29期|day44 任务以及具体任务

动态规划:完全背包理论基础 本题力扣上没有原题,大家可以去卡码网第52题 (opens new window)去练习,题意是一样的。 #算法公开课 《代码随想录》算法视频公开课 (opens new window):带你学透完全背包问题! (opens …

HTML 标签

HTML:超文本标记语言 HTML骨架结构: html标签:网页的整体 head标签:网页的头部 body标签:网页的身体 HTML的注释 VS code中:ctrl/ 浏览器不会执行注释 HTML标签的构成: 双标签&#xff1a…

Kubernetes基础(十四)-Cluster Autoscaler

Kubernetes 给出的解决方案就是:自动伸缩(auto-scaling),通过自动伸缩组件之间的配合,可以 7*24 小时的监控着k8s集群,动态变化负载,以适应用户需求。 1 自动伸缩组件 1.1 自动伸缩类型 1.1.…

VsCode中常用的正则表达式操作

在vscode中可以使用正则表达式来进行搜索内容,极大的方便了我们对大量数据中需要查看的信息进行筛选,使用正则搜索时点击 .* 此文章会持续补充常用的正则操作 1.光标选中搜索到的内容 将搜索的内容进行全选,举例:在如下文件中我需…

基于Linux的HTTP代理服务器搭建与配置实战

在数字化世界中,HTTP代理服务器扮演着至关重要的角色,它们能够帮助我们管理网络请求、提高访问速度,甚至在某些情况下还能保护我们的隐私。而Linux系统,凭借其强大的功能和灵活性,成为了搭建HTTP代理服务器的理想选择。…

Android Camera2 API 后台服务

最近在搞CameraAPP需要将Camera2弄成一个后台服务,发现跟预览的Activity没多大变动只是加了Service,和一些简单的修改。之前的公司也用到Camera2,发现用到的时候还是蛮多的所以记录一下,代码在文章末尾 camera2的结构如下&#x…

常用的前端模块化标准总结

1、模块化标准出现以前使用的模块化方案: 1)文件划分: 将不同的模块定义在不同的文件中,然后使用时通过script标签引入这些文件 缺点: 模块变量相当于是定义在全局的,容易造成变量名冲突(即不…

代码随想录算法训练营第25天 | 216.组合总和III ,17.电话号码的字母组合

回溯章节理论基础: https://programmercarl.com/%E5%9B%9E%E6%BA%AF%E7%AE%97%E6%B3%95%E7%90%86%E8%AE%BA%E5%9F%BA%E7%A1%80.html 216.组合总和III 题目链接:https://leetcode.cn/problems/combination-sum-iii/ 思路: 本题就是在[1,2,3,4,5,6,7,…

Git简单了解

文章目录 1、Git概述2、Git下载与安装3、Git代码托管服务3.1、使用码云托管服务 1、Git概述 什么是Git Git是一个分布式版本控制工具,主要用于管理开发过程中的源代码文件(Java类、xml文件、html页面等),在软件开发过程中被广泛使…

免费文字转语音工具,一款优秀且永久免费的文字转语音工具,同时拥有多种类型男声女声,支持多国语言转换,支持语速调节和下载!

一、软件简介 该工具只有一个功能,就是将输入框内的纯文本内容转换为指定语言的音频,并且可以自由调节语速及音色(男声/女声),其内置了多种语音包,包含男声、女声、普通话、粤语以及方言,并且支…

Ubuntu安装SVN服务并结合内网穿透实现公网访问本地存储文件

🔥博客主页: 小羊失眠啦. 🎥系列专栏:《C语言》 《数据结构》 《C》 《Linux》 《Cpolar》 ❤️感谢大家点赞👍收藏⭐评论✍️ 前些天发现了一个巨牛的人工智能学习网站,通俗易懂,风趣幽默&…

Visual Studio 2022中创建的C++项目无法使用万能头<bits/stdc++.h>解决方案

目录 发现问题 解决办法 第一步 第二步 第三步 第四步 最后一步 问题解决 发现问题 如果大家也遇到下面这种问题,可能是没有include文件夹中没有bits/stdc.h 解决办法 第一步 打开一个C项目,鼠标移动至头文件上右击,选择转到文档或…

c#: 表达式树的简化

环境&#xff1a; .net 6 一、问题&#xff1f; 有下面的表达式&#xff1a; var nums new List<int> { 1, 2, 3 }; Expression<Func<int, bool>> exp i > i > nums.Max();我们知道&#xff0c;它其实就是&#xff1a;exp i > i > 3; 那么…

06-OpenFeign-使用HtppClient连接池

默认下OpenFeign使用URLConnection 请求连接&#xff0c;每次都需要创建、销毁连接 1、添加ApacheHttpClient依赖 <!-- 使用Apache HttpClient替换Feign原生httpclient--><dependency><groupId>org.apache.httpcomponents</groupId><artifact…

编曲学习:旋律创作基础概念 和弦进行作曲 和弦外音使用 作曲技巧

旋律创作基础概念 和弦进行作曲 和弦外音使用 作曲技巧https://app8epdhy0u9502.pc.xiaoe-tech.com/live_pc/l_65be1ba7e4b064a83b92a3d7?course_id=course_2XLKtQnQx9GrQHac7OPmHD9tqbv文档https://app8epdhy0u9502.pc.xiaoe-tech.com/p/t_pc/course_pc_detail/camp_pro/cour…

【GAMES101】Lecture 19 相机

目录 相机 视场 Field of View (FOV) 曝光&#xff08;Exposure&#xff09; 感光度&#xff08;ISO&#xff09; 光圈 快门 相机 成像可以通过我们之前学过的光栅化成像和光线追踪成像来渲染合成&#xff0c;也可以用相机拍摄成像 今天就来学习一下相机是如何成像的…

Golang数据库编程详解 | 深入浅出Go语言原生数据库编程

前些天发现了一个巨牛的人工智能学习网站&#xff0c;通俗易懂&#xff0c;风趣幽默&#xff0c;忍不住分享一下给大家。点击跳转到网站https://www.captainbed.cn/kitie。 Golang学习专栏&#xff1a;https://blog.csdn.net/qq_35716689/category_12575301.html 前言 对数据库…

【Java八股面试系列】JVM-常见参数设置

目录 堆内存相关 显式指定堆内存–Xms和-Xmx 显式新生代内存(Young Generation) 显式指定永久代/元空间的大小 垃圾收集相关 垃圾回收器 GC 日志记录 处理 OOM JDK监控和故障处理工具总结 堆内存相关 Java 虚拟机所管理的内存中最大的一块&#xff0c;Java 堆是所有线…

【JavaScript + CSS】随机生成十六进制颜色

效果图 实现 <template><div class"year_area"><div class"year_list"><el-row :span"24"><div :class"showAll"><el-col :span"5" v-for"(item, index) in defaulList" :key&…

代码随想录算法训练营DAY16 | 二叉树 (3)

一、LeetCode 104 二叉树的最大深度 题目链接&#xff1a;104.二叉树的最大深度https://leetcode.cn/problems/maximum-depth-of-binary-tree/ 思路&#xff1a;采用后序遍历递归求解。 class Solution {int ans 0;public int maxDepth(TreeNode root) {if(root null){retur…