Blueprint House

Bill Kendrick
bill@newbreedsoftware.com
November 19, 2002


On Tue, 19 Nov 2002 15:35:07, in alt.graphics, ltd_ed wrote:

I am really sorry if this is not the correct group to post this request, but I am kind of at a loss as to where to start. I need to find a software package that can take a picture and morph it into an outline sketch. This is going to be used to take a picture of a finished house and convert it into something like a architect's drawing of the house front. Does such an application exist? And if so does anyone know of the name of it or the company that would produce it?


Here's my response, graphically

And that's how I turned the photo above to the 'blueprint' style picture below. I'm not sure if that's exactly what 'ltd_ed' wanted, but... :^)

Unfortunately, not having the money to spend a hundred dollars on a Microsoft Operating system, let alone the hundreds for a copy of Photoshop, I'm unfamiliar with how you'd do that using that program.


The Command-Line Way

I do, however, know a way you could do this using some Linux command line tools (from the NetPBM suite), too, which could automate this if you needed to do it to a lot of programs, for some reason!

jpegtopnm IN.JPG | ppmtopgm | pgmedge | pgmtoppm blue-white | pnmtojpeg > OUT.JPG

Here's the result!

Cool, huh!? And it took no interaction from me. In went the input file, out came the output file.

It's not exactly the same, because I didn't tweak the contrast, and I chose pure blue, versus the lighter blue I used in The Gimp, but you get the idea! Change one word in the command and you could get another color.

Enjoy!