MATLAB: I want help to crop only route from map image like shown below. Is anyone help me with code

color detectionimage croppingImage Processing Toolboximage segmentation

<<
<<
>>
>>
I wanted to crop only the route marked as blue from given Map image. The sample image is attached with this with the another image which I want as output from the matlab for further process. Is anyone here who help me to move on?

Best Answer

Explain exactly what "I wanted to crop only the route marked as blue from a mal image." means. The image IS cropped. Is it just that you want the route ALL in blue instead of having roads and things of other colors crossing it? What is a "mal image"?