InsightSoftwareConsortium / ITKSphinxExamples

Cookbook examples for the Insight Toolkit documented with Sphinx
https://examples.itk.org
Apache License 2.0
53 stars 63 forks source link

ENH: Add 1D FFT Example #379

Open tbirdso opened 2 years ago

tbirdso commented 2 years ago

Takes in mouse liver RF image (public data from ITKUltrasound testing) and performs FFT along scanline.

Also adds option in compare_to_baseline CMake function to optionally allow only Python (no C++) baseline test creation.

Input

rf-input

Output modulus

MouseLiverModulusOutput

Output phase

MouseLiverPhaseOutput

Closes #354.

tbirdso commented 2 years ago

Fixed reference to input screenshot in .rst documentation.

tbirdso commented 2 years ago

It looks like there is a larger issue of test dependencies here, the log file shows that ComputeFFTInOneDimension baseline comparisons are run before the ComputeFFTInOneDimension test. It appears that test dependencies are being set in CMake as one would expect. Need to dig deeper into this.

tbirdso commented 2 years ago

Note that it also looks like we will need to resolve https://github.com/InsightSoftwareConsortium/ITKSphinxExamples/issues/362 before this one can be merged as 1D FFT classes were added after the 5.2.0 release.