Hello,
I am glad you were able to run the program. It can be difficult to find the
correct parameters to obtain the desired results. You can read the Insight
Journal publication associated to this filter [1] to understand which
parameters are available and how to integrate this filter in a pipeline.
You can also look at the ITK tests for that filter to see the values that
are used in that case [2][3].
Hope this helps,
Francois
[1] http://www.insight-journal.org/browse/publication/92
[2]
https://github.com/InsightSoftwareConsortium/ITK/blob/master/Modules/Segmentation/Watersheds/test/CMakeLists.txt#L31-L55
[3]
https://github.com/InsightSoftwareConsortium/ITK/blob/master/Modules/Segmentation/Watersheds/test/itkMorphologicalWatershedFromMarkersImageFilterTest.cxx
On Sat, May 20, 2017 at 2:55 AM, Zou Jing <***@hotmail.com> wrote:
> Hello,
>
> Now I can run the program, but the result image is all write.
> ------------------------------
> *å件人:* Zou Jing
> *åéæ¶éŽ:* 2017幎5æ20æ¥ 11:37:00
> *æ¶ä»¶äºº:* Francois Budin
> *æé:* Chr. Rossmanith; insight-***@itk.org
> *äž»é¢:* çå€: [ITK-users] çå€: çå€: çå€: watershed
>
>
> Thank you very much.
>
> I've found the filter, but I have trouble in implementing it.
>
> Have you ever tested that.
>
> My error is this:
>
> Debug Error!
>
> Program:
>
> ...Debug\itkMorphologicalWatershedFromMarkersImageFilterTest.exe
>
> R6010
> -abort() has been called
>
> (Please Retry to debug the application)
>
>
> ------------------------------
> *å件人:* Francois Budin <***@kitware.com>
> *åéæ¶éŽ:* 2017幎5æ19æ¥ 20:46:53
> *æ¶ä»¶äºº:* Zou Jing
> *æé:* Chr. Rossmanith; insight-***@itk.org
> *äž»é¢:* Re: [ITK-users] çå€: çå€: çå€: watershed
>
> Hello Zou Jing,
>
> What do you mean by the fact that you cannot find the filter? Do you have
> compilation errors? Or you cannot find the implementation of the filter in
> ITK? If it is the latter, you can find the filter is here [1]
> Let me know if this helps,
>
> Francois
> [1] https://github.com/InsightSoftwareConsortium/ITK/
> blob/v4.11.0/Modules/Nonunit/Review/include/itkMorphologicalWatershedFromM
> arkersImageFilter.hxx
>
> <https://github.com/InsightSoftwareConsortium/ITK/blob/v4.11.0/Modules/Nonunit/Review/include/itkMorphologicalWatershedFromMarkersImageFilter.hxx>
> InsightSoftwareConsortium/ITK
> <https://github.com/InsightSoftwareConsortium/ITK/blob/v4.11.0/Modules/Nonunit/Review/include/itkMorphologicalWatershedFromMarkersImageFilter.hxx>
> github.com
> ITK - Insight Segmentation and Registration Toolkit -- Mirror
>
>
>
> On Fri, May 19, 2017 at 3:14 AM, Zou Jing <***@hotmail.com> wrote:
>
>> Thank you,I've enabled that in CMake.
>>
>> But I still cannot find itkMorphologicalWatershedFromMarkersImageFilter
>> ------------------------------
>> *å件人:* Insight-users <insight-users-***@itk.org> 代衚 Chr. Rossmanith <
>> ***@neuro.ma.uni-heidelberg.de>
>> *åéæ¶éŽ:* 2017幎5æ19æ¥ 13:53:48
>> *æ¶ä»¶äºº:* insight-***@itk.org
>> *äž»é¢:* Re: [ITK-users] çå€: çå€: watershed
>>
>> It's an option in cmake: Module_ITKReview, you have to toggle to advanced
>> mode (t in ccmake) to find it.
>>
>> Christina
>>
>> On 19.05.2017 05:27, Zou Jing wrote:
>>
>> Thank you.
>>
>> I am sorry that I don't know how to enable "review".
>>
>> I'm a novice.
>>
>> Can you help me?Thanks very much.
>> ------------------------------
>> *å件人:* Richard Beare <***@gmail.com> <***@gmail.com>
>> *åéæ¶éŽ:* 2017幎5æ19æ¥ 11:12:30
>> *æ¶ä»¶äºº:* Zou Jing
>> *æé:* Francois Budin; insight-***@itk.org
>> *äž»é¢:* Re: [ITK-users] çå€: watershed
>>
>> You will need to enable "review" to get morphological watershed in 4.11
>>
>> On Fri, May 19, 2017 at 12:10 PM, Zou Jing <***@hotmail.com> wrote:
>>
>>> Hi, Francois
>>>
>>> Thank you very much.
>>>
>>> The version of my ITK is 4.11.0. I checked the watershed module, but
>>> there is no such thing as itkMorphologicalWatershedFr
>>> omMarkersImageFilter.
>>>
>>> I just found itkIsolatedWatershedImageFilterTest.cxx, itkTobogganImageFilterTest.cxx
>>> and itkWatershedImageFilterTest.cxx in the test folder.
>>> ------------------------------
>>> *å件人:* Francois Budin <***@kitware.com>
>>> *åéæ¶éŽ:* 2017幎5æ18æ¥ 20:21:41
>>> *æ¶ä»¶äºº:* Zou Jing
>>> *æé:* insight-***@itk.org
>>> *äž»é¢:* Re: [ITK-users] watershed
>>>
>>> Hello Zou Jing,
>>>
>>> The itkMorphologicalWatershedFromMarkersImageFilter was recently moved
>>> from the review module to the watershed module. If you are using a recent
>>> version of ITK (4.12rc01, 4.12rc02), the filter you are looking for will be
>>> in the watershed module. Otherwise it should be in the review module.
>>>
>>> Hope this helps,
>>> Francois
>>>
>>> On Thu, May 18, 2017 at 4:19 AM, Zou Jing <***@hotmail.com> wrote:
>>>
>>>> Dear all
>>>> I want to segment CTA images using watershed algorithm, The result
>>>> of WatershedSegmentation2.cxx was not ideal. I find that someone
>>>> use itkMorphologicalWatershedFromMarkersImageFilter, but I cannot find
>>>> that.
>>>> Could anyone help me?
>>>> Thanks.
>>>>
>>>>
>>>>
>>>> _____________________________________
>>>> Powered by www.kitware.com
>>>>
>>>> Visit other Kitware open-source projects at
>>>> http://www.kitware.com/opensource/opensource.html
>>>>
>>>> Kitware offers ITK Training Courses, for more information visit:
>>>> http://www.kitware.com/products/protraining.php
>>>>
>>>> Please keep messages on-topic and check the ITK FAQ at:
>>>> http://www.itk.org/Wiki/ITK_FAQ
>>>>
>>>> Follow this link to subscribe/unsubscribe:
>>>> http://public.kitware.com/mailman/listinfo/insight-users
>>>>
>>>>
>>>
>>> _____________________________________
>>> Powered by www.kitware.com
>>>
>>> Visit other Kitware open-source projects at
>>> http://www.kitware.com/opensource/opensource.html
>>>
>>> Kitware offers ITK Training Courses, for more information visit:
>>> http://www.kitware.com/products/protraining.php
>>>
>>> Please keep messages on-topic and check the ITK FAQ at:
>>> http://www.itk.org/Wiki/ITK_FAQ
>>>
>>> Follow this link to subscribe/unsubscribe:
>>> http://public.kitware.com/mailman/listinfo/insight-users
>>>
>>>
>>
>>
>> _____________________________________
>> Powered by www.kitware.com
>>
>> Visit other Kitware open-source projects athttp://www.kitware.com/opensource/opensource.html
>>
>> Kitware offers ITK Training Courses, for more information visit:http://www.kitware.com/products/protraining.php
>>
>> Please keep messages on-topic and check the ITK FAQ at:http://www.itk.org/Wiki/ITK_FAQ
>>
>> Follow this link to subscribe/unsubscribe:http://public.kitware.com/mailman/listinfo/insight-users
>>
>>
>>
>> _____________________________________
>> Powered by www.kitware.com
>>
>> Visit other Kitware open-source projects at
>> http://www.kitware.com/opensource/opensource.html
>>
>> Kitware offers ITK Training Courses, for more information visit:
>> http://www.kitware.com/products/protraining.php
>>
>> Please keep messages on-topic and check the ITK FAQ at:
>> http://www.itk.org/Wiki/ITK_FAQ
>>
>> Follow this link to subscribe/unsubscribe:
>> http://public.kitware.com/mailman/listinfo/insight-users
>>
>>
>