Find Geodesic distance on a image
%Find minimal Geodesic distance on an image (Im) between point x0,y0
%and all other points in the image
%The image can be color or grayscale
%return distance map (DistMaP) as a 2d matrix in the size of the original image were
%the value in each element is the Geodesic distance of this pixel from coordinate x0,y0
%Use the image as topological map with color as height and use the
%Dijkstra's algorithm to find minimal geodesic distance to each point
%Input:
%Im color image (or other multichannel image)
%x0,y0 coordinates (on the image) of the origin from the Geodesic distance
% The value of all points on the returned matrix (DistMap) will be their distance from x0,y0
%NumSteps optional parameter that allow you to limit the number of cycle of the calculation this may result faster but less accurate calculation
%WeightDist the distance component have two parts distance travel on
%the image plane and distance in the color/grayscale value this parameter
%control the relative weight of the distance on the image plane
%Output:
%DistMap a map of geodesic distance to coordinate x0,y0
%Method:
%Use the image as topological map and use the Dijkstra's algorithm to find geodesic distance to all points
인용 양식
sagi eppel (2024). Find Geodesic distance on a image (https://www.mathworks.com/matlabcentral/fileexchange/61879-find-geodesic-distance-on-a-image), MATLAB Central File Exchange. 검색됨 .
MATLAB 릴리스 호환 정보
플랫폼 호환성
Windows macOS Linux카테고리
- Mathematics and Optimization > Mapping Toolbox > Geometric Geodesy >
- Radar > Mapping Toolbox > Geometric Geodesy >
- MATLAB > Mathematics > Graph and Network Algorithms > Construction >
태그
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!버전 | 게시됨 | 릴리스 정보 | |
---|---|---|---|
1.0.0.0 |