Skip to content

add_noise script does not work for my synthetic depth images #3

@Me817

Description

@Me817

Hey,

thank you for the great code to add noise to depth images. I tried the add_noise.py script with some depth images I generated with Unity but I always run into the following error:

python add_noise.py
Traceback (most recent call last):
  File "add_noise.py", line 130, in <module>
    h, w = depth_uint16.shape
ValueError: too many values to unpack (expected 2)
libpng warning: iCCP: known incorrect sRGB profile

Here you can see my depth image:
test1_depth
(Resolution: 640x576, NFOV Unbinned von Azure Kinect)

Is there a specific format for the depth images? Could you help to solve this problem?

Thank you in advance.
Best,
Me817

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions