15 Oct 2008

Privacy? I've heard of it

eBay isn't so much fun any more since bidders' identities were hidden (except for winning bidders). The joy of snoopage has been drastically curtailed. Nevertheless, it is still possible to hit comedy gold.

Just an hour ago I got outbid on a couple of items. Outrageous! How dare you! So, what else has the rich winning bastard (whose nym reeks of the odious cult of the Great Western Railway) been buying?

it's PILE CREAM! YAY!

HA HA HA HA HA HA HA HA HA HA HA! (gasp) (gasp) HA HA HA HA HA HA HA!!!

And for more voyeuristic lulz, check out the other purchasers - and in particular, note the rather unfortunate nym that's first on the list!

These people have BUM GRAPES!

Dear fluidpharmacy - thank you, thank you, for not making this a private auction. You have made my day! Stuff privacy! I *love* the surveillance society!

9 Oct 2008

Feeding my inner geonerd

We interrupt this embarassing blogosilence with a post about openstreetmap.

Why the silence? Well, I was going to do a Photo Tutorial Part 3, about focus stacking, but attempts to produce a satisfactory focus-stacked photo using enfuse were unsatisfactory, whereas proprietary software, using the same images, produced much better results. Grrr! Sulk, sulk.

Anyway, recently there took place the Openstreetmap Bradford Mapping Party, a concerted attempt to survey and map the inner city of Bradford. Openstreetmap is a worldwide wiki-style project to produce detailed free-licensed mapping. So along I went. Unsurprisingly, the OSM posse turn out to be a well organised bunch of geeks armed with appropriate electronics, pencils, and, in some cases, bicyles. These fine people had been drawn to the unmapped, unlovable void of Bradford by nothing but altruism, enthusiasm, team spirit, love of a challenge, and rampant ignorance of what a shit hole modern Bradford really is. As it turned out, I was both the token local and the token newbie. The weather was astonishingly good, the sponsor's sandwiches were heartily useful (thanks!), my mentors Andy and Nick kindly transmitted their knowlege and enthusiasm, and, oddly, nobody got mugged.



On the Saturday, Nick showed me the ropes around the city centre and between Manchester Road and Little Horton Lane. This bloke got very agitated at the sight of my camera when he wandered into shot outside Tudor Court flats on Manchy Road. So here he is blown up and enhanced in all his Lucozade carrying glory. Go on mate, sue me like you threatened.



Nick and me were hugely amused by this pound shop in Broadway - well, what's left of Broadway - which is having a 50p closing down sale. Laughing apart, it really emphasises the current ruinous state of Bradford, which has somehow managed to fall to pieces during the ten year economic boom. God help us all when the forthcoming depression hits.



On the Sunday, my allotted patch was the old mostly industrial area at the bottom of Wakefield Road. I had a go with my newly-acquired Really Crap Old Camera, a Fuji MX-1200. The theory is that it is so awful that nobody will want to mug me for it, and even if they do, I won't mind handing it over.  It really is rubbish: grainy as hell, ghastly jpeg overcompression, fixed lens with dreadful barrel distortion and chromatic aberration, lousy obsolete "Smart Media" media.



So now, after a week and a half of editing and rendering, the central area of our fine city is quite well mapped, a vast improvement. It's going to be a long, slow job titivating it, but I'll be having a go, and I've even made a start on my own little patch, safely outside the ring road.

UPDATE -- Forgot to mention, while mapping "my own little patch", I've found a toroidal street (Willow Crescent) in which half the torus is numbered in the normal manner, odd on one side and even on the other, but the other half has even numbers on both sides of the street.

2 Aug 2008

Photo tutorial, part 2 - HDR Lite with enfuse

One of the frustrations of digital photography is the urge to grab shots in ever more marginal situations, and then when they turn out to be less than perfect you feel cheated. This is a particular problem with the sort of stuff I do; inevitably, here in Yorkshire, landscapes and buildings are dark, with a sky background that's often overcast cloud, and I'm not always willing or able to visit when the all-too-rare sun's at an ideal angle.

