- Image Undistortion: https://www.mathworks.com/help/visionhdl/ug/image-undistort.html
- Camera Caliberation: https://www.mathworks.com/help/vision/ug/camera-calibration.html#bu0nj3f
using undistortImage() in Simulink under MATLAB Function
2 visualizaciones (últimos 30 días)
Mostrar comentarios más antiguos
Thana Seelaraj Baiskaran
el 4 de En. de 2022
Respondida: Kartik Saxena
el 21 de Nov. de 2023
I have a Raspberry Pi attached to camera and I would like to perform camera calibration. I have the cameraParameters acquired through Camera Calibrator App. I can undistort the image in MATLAB with undistortImage() function. Can I use undistortImage() in Simulink at all? If yes, my cameraParameters would a parameter to a MATLAB function block in Simulink. How do make sure that Simulink can read the CameraParameter?
edit: Just found out using undistortImage in MATLAB Function block is not possible. How can I calibrate images in Simulink?
0 comentarios
Respuestas (1)
Kartik Saxena
el 21 de Nov. de 2023
Hi,
I understand that you want to undistort an image in Simulink and calibrate them.
Even though you cannot directly use the 'undistortImage()' function within a MATLAB Function block in Simulink, you can still perform image undistortion in Simulink using the Computer Vision Toolbox. The toolbox provides blocks for camera calibration and undistortion that you can use in a Simulink model.
Refer to the following MathWorks documentations to know more about the same:
I hope this resolves your issue.
0 comentarios
Ver también
Categorías
Más información sobre Raspberry Pi Hardware en Help Center y File Exchange.
Productos
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!