# Camera calibration

**URL:** <https://discourse.julialang.org/t/camera-calibration/31525>\
**Category:** Community\
**Tags:** question\
**Created:** [November 26, 2019, 11:18am UTC](https://discourse.julialang.org/t/camera-calibration/31525 "2019-11-26T11:18:37Z")\
**Posts on this page:** 6\
**Page:** 2

<div class="post-metadata">

**Author:** ![Aakhash\_Sundaresan](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/aakhash_sundaresan/32/202478_2.png) [@Aakhash\_Sundaresan](https://discourse.julialang.org/u/Aakhash_Sundaresan)\
**Post date:** [November 24, 2023, 2:24pm UTC](https://discourse.julialang.org/t/camera-calibration/31525/21 "2023-11-24T14:24:49Z")

</div>

I have a small doubt, that do we require multiple images of the calibration target pattern to precisely calibrate the camera. Because, matlab doesn’t allow me to just use a single image of the calibration target for performing the calibration routine. Why is this the case that we require more than two images with different orientations. Also, suppose we just want to calibrate the camera for a 2d field, does it make sense to just a single image?

---

<div class="post-metadata">

**Author:** ![yakir12](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/yakir12/32/297_2.png) [@yakir12](https://discourse.julialang.org/u/yakir12)\
**Post date:** [November 24, 2023, 2:30pm UTC](https://discourse.julialang.org/t/camera-calibration/31525/22 "2023-11-24T14:30:54Z")

</div>

Define “precise”. Generally, the number of images with the target affects the accuracy of the calibration.

---

<div class="post-metadata">

**Author:** ![Aakhash\_Sundaresan](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/aakhash_sundaresan/32/202478_2.png) [@Aakhash\_Sundaresan](https://discourse.julialang.org/u/Aakhash_Sundaresan)\
**Post date:** [November 24, 2023, 2:33pm UTC](https://discourse.julialang.org/t/camera-calibration/31525/23 "2023-11-24T14:33:14Z")

</div>

So, more the images better the calibration right?

---

<div class="post-metadata">

**Author:** ![Aakhash\_Sundaresan](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/aakhash_sundaresan/32/202478_2.png) [@Aakhash\_Sundaresan](https://discourse.julialang.org/u/Aakhash_Sundaresan)\
**Post date:** [November 24, 2023, 2:35pm UTC](https://discourse.julialang.org/t/camera-calibration/31525/24 "2023-11-24T14:35:28Z")

</div>

But do the calibration target images need to be in different orientations ?

---

<div class="post-metadata">

**Author:** ![yakir12](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/yakir12/32/297_2.png) [@yakir12](https://discourse.julialang.org/u/yakir12)\
**Post date:** [November 24, 2023, 2:45pm UTC](https://discourse.julialang.org/t/camera-calibration/31525/25 "2023-11-24T14:45:25Z")

</div>

I’m not sure what exactly you’re asking about. If you’re using Matlab’s Camera Calibration Toolbox then I suggest you read their (excellent) [documentation](https://www.mathworks.com/help/vision/camera-calibration.html).

Otherwise, it’s better to simply start a new topic for those kind of questions (this specific topic is 2 years old), or better yet, ask on a Matlab discourse 😉

---

<div class="post-metadata">

**Author:** ![user664303](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/user664303/32/37843_2.png) [@user664303](https://discourse.julialang.org/u/user664303)\
**Post date:** [March 21, 2024, 10:11am UTC](https://discourse.julialang.org/t/camera-calibration/31525/26 "2024-03-21T10:11:26Z")

</div>

I believe a photometric method will provide a higher accuracy calibration than feature based methods (such as the corner detection that tools such as the MATLAB camera calibration toolbox use). This is because photometric methods minimize errors in the domain of the true measurement noise, which is pixel intensity, not geometric error.

I am seeking collaborators to provide Julia with a state of the art photometric optimization package. See [here](https://discourse.julialang.org/t/collaboration-call-photometric-methods-for-visual-tracking/111926) for more details.

[Previous page](https://discourse.julialang.org/t/camera-calibration/31525.md?page=1)
