Sunday, September 6, 2009

As promised--continued


A short one. Due to some accidental keystrokes I published my last post on lens resolution while I was spell checking and otherwise editing it. Since I was still setting up my new laptop--I went with the accident and moved on to other tasks.

Eight X magnification--alas, twas but empty magnification. That means everything was bigger but there was no new detail. Even at 5X magnification I was pushing the ability of the 35mm Minolta lens to resolve detail. The finest 'hairs' on the moth's antenna were 5 pixels wide. This calculated out to be 7 microns wide or about 1/8 the diameter of the average human hair.

And if any of my hundreds of readers (humor, humor) ever want to do this at home the procedure is simple.

Use your version of my trusty machinist rule to see how big the spot you are imaging is. Convert to microns (1/1000 of a millimeter) if your part of the world never got the metric urge. Divide that number by the number of pixels in your sensor to give the micron per pixel number--1.4 in this image.

Then count the number of pixels in the tiny stuff to learn--
a--how big the fine stuff really is.
b--where your lens's resolution craps out.

And how do I know I ran up against case b? Looked at the slide with my microscope.

In an ideal world I'd now upload the microscope image. But the box of slides is buried--I suspect--under the mess of toys, books and other debris in Charlotte's bedroom/toyroom/storeroom. Time for a cleanup. But not today. The weather is too nice this weekend to waste on a cleanup.

So this post maybe continued again

Wednesday, August 19, 2009

Macro/micro and moth antenna



The camera club I belong to--CPM aka The Center for Photography in Madison--has moved downtown. After the last meeting in the old headquarters, I noticed that among the packing boxes there was one labeled 'Free.' Which happens to be my favorite price when it comes to photo equipment.

After checking with the club president that 'Free' really meant free, he told me "Take the whole box if you want " A strong hint since he was about to lock up. So the box and I went home.

Among the junk, and there was a lot of junk, I found a 2x neutral density filter and an Expodisk for setting a custom white balance. They will end up in my camera bag once the adapter rings I ordered from e-bay arrive. One thing I've learned about free stuff, you have to spend money to make it useful.

I also found a busted Minolta film camera with three lenses--a 28mm, 50mm and 135mm. Normally the lenses would have ended up in the busted junk pile. Minolta lenses won't mount on my Nikon and if they did they wouldn't focus properly since the sensors of the two brands aren't the same distance from the mounting flange. But since I'm now doing macro/ micro photography the 28mm lens might be an excellent find.

In an earlier post I mentioned that to closeup purist, macro photography meant your magnification went from 0.1 X (1:10) to 1X (1:1) and micro photography meant it went from 1X (1:1) to whatever magnification you could get away without using an electron scanning microscope.

