Nice, @quark!
This could also be done with the ImageJ implementation of Median Cut.
The nice thing about that implementation is it is based on java.awt.Image, so it takes a pixels[] array – no 2D conversion class required.
Nice, @quark!
This could also be done with the ImageJ implementation of Median Cut.
The nice thing about that implementation is it is based on java.awt.Image, so it takes a pixels[] array – no 2D conversion class required.