Idea: The Histogram as the Image
Yesterday, I posted the image seen here and told you that there is another picture hidden somewhere within it. I challenged my readers to find it. After a bit of confusion in the comments, someone finally declared that they found it: “Hahahaha! Cool! It’s the NY skyline!” Another reader noted, “The first thing I did was to try to tweak the image using the Levels command. I was greeted with a surprise right there in the dialog.”
Yes, the New York City skyline is hidden in that picture’s histogram. It looks like this:

Several people have asked how I did it. So I’ll explain, but I might get a little longwinded in my attempt to be clear. Feel free to just skim and look at the pictures if you don’t want to read it all.
The idea for this project started with a question: Is it possible to create an image that depicts its own histogram? (A histogram, for those unfamiliar with the term, is a bar graph representing all the tones in an image — it typically looks something like a mountain range). I played around a little bit in Photoshop and the closest thing I came up with was this image:

…which has this histogram:

Yeah, okay. That was neat I guess. But I couldn’t come up with any other shapes that worked. But all this thinking about histograms and what they represent got me wondering if I could control what a histogram looks like by manipulating the image. Could I create something recognizable? To try it, I would need to find something that would be entirely black, horizontal in orientation, and not require any holes or vertical gaps. A skyline seemed perfect.
I did a Google Image Search for “manhattan skyline silhouette” and was tickled to see that the perfect image came up in a result from my own site! I once posted an entry about New York City as depicted in the animated film Antz. Google showed me this image from that entry on the first page of search results:

A typical 8-bit grayscale image can have 256 possible shades of gray. A histogram represents the amount of pixels at each level from 0 to 255, and is 256 pixels wide. So the first thing I did was shrink down the Antz skyline to 256 pixels wide. This meant that each vertical band of black pixels in the skyline represented a value from 0 (black) to 255 (white).
Then I created a new document. The first column of pixels in the skyline image represents value “0” and has 43 black pixels. So my new document needed 43 pixels with the value “0.” Column 2 of my skyline represents value “1” and has 46 black pixels. So my new document needed 46 pixels with the value “1.” And so forth.
Another way to think of it is to say that I took all of the “skyline” pixels from this image:

…and put them in a new document, with no other pixels. Then I rearranged all those pixels into a square from dark to light. The result was very close to perfect. The histogram looked pretty much like the skyline, but it was stretched vertically.
Normally, a histogram is scaled vertically so that whatever value has the most pixels reaches all the way to the top of the graph, and everything else is sized proportionately. In this case, it is the shade of gray which forms the World Trade Center antenna that has the most pixels. So this is roughly what the histogram looked like:

I was thrilled that it worked, but I didn’t want it stretched vertically like that. In order to prevent the WTC tower from being too tall (and everything else scaling upwards with it) I had to put extra pixels of one value in my image, so there would be more pure of that value than any other value, which would push the others down so that the graph remains proportionate. I chose pure white, because this creates a thin black line at the far right side of the histogram where you don’t notice it.
I could have added this row of white pixels at the bottom of the new image, but instead I typed my website name in white, and placed it within the image. In doing so, I copied over some other pixels, which altered the skyline. So I had to put it in a place where the “damage” to those buildings wouldn’t be that noticeable. It took trial and error, but I found a good spot. It changed the skyline on the left side a little bit (compare to the “Antz” image). But it still looks like buildings, so I accepted it. Also, this way I get some credit if the image gets passed around without attribution.
I did it all tediously by hand, but I think with a little tinkering, someone could write a program to simplify the process, taking a 256 x 100 silhouetted image and extrapolating a new image with that as the histogram. And the final image file doesn’t need to be a square with a gradient, either. Those pixels could be in any order. They could be completely scrambled. Or they could be laid out in a way that shows an image of an Apple (as in “The Big Apple”). As long as no new pixels are introduced or deleted, the histogram remains the same. But that is a lot more work than I was prepared to do.
Oh, I almost forgot: I doubled the image size so it would look a little better on the website. As long as I resized it using the “Nearest Neighbor” method instead of some other interpolation method, every pixel (and therefore every shade represented in the image) would be duplicated identically, keeping the proportions in the histogram the same.
Update: A reader has taken this idea even further!





















I don’t want to go too much further into what happened, because the story was turned into the excellent 1975 movie










There’s a lot of explicit sex in the movie




Sometimes I get dangerous thoughts in my head, like “I wonder what it would look like to see every ad in Times Square all on one page.” So when I knew I’d be passing through Times Square this weekend, I made sure I had my camera. For the purposes of this nearly purposeless project, I considered storefront signs the same as ads if they were flashy and glitzy like Times Square ads tend to be.














