Hi
This message usually comes when you set scales that are too high for the resolution of your image, and typically the resolution in Z.
The formula is 5+(int)(Math.pow(2, numScales-1))*4 ( B3SplineUDWT.java line 100.)
In the following table you have the scale and the min XYZ needed:
1 |
5 |
2 |
9 |
3 |
21 |
4 |
41 |
5 |
69 |
6 |
105 |
7 |
149 |
8 |
201 |
9 |
261 |
10 |
329 |
For scale 5 in 3D you need at least 69 Z to process. And this will consume a lot of memory.
This tables shows that big scales are not recommended. If you end up to such need, maybe you should pre process your images or use another method.
You can set "force 2D wavelets" so the wavelets will be computed only in X and Y and you should have enough pixels. This will work with any number of Z in your stack. This tends to seperate the planes, which may not be the effect you are looking for.
Note: when the soft says "detect 25 pix at scale 5" it actually needs more Z to process it.
Fabrice