71// if (other_image == 0 ) throw NullPointerException("Error, the EMData pointer set in the params was null");
72//
73// int nx = image->get_xsize();
74// int ny = image->get_ysize();
75// int nz = image->get_zsize();
76//
77// if ( nx != other_image->get_xsize() ) throw ImageDimensionException("Error, the parameter image's x dimension did not match the argument image's x dimension");
78// if ( ny != other_image->get_ysize() ) throw ImageDimensionException("Error, the parameter image's y dimension did not match the argument image's y dimension");
79// if ( nz != other_image->get_zsize() ) throw ImageDimensionException("Error, the parameter image's z dimension did not match the argument image's z dimension");
80//
81// if ( image->is_complex() != other_image->is_complex() ) throw ImageFormatException("Error, the image formats did not match - only one of the images is complex");