Skip to content

deal with images in the RGBA format #10

Description

@yanyan-li

the RGBA image in DTU

For example, in DTU, the RGBA image looks like this :
image

In camera_utils.py

we have to make it as a general RGB image.
if cam_info.image.mode == 'RGBA':
img = transparence2white(cam_info.image)
resized_image_rgb = PILtoTorch(img, resolution)

image

Metadata

Metadata

Assignees

No one assigned

    Labels

    documentationImprovements or additions to documentation

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions