by Tim C. Lueth, SG-Lib Toolbox: SolidGeometry 5.6 - Auxiliary function
Introduced first in SolidGeometry 4.9, Creation date: 2020-01-08, Last change: 2025-09-14
See Also: GPLofmatrix
, matrixdistanceofCPL
, ELofmatrixneigbors
, ELofmatrixneigborweight
, matrixlocalminmax
, matrixskeleton
, matrixfilldistance
, matrixfillborder
MM=matrixfillseedpoints(M,[neighb,PLrc]);
M: | Matrix with nan as untouchable regions | |
neighb: | '8' oder '4' as neighborhood; default is '8' | |
PLrc: | List of Start points using PLrc defining the |
MM: | Matrix with discrete distance values |
matrixfillseedpoints(matrixdistanceofCPL(CPLsample(29),[100 100]),'',[50 50]);
matrixfillseedpoints(matrixdistanceofCPL(CPLsample(29),[100 100]),'',[80 50]);
matrixfillseedpoints(matrixdistanceofCPL(CPLsample(29),[100 100]),'',[10 70]);