DDSMUtility出现的问题以及改进想法
- 源代码标注的区域是根据obj指定的第几个病灶区域进行标注,我想要把所有的病灶区域都标出,并且存到csv文件
- 在执行openDDSMPngWithOverlay中存在一个问题:必须要jpg(png)图片名称为基准去寻找overlay图像,这里的问题是:如果jpg图像没有overlay 整个代码就会报错,所以在这里注意的是需要每一个jpg图像都有overlay文件对应,那就要写程序去除那些jpg(没有病灶的)图像。
- 我的代码没有处理normal的情况,我想的是normal存到csv中直接是:
ID,(中间3个逗号),0(Target)
这样就好 准备单独追加到csv文件后面 - MLO和CC是不同视角去拍摄,所以我准备把两种不同的图片分开处理
以下是我对openDDSMPngWithOverlay.m的改进,因为我要把不规则区域转成规则区域写到csv文件里
openDDSMPngWithOverlay.m的源代码在这里
%% ==================================================================%
% OPEN AND VIEW PNG FORMAT DDSM IMAGES WITH THEIR ANNOTATIONS
% -ope---(MAIN FILE)----
% ===================================================================%
% Author - Anmol Sharma (Undergraduate Engineering Student)
% Affiliation - DAV Institute of Engineering & Technology
% Supervisers - Dr. Jayasree Chakraborty* and Dr. Abhishek Midya#
% *Research Fellow, Memorial Sloan Kettering Cancer Center
% #Assistant Professor, NIT Silchar
% Description - The code is used to view the PNG format DDSM images
% created using the openDDSMLJPEG1AndConvertToPNG.m
% script. This script opens the PNG file, and then also
% opens the corresponding OVERLAY file to get the boundary
% information of the mass present in that particular
% mammogram.
% License - Copyright (C) 2015 Anmol Sharma
%
% This program is free software: you can redistribute it
% and/or modify it under the terms of the GNU General
% Public License as published by the Free Software
% Foundation, eith