@Override
    protected void declareImages(int width, int height) {
      super.declareImages(width, height);

      outputWidth = width * 2;
      outputHeight = height;

      int tx = outputWidth / 2 - width / 4;
      int ty = outputHeight / 2 - height / 4;

      Affine2D_F64 init = new Affine2D_F64(0.5, 0, 0, 0.5, tx, ty);
      init = init.invert(null);

      alg.configure(outputWidth, outputHeight, init);
      bitmap = Bitmap.createBitmap(outputWidth, outputHeight, Bitmap.Config.ARGB_8888);
      storage = ConvertBitmap.declareStorage(bitmap, storage);
    }