adding  all the   code that  segments and label bones and cartilage in opencv