Code covered by the BSD License
-
Toolbox Wavelets on Meshes - ...
-
check_face_vertex(vertex,face...
check_face_vertex - check that vertices and faces have the correct size
-
clamp(x,a,b)
-
compute_base_mesh(type, j, op...
compute_base_mesh - generate a simple triangulation.
-
compute_butterfly_neighbors(k...
compute_butterfly_neighbors - compute local neighbors of a vertex
-
compute_edge_face_ring(face)
compute_edge_face_ring - compute faces adjacent to each edge
-
compute_face_ring(face)
compute_face_ring - compute the 1 ring of each face in a triangulation.
-
compute_gaussian_filter(n,s,N...
compute_gaussian_filter - compute a 1D or 2D Gaussian filter.
-
compute_mesh_weight(vertex,fa...
compute_mesh_weight - compute a weight matrix
-
compute_normal(vertex,face)
compute_normal - compute the normal of a triangulation
-
compute_semiregular_gim(M,J,o...
compute_semiregular_gim - compute a semi-regular mesh from a GIM
-
compute_semiregular_sphere(J,...
compute_semiregular_sphere - compute a semi-regular sphere
-
compute_vertex_face_ring(face)
compute_vertex_face_ring - compute the faces adjacent to each vertex
-
compute_vertex_ring(face)
compute_vertex_ring - compute the 1 ring of each vertex in a triangulation.
-
crop(M,n,c)
crop - crop an image to reduce its size
-
getoptions(options, name, v, ...
getoptions - retrieve options parameter
-
griddata_arbitrary(face,verte...
griddata_arbitrary - perform interpolation of a triangulation on a regular grid
-
imageplot(M,str, a,b,c)
imageplot - diplay an image and a title
-
keep_above(x,T)
keep_above - keep only the coefficients above threshold T,
-
keep_biggest(x,n)
keep_biggest - keep only the n biggest coef,
-
load_gim(name, options)
load_gim - load a geometry image, either from a file or synthetic.
-
load_image(type, n, options)
load_image - load benchmark images.
-
load_spherical_function(name,...
load_spherical_function - load a function on the sphere
-
perform_blurring(M, sigma, op...
perform_blurring - gaussian blurs an image
-
perform_convolution(x,h, boun...
perform_convolution - compute convolution with centered filter.
-
perform_curve_subdivision(f, ...
perform_curve_subdivision - perform subdivision
-
perform_haar_graph(v, A, dir,...
perform_haar_graph - perform the haar transform on graph
-
perform_mesh_smoothing(face,v...
perform_mesh_smoothing - smooth a function defined on a mesh by averaging
-
perform_mesh_subdivision(f, f...
perform_mesh_subdivision - perfrom a mesh sub-division
-
perform_sgim_sampling(signal_...
perform_sgim_sampling - generate a geometry image from a spherical parameterization
-
perform_spherial_planar_sampl...
perform_spherial_planar_sampling - project sampling location from sphere to a square
-
perform_wavelet_mesh_transfor...
perform_wavelet_mesh_transform - compute a wavelet tranform on a mesh
-
plot_geometry_image(M, displa...
plot_geometry_image - plot a geometry image
-
plot_mesh(vertex,face,options...
-
plot_spherical_function(verte...
plot_spherical_function - display a function on the sphere
-
progressbar(n,N,w)
progressbar - display a progress bar
-
publish_html(filename, output...
publish_html - publish a file to HTML format
-
read_gim(filename)
-
read_mesh(file)
-
read_off(filename)
read_off - read data from OFF file.
-
rescale(x,a,b)
-
triangulation2adjacency(face,...
triangulation2adjacency - compute the adjacency matrix
-
write_gim(M, filename, save_p...
-
loop.m
-
test_create_gim.m
-
test_semiregular_meshes.m
-
test_sphere.m
-
test_subdivision_curve.m
-
test_subdivision_mesh.m
-
test_subdivision_polyhedra.m
-
test_wavelet_meshes.m
-
View all files
from
Toolbox Wavelets on Meshes
by Gabriel Peyre
A toolbox to compute wavelet transform on 3D meshes
|
| clamp(x,a,b)
|
function y = clamp(x,a,b)
% clamp - clamp a value
%
% y = clamp(x,a,b);
%
% Default is [a,b]=[0,1].
%
% Copyright (c) 2004 Gabriel Peyr
if nargin<2
a = 0;
end
if nargin<3
b = 1;
end
y = max(x,a);
y = min(y,b);
|
|
Contact us at files@mathworks.com