GraphWeightsRefine: Module to calculate graph weights for RPE refinement¶
PRLEC Framework for OCT Processing and Visualization
-
OCT_GUI.Algorithms.RefinementRPE.GraphWeightsRefine.
calculateGradients
(_slice, i, segmentation, dictParameters)[source]¶ Helper to calculate gradients
Parameters: - slice: ndarray
oct input volume slice
- i: scalar
current slice
- segmentation: ndarray
segmentation volume
-
OCT_GUI.Algorithms.RefinementRPE.GraphWeightsRefine.
runWeightCalculation
(volume, segmentation, dictParameters)[source]¶ Calculating gradients for all slices of the volume
The volume is bilateral filtered in the en-face plane. After smoothing each slice with BF, each B-scan is filtered again and area above the ILm and CC area beneath Bruch’s Membrane is excluded.
Parameters: - volume: ndarray
oct input volume
- segmentation: ndarray
segmentation volume