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

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


Hi,

The “NoseModelType” type is a member of the PatchBasedDenoisingImageFilter. The correct way to use an enum from this type includes the scope of the class. For your case it is:

filter.setNoiseModel(PatchBasedDenoisingImageFilter.NoiseModelType.RICIAN)

Please note that this is an enum or int not and not a String.

Brad

> On Sep 29, 2016, at 8:03 AM, ivan <ivan.granata.na at gmail.com> wrote:
> 
> Yes Dzenan thankx but  i tried and
> 
> - filter.setNoiseModel(NoiseModelType.RICIAN);  Error: NoiseModelType cannot
> be resolved to a variable
> 
> 
> - filter.setNoiseModel(2);    Error - The method
> setNoiseModel(PatchBasedDenoisingImageFilter.NoiseModelType) in the type
> PatchBasedDenoisingImageFilter is not applicable for the 
> 	 arguments (int)
> 
> 
> argument 'int' but the same is for ("2") String 
> 
> 
> 
> --
> View this message in context: http://itk-users.7.n7.nabble.com/ITK-users-PatchBasedDenoisingImageFilter-Funciton-NoiseModel-Java-SimpleITK-tp37598p37605.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

_____________________________________
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