HaarSeg Matlab Implementation. Version 1.1. June, 2008.

Installation:
1. Unzip all files to a directory of your choice.
2. Compile the mex functions: (compiled windows 32-bit versions are provided). 
 (-) In your matlab enviroment, set the directory to where you unzipped the sources. 
 (-) Type the following in the matlab enviroment:

>> mex mexConvAndPeak.c
>> mex mexThresAndUnify.c
>> mex mexAdjustBreaks.c


Usage:
1. HaarSeg.m is the main function, used to segment data. Type "help HaarSeg.m" for basic usage instructions.
2. thresBySig.m is the function of the abberation threshold, which can be applied on the segmentation result.
   Type "help thresBySig.m" for basic usage instructions.