| # | Line 196 | Line 196 | getlumsamp(int n) /* get set of random point sample l | |
|---|---|---|
| 196 | int sv = 0; | |
| 197 | double rval, cumprob = 0; | |
| 198 | ||
| 199 | < | if (x <= 0 && freadcolrs(cscan, x=scanlen(&inpres), infp) < 0) { |
| 199 | > | if (x <= 0 && fread2colrs(cscan, x=scanlen(&inpres), infp, |
| 200 | > | NCSAMP, WLPART) < 0) { |
| 201 | fprintf(stderr, "%s: %s: scanline read error\n", | |
| 202 | progname, infn); | |
| 203 | exit(1); | |
| # | Line 459 | Line 460 | mkbrmap(void) /* make dynamic range map */ | |
| 460 | modhist[i] = ceiling; | |
| 461 | } | |
| 462 | } | |
| 463 | < | } while (trimmings > histot*CVRATIO); |
| 463 | > | } while (trimmings > mhistot*CVRATIO); |
| 464 | ||
| 465 | #if ADJ_VEIL | |
| 466 | mkcrfimage(); /* contrast reduction image */ | |
| – | Removed lines |
| + | Added lines |
| < | Changed lines (old) |
| > | Changed lines (new) |