This is code for .mnc to .jpeg convertor of an image in MATLAB.