Skip to content

Cannot see the logged images anywhere in the viewer #34

Open
@wetoo-cando

Description

@wetoo-cando

How can I find the two logged images in the viewer?

// Log image to rerun using the tensor buffer adapter defined in `collection_adapters.hpp`.
    rec.log("image0", rerun::Image::from_rgb24(img, {width, height}));

    // Or by passing a pointer to the image data.
    // The pointer cast here is redundant since `data` is already uint8_t in this case, but if you have e.g. a float image it may be necessary to cast to float*.
    rec.log(
        "image1",
        rerun::Image::from_rgb24(
            rerun::borrow(img.data, img.total() * img.elemSize()),
            {width, height}
        )
    );
``

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions