Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

plot img data #6

Open
ValentinaGhidini opened this issue Aug 4, 2023 · 0 comments
Open

plot img data #6

ValentinaGhidini opened this issue Aug 4, 2023 · 0 comments

Comments

@ValentinaGhidini
Copy link
Collaborator

ValentinaGhidini commented Aug 4, 2023

I am not sure about the "df" in input of plot_img(): df should be the heatmap, i.e. a matrix, with the same dimension as the original image and values equal to the explanations for each pixel (in the correct positions!).

https://github.com/mfumagalli68/xi/blob/f27154c96f3911f5d1de8ac0e32b357c81707add/xi/plotting/plot.py#L36

Moreover, specify somewhere that we are using one-channel images (we could extend it to multi-channel images quite easily, but I need to think how to represent the final heatmap).

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant