In matlab there is a useful toolbox for wavelet where you can use a graphical interface as guide to handle different forms of decomposition and different mother functions.
You can found more information about texture segmentation using wavelet in these links: