NAME

Math::Wavelet::Haar - Perl extension for transforming data with the Haar Wavelet

SYNOPSIS

use Math::Wavelet::Haar;

my @test = qw(1 2 3 4 5 6 7 8);
my @result = decomp1D(@test);

my @test = ([0,1,2,3],[1,2,3,4],[2,3,4,5],[3,4,5,6]);
my @result = decomp2D(@test);

DESCRIPTION

Math::Wavelet::Haar is a module for performing a wavelet transform using the Haar wavelet. currently the reverse transform is not supported, though it is planned to be

EXPORT

decomp1D @result = decomp1D(@input); takes a single array as input, and returns the transformed result, @input MUST be a power of two in length, if it is not, then it will return undef
decomp2D @result = decomp2D(@input); takes a single two dimensional array as input, and returns the transformed result, @input MUST be a power of two in length and width, if it is not, then it will return undef

SEE ALSO

Wikipedia articles on the Haar Wavlet, Wavelet Transforms, and lots and lots of math

AUTHOR

Ryan Voots <lt>simcop2387@yahoo.com<gt>

COPYRIGHT AND LICENSE

Copyright (C) 2007 Ryan Voots

This library is free software; you can redistribute it and/or modify it under the same terms as Perl itself, either Perl version 5.8.8 or, at your option, any later version of Perl 5 you may have available.

2 POD Errors

The following errors were encountered while parsing the POD:

Around line 125:

'=item' outside of any '=over'

Around line 133:

You forgot a '=back' before '=head1'