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
55 stars 27 forks source link

confuse about folderdirectory #2

Open faridaamila opened 8 years ago

faridaamila commented 8 years ago

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

trane293 commented 8 years ago

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.

GrigoriiTarasov commented 6 years ago

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.