Region-based two-stage MRI bone tissue segmentation of the knee joint