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

How to get the correct RGB values (0-255) for a single gaussian? #22

Open
vitorpmh opened this issue Dec 14, 2024 · 0 comments
Open

How to get the correct RGB values (0-255) for a single gaussian? #22

vitorpmh opened this issue Dec 14, 2024 · 0 comments

Comments

@vitorpmh
Copy link

I was trying to visualise the gaussians individualy with matplotlib and for that i needed their colours. Found this issue but there isn't a specific solution.

I have tried to use arctan, arctanh, sigmoid, inverse of sigmoid, minmaxscaling but i couldn't find a solution that gives the correct colour.

The following is the method that i am using to provide the colours. However it returns values a weird range eg (-0.3426, 2.5341).

class GaussianImage_RS(nn.Module):
    @property
    def get_features(self):
        return self._features_dc

Could you please clarify how to get the rgb colour of a individual gaussian?

Thanks in advance.

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