Skip to content

ENH: Remove rtkAdditiveGaussianNoiseImageFilter to use the itk version#950

Open
axel-grc wants to merge 1 commit into
RTKConsortium:mainfrom
axel-grc:AdditiveGausianNoiseImageFilter
Open

ENH: Remove rtkAdditiveGaussianNoiseImageFilter to use the itk version#950
axel-grc wants to merge 1 commit into
RTKConsortium:mainfrom
axel-grc:AdditiveGausianNoiseImageFilter

Conversation

@axel-grc
Copy link
Copy Markdown
Collaborator

Fix #947

Copy link
Copy Markdown
Collaborator

@SimonRit SimonRit left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks! You can merge when it comes back green.

@axel-grc axel-grc force-pushed the AdditiveGausianNoiseImageFilter branch 2 times, most recently from 8e7c994 to a617669 Compare May 22, 2026 14:21
#include "rtkSheppLoganPhantomFilter.h"
#include "rtkThreeDCircularProjectionGeometryXMLFile.h"

#include <itkAdditiveGaussianNoiseImageFilter.h>
Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I think we can drop the includes in each application as we have it in rtkGgoFunctions.h and itk::AdditiveGaussianNoise is no longer in this file. Can you remove all these useless includes please?

@axel-grc axel-grc force-pushed the AdditiveGausianNoiseImageFilter branch 2 times, most recently from b050109 to 331aa97 Compare May 22, 2026 14:30

#include "rtkdrawgeometricphantom_ggo.h"
#include "itkImageFileWriter.h"
#include "rtkAdditiveGaussianNoiseImageFilter.h"
Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Sorry, this one is required. It's a style requirement ("include what you use") as you use AdditiveGaussianNoise in the file.

@axel-grc axel-grc force-pushed the AdditiveGausianNoiseImageFilter branch from 331aa97 to e7b5ec1 Compare May 22, 2026 14:43
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Replace rtk::AdditiveGausianNoiseImageFilter by itk::AdditiveGausianNoiseImageFilter

2 participants