[ITK] [ITK-users] PatchBasedDenoisingImageFilter Funciton NoiseModel (Java-SimpleITK)?

Lowekamp, Bradley (NIH/NLM/LHC) [C] blowekamp at mail.nih.gov
Thu Sep 29 10:08:12 EDT 2016


I believe you have conflicting type names in your file.

Your class is called PatchBasedDenoisingImageFilter, and so is the imported SimpleITK PatchBasedDenoisingImageFilter.

I would suggest:

1) not reusing the same name
2) try the fully qualified name: filter.setNoiseModel(org.itk.simple.PatchBasedDenoisingImageFilter.NoiseModelType.RICIAN);

HTH,
Brad

> On Sep 29, 2016, at 8:25 AM, ivan <ivan.granata.na at gmail.com> wrote:
> 
> i tried also -
> filter.setNoiseModel(PatchBasedDenoisingImageFilter.NoiseModelType.RICIAN) 
> 
> 
> and result is an error:  NoiseModelType cannot be resolved or is not a field
> 
> 
> 
> --
> View this message in context: http://itk-users.7.n7.nabble.com/ITK-users-PatchBasedDenoisingImageFilter-Funciton-NoiseModel-Java-SimpleITK-tp37598p37609.html
> Sent from the ITK - Users mailing list archive at Nabble.com.
> _____________________________________
> 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
> _______________________________________________
> Community mailing list
> Community at itk.org
> http://public.kitware.com/mailman/listinfo/community

_____________________________________
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


More information about the Community mailing list