![]() |
CSC320 Visual Computing
|
and the even smaller image
.
is in 6.txt.
public static void detailThreshold(SChannels c, int threshold){ method to my Haar class.
It was actually tricky to get this correct. To start, I suggest you work on
applying the detailThreshold only to a set of details at a particular resolution.
You will not need to generate the the average pixels for the specified resolution,
just find all the detail pixels at a particular resolution.
Next apply your method to all resolutions (each a power of 2).
For a quick demo, I modified my haarTile method of ImagePanel as follows:
.
. Is this the approach I will use in general? I have to think about it a bit.