Determination of cortex and pith contributions to fruit morphology in apple (Malus×domestica Borkh.) using image analysis