AimsLinearcomb "-e" constant
Posted: Fri May 16, 2008 3:45 pm
Hi expert I'm using AimsLinearcomb like this :
C:\Documents and Settings\Mathieu\Bureau\SHFJ_pack-stable-win32-3.0.2\SHFJ_pack-stable-win32-3.0.2\bin>Aimslinearcomb.bat -i C:\chamfer\pa15_close.img -j C:\chamfer\pa15_erosion.img -o C:\test.img -c -1
Then we can see that on the screen, et can see that the value -1 have been set to -1. So this is just a way to make a substraction between two images.
options parsed
i1 : C:\chamfer\pa15_close.img
a : 1
b : 1
c : -1
d : 1
e : 0
i2 : C:\chamfer\pa15_erosion.img
fileout : C:\test.img
here is my problem : when I want to add 255 to the image.
C:\Documents and Settings\Mathieu\Bureau\SHFJ_pack-stable-win32-3.0.2\SHFJ_pack-stable-win32-3.0.2\bin>Aimslinearcomb.bat -i C:\chamfer\pa15_close.img -j C:\chamfer\pa15_erosion.img -o C:\test.img -c 1 -e 255
option `-e' requires an argument
Why the function do that ''option `-e' requires an argument'' is it my syntax or just a little bug. ??
Thanks
C:\Documents and Settings\Mathieu\Bureau\SHFJ_pack-stable-win32-3.0.2\SHFJ_pack-stable-win32-3.0.2\bin>Aimslinearcomb.bat -i C:\chamfer\pa15_close.img -j C:\chamfer\pa15_erosion.img -o C:\test.img -c -1
Then we can see that on the screen, et can see that the value -1 have been set to -1. So this is just a way to make a substraction between two images.
options parsed
i1 : C:\chamfer\pa15_close.img
a : 1
b : 1
c : -1
d : 1
e : 0
i2 : C:\chamfer\pa15_erosion.img
fileout : C:\test.img
here is my problem : when I want to add 255 to the image.
C:\Documents and Settings\Mathieu\Bureau\SHFJ_pack-stable-win32-3.0.2\SHFJ_pack-stable-win32-3.0.2\bin>Aimslinearcomb.bat -i C:\chamfer\pa15_close.img -j C:\chamfer\pa15_erosion.img -o C:\test.img -c 1 -e 255
option `-e' requires an argument
Why the function do that ''option `-e' requires an argument'' is it my syntax or just a little bug. ??
Thanks