Projections: Module to create projections

PRLEC Framework for OCT Processing and Visualization

OCT_GUI.Visualization.Projections.getProjectionILMRPE(volume, segmentation, projMode, vesselness=False)[source]

Calculating sub-RPE slab based on inputs The algorithm excludes the actual ILM/RPE voxels and starts beneath/above the layers.

Parameters:
volume: ndarray

oct volume

segmentation: ndarray

segmentation volume

projMode: string

selected projection mode: min, max, mean, median

vesselness: bool

vessel calculation or not

Returns:
result: ndarray, int32

2D image of RPEDC distances

OCT_GUI.Visualization.Projections.getVesselnessImage(volume, segmentation)[source]

Calculate a Vessel probabilty map by applying Frangi’s algorithm.

See: https://link.springer.com/chapter/10.1007/BFb0056195

Steps: 1) Min projection between ILM and RPE 2) Median filtering the image 2) Vesselness filtering with scale 1..10 (step 1), beta1=0.5, beta2=0.005

Parameters:
volume: ndarray

oct volume

segmentation: ndarray

segmentation volume

Returns:
result: ndarray, int32

2D image of RPEDC distances

OCT_GUI.Visualization.Projections.getsubBMSlab(volume, segmentation, thickness, projMode)[source]

Calculating sub-BM slab based on inputs

Parameters:
volume: ndarray

oct volume

segmentation: ndarray

segmentation volume

thickness: scalar, int

oct volume

projMode: string

selected projection mode: min, max, mean, median

Returns:
result: ndarray, int32

2D image of RPEDC distances

OCT_GUI.Visualization.Projections.getsubRPESlab(volume, segmentation, thickness, projMode)[source]

Calculating sub-RPE slab based on inputs

Parameters:
volume: ndarray

oct volume

segmentation: ndarray

segmentation volume

thickness: scalar, int

oct volume

projMode: string

selected projection mode: min, max, mean, median

Returns:
result: ndarray, int32

2D image of RPEDC distances