From: Ignacio Arganda Carreras Date: May 15, 2009 2:29:09 PM EDT To: Wayne Rasband Subject: possible bug in the Bicubic interpolation Hello Wayne, I think i found a bug in the bicubic interpolator when sacaling. Please, have a look at the following macro: newImage("Untitled", "32-bit Black", 256, 256, 1); for (j = 0; j < 256; j++) for (i = 0; i < 256; i++) setPixel(i, j, 1 - (i + j * 256) / 100000); run( "Duplicate...", "title=" + "scaled" + " duplicate" ); run("Size...", "width=19 height=19 constrain interpolation=Bicubic"); for (i = 0; i < 10; i++) run("In"); There is a very weird artifact in the left and top boundaries... Thanks for your help! ignacio -- Ignacio Arganda-Carreras Escuela Politecnica Superior Lab B-408 Phone: (+34) 91 497 2260 Universidad Autonoma de Madrid Ctra. de Colmenar Viejo, Km. 15 Madrid 28049, Spain E-mail: Ignacio.Arganda@uam.es Website: http://arantxa.ii.uam.es/~iarganda/index_EN.html