Skip to content

std::bad_cast error in palette_extraction #65

@iwnlcyan

Description

@iwnlcyan

Hello @lindemeier , I am trying to use the code for solving the weights of base pigments for colors, just built it on an Ubuntu virtual machine.. But when I hope to run with the examples in the repo, using the given measured coefficients, it keeps occuring std::bad_cast error. I'm not sure but seems like it happens after loading the JSON file, in the LoadPalette() in main, but it's still a bad_cast even if I manually define the palette variable with values in the JSON.. I am wondering have you got this issue before? Is it to do with type definition with eigen or something else?
image
image

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