Examples tend to be more compelling and easier to understand when the developer can compare input and output images, and sometimes even interact with the data. A "good first issue" for a contributor could be to choose one of the following examples, read the available code snippet to understand its purpose, and then add one or two visuals to aid in learning.
When selecting visuals to add, consider the following:
Static examples such as still 2D images can be particularly useful for developers that are briefly visiting an example. Consider adding at a minimum a 2D input image and 2D output image to load in the user's browser alongside the example.
In many cases example images may be more compelling when they represent simplified real-world data rather than contrived instances. Consider using existing scientific data samples such as BrainProtonDensitySliceBorder20.png, cthead1, or HeadMRVolume.mha to illustrate image filter effects, or even add your own public scientific image data.
In cases where it is reasonable to generate data, such as visualizing kernels, consider using a library such as matplotlib.pyplot.imshow to construct output visualizations.
We should add WebAssembly versions of the examples with itk-wasm and UI interfaces with itk-vtk-viewer for interactive examples as @oeway has demonstrated with Kaibu.
Examples tend to be more compelling and easier to understand when the developer can compare input and output images, and sometimes even interact with the data. A "good first issue" for a contributor could be to choose one of the following examples, read the available code snippet to understand its purpose, and then add one or two visuals to aid in learning.
When selecting visuals to add, consider the following:
matplotlib.pyplot.imshow
to construct output visualizations.Existing example source files such as https://github.com/InsightSoftwareConsortium/ITKSphinxExamples/tree/master/src/Core/Common/AddNoiseToBinaryImage can be referenced for learning how to add new figures to .rst documentation.
The following is a non-exhaustive list of examples that could benefit from new or updated visuals:
itk::CropImageFilter
for how to crop to the requested region before writing out the image) (duplicates at https://examples.itk.org/src/filtering/imagefeature/applyafilteronlytoaspecifiedimageregion/documentation and https://examples.itk.org/src/filtering/imagefeature/applyafiltertoaspecifiedregionofanimage/documentation)