InpaintSegmentation (Refine): Module to inpaint segmentation¶
PRLEC Framework for OCT Processing and Visualization
-
OCT_GUI.Algorithms.RefinementRPE.InpaintSegmentation.
inpaint
(_slice, shortest_path, y_offset, mode, dictParameters)[source]¶ Inpaint RPE into volume. Currently, value 127 is used to mark the RPE. To change this, change line 8.
Parameters: - slice: ndarray
volume slice for getting shape
- shortest_path: ndarray
shortest path calculated by dijkstra’s algorithm
- y_offset: scalar
current y_offset - denoting the skipped rows for runtime optimization
- mode: string
‘ILM’ or ‘RPE’