Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Code does nothing. No errors received. #6

Open
Gandelion opened this issue Jun 7, 2017 · 7 comments
Open

Code does nothing. No errors received. #6

Gandelion opened this issue Jun 7, 2017 · 7 comments

Comments

@Gandelion
Copy link

Hello and thank you for this wonderful code.
I am facing an issue while trying to convert the images.
I did everything in the tutorial.
When I try to run the script nothing happens. I don't get any errors so I have no idea what the problem is.
I do however get a warning that says:

Warning: NARGCHK will be removed in a future release. Use NARGINCHK or
NARGOUTCHK instead.

In pnmsetup (line 31)
In run (line 96)
In openDDSMLJPEGAndConvertToPNG (line 15)

I hope that you can help me! thanks!

Sincerely,
Gandelion

@Gandelion
Copy link
Author

Ok so I managed to fix the problem.
I needed to change 2 things in the script:

  1. line 31- change AllCollectionsOfDDSM{4,t} to AllCollectionsOfDDSM{5,t}
  2. line 40- change a{4,i} to a{5,i}
    and now the script runs and converts the images!

@CamRes
Copy link

CamRes commented Jun 22, 2017

@Gandelion, same issue here. I also tried the modifications you mentioned. It did not work for me. Also, What should be the value of numOfFolders1 variable. The value its showing is 75. I have 70 folders other than the three files we are supposed to copy in the dataset directory.

@mariannanovaes
Copy link

@Gandelion Hello, can I help me?
I also make the modifications you mentioned, but I find another problem and it not converts the images.

This is my error:
C_0029_1.LEFT_CC.LJPEG
Converting file C_0029_1.LEFT_CC.LJPEG...
Currently in Folder -
benign_01\case001
Decompressing LJPEG -> LJPEG1...
/usr/bin/bash: line 0: cd: too many arguments

@Gandelion
Copy link
Author

@mariannanovaes
Hello
Make sure your “cygwinLocation” variable is correct.
For me it is: cygwinLocation = 'C:\cygwin\bin\bash';

@CamRes
I believe it's 75 because of the two built-in variables: "." and ".." that appear in every directory. so if you have 70 folders and three files it should say that the value is 75. You can see for yourself just open the variable numOfFolders1 in the workplace.

@liyaochong
Copy link

hello,I met the error as follow?can you help me ?
@Gandelion
@trane293
Converting file B_3369_1.RIGHT_MLO.LJPEG...
Currently in Folder -
benign_04/case3369
Decompressing LJPEG -> LJPEG1...
/usr/bin/bash: ./jpeg.exe: No such file or directory
Converting LJPEG1 -> RAW...
/usr/bin/bash: ./ddsmraw2pnm.exe: No such file or directory

@liyaochong
Copy link

The path is setting as follow:
CollectionDirectory = 'H:\DDSMUtility-master\benigns';
pathToJPEGandDDSM2RAWfiles = 'H://DDSMUtility-master//benign_con//;';
cygwinLocation = 'C:\cygwin64\bin\bash';

@zhuoxin10
Copy link

@Gandelion
I change 2 things in the script as what you said,and I converted the image successfully! Thank you very much!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

5 participants