Code covered by the BSD License  

Highlights from
2D fast marching algorithm

image thumbnail
from 2D fast marching algorithm by Juan Cardelino
computation of distance maps using fast marching

test_fm.m
clear all
close all
home

domain_bounds=[50,50];
data_points=[20 20;20 30;30 20;30 30];
%another possible example
%punto_dato=[25 25];

use_plot=1;

T=fast_marching(data_points,domain_bounds,use_plot);
mesh(T);

Contact us