Use ImageFloat32 instead of ImageUInt8 for median and mean filters