int z, d, c, ww, hh, kk;
int rc = -1;
- if (!quick)
- printf("-> apply component to grid and solve");
for (c = 1; c < col->comp; c++) {
int pixles, j;
double *value_ptr, *init_ptr, *mark_ptr;
- if (!quick)
- printf(" #%d(%s)", c, feat_names[c-1]); fflush(stdout);
+ if (!quick) {
+ printf("-> apply component #%d '%s' to grid and solve", c, feat_names[c-1]);
+ fflush(stdout);
+ }
/* apply component
* - copy component into value array (level 0), otherwise 0
* - use maked colors for init array, otherwise use 0
darrayCheckPr(col->values[0], darrayGetPr(col->values[0]) + z*col->w*col->h, col->w*col->h);
memcpy(darrayGetPr(col->image) + z*col->w*col->h*col->comp + c*col->w*col->h, darrayGetPr(col->values[0]) + z*col->w*col->h, col->w*col->h*sizeof(double));
}
+ if (!quick)
+ printf("\n");
}
- if (!quick)
- printf("\n");
#ifdef TEST_SHRINK_XY
for (c = 0; c < col->comp; c++) {