I am having trouble converting the van hateren dataset files (http://bethgelab.org/datasets/vanhateren/) to a file type compatible with Experiment Builder (http://www.sr-research.com/eb.html). On the first website, there is a section discussing the line of code that needs to be used to convert this file type to a more convenient and manipulable type. I proceeded as follows in the command prompt:
Microsoft Windows [Version 6.3.9600]
(c) 2013 Microsoft Corporation. All rights reserved.
C:\Users\Owner>convert -size 1536x1024 -depth 16 gray:imk00001.imc imk00001.fits
convert.exe: unable to open image `imk00001.imc': No such file or directory @ er
ror/blob.c/OpenBlob/2695.
convert.exe: no images defined `imk00001.fits' @ error/convert.c/ConvertImageCom
mand/3230.
and then,
Microsoft Windows [Version 6.3.9600]
(c) 2013 Microsoft Corporation. All rights reserved.
C:\Users\Owner>convert -size 1536x1024 -depth 16 -endian MSB gray:imk00001.imc i
mk00001.fits
convert.exe: unable to open image `imk00001.imc': No such file or directory @ er
ror/blob.c/OpenBlob/2695.
convert.exe: no images defined `imk00001.fits' @ error/convert.c/ConvertImageCom
mand/3230.
Please remember that I am new to Imagemagick and am solely using it to convert these images to a file type that I can use. Thank you in advance for your help.
Van Hateren Data Set conversion
-
- Posts: 12159
- Joined: 2010-01-23T23:01:33-07:00
- Authentication code: 1151
- Location: England, UK
Re: Van Hateren Data Set conversion
This means it can't find the file. It probably isn't there. What does "dir *.imc" say?pcicales wrote:`imk00001.imc': No such file or directory
snibgo's IM pages: im.snibgo.com
Re: Van Hateren Data Set conversion
Where do I find "dir*.imc"
-
- Posts: 12159
- Joined: 2010-01-23T23:01:33-07:00
- Authentication code: 1151
- Location: England, UK
Re: Van Hateren Data Set conversion
It is a command that you type, at the same place you typed "convert ...". It will list the files with the extension "imc".
snibgo's IM pages: im.snibgo.com
Re: Van Hateren Data Set conversion
Microsoft Windows [Version 6.3.9600]
(c) 2013 Microsoft Corporation. All rights reserved.
C:\Users\Owner>dir *.imc
Volume in drive C has no label.
Volume Serial Number is C83A-C3CF
Directory of C:\Users\Owner
File Not Found
(c) 2013 Microsoft Corporation. All rights reserved.
C:\Users\Owner>dir *.imc
Volume in drive C has no label.
Volume Serial Number is C83A-C3CF
Directory of C:\Users\Owner
File Not Found
-
- Posts: 12159
- Joined: 2010-01-23T23:01:33-07:00
- Authentication code: 1151
- Location: England, UK
Re: Van Hateren Data Set conversion
So that's the problem. The file isn't there.
snibgo's IM pages: im.snibgo.com
Re: Van Hateren Data Set conversion
Wow. Thank you for your help. I must be lacking too much sleep.
Re: Van Hateren Data Set conversion
One more question. There are over 4000 files. Is there a way to convert them all at once? They all have similar titles and are numbered in order.