Online systems for non-contact measurement and diameter control