The Crop command gives confusing dimension

Posted by Xiaoxiong Xing on
URL: http://imagej.273.s1.nabble.com/The-Crop-command-gives-confusing-dimension-tp5005588.html

I have an image that is 2048*2048. When I run the following macros:

makeRectangle(304, 304, 1450, 1450);
run("Crop");

it then results in an image of 1450*1450. Why not (1450-303)*(1450-303)?

--
ImageJ mailing list: http://imagej.nih.gov/ij/list.html