In recent years people have turned to HDR (High Dynamic Range) techniques. They take photos "in RAW format" (a crass bit of misterminology we're sadly stuck with) and they fiddle about using various dodgy algorithms which "tone map" what the camera saw, compressing it into the far narrower range of light and dark that a screen can display. The end result is highly dependent on the taste and effort of the person who does the tone mapping. Unfortunately, most people are hopelessly lazy and have an over developed sense of their own arty-fartyness, and you get horrors like this - here's one I prepared myself using the relevant free software tool, qtpfsgui - a fine piece of software when in the hands of someone with copious time and good taste, but the net is full of dreck like this from people who have neither:



Well, bollocks to all that. There's a better way. It uses two of the new command line tools that come with recent versions of Hugin. (At the moment you need to compile them yourself but a proper release is on its way. I've prepared some SlackBuild scripts and will be submitting them to slackbuilds.org when the release happens.)

First, I use the camera's built in exposure bracketing - when I press the button it takes three successive snaps. The first is a supposedly correct exposure, the second is one stop overexposed to capture the dark details, and the third is one stop underexposed to capture the light details.



But these are successive separate photos, taken half a second or so apart, and movement can occur between them. So, back home, I use align_image_stack, one of the command line tools that comes with Hugin, to fine tune the alignment of the three images. Then I use enfuse, another of the Hugin command line tools, to merge the three aligned images. It works by estimating how authoritative is each region of each input image - a well-exposed region has lots of variation of brightness - and creates a single merged image using appropriate weighting. None of the hideously unnatural tone-mapping nonsense!



The workflow, including a quick final sharpness and colour tweak in the Gimp and save back into JPEG format, looks like this:


align_image_stack -a $TMPDIR/align dscf1234.jpg dscf1235.jpg dscf1236.jpg
enfuse -o dscf1234enf.tif $TMPDIR/align*
gimp dscf1234enf.tif
exiftool -TagsFromFile dscf1234.jpg dscf1234enf.jpg

Note that the final merged image (due to its brief detour into TIFF format) has no EXIF data. What I do is just copy the EXIF from the first of the three images using exiftool - the first image is the one with no exposure bias, so its shutter details are reasonably representative of the synthetic merged image.

The big problem with this technique is movement. The slightest rustling of wind in the foliage, or the presence of people, animals or vehicles, will produce ghostly effects like this:



However, if the movement is small enough, you can get away with it; you just get a slightly peculiar fluffy effect in the trees, and water comes out looking quite good.



At the end of the day, this is just another technique to use when the results are worthwhile. If you get back home and find that movement ruined the multiple exposure, or it's just too much bother for a casual snap, you can always just select whichever one of the three images is best exposed and tweak its contrast a bit.

28 Jul 2008

Photo tutorial, part 1 - Geotagging

With the one and only hugin edging towards a release, I thought it might be worth typing up a series of notes about the photo editing tools I've been using lately.

So the first bulletin is about Geotagging using Linux. There are quite a few tutorials out there, and they're all, quite frankly, rubbish. Here's what I do and how I do it. Three packages are required: exiftool, gpsbabel and gpscorrelate.

First, get yourself a sweet, cheap yellow eTrex and a data cable. I am SICK, SICK, SICK of all the morons on Panoramio, Geograph, Flickr etc who are incapable of pinpointing the correct location on a map. BUY A BLOODY GPS!

Just before you start photographing, turn the GPS on, get a fix, and change the display so that it shows the time of day, and take a photo of it. Carry the GPS with you, enjoy yourself, take nice photos.

Then come home and upload your photos to a nice clean new directory. First, we're going to use exiftool to adjust the EXIF date-time of all the photos according to the GPS date-time that was shown on your eTrex when you photographed it.

Look at the photo of your eTrex. For example, if the time in the EXIF data is 21 seconds earlier than the time shown on the GPS, you need to add 21 seconds to the EXIF data using the command

exiftool -AllDates+="0 0:0:21" .
This will correct the EXIF date-time of all the photos in the current directory (use your common sense - if the time in the EXIF data is one minute 18 seconds later than the time shown in the photo, use -AllDates-="0 0:1:18"). It'll create new copies of all the files; the originals will be renamed from *.jpg to *.jpg_original.

