Skip to content

color noise it not color noise #11

@roma-goodok

Description

@roma-goodok

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)

Metadata

Metadata

Assignees

No one assigned

    Labels

    transformsAbout transformations

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions