"Append file path" removes full path and outputs file name only

28 views
Skip to first unread message

Nicoco

unread,
Apr 26, 2016, 8:06:58 AM4/26/16
to Icy imaging
Hello,

I am trying to set up a Sequence file batch where I need to open another image at each iteration. This other file is of the type /path/to/filename_groundtruth.png (given /path/to/filename.png is the main image).

I've figured I have to use the Append file path block and use its output in a File to sequence block. Unfortunately, instead of outputting /path/to/filename_groundtruth.png, I only get filename_groundtruth.png as an output, resulting in an error when trying to open the file.

I thought about launching icy within my images folder but it is apparently impossible:
~$ /opt/icy/icy.sh
Error: Unable to access jarfile updater.jar


I also thought about using Text and Append Text blocks to restore the full path, which almost works, but the File to sequence block doesn't accept "text" as an input.

Should I proceed differently?
Is there a workaround for my problem?

Thanks!

Nicoco

unread,
Apr 26, 2016, 8:59:28 AM4/26/16
to Icy imaging
Path to file was the block I was missing.

Sorry for bothering!

Stephane

unread,
Apr 26, 2016, 11:09:57 AM4/26/16
to Icy imaging
Glad you sorted it :) Indeed it's not easy to deal with these Text / File stuff. Depending the block, they sometime accept both data type (Text or File) to make it easier but that is not always the case.
Also about command line, actually you can open icy from command line and provide an image path as parameter but probably not a folder of image.

- Stephane
Reply all
Reply to author
Forward
0 new messages