makelut
Create lookup table for use with bwlookup
Syntax
Description
lut = makelut(fun,n)fun is a function that creates a
                    numeric output from a binary neighborhood of size
                         n-by-n. The function creates a
                    lookup table by passing all possible neighborhoods to fun,
                    one at a time, and storing the outputs in vector
                    lut.
Use the lookup table with bwlookup to perform nonlinear
                    neighborhood filtering.
Examples
Input Arguments
Output Arguments
Version History
Introduced before R2006a