Use self-defined SingleBitmap instead of Bitmap in Structure element operation and interpolation for performance.