ITKSphinxExamples
ITKSphinxExamples copied to clipboard
Cookbook examples for the Insight Toolkit documented with Sphinx
Migrate the itkGrayscaleFunctionDilateImageFilter.cxx example from `ITK/Examples/Filtering` to `ITKSphinxExamples/src/Filtering/MathematicalMorphology/DilateAGrayscaleImage`. New baseline output image added as `OutputBaseline.png` as it didn't exist in ITK before. | Input | Output/Baseline | |----|----| | ...
Code.py is just a copy of another example. Need to modify it. Marking as WIP until then.
[https://examples.itk.org/src/filtering/smoothing/smoothimagewithdiscretegaussianfilter/documentation](https://examples.itk.org/src/filtering/smoothing/smoothimagewithdiscretegaussianfilter/documentation)
Could include - `itk.auto_progress(2)` and other verbosity levels - `itkConfig` - Tracing with `pdb`
1D FFT filters were (relatively) recently ported from ITKUltrasound to ITK. Would be useful to have an example notebook demonstrating FFT plots (real, imaginary, modulus, phase) along one-dimensional scan lines....
Reference TODO list at [https://github.com/InsightSoftwareConsortium/ITKSphinxExamples/blob/master/ITKRepositoryImport.todo](https://github.com/InsightSoftwareConsortium/ITKSphinxExamples/blob/master/ITKRepositoryImport.todo)
Translate [https://examples.itk.org/src/filtering/convolution/convolveimagewithkernel/documentation](https://examples.itk.org/src/filtering/convolution/convolveimagewithkernel/documentation) into a Python script or Jupyter notebook
Several examples visibly note errors in migration, running, or output data. It would be good to address these on a case-by-case basis. - [ ] [https://examples.itk.org/src/segmentation/connectedcomponents/labelconnectcomponentsinbinaryimage/documentation](https://examples.itk.org/src/segmentation/connectedcomponents/labelconnectcomponentsinbinaryimage/documentation) - [ ] [https://examples.itk.org/src/filtering/imagestatistics/computeminmaxvariancemeanofimage/documentation](https://examples.itk.org/src/filtering/imagestatistics/computeminmaxvariancemeanofimage/documentation)...
- Demonstrate initializing a numpy array and converting to ITK image format with `itk.image_from_array` and `itk.image_view_from_array` - Demonstrate manipulating an ITK image as a numpy array with `itk.array_from_image` and `itk.array_view_from_image`...
Transferred from https://github.com/InsightSoftwareConsortium/ITK/issues/548 : ### Description An example of how to read and write an Image with an unknown number of Components will be great. The VectorImage is wrapped in...