final String filename,
final double [ ] [ ] filter )
////////////////////////////////////////////////////////////////////////
{
int [][] out;
imageIO imgIO = new imageIO();
out = imgIO.loadBWImage("imagelib/"+filename);
int [][] pic = Convolution.convolve_safe(out,filter);
int height = pic.length;
int width = pic[0].length;