Skip to content

Conversation

@phcerdan
Copy link
Collaborator

@phcerdan phcerdan commented Jun 7, 2017

Raised by @jhlegarreta at PR #48 and issue #36

The SetBoundaryCondition in the class wasn't propagating that boundary to the m_FFTPad which uses it.

Also... I modified GenerateInputRequestedRegion to have into account the shift that we apply to the output (after the regular FFTPad).

@jhlegarreta maybe now the tests produce different outputs?

@phcerdan phcerdan changed the title BUG: Boundary condition was not propagated to FFTPad BUG: Boundary condition was not propagated to FFTPadPositiveIndex Jun 7, 2017
@phcerdan phcerdan merged commit 0d721f9 into master Jun 7, 2017
@jhlegarreta
Copy link
Member

@phcerdan Tested just now, and the SHA-512 hash is exactly the same for the three of them again. I guess that's perfectly legal (@thewtex, @fbudin69500 please correct me if I'm wrong; i.e. depending on the input image, i.e. which are the values at the image boundaries to be used when padding?

If that is correct, then the result is fine and no issue exists; if we really want to test the effect of a given padding/neighborhood because that is interesting for the current context, then we should add another test image.

@thewtex
Copy link
Member

thewtex commented Jun 7, 2017

I haven't looked on the test images, but depending on their size, padding may not be required.

@phcerdan phcerdan deleted the FixFFTPadPositiveIndex branch February 26, 2018 07:32
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