Thursday, February 28, 2013

Costco film development and scanning

I've been shooting mostly film lately. I love the wider dynamic range that it has over digital cameras (15-16 stops vs. 10-12 stops or so), and I love using an inexpensive, easy-to-use, full-frame SLR with a huge, bright optical viewfinder and a fast lens (I'm talking 1:1.4 fast!).

Last week I had two rolls of Fujifilm Superia X-TRA 400 (pretty good and cheap film, by the way) developed and scanned at Costco. The development appears to be decent, but the scanning leaves a lot to be desired. The resolution of each image file is 3091x2048, which is sufficient for a good 6x9 print or larger. However, it seems that somewhere along the scanning workflow the image data in all photos was, for lack of a better word, distorted.

Here is a 400% zoom on part of one photo. This is part of the number "4" on my younger son's shirt.
As you can see, pairs of rows are swapped, and pairs of columns are swapped. It seems that the image was interlaced (ie, odd and even lines were separated into two separate fields) and then incorrectly deinterlaced (fields were reassembled in the incorrect order). This particular section of the photo was not in very sharp focus (the depth of field of a 50mm lens at 1:1.4 is very thin), but even being out of focus it clearly looks pixelated or "blown apart".

I manually swapped pairs of rows and columns in a photo editor for this small cropped section of the photo. This is approximately what the image should look like:
This image looks much better. It's still obviously soft, but as I mentioned, this part of the photo was not in focus.

It's true that I could mostly fix a photo using this technique, but it's not at all practical. For one thing, this cropped area represents only one eighth of one percent of the whole photo. I spent about 15 minutes to fix this one small area; one whole photo would take me about 200 hours to fix manually. Secondly, I did write a simple program which attempted to fix all scanned images automatically, but it did not work very well in practice because I've found that the interlacing is not consistent across a whole image: the phase of the interlacing changes approximately every 82 or 83 pixels across an image. Sometimes the odd/even columns are swapped, and sometimes the even/odd columns are swapped. Worse, the frequencies and boundaries of the phase changes are not entirely consistent across multiple photos. My theory is that all images were scanned in at various resolutions slightly larger or smaller than 3091x2048 (and the interlacing errors were introduced at this point in the scanning process), and then the images were scaled down or up to 3091x2048.

I can't say for sure what is responsible for the interlacing errors, but I suspect that the software driver for the scanner that Costco uses is at fault. I write software for a living (and as a hobby long before it was for a living), so I am well aware of how bad software can be. :-)

I currently shoot only about one roll of film per month, and so far I have posted photos only on social media sites where high-resolution photos are not the norm (they look OK scaled down to 1.5Mpx), so I am not entirely disappointed in the scanning job. Perhaps I'll bring this issue to their attention, and hopefully they can take steps to fix the problem (I won't hold my breath, though). I'll continue to use their scanning services either way—they are not too expensive, after all—until I can afford to purchase my own film scanner. Then I'll be able to see the full potential of film! Viva la film!

Wednesday, December 21, 2011

Sunday, July 10, 2011

Fungus Among us

Somehow I managed to get fungus inside my day-to-day DSLR lens. This lens (a Sigma 18-50mm f3.5-5.6 DC lens) cost me only $37 with shipping via eBay, and having it cleaned professionally would cost more than the lens itself. I decided to clean it myself!

It took me about an hour to open it up and clean it (I didn't want to have spare screws when I was finished), but I eventually got the fungus off the inside lens element with isopropyl alcohol. There appears to be some small amount of etching left on the element (fungus secretes hydrofluoric acid), but it doesn't seem to be visible in photos taken with the lens.

Unfortunately, after cleaning and reassembling the lens, my camera showed the aperture go up to 5.0 at the 50mm end (it should be 5.6 at 50mm). The lens thought it was only at 37mm, according to the EXIF data in the JPEG files. I probably bent one of the electrical contacts around the inside of the zoom ring which tells the lens and camera what the current focal length is. For those technical geeks (like myself), there are five electrical contact strips running around the lens underneath the zoom ring, and they appear to be encoded using Gray coding; the contacts on the zoom ring make contact with those strips, which in turn tells the lens the position of the ring. Gray coding is pretty neat and useful that way. (Incidentally, five tracks provides up to 32 combinations, and there are 33 different focal lengths (50-18+1=33). I wonder which focal length(s) are not represented by the lens.)

I took the lens apart a second time (though not as far as the first time), and I straightened out the contacts. After reassembling again and testing again, the focal length is being reported correctly! Woot!

I just hope that I don't get fungus in this lens again. :/

Wednesday, February 16, 2011

Photo dump

I'll let Melinda caption these better. :) Ok I added some stuff to Chris pics but I think the wedding pics speak for themselves.

Pre-Christmas party at the Garbison's

Alex splashing in the tub.

John and Jolene's pre-Christmas party
Alex always has to take a sip of mommy's drink!
Emma and Baby Ben

Pre-Christmas gathering at the LeSueur's. Alex thinks Mommy's legs are a slide!

Benjamin!

Julie's wedding reception











Yummy crepes!




Emma's birthday party
Emma getting smothered by Auntie!

Emma sporting the new play scrubs I made her for her birthday.


Tuesday, November 2, 2010

First Food!


This is baby Ben's first attempt at rice cereal at 4 months of age. Unfortunately he threw up so violently afterward that I decided to wait to try again at 6 months. The doctor told me to start him on solid food and he told me to potty train Alex. I think next time he tells me to do things so early I'll offer to let him come to my house and show me how it's done!

Wednesday, October 13, 2010

Serious Sillyness

Chris bought himself a camera as an early Christmas present and we had fun taking pictures. I think this is how he plans to answer the door on Halloween.
Me sporting my sunglasses.
Alex sporting my sunglasses wearing his BYU T-shirt that I found at a Walmart near Manti.
Another picture of Alex. I think he is asking daddy why so many pictures.
Ben is just serious cuteness! I love my boys and am so happy to be their mom.

Sunday, October 10, 2010

Baby Ben Flipping over at 4 months old



Ben starting flipping over when he was 4 months 2 days old. The other day Chris took pictures while he did it! We adore our new baby boy and can't believe he is growing so fast.