trane293 / DDSMUtility

Utility to greatly simplify downloading, converting, viewing and extracting annotations from the Digital Database for Screening Mammography (DDSM) database available here: http://marathon.csee.usf.edu/Mammography/Database.html

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

confuse about folderdirectory

faridaamila opened this issue · comments

hello, i want to ask you if my folder cancer_01 inside local disk d. so the code must be
CollectionDirectory = 'D:\cancer_01';

% These are for the other script. NOTICE THE BRACKETS DIRECTION. ALSO
% NOTICE A SEMICOLON IN FIRST VAR.
pathToJPEGandDDSM2RAWfiles = 'D://hasil//;';
cygwinLocation = 'C:\cygwin64\bin\bash';

right or not? nothing happen after compiling. please help me

The script expects folder structure as follows:

benigns
--benign01
--benign02
---->case0022
---->case0034

cancers
--cancer01
--cancer02
---->case1245
---->case1355

put your cygwin1.dll, jpeg.exe, ddsmraw2pnm in benigns/cancers folders. Point your CollectionDirectory = 'D:\benigns'; It will start the conversion process for all benign volumes and cases inside each volume.

In normal folder I have files:

pnm
.listing
README.MD
normal_02
normal_05
normal_12
ConvertDDSMImageToRaw.m
openDDSMLJPEGAndConvertToPNG.m
readBoundary.m
openDDSMPngWithOverlay.m
ddsmraw2pnm.exe
jpeg.exe
Tutorial.pdf

In matlab open this folder
'N:\1Mammogram\mamm_DDSM\figment.csee.usf.edu\pub\DDSM\cases\normals'

CollectionDirectory = 'N:\1Mammogram\mamm_DDSM\figment.csee.usf.edu\pub\DDSM\cases\normals\';

pathToJPEGandDDSM2RAWfiles = 'N://1Mammogram//mamm_DDSM//figment.csee.usf.edu//pub//DDSM//cases/normals//;';

cygwinLocation = 'C:\\cygwin\\bin\\bash';

Got:

Warning: NARGCHK will be removed in a future release. Use NARGINCHK or NARGOUTCHK
instead. 
> In pnmsetup (line 31)
  In run (line 96) 

I have system cd C and N is another disk.