Wrong documentation of AimsSubVolume

AIMS library and commands usage

Moderators: denghien, riviere

Post Reply
Philippe Ciuciu
Posts: 2
Joined: Wed Mar 10, 2004 3:39 pm
Location: CEA, Orsay, France
Contact:

Wrong documentation of AimsSubVolume

Post by Philippe Ciuciu »

Here
I'd like to point out that there is a minstake in the doc the AimsSubVolume command probably due to copy paste !
Indeed, when you specify last coordinates with -Y or -T equal to size Y or size T
you get a segmentation violation error because you should pass sizeY-1 and sizeT -1
as input arguments

ciuciu@galehot.shfj.cea.fr -> /usr/local/RedHat-9/SHFJ_pack-stable/bin/AimsSubVolume -h

/usr/local/RedHat-9/SHFJ_pack-stable-linux-2.3.3-2004_08_26shfj/bin/commands-links/AimsSubVolume
------------------------------------------------------------------------------------------------

Carve a subvolume in the input volume

Options :

-i | --input <string>
input data

[ -x | --firstx <vector of S32> ]
first x coordinate (default 0)

[ -y | --firsty <vector of S32> ]
first y coordinate (default 0)

[ -z | --firstz <vector of S32> ]
first z coordinate (default 0)

[ -t | --firstt <vector of S32> ]
first t coordinate (default 0)

[ -X | --lastx <vector of S32> ]
last x coordinate (default SizeX)

[ -Y | --lasty <vector of S32> ]
last y coordinate (default SizeY)

[ -Z | --lastz <vector of S32> ]
last z coordinate (default SizeZ)

[ -T | --lastt <vector of S32> ]
last t coordinate (default SizeT0)


I hope this helps.
Philippe
CIUCIU Philippe, PhD
SHFJ/CEA, MADIC group
Phone: 33 1 6986 7773
http://www/madic.org/people/ciuciu
User avatar
Jean-Francois Mangin
Posts: 337
Joined: Mon Mar 01, 2004 10:24 am
Location: Neurospin, CEA, France
Contact:

Post by Jean-Francois Mangin »

Thanks,
I think this bug lasted long because when people want the last coordinate, they just do not specify the -Y or -Z flag and get it by default. Hope it may temporarily help.
User avatar
Yann Cointepas
Posts: 316
Joined: Tue Jan 20, 2004 2:56 pm
Location: Neurospin, Saint Aubin, France
Contact:

Post by Yann Cointepas »

The doc is fixed it in developpement version. It still have to be integrated to stable version but I will not do it from home (I do not use stable version at home).
Post Reply