Showing posts with label pixel by pixel. Show all posts
Showing posts with label pixel by pixel. Show all posts

Tuesday, March 23, 2010

Pixel By Pixel: Pixel Transformation


This week in Pixel By Pixel, we were asked to delve into the world of pixel transformation.  Put simply, taking the individual pixels in an image, and processing them to change location in the grid. The goal was a result that was "dynamic and interactive".

Part 1: Reflected Pixels
I began the exercise by subdividing both horizontal and vertical pixels by two, and reflecting the pixels to the remaining three quadrants.  The result was a program that is both entertaining and visually dynamic.  As can be seen from the images below, it allows for (particularly with facial anatomy) imagery that instinctually feels deformed or distorted.  However, it can feel pretty simplistic, along the lines of a house of mirrors.



Part 2: Banding
While experimenting with modifying the reflection algorithm, I modified the factor by which the horizontal reflector was divided.  This resulted in the banding pattern seen above.  Observing the pattern caused me think that intentional banding could create compelling imagery, based around the concepts of repetition, patterns, and blending.


Part 3: Banding Grids
I decided to pursue the banding algorithm, and to do so in both the vertical and horizontal dimensions.  I achieved the desired result by grabbing a section of pixels, and then reapplying it using modulo math.  Since the modulo resets every time its argument is reached, the algorithm would then start anew and redraw the desired band.  The result is a "banding" grid of the desired area, as can be seen above.



Part 4: Abstract Banding Grids And Resolution
While a low resolution banding grid can be more compelling in terms of subject recognition, a higher resolution grid can actually yield more unusual and abstract patterns, particularly when it comes to subject blending, and perceived appearance of the subject.


Part 5: Subject Recognition In High Resolution Banding Grids
Perhaps the most counter intuitive part about the high resolution grids is that despite their complexity and abstraction (see above), they are actually simply a grid of a repeated image.  What this means is that if great care is taken, the subject can actually still be recognized, as can be seen from the recognizable lettering in the image below.


The idea of banding grids manages to take a variable chunk of an existing screen, and repurpose it as a tool to build patterns that can be simultaneously abstracted and recognizable.  What's more, it takes a group of pixels and repurposes them on a macro level such that the group itself becomes the implementation of the pixel.  Further developments in this area might include using the mouse to move the selected band, implementing a constant-movement band that iterated across the image, or intelligently selecting bands of the implemented resolution to recreate the image itself, but in recursive bands that had in fact been sourced by the image.

Wednesday, March 3, 2010

Pixel By Pixel: Experiments In Thermal Imaging


This week in Pixel By Pixel we were asked to embark on a project inspired by light phenomena observed on our recent trip to the New York Hall of Science.  As such, I decided to take the museum's thermal camera a step further, and actually create a thermal pixel grid, seen above.  The grid (in theory) would use peltier junctions behind an insulated grid of copper tiles, which one could then heat individually using a microcontroller.

The paper "canvas" frame

Unfortunately, the project had challenges from the outset.  The first was in the initial concept itself:  Once I started testing the copper tiles with the peltier junctions, I discovered that something about the copper tiles, probably reflectivity, caused them to be invisible to the thermal camera.  I tried aluminum as an alternative, and had the same effect.  However, when I used paper, all seemed well, so that was my new solution.

 The four transistors of the circuit

I created a frame for the paper canvas, and then endeavored to complete the full circuit required to power the four peltier junctions.  This was achieved by creating a circuit consisting of four transistors and an external power source.  The power source was required to adequately heat the junctions, and the transistors were used to control the power source's path to each junction.

The fully wired canvas/box

Once the circuit was complete, I mounted it (and the four peltier junctions) to the back of the canvas/box, thus enabling the entire unit to stand largely on its own, with the only outgoing connections being to a power source and the microcontroller.


Once this was complete, I began to test the unit using test patterns, and then the true problem arose:  the peltier junctions function smoothly for 20-30 seconds, but as they begin to retain heat, they begin to lose their ability to turn "off" as pixels, and they simply become a grid of pixels stuck in the "on" position. What's more, the thermal camera itself creates recurring (and irritating) scan lines.  These effects can be seen (along with ITP in-lab antics) in the video grab from the thermal camera above. 

While the end result was ultimately a disappointment, the endeavor was not.  The idea still seems feasible, even if peltier junctions are maybe not the appropriate solution.  What's more, before the pixels fail, one gets a general conception of the idea trying to be achieved, and it's actually quite visually pleasing.  What's more, I feel that the addition of a color camera could further the project to an even greater extent.  Put simply: there are still many aspects to explore.

Wednesday, January 27, 2010

Pixel By Pixel: Analog Animation


For Pixel By Pixel we were asked to "make pixels" using an analog source for our pixel generation.  I decided to use my shower tiles and dry erase markers to create a big-pixel scene.  The scene (above) depicts a short span in the geological evolution of a land mass, including rain, erosion, volcanic activity, and growth.

In hindsight, I would have zoomed out more in order to have a higher resolution grid.  I also discovered that while dry erase markers come right off of tile, the same is not true of grout.  You live, you learn.