[Insight-users] writting my own threaded filter

Dženan Zukić dzenanz at gmail.com
Mon Aug 1 11:13:33 EDT 2011


try adding "typename" in front of some type declarations. Sometimes it
helps. I will try to compile this on Fedora and see if I can make some fixes
to it.

2011/8/1 iamrndm b <arindam.osu.cse at gmail.com>

>  i am using gcc on a mac. i am unable to figure out what the problem is
>
>
> 2011/8/1 Dženan Zukić <dzenanz at gmail.com>
>
>> Hm, which compiler are you using? This example compiles fine in VS2010.
>>
>> 2011/8/1 iamrndm b <arindam.osu.cse at gmail.com>
>>
>>> thanks for the reply, the error i got included
>>>
>>> itkOilPaintingImageFilter.h:47: error: ISO C++ forbids declaration of
>>> ‘OutputImageRegionType’ with no type
>>> my-filter/Thread_Example/itkOilPaintingImageFilter.txx: In member
>>> function ‘virtual void
>>> itk::OilPaintingImageFilter<TImage>::BeforeThreadedGenerateData()’:
>>> Research/code/ITK/itk-code/my-filter/Thread_Example/itkOilPaintingImageFilter.txx:31:
>>> error: expected `;' before ‘calculatorI’
>>> Research/code/ITK/itk-code/my-filter/Thread_Example/itkOilPaintingImageFilter.txx:32:
>>> error: ‘calculatorI’ was not declared in this scope
>>> Research/code/ITK/itk-code/my-filter/Thread_Example/itkOilPaintingImageFilter.txx:
>>> At global scope:
>>>
>>> and so on ,
>>>
>>>
>>>
>>>
>>> 2011/8/1 Dženan Zukić <dzenanz at gmail.com>
>>>
>>>> Can you tell me which error is produced when you try to compile/run oil
>>>> painting filter example?
>>>>
>>>> On Mon, Aug 1, 2011 at 06:50, iamrndm b <arindam.osu.cse at gmail.com>wrote:
>>>>
>>>>> Hi all
>>>>> I am working on making my own threaded filter which will concurrently
>>>>> go through two images .
>>>>>  I have been trying to find a  working simple example of threaded
>>>>> filters to help me along with the information in the guide,
>>>>> the Example given here
>>>>> http://www.itk.org/Wiki/ITK/Examples/Developer/OilPaintingImageFilter
>>>>>
>>>>> given an error,Can someone point me to some other source ?
>>>>>
>>>>> -Arindam
>>>>>
>>>>> _____________________________________
>>>>> 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.html
>>>>>
>>>>> 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://www.itk.org/mailman/listinfo/insight-users
>>>>>
>>>>>
>>>>
>>>
>>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.itk.org/pipermail/insight-users/attachments/20110801/cf83fc34/attachment-0001.htm>


More information about the Insight-users mailing list