[Insight-users] Segmentation of 3D image (itk)
Luis Ibanez
luis.ibanez at kitware.com
Sat Mar 24 20:09:47 EDT 2012
The filter, as you sent it to me,
works fine.
You will run it from the command line as:
./threshold brainweb165a10f17.mha output.mha 80 110 97 30 100
The values 80 110 97 are the x,y,z coordinates of a seed point
The values 30 100 are the lower and upper threshold.
The input 3D image brainweb165a10f17.mha
can be downloaded from MIDAS:
http://midas.kitware.com/item/view/491
http://midas.kitware.com/bitstream/view/3000
Luis
-------------------------------------------------------------------
On Sat, Mar 24, 2012 at 7:58 PM, Abder-Rahman Ali
<abder.rahman.ali at gmail.com> wrote:
> thanks a lot Louis. I'm actually doing that on windows but can follow your
> steps.
>
> Do you think the filter as shown in the file I have sent you works fine? I
> don't know how to test it on an image.
>
>
> On Saturday, March 24, 2012, Luis Ibanez <luis.ibanez at kitware.com> wrote:
>> Your CMakeLists.txt file should work fine with ITK 3.20.
>>
>> Do the following
>>
>> cd /tmp
>> mkdir itkexample
>> cd itkexample
>> mkdir src
>> mkdir bin
>>
>> put in "src" the two files that you sent me.
>> the do
>>
>>
>> cd /tmp/itkexample/bin
>> ccmake ../src
>>
>>
>> Make sure that in ITK_DIR you put the
>> binary directory of your ITK 3.2 build.
>> The do "c" to configure, then do "g" to
>> generate, and when ccmake quits, do
>>
>> make
>>
>> That should work...
>>
>>
>> I presume that you are doing this in Linux...
>> are you ?
>>
>>
>>
>> Luis
>>
>>
>> ----------------------------------------------------
>> On Sat, Mar 24, 2012 at 7:37 PM, Abder-Rahman Ali
>> <abder.rahman.ali at gmail.com> wrote:
>>> Hi Luis,
>>>
>>> I'm using ITK 3.20.0
>>>
>>> Abder-Rahman
>>>
>>>
>>> On Saturday, March 24, 2012, Luis Ibanez <luis.ibanez at kitware.com> wrote:
>>>> Hi Abder,
>>>>
>>>> What version of ITK are you using ?
>>>>
>>>> Luis
>>>>
>>
More information about the Insight-users
mailing list