Quantitative estimation of atom-scaled ripple structure using transmission electron microscopy images