5 # include <magick/api.h>
6 # include "lib/config.h"
9 uns l, u, v; /* average Luv coefficients */
10 uns lh, hl, hh; /* energies in Daubechies wavelet bands */
11 uns count; /*number of blocks in this class*/
16 uns l, u, v; /* average Luv coefficients */
17 uns lh, hl, hh; /* energies in Daubechies wavelet bands */
18 u8 cls_num; /* number of class for this block*/
23 unsigned block_num : 24; /*24 bits for number of picture's block should be enough*/
29 uns max_cls_num; /*self explaining*/
30 uns threshold; /*stopping condition*/
31 uns diff_threshold; /*stopping condition*/
32 uns max_cycles; /*max number of loops of k_means clustering algorithm*/
33 uns init_decomp_num; /*number of init decompositios */
34 uns bi_len; /*number of image blocks*/
38 computeBlockInfo(PixelPacket*, uns, uns, uns*);
40 decomposeImage(struct DecomposeImageInfo* dii, struct BlockInfo *bi);