Eliminate point of view effects on a surface before processing the image.
2 views (last 30 days)
Show older comments
Mohammad Sarhil
on 6 Aug 2018
Commented: Florian Morsch
on 14 Aug 2018
Hello,
I have some concrete cross-sections with fibers. The camera will be at a central position and due to point of view effects, the edges will be deformed. I made a chess board to use it first to take out the point of view effects with same size of the cross-sections (see the photo).
The procedure:
- Fix the camera and the specimens position. - Take the image of the chess board. - Take the images of specimens with out changing the positions. - Use the chess board image to develop a code to reverse the point of view effects.
My questions: What is the transformation which should be used to reverse the point of view effects? Is it implemanted on Matlab already? Is the transformation simply linear or not? Do you have any lectures regarding this?
Thank you.
0 Comments
Accepted Answer
Florian Morsch
on 7 Aug 2018
If you have the camera calibration toolbox at you hand you can simply use that to calibrate your camera with the checkerboard.
With the camera parameters from the calibration you can then use undistortImage() ( https://de.mathworks.com/help/vision/ref/undistortimage.html ) to correct the lense distortion.
2 Comments
Florian Morsch
on 14 Aug 2018
For that you could try imwarp() ( https://www.mathworks.com/help/images/ref/imwarp.html ), the older variant imtransform() ( https://www.mathworks.com/help/images/ref/imtransform.html )
More Answers (0)
See Also
Categories
Find more on Read, Write, and Modify Image in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!