Skip to content

ENH: Update itkNaryFunctorImageFilter#110

Merged
hjmjohnson merged 1 commit intoInsightSoftwareConsortium:masterfrom
hjmjohnson:pierre33-patch-1
Nov 7, 2018
Merged

ENH: Update itkNaryFunctorImageFilter#110
hjmjohnson merged 1 commit intoInsightSoftwareConsortium:masterfrom
hjmjohnson:pierre33-patch-1

Conversation

@hjmjohnson
Copy link
Member

No description provided.

There is a need for a itk::NaryFunctorImageFilter because
a different number of input images may depend on the context.

Specifically, one may have 1 to 3 input images. The filter
itk::NaryFunctorImageFilter has a required number of inputs equal to 2

Above all, the method
DynamicThreadedGenerateData with the following check:
numberOfValidInputImages == 0 and I am wondering why it is not
numberOfValidInputImages < 1.

Therefore the suggested change is to set the number of required inputs
to 1.
@hjmjohnson
Copy link
Member Author

Supersedes #55
@pierre33

@hjmjohnson hjmjohnson self-assigned this Nov 5, 2018
@hjmjohnson hjmjohnson requested a review from phcerdan November 6, 2018 02:22
@hjmjohnson
Copy link
Member Author

@phcerdan You previously made comments in the gerrit system. I have tried to address those issues when moved to Github. Please re-review the changes here.

Copy link
Contributor

@phcerdan phcerdan left a comment

Choose a reason for hiding this comment

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

Looks good @hjmjohnson, thanks!

@hjmjohnson hjmjohnson closed this Nov 6, 2018
@hjmjohnson hjmjohnson deleted the pierre33-patch-1 branch November 6, 2018 14:49
@phcerdan
Copy link
Contributor

phcerdan commented Nov 6, 2018

Was this merged @hjmjohnson?

@hjmjohnson hjmjohnson restored the pierre33-patch-1 branch November 6, 2018 19:25
@hjmjohnson
Copy link
Member Author

Accidently deleted/closed branch when the script for moving from Gerrit went haywire.

@hjmjohnson hjmjohnson reopened this Nov 6, 2018
@phcerdan
Copy link
Contributor

phcerdan commented Nov 6, 2018

Cool, this is ready to be merged IMO

@thewtex
Copy link
Member

thewtex commented Nov 6, 2018

@pierre33 thanks for contributing.

@phcerdan thanks for reviewing and shepherding.

@hjmjohnson thanks for carrying through the GitHub update.

🥇

@hjmjohnson hjmjohnson merged commit 9070d8f into InsightSoftwareConsortium:master Nov 7, 2018
@hjmjohnson hjmjohnson deleted the pierre33-patch-1 branch October 23, 2019 13:29
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.

4 participants