code: public static void magnitude( InterleavedF32 transform , GrayF32 magnitude ) {
  		checkImageArguments(magnitude,transform);
  
  		for( int y = 0; y < transform.height; y++ ) {
  
  			int indexTran = transform.startIndex + y*transform.stride;
  			int indexMag = magnitude.startIndex + y*magnitude.stride;
  
  			for( int x = 0; x < transform.width; x++, indexTran += 2 ) {
  
  				float real = transform.data[indexTran];
  				float img = transform.data[indexTran+1];
  
  				magnitude.data[indexMag++] = (float)Math.sqrt(real * real + img * img);
  			}
  		}
  	}
docs: Computes the magnitude of the complex image:<br>
  magnitude = sqrt( real<sup>2</sup> + imaginary<sup>2</sup> )
  @param transform (Input)  Complex interleaved image
  @param magnitude (Output) Magnitude of image