DDSM多区域标注之处理overlay文件框出病灶区域

DDSMUtility出现的问题以及改进想法

  1. 源代码标注的区域是根据obj指定的第几个病灶区域进行标注,我想要把所有的病灶区域都标出,并且存到csv文件
  2. 在执行openDDSMPngWithOverlay中存在一个问题:必须要jpg(png)图片名称为基准去寻找overlay图像,这里的问题是:如果jpg图像没有overlay 整个代码就会报错,所以在这里注意的是需要每一个jpg图像都有overlay文件对应,那就要写程序去除那些jpg(没有病灶的)图像。
  3. 我的代码没有处理normal的情况,我想的是normal存到csv中直接是:
    ID,(中间3个逗号),0(Target)
    这样就好 准备单独追加到csv文件后面
  4. 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
  • 1
    点赞
  • 4
    收藏
    觉得还不错? 一键收藏
  • 1
    评论
评论 1
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值