public object Clone( )
{
// create new complex image
ComplexImage dstImage = new ComplexImage( width, height );
Complex[,] data = dstImage.data;
for ( int i = 0; i < height; i++ )
{
for ( int j = 0; j < width; j++ )
{
data[i, j] = this.data[i, j];
}
}
// clone mode as well
dstImage.fourierTransformed = fourierTransformed;
return dstImage;
}