>> I = imread('line.jpg');Warning: Ignoring incorrect gAMA value when sRGB is also present>> I2 = rgb2gray(I);>> I3 = bwmorph(I2,'thin',Inf);>> imshow(I3);