554
edits
EmilioAguas (talk | contribs) No edit summary |
EmilioAguas (talk | contribs) No edit summary |
||
| (11 intermediate revisions by the same user not shown) | |||
| Line 100: | Line 100: | ||
The next experiment deals with the idea of discover an image through the movement of the mouse like it was a flashlight | The next experiment deals with the idea of discover an image through the movement of the mouse like it was a flashlight | ||
[[File:Test06.png |thumb| left| 400px | | [[File:Test06.png |thumb| left| 400px | lets follow the light ]] | ||
<br>Taking the pixels of an image and displaying the RGB values of each pixel according to the proximity of the mouse cursor. | <br>Taking the pixels of an image and displaying the RGB values of each pixel according to the proximity of the mouse cursor. | ||
| Line 108: | Line 108: | ||
<br>Source code [http://www.uni-weimar.de/medien/wiki/GMU:Processing_im_Park/Emilio_Aguas/sample_code_test06 -click here-] | <br>Source code [http://www.uni-weimar.de/medien/wiki/GMU:Processing_im_Park/Emilio_Aguas/sample_code_test06 -click here-] | ||
<br style="clear:both;"> | <br style="clear:both;"> | ||
I was testing how the pixels behave in three dimensions when a pixel is brighter than other and with the mouse movement. | |||
[[File:Test07.png |thumb| left| 400px | Pixel explosion in the Z axis ]] | |||
<br> I was trying to get the look of an explosion or fire but doesn't work very well | |||
<br> Video test - light and darkness [https://vimeo.com/161207387 -click here.-] | |||
<br>Source code [http://www.uni-weimar.de/medien/wiki/GMU:Processing_im_Park/Emilio_Aguas/sample_code_test07 -click here-] | |||
<br style="clear:both;"> | |||
Playing with fire is a good idea. | |||
[[File:Test08.png |thumb| left| 400px | Pixel chasing ]] | |||
<br> Finally I made a computer vision program in which a small ball fallows the brightest pixels detected through the web camera, so finally I have my analog torch recognized by the program | |||
<br> Video test - The ball fallows the fire [https://vimeo.com/161211249 -click here.-] | |||
<br>Source code [http://www.uni-weimar.de/medien/wiki/GMU:Processing_im_Park/Emilio_Aguas/sample_code_test08 -click here-] | |||
<br style="clear:both;"> | |||
---- | |||
===Stage 4 - Finally I made it=== | |||
Combining different ideas of the previous experiment I was able to came up with this program. | |||
The Idea, is that you have in this case 8 pictures that you could change clicking the mouse but you can't see the pictures because are hidden in the dark, just like if you were in a cavern, so to see it you need a light source in this case for me works better with a lighter, also because produce fire so I feel like if i was in a modern age past cave. With the fire the program represents this like a torch that you could move around and start to discover the pictures. | |||
[[File:Final.png |thumb| left| 400px | Digital torch with real torch]] | |||
<br>In the video the light moves like crazy because there is no source of light in front of the web camera so when I light the lighter the camera detects the change of brightness an update the brightness in the pixels values, so for now on if i move the lighter the digital torch is going to move, also the program has a code in this case to make the torch with a green filter, but this could be change also. | |||
<br> Test of the final program - digital light fallowing real life lighter [https://vimeo.com/161216134 -click here.-] | |||
<br>Source code [http://www.uni-weimar.de/medien/wiki/GMU:Processing_im_Park/Emilio_Aguas/sample_code_final -click here-] | |||
<br style="clear:both;"> | |||
---- | |||
===Conclusions=== | |||
- To understand the entire idea, this works better as an installation instead of just the video documentation. | |||
- It was a challenge but really fun to do. | |||
- I want to improve the code with videos instead of pictures, but i need to figure it out how to display videos and use computer vision, without processing crashing. | |||
edits