Cfitsio Toolkit - matlab.io.fits.getImgSize


: size = getImgSize(file)

Return size of a Image HDU.

This is the equivalent of the cfitsio fits_get_img_size function.

Inputs

file - opened fits file.

Outputs

size - vector containing the image dimensions.