I opened it in MATLAB using imread command. I have a gray-scale image which is in.The image file I have is 500*500 pixels and i want gridlines at 50 and 150 pixels saveas (gcf, fullfile (fpath, temp)) This is my current code with the 'secondlevelTIFF' being my image. ![]() Setting 'method' to 'burn' outputs a new image with the grid burned onto it, which requires the computer vision toolbox Setting 'method' to 'draw' (default) opens a new figure with the grid drawn onto it. imageGrid puts a grid on an image The number of horizontal and vertical lines and line style can be adjusted. The grid is georeferenced to latitude-longitude by R, which can be a geographic raster reference object. The image is displayed in unprojected form, with longitude as x and latitude as y, producing considerable distortion away from the Equator.Z can be M-by-N or M-by-N-by-3, and can contain double, uint8, or uint16 data. grid2image(Z,R) displays a regular data grid Z as an image. ![]() Home MATLAB image grid Display regular data grid as image - MATLAB grid2imag
0 Comments
Leave a Reply. |
Details
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |