Code covered by the BSD License
-
calc_ortho_extreme( T,r,epsil...
CALC_ORTHO_EXTREME examines the orthogonal or "normal" on the curve
-
calc_refined_field( tf, im, s...
-
calc_sparse_field( image )
-
calc_vote_ball(T,im,sigma)
-
calc_vote_stick(T,sigma,cache...
CALC_VOTE_STICK votes using stick tensors returning a new
-
convert_tensor_ev( i1, i2, i3...
CONVERT_TENSOR_EV converts the tensor field to eigenvectors and
-
create_ball_tensorfield( sigm...
CREATE_BALL_TENSORFIELD creates a ball tensor field, sigma
-
create_cached_vf( sigma )
-
create_stick_tensorfield( uv,...
CREATE_STICK_TENSORFIELD Creates a second order tensor
-
demo(file)
-
find_features( im, sigma )
FIND_FEATURES returns the tensorfield after voting on the binary image im
-
read_dot_edge_file( filen )
READ_DOT_EDGE_FILE reads in the file and outputs a tensor
-
show_tensorfield( T )
SHOW_TENSORFIELD displays in a new figure the tensor field
-
View all files
from
Tensor Voting Framework
by Trevor Linton
Implementation of the 2D medioni tensor framework
|
| create_cached_vf( sigma ) |
function [ out ] = create_cached_vf( sigma )
ws = floor( ceil(sqrt(-log(0.01)*sigma^2)*2) / 2 )*2 + 1;
out = zeros(180,ws,ws,2,2);
for i=1:180
x = cos(pi/180*i);
y = sin(pi/180*i);
v = [x,y];
Fk = create_stick_tensorfield(v,sigma);
out(i,:,:,:,:) = Fk;
end
end
|
|
Contact us at files@mathworks.com