lineoutsComparison1
- xripl.visualizations.lineoutsComparison1(imgRaw, imgDenoised, imgCleaned, px, extent=None, showFlag=True)[source]
Plots normalized lineouts for raw, denoised, and cleaned iamges for comparison. Plot shows how well noise is removed and how well features are preserved.
- imgRawnumpy.ndarray
Raw radiographic image.
- imgDenoisednumpy.ndarray
Denoised (median filtered) radiographic image.
- imgCleanednumpy.ndarray
Cleaned (morphologically filtered) radiographic image.
- pxint
Pixel position at which to take the lineouts.
- extentlist
Extents defining spatial axes. Used to form radial axis in um. Default is None, which falls back on radial axis in pixels.
- showFlagbool
Flag for showing the plotted image. Set to False if you want to further modify the plot. Default is True.