Sony a7

I was fortunate enough to track down a Sony a7 within my price range last weekend. I’ve written about it in a number of forms on this blog (UAV cameras, revisited, What camera for a UAV?), and have been trying to hunt one down for the last few months.

It arrived this afternoon, and I’ve had a little play with it just to try and get a feel for it’s operation. Coming from a comparatively stone age Canon 500d, the controls feel slick and the electronic viewfinder also feels very different, but good different. It came with the 28 – 70mm kit lens, which is good news as I think it might have been a pain to track one down separate from the body.

One huge upside I’ve already identified is how easily the photos are to upload via Wi-Fi to my computer. I didn’t think it’d matter much to me, but I can see it being quite useful in general, saves from scrambling for card readers and such.

The only downside I’ve identified so far is the punishingly short battery life. The electronic viewfinder is beautiful, and the real time leveling information is amazing, but it drains the battery like nobody’s business. I’ve already ordered a backup battery, and should look forward to taking more photos in less difficult conditions!

I thought I’d include a few sample images here, including one I took of a building site a few minutes from where I live. I really should have brought down a tripod, but the fact that it came out as clear as it did is remarkable to me.

build.jpg

A building site near my house

DSC00032-2.png

A different angle, lots of light from street

lightdarkselfie.jpg

My first (and probably last) ever selfie, for a special occasion

UAV cameras revisited

I revisited an earlier blog post, What camera for a UAV?, for an article for GIM international this month. I had a great time expanding upon lots of what I have learned about over the last two years!

I seemed to have raised a few eyebrows at the suggestion that GoPros are not optimal for photogrammetric use, as they have frequently been used and their lenses have been very well modeled, but in the spirit of the article I still thought it was worth pointing out!

gimout-0.png

First page from the GIM article

You can find the full article here.

Pixel shift resolution – Pentax K3

As part of fieldwork for my PhD project on the weekend before last, I collected a large amount of data, including images taken with a relatively new camera (released in May 2015), the Pentax K3ii. It features an APS-C sensor (1.6x crop factor) and 24 megapixels on the sensor, but one intriguing quality that lead us to experimenting was it was the so called ‘pixel-shift (PS) resolution’ mode touted by it’s makers as increasing the effective resolution of the images it gathers (there are some sample images in the gallery here, showing PS mode). It does this by taking 4 images, each shifted by one pixel in each direction. Due to the effect of the Colour-filter array present over almost all consumer cameras, this makes up the colour data being filtered out by effectively stacking colour information on every pixel.

While the dataset I gathered will take quite a while to process in full, I thought for this blog post I’d take a look at an image taken from the same position with pixel shift both on and off. For the work with the K3ii I used a 35mm Pentax f/2.4 lens rented from SRS microsystems.

Firstly, a specific PS development software, Silkypix, was required in order to develop the PS images. For the purpose of this blog post I have left the default DNG -> Tif parameters on, in order to try and get a like-for-like comparison of a scene with and without PS mode on. It should be noted that the RAW file size for the PS mode images is about 4 times the size as those without it on, as would be expected considering it’s taking 4 images. The jpgs, however, are the same size, so we’ll also look at whether there are noticeable differences after jpg compression.

off_hist

PS mode off

on_hist

PS mode on

Let’s look at a couple of interesting areas of this image, first the photogrammetric target towards the front. Note: The images are not perfectly aligned so here I’ve taken the same cropped region from the image.

The image on the left is well formed, and localization of the centre of the target will undoubtedly be quite simple in the context of automatic detection. On the right, with PS modeĀ  on, we see a somewhat different story, with an apparent graininess surrounding the upper edges of the target. The centre of the target will be difficult to localize correctly. When initially looking at this, I thought it was likely localized to the target itself, considering no new data is really being added by the PS itself. This suggests that for targets at least, PS will perform the same or worse than with it turned off. There appears to be some focusing issues with the image on the right also.

Let’s look at a different region, at the top of the cliff where some color variation would be expected.

test_cliff_off-0

PS mode off

test_cliff_on-0

PS mode on

Pixel shift potentially recovers more of the finer details, but is giving up a lot in the process, as the image appears myopic and out of focus, as well as retaining the graininess seen earlier. The blurriness could be explained by my own error in acquiring the image, as we I was shooting from a tripod without a remote trigger, though the apparent graininess is present throughout many of the collected images, and somewhat resembles a sharpening filter applied on images, leaving a slightly uncomfortable amount of high frequency information within the images.

I decided to try one more image, ensuring the PS version was at the very least of a perceptibly passable quality and run the same tests again:

on_hist

PS mode on

off_hist

PS mode off

Targets:

Bank above bush:

off_bank

PS mode off

on_bank

PS mode on

Thankfully for the second image set things have appeared to work exceptionally well. While the graininess seen on the first target is still somewhat perceptible in the second, the difference is not as apparent. The bank is undoubtedly of a much higher apparent spatial resolution in this image with PS mode on, which is what we would expect. The comparison between images points to the fact that any errors due to blur or lens effects will be amplified by switching pixel-shift resolution mode on, as would be expected. However, the high quality PS images appear to indeed be of higher perceptible resolution. It remains to be seen whether these are differences within the individual images selected, or a result of the PS, or both, but I hope this will become apparent as I sink my teeth in to the data.

Watch this space for more updates as my work progresses!