# Full instructions for exporting cropped undistorted images and cameras to work in blender

**URL:** <https://forums.unrealengine.com/t/full-instructions-for-exporting-cropped-undistorted-images-and-cameras-to-work-in-blender/1271110>\
**Category:** Pipeline & Plugins\
**Tags:** realityscan\
**Created:** [August 24, 2023, 4:15pm UTC](https://forums.unrealengine.com/t/full-instructions-for-exporting-cropped-undistorted-images-and-cameras-to-work-in-blender/1271110 "2023-08-24T16:15:40Z")\
**Posts on this page:** 14\
**Page:** 1

<div class="post-metadata">

**Author:** ![HenryPearce4D](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@HenryPearce4D](https://forums.unrealengine.com/u/HenryPearce4D)\
**Post date:** [August 24, 2023, 4:15pm UTC](https://forums.unrealengine.com/t/full-instructions-for-exporting-cropped-undistorted-images-and-cameras-to-work-in-blender/1271110/1 "2023-08-24T16:15:40Z")

</div>

As the title says, please can I have full instructions for exporting cropped undistorted images and cameras to work in blender. I have tested alot…  
 ![image](https://d3kjluh73b9h9o.cloudfront.net/original/4X/5/8/6/58606307fc2c2a77abc5c55ccc4ff2ff9c80c9e8.png)

---

<div class="post-metadata">

**Author:** ![OndrejTrhan](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/ondrejtrhan/32/906565_2.png) [@OndrejTrhan](https://forums.unrealengine.com/u/OndrejTrhan)\
**Post date:** [August 25, 2023, 6:54am UTC](https://forums.unrealengine.com/t/full-instructions-for-exporting-cropped-undistorted-images-and-cameras-to-work-in-blender/1271110/2 "2023-08-25T06:54:39Z")

</div>

Hi Henry, this tutorial can be helpful for you: [https://www.youtube.com/watch?v=yq0XjvBlsiU&t=396s](https://www.youtube.com/watch?v=yq0XjvBlsiU&t=396s)

---

<div class="post-metadata">

**Author:** ![HenryPearce4D](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@HenryPearce4D](https://forums.unrealengine.com/u/HenryPearce4D)\
**Post date:** [August 25, 2023, 10:39am UTC](https://forums.unrealengine.com/t/full-instructions-for-exporting-cropped-undistorted-images-and-cameras-to-work-in-blender/1271110/3 "2023-08-25T10:39:20Z")

</div>

As you can see there as black bars in the images in this tutorial;

[![Imgur](https://d3kjluh73b9h9o.cloudfront.net/original/4X/5/a/9/5a9ccf904c0def1f369c471c2d547a61558209e5.png "imgur.com") ](https://imgur.com/NpPG0nW)

Please can you advise how to export the images as **cropped undistorted** with no black bars, and have these work with cameras in blender

Thanks  
Henry

---

<div class="post-metadata">

**Author:** ![OndrejTrhan](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/ondrejtrhan/32/906565_2.png) [@OndrejTrhan](https://forums.unrealengine.com/u/OndrejTrhan)\
**Post date:** [August 25, 2023, 11:08am UTC](https://forums.unrealengine.com/t/full-instructions-for-exporting-cropped-undistorted-images-and-cameras-to-work-in-blender/1271110/4 "2023-08-25T11:08:05Z")

</div>

I think if there won’t be the black lines, then it won’t be matched in Blender, as the image will be moved to its original position. Or probably you can change the resolution of the image to a smaller one, but I think there could be also problems in Blender then.

---

<div class="post-metadata">

**Author:** ![HenryPearce4D](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@HenryPearce4D](https://forums.unrealengine.com/u/HenryPearce4D)\
**Post date:** [August 25, 2023, 12:59pm UTC](https://forums.unrealengine.com/t/full-instructions-for-exporting-cropped-undistorted-images-and-cameras-to-work-in-blender/1271110/5 "2023-08-25T12:59:48Z")

</div>

Can you initially help me export the cropped undistorted images please?

from this diagram I thought it should be the inner region option, but this doesnt work  
 ![image](https://d3kjluh73b9h9o.cloudfront.net/original/4X/4/6/a/46aae258af0f5697effe0f2aa8ab75aea3c9404a.png)

---

<div class="post-metadata">

**Author:** ![OndrejTrhan](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/ondrejtrhan/32/906565_2.png) [@OndrejTrhan](https://forums.unrealengine.com/u/OndrejTrhan)\
**Post date:** [August 25, 2023, 1:27pm UTC](https://forums.unrealengine.com/t/full-instructions-for-exporting-cropped-undistorted-images-and-cameras-to-work-in-blender/1271110/6 "2023-08-25T13:27:29Z")

</div>

It depends what type of distortion you have, but if you will use No for Undistort principal point then you will get the image without black lines. But this won’t work in Blender as in tutorial.  
I don’t think there is the option you want.

---

<div class="post-metadata">

**Author:** ![jochemla](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/jochemla/32/745958_2.png) [@jochemla](https://forums.unrealengine.com/u/jochemla)\
**Post date:** [September 6, 2023, 1:49pm UTC](https://forums.unrealengine.com/t/full-instructions-for-exporting-cropped-undistorted-images-and-cameras-to-work-in-blender/1271110/7 "2023-09-06T13:49:44Z")

</div>

To me it clearly is a RC bug that these black strips are present with `Fit: Inner Region` parameter during undistortion.

If you want to remove these black strips, you can do so with the below kapture utility - based on a kapture project. (with the kapture library, a bit verbose, but seem to do the job). Please follow the [full workflow](https://twitter.com/jo_chemla/status/1698985750367281499) for first converting bundle to kapture, then kapture to colmap.

> <https://gist.github.com/jo-chemla/258e6e40d3d6c2220b29518ff3c17c40>

---

<div class="post-metadata">

**Author:** ![HenryPearce4D](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@HenryPearce4D](https://forums.unrealengine.com/u/HenryPearce4D)\
**Post date:** [October 26, 2023, 10:21am UTC](https://forums.unrealengine.com/t/full-instructions-for-exporting-cropped-undistorted-images-and-cameras-to-work-in-blender/1271110/8 "2023-10-26T10:21:57Z")

</div>

Hi, I would like to resurrect and escalate this issue as a bug that needs fixing.

Agisoft Metashape has provided a way to export images as cropped without black bars for use with gaussian splatting, surely Reality Capture can too?

---

<div class="post-metadata">

**Author:** ![OndrejTrhan](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/ondrejtrhan/32/906565_2.png) [@OndrejTrhan](https://forums.unrealengine.com/u/OndrejTrhan)\
**Post date:** [October 26, 2023, 12:12pm UTC](https://forums.unrealengine.com/t/full-instructions-for-exporting-cropped-undistorted-images-and-cameras-to-work-in-blender/1271110/9 "2023-10-26T12:12:09Z")

</div>

The bug is filled and we are working on the solution. Sorry for the inconveniences.

---

<div class="post-metadata">

**Author:** ![HenryPearce4D](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@HenryPearce4D](https://forums.unrealengine.com/u/HenryPearce4D)\
**Post date:** [October 26, 2023, 1:37pm UTC](https://forums.unrealengine.com/t/full-instructions-for-exporting-cropped-undistorted-images-and-cameras-to-work-in-blender/1271110/10 "2023-10-26T13:37:37Z")

</div>

Hi thankyou for the update, I will follow closely for the fix

---

<div class="post-metadata">

**Author:** ![JakubVanko](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/jakubvanko/32/1215548_2.png) [@JakubVanko](https://forums.unrealengine.com/u/JakubVanko)\
**Post date:** [November 8, 2023, 11:49am UTC](https://forums.unrealengine.com/t/full-instructions-for-exporting-cropped-undistorted-images-and-cameras-to-work-in-blender/1271110/11 "2023-11-08T11:49:37Z")

</div>

Hello @HenryPearce4D and @jochemla,

Could you please email us to [support@capturingreality.com](mailto:support@capturingreality.com)? The issue with the undistorted images is in progress but we would like to validate the fix when it’s ready. Please just mention it is about the cropped undistorted images and the team will assign me the case. Thank you!

Jakub

---

<div class="post-metadata">

**Author:** ![s1ddok](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@s1ddok](https://forums.unrealengine.com/u/s1ddok)\
**Post date:** [November 12, 2023, 3:58pm UTC](https://forums.unrealengine.com/t/full-instructions-for-exporting-cropped-undistorted-images-and-cameras-to-work-in-blender/1271110/12 "2023-11-12T15:58:36Z")

</div>

Hey Jakub, I’ve also sent some details to this address with my findings on working with undistorted images, OpenCV, implementation differences and feature requests. I hope it will be helpful! The e-mail topic is **Regarding cropped undistorted images**.

---

<div class="post-metadata">

**Author:** ![JakubVanko](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/jakubvanko/32/1215548_2.png) [@JakubVanko](https://forums.unrealengine.com/u/JakubVanko)\
**Post date:** [November 14, 2023, 9:49am UTC](https://forums.unrealengine.com/t/full-instructions-for-exporting-cropped-undistorted-images-and-cameras-to-work-in-blender/1271110/13 "2023-11-14T09:49:40Z")

</div>

> [@s1ddok](#):
>
> **Regarding cropped undistorted images**.

Hi @s1ddok , thank you very much for reaching out. We’ll continue our conversation there.

---

<div class="post-metadata">

**Author:** ![jochemla](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/jochemla/32/745958_2.png) [@jochemla](https://forums.unrealengine.com/u/jochemla)\
**Post date:** [July 11, 2024, 1:32pm UTC](https://forums.unrealengine.com/t/full-instructions-for-exporting-cropped-undistorted-images-and-cameras-to-work-in-blender/1271110/14 "2024-07-11T13:32:25Z")

</div>

For anyone stumbling here, the black strips on undistorted export for Inner region is fixed in Version 1.3.1.117316: `Fixed black borders in the inner region undistorted image export`, [see changelog](https://www.capturingreality.com/change-log)
