Detecting galaxies in a large H i spectral cube