viernes, 28 de noviembre de 2014

3D visualization of some colorspaces

These are some GIF visualizations of an RGB cube in different colorspaces (Click in the images to see the 3D visualization, it can take some seconds to open as each visualization is about 11MB).

The original cube in the RGB colorspace:


RGB cube in the YUV colorspace:



RGB cube in the XYZ colorspace:






RGB cube in the YIQ colorspace:


If you find these interesting you can take a look at the results in my Master Thesis: webpage or the pdf and do not hesitate to ask me any question.

Perceptron training visualization

Visualization of a Perceptron trying to classify samples into two different categories.

 In this representation there is no bias involved,  the green arrow are the model weights and it defines an hyperplane orthogonal to them centred in the coordinates [0,0]. In each iteration the sample being tested is shown in orange. If the sample is in the wrong side of the hyperplane the vector representing the sample is shown, then the red vector is the same vector reescaled by the learning rate and it is summed to the weights vector. Then, the next sample is tested.