写于4年后的今天,这是我前端的启蒙作,也是我一直以来不敢重新翻阅的屎山。
当初大二的我跟着龙老师的指导和乐乐一起写了这个项目,肿瘤医疗影像管理系统,总的来说就是制作给放射科医生使用,对ct扫描出来的dicom图像进行管理以及标注的一套系统。
后台管理与其他系统并无他二,主要的难点在于标注这块,我的心血主要集中在 src/main/webapp/js/review/loadAndScoroll.js
这个文件上,当初对前端了解不是很多,仅靠着一腔热血干了3185行的巨型文件,这个文件提供了很多功能,比如dicom图像的加载、标注的绘制、贝塞尔曲线的绘制(功能被龙老师砍了活在注释的几百行代码里)、仿ps液化功能等等,接下来有时间会进行一个本该在四年前做的总结。
- dicom图像加载
- 坐标转换公式
- 自己琢磨的贝塞尔曲线用于绘制的标注交互方式
- 仿ps液化功能
- 标注交互的最终实现