quantize
Arguments:
- nb_levels>=1,_keep_values={ 0:No | 1:Yes },_quantization_type={ -1:Median-cut | 0:K-means | 1:Uniform }
Description:
Quantize selected images.
Default values:
keep_values=1 and quantization_type=0.
Examples of use:
• Example #1
<a href="image.jpg" class="highslide" onclick="return hs.expand(this)">image.jpg</a> luminance +quantize 3

Command: <a href="image.jpg" class="highslide" onclick="return hs.expand(this)">image.jpg</a> luminance +quantize 3

Command: <a href="image.jpg" class="highslide" onclick="return hs.expand(this)">image.jpg</a> luminance +quantize 3
• Example #2
200,200,1,1,'cos(x/10)*sin(y/10)' +quantize[0] 6 +quantize[0] 4 +quantize[0] 3 +quantize[0] 2

Command: 200,200,1,1,'cos(x/10)*sin(y/10)' +quantize[0] 6 +quantize[0] 4 +quantize[0] 3 +quantize[0] 2

Command: 200,200,1,1,'cos(x/10)*sin(y/10)' +quantize[0] 6 +quantize[0] 4 +quantize[0] 3 +quantize[0] 2

Command: 200,200,1,1,'cos(x/10)*sin(y/10)' +quantize[0] 6 +quantize[0] 4 +quantize[0] 3 +quantize[0] 2

Command: 200,200,1,1,'cos(x/10)*sin(y/10)' +quantize[0] 6 +quantize[0] 4 +quantize[0] 3 +quantize[0] 2

Command: 200,200,1,1,'cos(x/10)*sin(y/10)' +quantize[0] 6 +quantize[0] 4 +quantize[0] 3 +quantize[0] 2