NAME

PDL::ImageND - useful image processing routines which work in N-dimensions


DESCRIPTION

In some cases (though not as many as one would like) it is possible to write general routines that operate on N-dimensional objects.

An example in this module is a N-Dim convolution algorithm I made up one day - it works but the boundary condtions are a bit funny.


SYNOPSIS

 use PDL::ImageND;


FUNCTIONS


convolve

  Signature: (a(m); b(n); int adims(p); int bdims(q); [o]c(m))


convolve

N-dimensional convolution algorithm.

$new = convolve $a, $kernel

Convolve an array with a kernel, both of which are N-dimensional.

Note because of the algorithm used (writing N-dim routines is not easy on the brain!) the boundary conditions are a bit strange. They wrap, but up to the NEXT row/column/cube-slice/etc. If this is a problem consider using zero-padding or something.


AUTHORS

Copyright (C) Karl Glazebrook 1997. All rights reserved. There is no warranty. You are allowed to redistribute this software / documentation under certain conditions. For details, see the file COPYING in the PDL distribution. If this file is separated from the PDL distribution, the copyright notice should be included in the file.