Skip to content

Replace FFTW_MEASURE with FFTW_ESTIMATE#256

Merged
ayllon merged 1 commit intodevelopfrom
bugfix/FFTW_ESTIMATE
May 20, 2020
Merged

Replace FFTW_MEASURE with FFTW_ESTIMATE#256
ayllon merged 1 commit intodevelopfrom
bugfix/FFTW_ESTIMATE

Conversation

@mkuemmel
Copy link
Collaborator

Replaced FFTW_MEASURE with FFTW_ESTIMATE, which "should" make the FFTW make deterministic (according to the link I found). I tested it a bit, the thresholded image were always identical.

@ayllon please have a further look, I just followed the first google result.

@mkuemmel mkuemmel requested a review from ayllon May 16, 2020 14:36
@ayllon
Copy link
Member

ayllon commented May 19, 2020

I need to have a look at why the test break. The convolution should be equivalent!

@ayllon ayllon self-assigned this May 19, 2020
@ayllon ayllon changed the title Should fix #255 Replace FFTW_MEASURE with FFTW_ESTIMATE May 20, 2020
@ayllon
Copy link
Member

ayllon commented May 20, 2020

Some tests actually broke because of the background, but some others did "break" because of the estimate, and it seems we are not alone (*).

I don't think it is so much the fault of the change as the brittleness of the tests. They are too sensitive to fluctuations, and one dancing pixel from a source is enough to break some. I am looking at this.

(*) Actually, just using 0.51 instead of 0.5 as the maximum distance to consider a successful cross-match suffices to fix it.

@mkuemmel
Copy link
Collaborator Author

Concerning the background, you are using the new background now?

That maximum distance is always a problem (in my small experience). I think we should keep an eye on this reproducibility issue.

@ayllon ayllon merged commit 1471562 into develop May 20, 2020
@ayllon ayllon deleted the bugfix/FFTW_ESTIMATE branch May 20, 2020 12:56
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Reproducibility of the segmentation maps and hence the detected objects

2 participants