Home > freetb4matlab > image > applylut.m

applylut

PURPOSE ^

% Uses lookup tables to perform a neighbour operation on binary images.

SYNOPSIS ^

function A = applylut(BW, LUT)

DESCRIPTION ^

% -*- texinfo -*-
% @deftypefn {Function File} {@var{A} = } applylut (@var{BW},@var{LUT})
% Uses lookup tables to perform a neighbour operation on binary images.
%
% A = applylut(BW,LUT) returns the result of a neighbour operation
% using the lookup table @var{LUT} which can be created by makelut.
%
% It first computes a matrix with the index of each element in the
% lookup table. To do this, it convolves the original matrix with a
% matrix which assigns each of the neighbours a bit in the resulting
% index. Then @var{LUT} is accessed to compute the result.
%
% @seealso{makelut}
% @end deftypefn

CROSS-REFERENCE INFORMATION ^

This function calls: This function is called by:
Generated on Fri 22-May-2009 15:13:00 by m2html © 2003