1
Author: Thibaut Paumard <paumard@users.sourceforge.net>
3
Description: change round() to long(round())
4
round() is provided by several add-ons. The Yeti round returns a double.
10
} else if (spydr_itt>=5) { // histeq
11
ind = span(0.,1.,spydr_ncolors);
13
- ind = round(ind*(spydr_ncolors-1)+1);
14
+ ind = long(round(ind*(spydr_ncolors-1)+1));
15
r = r(ind); g = g(ind); b = b(ind);
17
// and finally, load the palette:
23
beg: co = mouse(1,0,"Click on center of image to extract");
24
- co1 = round(co(1:2)-[dimx/2.,dimy/2.]+1);
25
+ co1 = long(round(co(1:2)-[dimx/2.,dimy/2.]+1));
26
co2 = co1 + [dimx,dimy]-1;
33
- co = round(mouse(1,1,"Click and drag to select image to extract")+0.5);
34
+ co = long(round(mouse(1,1,"Click and drag to select image to extract")+0.5));