find no evidence for a significant systematic bias in ground-based size determinations with spectral type. Galaxies shown have photometric redshifts in the range $1<z<2$ and stellar masses with log (M$_{\ast}$/M$_{\sun}$)$>10$, to match the samples used in this work.[]{data-label="fig:size-test"}](rtest.pdf "fig:"){width="0.9\linewidth"} ![A comparison of size measurements for galaxies measured with ground-based $K$-band imaging and HST $H$-band imaging, using the subsample of $\sim$9% of galaxies within the UDS CANDELS mosaic. The upper panel compares half-light radii for individual galaxies. We find that ground-based imaging can provide robust measurements of galaxy sizes, although the relationship is not precisely 1:1. A linear fit to all points suggests that ground-based sizes are $\sim$13% smaller on average (dashed line). A characteristic uncertainty on individual measurements is shown, representing the median error on the PSB sizes. The lower (binned) distribution compares mean sizes for the three key populations, with unfilled symbols representing mean values determined from fewer than 5 galaxies. We find no evidence for a significant systematic bias in ground-based size determinations with spectral type. Galaxies shown have photometric redshifts in the range $1<z<2$ and stellar masses with log (M$_{\ast}$/M$_{\sun}$)$>10$, to match the samples used in this work.[]{data-label="fig:size-test"}](rtest_bin_mean.pdf "fig:"){width="0.9\linewidth"}

Stellar masses {#sec:masses}
--------------

We determined stellar masses 