A transvaginal ultrasound may be performed in case it is difficult to produce a clear image during the early stages of pregnancy.