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

color noise it not color noise #11

Open
roma-goodok opened this issue Nov 12, 2019 · 0 comments
Open

color noise it not color noise #11

roma-goodok opened this issue Nov 12, 2019 · 0 comments
Labels
transforms About transformations

Comments

@roma-goodok
Copy link
Contributor

It seems that the transformation of color noise does not look like color noise at each point, but simply makes a random change over 3 channels common to all points

https://nbviewer.jupyter.org/github/goodok/fastai_sparse/blob/master/notebooks/transforms/transforms.ipynb

x_colors = pc.colors
amplitude = 0.1
x_colors_b = x_colors +
np.random.randn(3).astype(np.float32) * amplitude
x_colors - x_colors_b

returns differ between before and after:

array([[0.03873268, 0.03023028, 0.1048553 ],
[0.03873268, 0.03023027, 0.1048553 ],
[0.03873268, 0.03023028, 0.1048553 ],
...,
[0.03873268, 0.03023028, 0.1048553 ],
[0.03873265, 0.03023028, 0.1048553 ],
[0.03873265, 0.03023028, 0.1048553 ]], dtype=float32)

@goodok goodok added the transforms About transformations label Nov 14, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
transforms About transformations
Projects
None yet
Development

No branches or pull requests

2 participants