Tiling tiff files in Catmaid

14 views
Skip to first unread message

John Roche

unread,
Sep 18, 2019, 11:58:54 AM9/18/19
to CATMAID
Hi I'm having issues with slicing tiff files 
i only have 1 file to test with 

when I run 
root@catmaid:/home/catmaid/data/project1/stack1# ./tile_stack test.tif 500 500
180 => 1
180 => 1
ls: cannot access '0-*.jpg': No such file or directory
convert-im6.q16: unable to open image `s_-1.ppm': No such file or directory @ error/blob.c/OpenBlob/2701.
convert-im6.q16: no images defined `small.jpg' @ error/convert.c/ConvertImageCommand/3258.


I get the following error

any help would be great :)

John

John Roche

unread,
Sep 19, 2019, 6:40:55 AM9/19/19
to CATMAID
Just an update on this issue, 

I was able to tile a tif file I found online but unable to tile the tif files I have, the files I have a quiet large ( 600mb) 
can somebody show me the actual steps to tile a tif file? 

when I tiled the example file I saw that it's split far apart, any idea why?

Regards,

John
example catmaid.PNG

John Roche

unread,
Sep 19, 2019, 7:15:41 AM9/19/19
to CATMAID
Here's another error I'm getting 

./tile_stack test2.tif 256 192
mkdir: cannot create directory ‘0’: File exists
convert-im6.q16: width or height exceeds limit `test2.tif' @ error/cache.c/OpenPixelCache/3839.
convert-im6.q16: no images defined `s_0.ppm' @ error/convert.c/ConvertImageCommand/3258.
identify-im6.q16: unable to open image `s_0.ppm': No such file or directory @ error/blob.c/OpenBlob/2701.
identify-im6.q16: unable to open image `s_0.ppm': No such file or directory @ error/blob.c/OpenBlob/2701.
/home/catmaid/data/project3/stack1/tile: line 20: /(2**0): syntax error: operand expected (error token is "/(2**0)")
/home/catmaid/data/project3/stack1/tile: line 21: /(2**0): syntax error: operand expected (error token is "/(2**0)")
/home/catmaid/data/project3/stack1/tile: line 23: /256: syntax error: operand expected (error token is "/256")
/home/catmaid/data/project3/stack1/tile: line 24: *256: syntax error: operand expected (error token is "*256")
/home/catmaid/data/project3/stack1/tile: line 25: /256: syntax error: operand expected (error token is "/256")
/home/catmaid/data/project3/stack1/tile: line 26: *256: syntax error: operand expected (error token is "*256")
 =>
 =>
convert-im6.q16: unable to open image `s_0.ppm': No such file or directory @ error/blob.c/OpenBlob/2701.
convert-im6.q16: no images defined `0.jpg' @ error/convert.c/ConvertImageCommand/3258.
ls: cannot access '0-*.jpg': No such file or directory
/home/catmaid/data/project3/stack1/tile: line 42: /2: syntax error: operand expected (error token is "/2")
/home/catmaid/data/project3/stack1/tile: line 43: /2: syntax error: operand expected (error token is "/2")
/home/catmaid/data/project3/stack1/tile: line 44: /256: syntax error: operand expected (error token is "/256")
/home/catmaid/data/project3/stack1/tile: line 45: *256: syntax error: operand expected (error token is "*256")
/home/catmaid/data/project3/stack1/tile: line 46: /256: syntax error: operand expected (error token is "/256")
/home/catmaid/data/project3/stack1/tile: line 47: *256: syntax error: operand expected (error token is "*256")
/home/catmaid/data/project3/stack1/tile: line 49: [: -ge: unary operator expected
convert-im6.q16: unable to open image `s_-1.ppm': No such file or directory @ error/blob.c/OpenBlob/2701.
convert-im6.q16: no images defined `small.jpg' @ error/convert.c/ConvertImageCommand/3258.


On Wednesday, 18 September 2019 16:58:54 UTC+1, John Roche wrote:
Reply all
Reply to author
Forward
0 new messages