Recent content by Saikiran

  1. S

    Unable to crack this image enhancement code -- Matlab is throwing errors

    img= imread('Image.bmp'); img= rgb2gray(img); imshow(img); pt = ginput(4); % the function ginput is used to get the input from mouse x1 = pt(1,1); y1 = pt(1,2); x2 = pt(2,1); y2 = pt(2,2); x = [x1 x2]; y = [y1 y2]; line(x,y); x3 = pt(3,1); y3 = pt(3,2); x4 = pt(4,1); y4 = pt(4,2); x = [x2 x3]; y...
Back
Top