Items with no label
告知
FPGA community forums and blogs on community.intel.com are migrating to the new Altera Community and are read-only. For urgent support needs during this transition, please visit the FPGA Design Resources page or contact an Altera Authorized Distributor.
3338 ディスカッション

In the Intel RealSense Viewer, both the depth image window and the RGB image window are not mismatched like the pixel position is different in the two images. How can I get the same pixel position in the two images? for D435

HSeo2
ビギナー
12,603件の閲覧回数

Is the depth image shifted right side? How much is the distance?

0 件の賞賛
1 解決策
idata
従業員
9,714件の閲覧回数

Hello kufosan,

 

 

Thank you for your interest in the RealSense camera.

 

The SDK offers a processing block for aligning the image to one another, producing a set of frames that share the same resolution and allow for easy mapping of pixels.

 

For more information, you can access the link below

 

https://github.com/IntelRealSense/librealsense/wiki/Projection-in-RealSense-SDK-2.0# frame-alignment

 

 

Regards,

 

Alexandra

元の投稿で解決策を見る

9 返答(返信)
MartyG
名誉コントリビューター III
9,715件の閲覧回数

When doing alignment, I would recommend using the same resolution for both RGB and depth if possible to aid alignment. In the RealSense Viewer, you may be able to further adjust the alignment using the Post Processing section of the settings. In these settings, there is a slider called the Decimation Filter that influences the resolution of the stream.

 

By moving the slider backward and forward, you can see the image's resolution becoming smaller or larger.

 

On the RGB section of the controls, make sure that the Post Processing is enabled by clicking on the red icon to turn it to blue.

 

An easy way to tell how the Decimation filter is affecting the stream is to click the 'i' icon on the stream's toolbar to overlay its resolution and frame information. As you move the slider, you can see the resolution changing in the info overlay.

 

1.png

 

2.png

HSeo2
ビギナー
9,716件の閲覧回数

Thanks MartyG

But I want to the start point of the color image in the depth image like below the captured image.

jb455
高評価コントリビューター II
9,716件の閲覧回数

Check out the rs-align sample, that goes through the process of mapping the depth image to the colour image.

MartyG
名誉コントリビューター III
9,716件の閲覧回数

I will refer this question to RealSense stream programming expert jb455 as they can likely give a better answer for this question than I can. I apologize for the wait.

MartyG
名誉コントリビューター III
9,716件の閲覧回数

Oh, speak of the angel. Never mind then! Thanks JB!

idata
従業員
9,715件の閲覧回数

Hello kufosan,

 

 

Thank you for your interest in the RealSense camera.

 

The SDK offers a processing block for aligning the image to one another, producing a set of frames that share the same resolution and allow for easy mapping of pixels.

 

For more information, you can access the link below

 

https://github.com/IntelRealSense/librealsense/wiki/Projection-in-RealSense-SDK-2.0# frame-alignment

 

 

Regards,

 

Alexandra
EAlta
ビギナー
9,716件の閲覧回数

Is there a way to make the alignment (RGB and depth images) through the Intel Realsense Viewer? intel_admin

Regards

idata
従業員
9,716件の閲覧回数

Hi edgar.altamirano,

 

 

The RealSense Viewer 2D view shows the RGB, IR, and Depth streams independently. The streams do not align because each sensor has different fields of view (FOV). To see the aligned streams, you must use the 3D view in RealSense Viewer. You can switch to 3D view on the top right corner of the RealSense Viewer. The 3D view in RealSense Viewer is almost the same as the rs-align sample. RealSense Viewer aligns color to depth and rs-align aligns depth to color. In RealSense Viewer 3D view, be sure to select the Color stream as the Texture Source.

 

 

Regards,

 

Alexandra
EAlta
ビギナー
9,716件の閲覧回数

Is there a way to make the alignment on matlab. There is an align.m function on github but I cant use it correctly.

返信