This paper presents a cardinalized probability hypothesis density (CPHD) filter for extended targets that can result in multiple measurements at each scan. The probability hypothesis density (PHD) filter for such targets has been derived by Mahler, and different implementations have been proposed recently. To achieve better estimation performance this work relaxes the Poisson assumptions of the extended target PHD filter in target and measurement numbers. A gamma Gaussian inverse Wishart mixture implementation, which is capable of estimating the target extents and measurement rates as well as the kinematic state of the target, is proposed, and it is compared to its PHD counterpart in a simulation study. The results clearly show that the CPHD filter has a more robust cardinality estimate leading to smaller OSPA errors, which confirms that the extended target CPHD filter inherits the properties of its point target counterpart.