My first year in New York, I lived on the top floor of an old building in Astoria, Queens, with rotted wood floors that creaked every time I took a step. I didn’t mind so much, because my schedule was so hectic I was rarely home. I got up early every day to get to my job by 9:00 a.m. I was happy to work in a photo studio, but it didn’t pay enough to survive in this town. So at 5:30 p.m. each day I left the studio and went to a bookstore across town, where I worked until 12:15 a.m. in order to make ends meet (and another 8 hours on Sundays). By the time I got back to Queens every night, hopefully before 1:30 a.m., I was beat. I’d take an hour to wind down before finally going to bed, getting a few hours sleep, and starting over.

You know how sometimes you see a movie that’s supposed to take place in Manhattan, but in order to save money they filmed it somewhere else, like Toronto, and since you’ve been to New York you can totally tell that there’s no way they filmed that in Manhattan, except for the one scene that takes place in Times Square? Well, that’s what The Wild was like. Except, being a cartoon without location expenses and made by Disney, they really have no excuse.
The movie is about a bunch of animals in a fictional New York Zoo who go on an adventure whose plot was ripped straight from Finding Nemo, then had all the humor and charm stripped out of it. When the animals leave the zoo to find a missing lion cub, I expected some amazing Manhattan humor before they left the city, just like in the nearly identically-themed movie
Where are the other landmarks? Where’s the sweeping skyline? No Empire State Building? No Chrysler Building? No Brooklyn Bridge? The only recognizable buildings that jumped out at me were the Citicorp Building and 17 State Street, which I think might have been partially visible in one scene. The Wild might be the first cartoon I’ve reviewed that doesn’t have a scene at Rockefeller Center. Have the animators even been to New York?


It’s hard to depict New York City in all its glory in just 30 seconds, but for the opening sequence of Late Night with Conan O’Brien, a company called



Finally, our ride comes to an end at Rockefeller Center. Presumably, because we’re staring at the statue of Prometheus, we must be standing in the Rockefeller Plaza skating rink. But before we have a chance to catch our breath, we pan up to the highest floors of 30 Rockefeller Center, where Late Night is taped. The sequence fades out as we fade in to Conan’s entrance and opening monologue.

Like most New Yorkers who were here on 9/11, my memories of that morning are with me every day, and I have already said much on the topic over the past five years. But I don’t have anything specific to write today about the anniversary of the 9/11 attacks that wouldn’t get me worked up with anger as I write it. So instead, I’ll share this photo I just took of a garbage collector named Pelé in midtown, and link to these two 9/11 related entries I’ve previously written on this site:
In 1988, Walt Disney put out its first movie musical in 11 years, called Oliver & Company. Based on Charles Dickens’ book Oliver Twist, it told the story of an orphan kitten’s adventures in New York City.




When the family comes to America, they go through Castle Garden, pictured at right, which was the immigrant processing station at the time. Ellis Island wouldn’t open for a few more years. Today, Castle Garden is known as Castle Clinton, and it still stands in Battery Park on the southern tip of Manhattan.




If you don’t already know, you won’t be surprised to learn that Fievel does indeed find his family at the end of the movie. This happens to coincide with Henri’s completion of the Statue of Liberty. So he picks up Fievel and his sister and flies them around for an aerial view.

The closing credits of An American Tail have orange-tinted pictures of old New York City in the background, with the credits over them. I was immediately reminded of
The radio station 1010 WINS is for New York City what CNN Headline News is for cable television. It’s just nonstop headlines, weather, and traffic, repeating every 22 minutes. Their slogan is, “You give us 22 minutes, and we’ll give you the world.” Their website,
The crown jewel of the 1010 WINS Art Collection is Peace Grannies on Trial for Times Square Protest. For
It’s a classic struggle for every artist. How do you illustrate a
The influence of conceptual artist
Nearly five years after the tragic events of September 11, 2001, audio tapes were released featuring conversations between 911 operators and people trapped in the World Trade Center. For the event, the 1010 WINS artist created this commemorative work. On the day the tapes were released, a cell phone was so clearly important — a modern technological luxury but also an icon of this day in history — that it seemed like an object as large as the towers themselves. Or perhaps slightly larger, in black and white, looking a bit like it was photocopied and then faxed a few times before being scanned in for a montage.
The ashy, veiny hand reaches out, gas pump nozzle in hand, a stream of “S”es pouring forth from its spout like precious drops of gasoline. Together, the hand and pump give off an eerie glow as Honest Abe looks onward, his gaze obstructed by an exaggerated dot screen. George Washington is barely visible, shrouded by an orange shadow of depression. The 















Am I the only person who looks at this IBM ad and sees a depiction of the World Trade Center after the first tower was hit on the morning of September 11, 2001? This explosive image that I guess is supposed to express creativity or something looks to me more like smoke and flames rising from the tower, just moments before the second tower was struck.