Skip to Main Content
コグネックスサポートハブ
LogoLogo

How To Generate a RangeImage From a 3rd Party Scanner

You would like to use 3D tools that work with RangeImages with a camera that does not natively output the RangeImage format, but a “normal” Grey16 image instead.

2025/03/11

Details

First you need to get the internal transformation values from your camera. They are stored as GigE features in the camera, so you can read them using the “Custom Properties” in the Image Source, and it should look similar (but not exactly) like this:

Placeholder

Then download this ToolBlock:

https://cognexcorporation.sharepoint.com/:u:/s/GlobalTechnicalServices/ERwkIRk_78JPnewGeLNn9EEBKWmfZENll1y5Y1BHybXPeA

The Scale values from before need to be entered in the input terminals of the “ConvertGrey16ToCalibratedRange” TB:

Placeholder

If needed, the offset values can be used as Cog3DVect3 translation in line 31 in the script of the same TB.

関連リソース