Application of quantitative analysis in treatment of osteoporosis and osteoarthritis