Generate size-adjustable uniform grid for spatial calibration
1 view (last 30 days)
Show older comments
Hi, everyone,
I took a tiff image of a dot array on a piece of white paper, the resolution of the camera is 1280 x 800.
After I use imread to read in and use imshow to show the tiff image in Matlab, I am now trying to generate a 2-D uniform grid and add it to the image.
In this way, I will have a better understand of the relative pixel location for each dot on the paper. Then I can calibrate the relationship between the pixel location (i,j)and spatial location(x,y).
Besides, if possible, I need to make one unit grid containing 6-8 pixels, and make the grid size adjustable in case I need to adjust the size for better calibration.
Now I am stuck in generating this size-adjustable 2-D uniform grid.
Can anyone help me please?
Thank you for your kind help
0 Comments
Accepted Answer
Image Analyst
on 1 Sep 2014
I don't know why you'd need to generate a grid. Just calibrate against an object of known length in your scene. See my attached demo.
More Answers (0)
See Also
Categories
Find more on Image Processing Toolbox in Help Center and File Exchange
Products
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!