matrixfillseedpoints

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

fills a matrix similiar as matrixdistanceofCPL but with discrete values



See Also: GPLofmatrix , matrixdistanceofCPL , ELofmatrixneigbors , ELofmatrixneigborweight , matrixlocalminmax , matrixskeleton , matrixfilldistance , matrixfillborder

Example Illustration

 missing image of matrixfillseedpoints(M,neighb,PLrc);

Syntax

MM=matrixfillseedpoints(M,[neighb,PLrc]);

Input Parameter

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

Output Parameter

MM: Matrix with discrete distance values

Examples


matrixfillseedpoints(matrixdistanceofCPL(CPLsample(29),[100 100]),'',[50 50]);
matrixfillseedpoints(matrixdistanceofCPL(CPLsample(29),[100 100]),'',[80 50]);
matrixfillseedpoints(matrixdistanceofCPL(CPLsample(29),[100 100]),'',[10 70]);




Copyright 2020-2025 Tim C. Lueth. All rights reserved. The code is the property of Tim C. Lueth and may not be redistributed or modified without explicit written permission. This software may be used free of charge for academic research and teaching purposes only. Commercial use, redistribution, modification, or reverse engineering is strictly prohibited. Access to source code is restricted and granted only under specific agreements. For licensing inquiries or commercial use, please contact: Tim C. Lueth

Last html export of this page out of FM database by TL: 2025-09-21