|
From: <jo...@if...> - 2010-06-25 08:22:11
|
Hi,
I have managed to get teem working on my system and I am trying to
have a small test code called trv.c to work.
It compiles and builds ok, but I don't know what to specify in the call to the
executable, in the -gi argument:
joaob@fluent:~/doctorado_ifisc/channel_flow/data/mkm99/run20100323/fsle2/vM$./a.out
./a.out: test crease surface extraction.
Usage: ./a.out -i <nin> -k <kind> [-s <strength>] -gi <grad item> \
[-c <scaling>] [-n <# CC>] [-o <output LMPD>]
-i <nin> = input volume to analyze (nrrd)
-k <kind> = "kind" of volume ("scalar", "vector", "tensor") (kind)
-s <strength> = strength (double); default: "0.01"
-gi <grad item> = item for gradient vector (string)
-c <scaling> = amount by which to up/down-sample on each spatial axis
(3 doubles); default: "1 1 1"
-n <# CC> = if non-zero, number of CC to save (unsigned int);
default: "0"
-o <output LMPD> = output file to save LMPD into (string); default: "out.lmpd"
I tought it was the "grad" item of gageScl, but when I call the exec
with -gi grad, I get:
joaob@fluent:~/doctorado_ifisc/channel_flow/data/mkm99/run20100323/fsle2/vM$./a.out -i R03232M1.nrrd -k scalar -gi
grad
./a.out: trouble:
[gage] gageQueryItemOn: 0 not a valid gageScl value
Any comments?
Thanks,
Joao
Quoting "Gordon L. Kindlmann" <gl...@uc...>:
>
> Assuming that Samer is on this list, it would be best for the
> questions to stay on this list, so that the answers are indexed and
> searchable for others later.
>
> Gordon
>
> On Jun 22, 2010, at 10:54 AM, Xavier Tricoche wrote:
>
>> Also, feel free to direct questions to sba...@pu... (Samer
>> Barakat), who with Thomas's help got some mileage with this code in
>> the context of LCS.
>>
>> Xavier
>>
>>
>>
>> On Jun 22, 2010, at 8:24 AM, Thomas Schultz <t.s...@uc...>
>> wrote:
>>
>>> Hi Joao,
>>>
>>> the code for grid-based ridge extraction can be found in the seek
>>> module
>>> for which, unfortunately, documentation is still very sparse. To use
>>> my
>>> code, you need to
>>>
>>> seekTypeSet(scx, seekTypeRidgeSurfaceT)
>>>
>>> where scx is a seekContext created via seekContextNew(). Ultimately,
>>> you
>>> would call seekExtract() to compute the surface, but there are several
>>> additional parameters you need to set before that.
>>>
>>> There is a small demo program called mtrv.c that demonstrates how to
>>> use
>>> that code, but it does not seem to be part of the SVN repository.
>>>
>>> @Gordon: What would we need to fix in mtrv.c before making it public?
>>>
>>> Best /Thomas
>>>
>>>
>>>
>>> ---
>>> ---
>>> ---
>>> ---------------------------------------------------------------------
>>> ThinkGeek and WIRED's GeekDad team up for the Ultimate
>>> GeekDad Father's Day Giveaway. ONE MASSIVE PRIZE to the
>>> lucky parental unit. See the prize list and enter to win:
>>> http://p.sf.net/sfu/thinkgeek-promo
>>> _______________________________________________
>>> teem-users mailing list
>>> tee...@li...
>>> https://lists.sourceforge.net/lists/listinfo/teem-users
>>
>> ------------------------------------------------------------------------------
>> ThinkGeek and WIRED's GeekDad team up for the Ultimate
>> GeekDad Father's Day Giveaway. ONE MASSIVE PRIZE to the
>> lucky parental unit. See the prize list and enter to win:
>> http://p.sf.net/sfu/thinkgeek-promo
>> _______________________________________________
>> teem-users mailing list
>> tee...@li...
>> https://lists.sourceforge.net/lists/listinfo/teem-users
>>
>
>
----------------------------------------------------------------
This message was sent using IMP, the Internet Messaging Program.
|