Cropping an image in matlab -
Is it possible to crop an image with a particular curve? For pre-I want to extract the finger image from this image, but I do not want to crop it with a rectangle
You need a binary mask and the mask is shown on the alpha map Here is how to apply it in the form of
s = 100; H = imagesc (rand (s));% Some garbage% shows a circular mask dummy = meshgrid (-s / 2: s / 2-1). ^ 2; Distance squared from center mask = sqrt (dummy + dummy ') & lt; 20;% 20 is the radius of your mask% that you go here, set the image horizontally (h, 'alphabeta', mask); Exporting it to PGN will serve as a job.
So in your case, you need to make your own mask, that means your bitmap image or parameter space (as I did it with the above cycle).
Comments
Post a Comment