{You may see the numbers in brackets on a macro lens's spec sheet. A run of the mill macro zoom should reach 1:4. Better and more expensive lens can reach 1:1. To go beyond that into the larger than life size micro mode you usually need extension tubes or other accessories.}

Until I read up on macro/micro photograph I believed the difference between macro and micro was more or less arbitrary. Even more arbitrary was the rule that the size of your bug image on the film or sensor determined whether it was life size or not. Maybe in the film age when you could hold up a slide and see the image the rule made sense. But in the digital age? My D60 sensor might be just under an inch long but I will be looking at the image on a 21 inch monitor .

But there is a bit more science behind that rule than I first thought.

In normal photography the cute girl you are photographing and the tree behind her are far larger than the image in the camera. But when as you move in closer and closer into the world of closeup and then macro photography the size difference become smaller and smaller. Finally you hit the magic 1:1 magnification where interesting things happen.

For starters your camera and your bug will never be closer. The distance between bug and sensor will be 4 times the focal length of your lens (plus or minus any fudge factor caused by principle planes). And that is where it makes major sense to flip the lens and mount it backwards.

Why? With anything except a totally symmetrical lens--identical glass on either side so the two principle planes overlap smack in the center of the lens assembly (not a very useful design)--there is always a good way and a not so good way to arrange your lens elements. While the focal length and image size might end up the same, the aberrations are different.

Anyone who has every looked at a cut out drawing of a modern camera lens's innards knows there is nothing symmetrical about them. Unless you are dealing with a specialize lens--a microscope objective for instance--lenses are always designed to image big things down on to little sensors. Once you start imaging things the opposite way the aberrations can go bad rapidly

So a reversed 28mm lens looked promising. It's 55mm filter threads screwed directly into the mount on my new bellow. For once I didn't have to spend money to use this free-be. And since the shorter the focal length of the lens the more magnification I get per mm of extension, I pulled out my trusty machinist rule to see what the lens gave me- 1/8 of an inch (3mm) visible in the viewfinder. A magnification of 8X (1:8)--now we are cooking.

But what quality of magnification? I had been using 3D flower samples, Queen Anne's Lace, because there is a field full of them behind the house. But because of the DOF and focusing accuracy problems these didn't work all that well at 4X. (See last post for details) At 8X the problems would be worse.

I needed a 2D target with precision detail. But what? In the past I'd used precision targets for testing microscope resolution limits but those babies went for big bucks. Needed to find myself a flat sample with a full range of detail

Then Charlotte came for a visit. We pulled out her new macro/micro equipment--precision optics by Mattel by way of Goodwill.

This jogged a few memory cells. Stashed away somewhere was a box of prepared microscope slides. Once found Charlotte and the dolls did their brand of science while I selected my sample-a section of a moth's antenna.

(to be continued)

Wednesday, July 22, 2009

And the Ribbon for Best Lens Goes to----

---I can't make up my mind.

When I started this blog entry several days ago I was certain I knew the answer.

I wrote: "---the 35ish year old Canon f1.4 50mm lens--even if it did trip me up a few times before I figured out its quirks. "

I had traced the most confusing of the quirks to a little catch hidden under the lens's locking ring. If I accidentally twist the locking ring and release the catch, it limits how far the iris can close. The iris adjusting ring turned freely and it might say f16--the limit on the lens-- but the opening stops at where the iris happens to be when I accidentally trip the catch

While I'm sure this enables some neat function when the lens is mounted right side up on a proper camera, in macro work the depth of field--the height where everything is in reasonable focus-- is proportional to the iris opening, So why did one set of images look sharp when the next set look so... You get the idea. A strip of tape fixed that problem but it took a while to figure out what was going on.

A second quirk was caused by a second catch. It is spring loaded and keeps the iris open on my old FTb Cannon camera until I press the shutter. In theory, easily fixed by a rubber band. In practice, not so easily fixed since there was no good place to hook the other end and still be able to adjust the stage up and down. Took a trip to the hardware store before I could kluge up an attachment rod that moved up and down with the stage.

That is where I ended several days ago. I would have have written a few more lines and published the blog if there hadn't be one other mystery to work out. The Canon lens imaged 4.5 mm on the 24mm long sensor for a magnification of 5.3X while the Nikon lens imaged a little less than 6mm for a magnification of 4.1X. Another clear advantage to the Canon-- but why? Both were 50 mm lens. Using geometric optics formulas it shouldn't have made any difference--50mm is 50 mm period.

But real world didn't line up with theory. Which meant it had to have something to do with the principle planes.

What are principle planes? you must be asking.

Today you would use a computer to trace all light rays needed to calculate a magnification through the series of glass (and sometimes other materials) lens elements that make up a camera lens. Before computers and with more effort you could do the same calculations with a hand calculator. Before calculators and with much much more effort you would use a slide role--the precision machined five foot long version that came complete with its own magnification optics so you could extrapolate between the lines for the necessary accuracy. Before that you would have used a book filled with tables of sines, cosines, tangents and logarithms, plus paper and goose quills.

Sometime near the end of the goose quill era someone came up with the idea of principle planes. With them you could use the simpler formulas of geometric optics that Issac Newton and Carl Friedrich Gauss devised--formulas showing where you would find an image of a candle flame and how big it would be.

With a single symmetrically convex spherical lens-- one with the same amounts of glass ground off on either side and one of the easiest lens to grind--the two principle planes are together in the middle of the lens. With a plano convex lens with one flat side and one strongly curved side, the planes separate. One is against the flat side; the other is at the tip of the curved side. Add another lens element to make a doublet and you can calculate another set of principle planes. Add a third element... and so on. Add certain combinations of lens element and the principle planes don't even end up near any of the glass elements. Like in a telephoto lens. One of its principle planes to floating in space somewhere in front of its lens barrel.

At this point, "So what" and "Why should I care," are valid thoughts.

In normal photography you wouldn't care--the reason you won't find principle planes in the index of most how-to-photography books.

But with micro photography--bigger than lifesize photograph-- it's different. Take a lens. Measure the distance from its front principle plane to your bug's eye--z mm. For a magnification of 10X do the simple calculations. Distance from from the second principle plane to the camera ccd =10z. Oops. Your 300mm telephoto lens is not going to work. 10z puts your camera through the ceiling and into the girl's upstairs bedroom.

But enough with the handwaving theory and back to real world.

I worked out the position of the principle planes of the Nikon 50 mm using the fact that for 1/1 magnification the distance between the object--a machinist rule-- and the sensor must be 4X the focal length (8 inches) plus any separation of the principle planes. Measured out to be 8 1/16 inches. That lens is clearly symmetrical with the principle planes at the center of the lens

With the Canon lens it was different. One principle plane was close to mounting flange, the other plane was about a inch farther up in the lens. Another clear advantage for the Canon lens--20% more magnification. But during these tests, I came to realize what I took for lower lens resolution was less than perfect focusing. Three dimensional flowers might be more photogenic than lens charts but they aren't ideal for resolution comparisons.

A super cheap resolution chart would be a fresh flower pedal with interesting detail held flat to a card with double sided sticky tape.

But first I had to work out a major problem with the Nikon lens--a major lens flare in the center of the image. How had I managed to miss that earlier?

Turns out that earlier I'd mounted the camera, extension tubes, bellows and lenses in that order. This time I had the bellows above the extension tubes. When I flipped them the glare spot disappeared. Bellows folds make excellent baffles for stray light.

Summery of what I've learned-- I better have my technique down pat before I blog about lens comparisons. And good macro/micro photograph is both science and art.

Where do I go from here? Despite how it might look, I dud take some non-macro pictures recently. Like about ten gigabytes worth this weekend. Butterflies and kids looking at butterflies at Olbrick Gardens on Friday. Circus World and a Wild West reenactment on Sunday. RAW images and burst modes can fill up memory cards quick.

So it might be a while before I'm blogging again about macros. But it will happen.