I mean, obviously, given the inevitable small discrepancy between your camera's time and the GPS's time, the GPS is the one that's right, right? So you want to fix all your photos, right? And you can do this all in one go with just one exiftool command, right? So why the bloody hell don't any of the bozotic so-called tutorials out there ever mention it?

But don't attempt to compensate for time zone differences at this stage. You'll want your photos to have the correct local time in the EXIF data (since you're about to write some additional tags that contain lat/long and UTC.)

Next, plug in your eTrex with your data cable. Turn on the eTrex, make sure that SETUP -> INTERFACE has I/O FORMAT set to GARMIN, and use gpsbabel to grab a copy of the active track log. (My data cable is serial and plugged into ttyS0; YMMV.)
gpsbabel -t -i garmin -f /dev/ttyS0 -o gpx -F tracklog-$(date '+%Y-%m-%d:%T').gpx
And now fire up gpscorrelate-gui.



Click the 'Add...' button and select all your photos. Click the 'Choose...' button and select your track log. Now set 'Max gap time' to something like 300 seconds, and set your time zone (negative is west of the prime meridian) - it'll remember these two values, so you won't need to set them every time. Don't tinker with the Photo Offset! Leave it at 0! And finally, just click 'Correlate Photos' and watch the miracle of geotagging unfold in the blink of an eye.

Easy, innit?

25 Jul 2008

Architectural Backblog

It's been far too long since I posted anything here so let's do some unfocussed moaning about old buildings.

The local newspaper has noticed the dismal state of Wapping Road School (Historic school being left to rot), which I wrote about on 8th December last year. Apparently the planning impasse that was holding up redevelopment is now almost at an end, but a huge amount of damage has been done, and one can't help wondering how much more intentional damage will be done in the name of redevelopment. Yeah, more flats. Indeed, with the current economic downturn the question is when or whether work will actually start, and how much more deterioration will occur meanwhile.



My attention was originally drawn to the school by a report on the urbex forum 28dayslater. Well, 28dayslater went into a self-imposed sulky freeze for a while, but now it's back - hoorah! - and the brave explorer of Wapping Road School, converse1, has just posted a report on another of my minor obsessions, the Grade II listed chapel in Bowling Cemetery. Shipley43 on flickr passed this way too recently and refers to the 2003 grumble from Bradford Building Preservation Trust about this and three other cemetery chapels. Needless to say, no progress is made, the building is getting worse year by year, set ablaze and torn apart by vandals, with no realistic prospect of being saved.



The hot online mapping news is that Microsoft's Live Search Maps has just rolled out detailed oblique angled aerial photography data (which it strangely calls 'birds eye').  It's quite high resolution and seems to date from 2007.  The official announcement stated Calderdale was the only place to get this in the whole of Britain, but in fact Bradford is also included.  By contrast, Google's coverage is stuck back in 2002 and Microsoft's vertical data, purportedly copyright 2007, is even older than Google's (see, eg, Bolton Woods quarry).  However this is historically quite interesting because 2002 predates the disastrous mass demolition of Forster Square and Broadway.  Compare below to see the extent of the damage.  And now this week we are informed that the current flurry of work on the Forster Square site is just a blip (strangely coincidental with the council elections) and the site will sink back into inactivity until more tenants are signed up.  Pity poor Bradford.



4 May 2008

Bus Porn





Edited 28/7/2008 for new links

4 Apr 2008

Look what I found!

The two quarry faces at Wrose Hill are a designated Regionally Important Geological Site (RIGS). "The upper quarry exposes mudstones and siltstones coarsening upward into the sandstone of the 48 Yard Rock. This sandstone may be interpreted as deposition in a mouth bar", according to wyorksgeologytrust.org.

 

The write-up continues: "A rock fall in 2004 has revealed many well preserved plant fossils together with the sand filled burrows referred to as Arenicolites carbonarius." The rock falls have continued, and here's a boulder with several fossil log impressions -

 
 

And here's a boulder showing the Arenicolites burrows, a wonderfully preserved section of beach from 315 million years ago -



And finally, here's a boulder with a superb beach ripple pattern -

21 Mar 2008

234 years ago today

The first stretch of the Leeds & Liverpool Canal (from Skipton to Thackley) was opened 234 years ago today, on the 21st March 1774, when five laden boats descended the Bingley Five Rise locks watched by thousands of people. The Leeds Intelligencer described the occasion thus: "From Bingley to about 3 miles downwards the noblest works of the kind are exhibited viz: A five fold, a three fold and a single lock, making together a fall of 120 feet; a large aqueduct bridge of seven arches over the River Aire and an aqueduct and banking over the Shipley valley. This joyful and much wished for event was welcomed with the ringing of Bingley bells, a band of music, the firing of guns by the neighbouring Militia, the shouts of spectators, and all the marks of satisfaction that so important an acquisition merits". Here are some photos, mostly taken today, of the "noblest works" mentioned above.

Bingley Five Rise Locks


Bingley Three Rise Locks


Dowley Gap locks - the 'Leeds Intelligencer' got this detail wrong, this is a two rise staircase


Seven Arches Aqueduct, Dowley Gap


The embankment at Shipley near its crossing of Bradford Beck


The bicentenary commemorative plaque at Bingley Five Rise Locks


(Lots more Leeds and Liverpool Canal photos in my Picasa album)

14 Mar 2008

Quotes of the Month

Yes, it's only the 14th, but how could these two be bettered?

Re: MOG: SCO to cleave in twain
Msg: 59007 of 59222 3/11/2008 5:51:02 PM
Author: CDBaric
In response to msg 58983 by _Arthur
Recs: 37

"It looks, however, like there’s gonna be two entities once SCO’s out of
Chapter 11: one that pursues the myriad litigation (what the plan calls
the SCO Group) and the other that minds the Unix store (what the plan
calls Reorganized SCO)."


What an excellent idea!

Just think if Exxon had thought of such a thing. Exxon could have divided
itself into two entities, (1) Drunken Shipping, and (2) Everything Else.
It is of course to be expected that the Drunken Shipping division wouldn't
have much in the way of assets, just a broken boat and some oil
(unfortunately distributed all over some rugged coastline).


I think MOG has truly devined the next big thing in corporate deniability.

Amazing!

Bar

Re: Microsoft Predicts Computing Trends for late 1900's
Msg: 59182 of 59222 3/13/2008 1:08:46 PM
Author: karl_w_lewis
In response to msg 59181 by peredurabefrog
Recs: 14

>> Microsoft have loads of applications that use all the power of modern
computers and more (if the performance of my wife's laptop is to be
believed). Their problem is in trying to do something useful with it
rather than using it to power a bloated user interface. <<


Well, that is a novel solution to the old issue... Power, you see, can be
used for Good, or for Evil, or, (as it turns out), for the User Interface,
which obviates the whole Good Vs. Evil quandary.


KWL

12 Mar 2008

Lulz Redux

So, it finally happened: nearly two years after the relevant events, the news broke [SMH, BBC] about Jeff Merkey's wikipayola. The only problem is whether this notorious kook and fantasist actually paid any money, or is merely off in his separate reality pretending he did. The wikinerds, who previously banned those who warned them that Merkey's word was not to be trusted, are now to be observed wailing exactly that to a largely indifferent world - whilst maintaining, even now, that Merkey's a good guy [JzG] and the Y!SCOX crowd are trolls [JzG, SirFozzie]. And meanwhile, an anonymous IP keeps whitewashing the Merkey article and discussion: interestingly, a traceroute goes via 166.70.235.16, aka a node named jmerkey.fttp.xmission.com... Sometimes, connecting the dots is just too easy.

In other news, the heroic Patent Troll Tracker is being sued into silence: "Just this morning we were lamenting the fact that the formerly anonymous Patent Troll Tracker had shut down his blog, but now we know why. It appears that two patent attorneys in East Texas have sued him and Cisco for defamation. One of the attorneys happens to also be the son of the judge who helped make Marshall, Texas famous as a favorite for patent holders..."

And in other other news, the redaction to SCO's Motion for Judgment on the Pleadings is just in. They say, get this, that if Novell didn't approve the SCOSource swindle, then Novell isn't entitled to the swag...