Tuesday, May 01, 2007
Small things and the limits of cameral equipment
One of these macro issues I've just found out about is diffaction effects at small aperture settings. Here's a great article on the subject. Wikipedia has a nice article on part of the theory behind the issue. Essentially, the smaller the aperture allowing light to pass from the lens to the sensor or film, the more likely individual waves of light are to overlap with each other, creating fuzziness in the image. Other variables involved include the size of the sensor, the size of the individual sensor receptors, and the focal distance. Of course, the quality of the lens passing light to the sensor is an important factor as well. People say that one should be able to take good photos no matter what equipment one is using. This is true to a certain extent, of course. I am very happy with many photos taken with my previous non-SLR camera. However, smaller sensor size, smaller aperture, less sharp optics, and the inability to use flash made getting a sharp picture more difficult. The page I linked to above has a nice calculator that lets you figure out how small you can set your camera's aperture before diffaction effects manifest themselves. My camera at macro focal distance apparently can be set up to f14 or f16.
Availability of light is another issue with any photography. For my macro photographs when not in bright sunlight I've started to use my on-camera flash with a homemade diffuser at the end of the lens cut from a vinegar bottle. Unfortunately, with flash, the camera seems to want to set shutter speed to 1/60 second. At this speed motion blur can be an issue. I will try experimenting with setting ISO level to 400 or 800, seeing what using a wider aperture does, and when I am confident enough, setting shutter speed manually as well.
Another always-present issue with macro photography is the very shallow depth of focus one must deal with, also known as depth-of-field. Another nice page on the diffraction effects site (cambridgecolour.com) deals with depth-of-field. A nice calculator is included on this page as well that allows depth-of-field for varying focal lengths, subject distances, apertures, and camera sensor sizes to be estimated. At f16 I should get about a 5mm depth-of-field. At f14 I should get about 4.5mm. This means that taking a photo head-on of a 7mm ant at most 4 to 5 mm of the subject will be in sharp focus. Focusing at such close distances is tricky, so one often gets a situation where sharp focus begins a bit in front of the subject, so one might only get 2 or 3 mm of sharp focus. This explains why one sees lots of side-shots or top-shots of macro subjects. The area of interest all falls within the depth-of-field focal range for these shots.
Sunday, April 29, 2007
Mid swing
I took several shots of Nancy swinging from a vine at St. John's Conservation Area, having fun and reliving childhood memories. She and I both like this shot. She told me not to crop it. On reflection I agree.
Using Flash
Ok, I admit now that flash is useful in macro work. I had been one to poo-poo the use of flash. Perhaps this was doe to having seen too many over-lit photos. The other day out of curiousity I decided to find out what I could get out of the built-in flash for my Nikon D50. By itself, with lens extended all the way I got a shadowed section on about 20% of the photo where the flash could not reach. So, I rigged up a diffuser using a cutout from a vinegar bottle. It diffuses, of course, and also sends the light down where the onboard flash would otherwise be blocked. I've found that it works well to warm up my photos without being harsh. It also to allows me to freeze action and thus get better detail on my macro shots.
There are two funnel spiders in our basement, a male and a female. The male hangs out at the entryway to the funnel and the female hides inside. Nancy saw the male this afternoon and wanted to kill it. Janneke loved it, as did I. Without flash it would have been impossible to photograph in our basement. However, with the flash and diffuser, I took some pictures. At this point Janneke decided she wanted to feed the spider. She found a wood louse and we put it by the lair. That's when we saw the female for the first time, emerging from the funnel web. The male kept his distance and absolutely ignored the food. He obviously only wanted to mate. The female grabbed the louse and quickly retreated with it to the funnel. She also did this with some Milkweed Bugs we gave her too.
Wednesday, April 25, 2007
Descending
Here's an ant going down the other side of an obstacle. Amazing ability to traverse terrain. Looking at this one, you can see that ants are well designed for strength. It's body is rigid and its legs provide great leverage. Just amazing.
Alone
One of my best insect photos. This ant was pausing at the crest of a plant branch before beginning her descent. Standing at the crest of a hill and looking over the horizon is something that people can identify with. The sky was overcast when shooting this photo, so glare is reduced, both on the ant and the succulent plant that in sunlight produces lots of points of glare.
Investigating
I like this shot. To get it I lay flat on the ground and had the lens pretty much parallel to the ground. The ant's head is in focus and her antennae are outstretched, indicating, I think, investigation. It's amazing what can be done with six legs, pheromones, and a finely honed neural network. It's also amazing how much one comes to love and respect small creatures that one would tread on for fun as a child. My father stopped me from doing this one day when I was about seven I think. He told me that the ants in the hill I was obliterating were living things and deserved respect. This has stayed with me.
Investigating
Here's one of my recent ant pictures, taken with the new Nikon D50, and just as importantly, a 60mm Micro Nikkor AF lens. I'm sure I will take many more photos, some of which will be better, but I like the action in this one. These ants were congregating around a wilted flower and dead midge. The midge was eventually carried away. All of my ant shots so far, except those taken on a cloudy day, have driven home how useful a polarizing filter would be in reducing glare. So, I ordered one today, a B+W 62mm polarizer. It's a good one, made in Germany. Within limits, my philosophy is to purchase good quality things, spending a bit more to get something that will be more useful in the long run. I applied this philosophy to my polarizer puchase, paying $50 instead of $25 for a multicoated polarizer with brass ring mount rather than an uncoated one with an aluminum mount.
Monday, January 08, 2007
The Mac
I have an IMac now. It's a 20" one with a 250 gig hard drive, 2 gigs of ram, and a nice dual core 64 bit processor. From a hardware point of view I'm very pleased with it. From most points of view I'm pleased with it. Here a a few things that I notice, coming from Linux:
Lack of a unified package management system - Managing core aplications is a breeze. They're represented by litle icons but are really directory structures containing all needed files and resources. Just drag to wherever you want them to run from or run them from where they are by double clicking on them. Managing non-core things like Perl libraries is not so neat and tidy. Perl comes with the system, but CPAN itself does not in and of itself manage uninstalling. The berkley ports system, called macports, not surprisingly, is available. It is very good, but duplicates things like perl. So you are left needing to keep track of what is managed by what. Core compiler and other development stuff is updated by Apple. Java is updated by Apple. Apache 1.3 comes with the system and is integrated nicely into the preferences panel. If you want Apache 2 you can use macports to install, uninstall, update, etc. it. The same pretty much goes for anything else. I find myself being a bit on my toes all the time as I wonder whether or not I'm using the right system. This is about how I feel on Linux installing something from source that is spread all around the place.
Apple's desire to push products - Apple has a nice (I suppose) email, contact, and storage service called .Mac. Want to share contacts between users on the same computer? Use .Mac, family edition (really an ldap service). The same goes for things like common storage for things like photos or video. Each user's resources are kept on their own. Sharing, with all of the permissions issues that go along with that, is a more complicated and freelance activity not spelled out at all by Apple because they would allow you to avoid .Mac or some other server product. I am technically sophisticated enough to figure out how to set permissions up so that such file sharing will work, but this sort of thing should be built in. As far as I can tell, openldap can be installed easily enough using macports, but there is precious little help from Apple in getting the needed schemas set up so that it can work properly as a .Mac address book replacement.
Too many modifier keys - The bloody apple key is cute and all but ends up adding another modifier to keep in mind when trying to figure out how to do something like select a word or a paragraph when coding or composing a document. Makes me thing of the gymnastic requirements of emacs usage. I'm sorry, but although I am sure there are indeed useful things one can use the apple key for, mostly I find it adds a complexity multiplier. Apple is famous and appreciative for a less-is-better approach in its design. The apple key works against this. Perhaps I'm not "apple" enough yet. It was probably more useful to allow pseudo right-clicking back when Apple only had one button mice (because they were more simple, I suppose, but holding down a key when clicking to simulate a right-click seems to me to be cheating).
Beyond these gripes I am impressed with the excellent indexing and searching capabilities built right into most applications, the usefulness of a truly shared address book, the general way that things just work without trying to tell you all the details like a proud dog, the way applications icons bounce helpfully to tell you, for instance, that an IRC or IM message awaits, that a file is downloaded, and the prettyness of it all. The wide screen real estate is a huge luxury. Using the built in remote to trigger the theatre application is fun and useful. Fast user switching means that my wife and daughter get to share the computer easily. The office suite is good and was much cheaper than office. The list of happy points is long. Most of my gripes are those of someone being able to manage things well in a debian-based linux system. If Apple embraced an integrated the macports system I'd be impressed and happy.
Thursday, November 16, 2006
Sitemaps protocol no longer just for Google
Here's what Netcraft says about the site:
http://www.sitemaps.org was running GWS on unknown when last queried at 16-Nov-2006 08:56:49 GMT
Wednesday, November 15, 2006
AJAX and web crawlers/advertising
I'm thinking about all of this in the context of setting up a site that needs to be indexed properly by Google in order for Adsense to work properly. I'm leaning toward the route of having an entry point for web crawlers and another one for the application with exactly the same core content visible on both. The web crawler content would be optimized to provide maximum meta data and minimum extraneous bulk. I'm leaning to this solution because I am intruiged by the Google Web Toolkit and its ability to be used to build a content-rich site. Of course, I'd have to get a half-decent development machine to do this as well since the GWT uses a model whereby the application moves from a Java one in development to a JavaScript on at deploy time. The Java/Eclipse/etc. part is pretty resource intensive methinks.
Monday, November 13, 2006
Two bug firsts
The other is a sap feeding beetle. This one was on a moon flower in our neighbour's small but wild front yard.
Wednesday, November 01, 2006
Ladybug takes flight
I've not taken photos of bugs since May, but while camping at Selkirk Provincial Park I got this fluke shot of a ladybug taking flight from my thumb.
Wednesday, September 20, 2006
A Java vs. Ruby example
Here’s the Ruby equivalent// Now extract all multi-word keywords delimited by spaces
// but not surrounded by quotes
p = Pattern.compile("\"(.*?)\"\\s*");
m = p.matcher(keywordString);
sb = new StringBuffer();
while (m.find()) {
// Get previous match and add it to the keywords list
String kw = m.group();
if (! "".equals(kw)) {
kw = kw.trim().replaceAll("\"", "");
keywords.add(kw);
}
// remove the current match from the string
// and thus from consideration
m.appendReplacement(sb, "");
}
m.appendTail(sb);
keywordString = sb.toString();
keywordString.gsub!(/\\"(.*?)\"\s*\/) {keywords << $1.strip}It’s not the lines of code (although the Ruby code is 1/3 the size) that I notice so much as the unintuitive Java API. appendReplacement? What’s that? Verbosity does not add clarity to the Java and the lack thereof does not detract from clarity for Ruby.
Saturday, August 26, 2006
OpenID
The business model for providing and managing OpenID accounts does not seem to be that promising if that's all one is providing. The API is public and client and server libraries are available in a number of programming languages. One would need to use account management as a way to gain credibility for an identity management consulting business or add extra services on top of the base account management. claimid.com is doing this (or will be once they're out of beta). They seem to want to offer a way for people to point to various urls about the 'net and say "this is mine or about me". They also offer the ability to register other OpenID urls with their site which can be verified by them (the OpenID api allows for this).
In any case, I've installed and gotten running the Ruby version of OpenID. It's available as a gem, which I can't install easily on my non-root-access account. I've thus put all openid libraries under the lib directory of my rails application. This works pretty well. The sample openid_login generator is found and thus can be installed if one puts it in one's ~/.rails/ directory. openid_login.
One gold rush identity management system I'm not crazy about is i-name. i-names can look like "=ian.marsnan" for a personal i-name or "=@myorg*ian.marsman" for a person at an organization. I'm not crazy about this setup because the going rate to register an iname is twenty bucks US. For this, one gets more control over who you give what personal info to. However, OpenID has the ability to create profiles and choose which profile to give to a site that's requesting permission to access one's identity. i-name is an api designed by rather large organizations. OpenID is more grass roots, although Verisign is on the standards committee. Who knows how things will pan out. Both offer the hope of single sign-on. i-name seems more targetted at uses for businesses like corporate identity management and online banking signon authentication. It's a big topic and I'm starting to wander. At the moment all I want is a way to offload user signup management and give people a way to avoid adding my site as another to keep membership track of.
Wednesday, May 31, 2006
DIGITAL MAOISM: The Hazards of the New Online Collectivism
The beauty of the Internet is that it connects people. The value is in the other people. If we start to believe the Internet itself is an entity that has something to say, we're devaluing those people and making ourselves into idiots.The trick is to allow people to have a say and interact while preserving the individual. The article's not a slam against algorithms or Wikipedia, but rather a call to carefully consider how peoples' individual and collective wisdoms can best be used without wiping each other out.
Friday, March 10, 2006
Potential calendar problem in Java!
int remainder = new Double(What about Ruby's
Math.IEEEremainder(
new Double(i).doubleValue(),
new Double(startMonth).doubleValue())/12
).intValue();
(27 % 12).to_iIf that's syntactic sugar I'll risk the cavities.
Tuesday, February 14, 2006
Letter to the Discovery Channel
Thursday, January 26, 2006
Chandler is coming along
Wednesday, December 21, 2005
The recent White House wiretap affair and technology
The ars technica article points out that for all its technological beauty, the system being pushed is not one likely to notice only criminals. It is very likely that a machine-driven system will end up flagging lots and lots of non-criminals as potential terrorists or drug dealers or whatever. Once flagged by a beaurocracy, especially one that loathes oversight and transparency, one is always suspect. We seem to be swimming farther and farther into dangerous waters with very little thought to the implications of our actions. The love of technology instead of thoughtful human insight is not only an American problem. Perhaps they are the early adopters. Perhaps Canada's spies are even less accountable than ours. Perhaps the US system is more leaky or more transparent. The point is that as long as we undervalue human judgement and insight and the checks and balances that keep us free from tyrrany and overvalue technology, we are at risk.
Update: Josh Marshall comments on this as well
From a technological point of view there's not really much outlandish about this at all. This is just the sort of thing the NSA is in the business of doing overseas. But you can see how this would just be a non-starter for getting a warrant. It is the definition of a fishing expedition.May I submit that wholesale eavesdropping on people around the world is outlandish, especially if it's done with minimal oversight. The bigger the machine the bigger its appetite and the more likely it will turn on its creators.
Friday, October 21, 2005
Testing Flock Blog editor
Well. Here goes. Downloaded the preview release of the Flock browser and am testing it out. Uses de.licio.us to store bookmarks and hooks into blogging. We'll see how revolutionary it is.
Monday, August 22, 2005
Be-pollened Eastern Carpenter Bee
Latin name: Xylocopa virginica
Bees are busy and difficult to photograph. I did however manage to get get this side profile of an Eastern Carpenter Bee covered with a remarkable amount of pollen.
Phidippus clarus female hiding out on Parsley leaf
Green Bottle Fly on Sweet Pea flower
Jumping spider - Sitticus sp.
Red-banded Leafhopper
Green Bottle Fly on paving stone
Latin name: Phaenicia sericata
I am not normally a fan of flies, but yet I keep on taking pictures of Green Bottle Flies. It's the irridescence. Looking at them face-on is not pretty, I think because they have indentations similar to those one might see on a human skull. Of course, the fact that they start out as maggots in rotting flesh can be off-putting. In any case, horrid or not, this fly was grooming himself on the lovely walkway through our garden when I took its photo.
Since she's gotten new grandkids my mother simply refuses to use cool shots like this as her computer wallpaper. Imagine!
Thursday, August 11, 2005
Long-jawed Orb Weaver on reeds
New
Latin name: Tetragnatha sp.
I re-edited a shot of a female Long-jawed Orb weaver on some bent reeds to bring out the colour more (I blogged about it before). Now the colour is warmer, reminding me of how things look on moist, overcast days. What a spider!
Platycryptus on windshield
New (colour adjusted)
Latin name: Platycryptus sp.
Last night I used the GIMP to do more clean up an image I'd already posted to Flickr. The challenge was to reduce the visual influence of the blueness of the windshield on which the spider stands. The spider, thankfully, did not have any natural blue colouration, so turning down blue and magenta saturation accomplished this goal quite well. This allowed the subject to become much more visible relative to its background. Secondarily, I found that the Gimp allows one to define white and black reference colours in its colour spectrum selector tool. Doing this had the effect of removing a blue cast on the spider's white hair that I hadn't noticed earlier. It seems the camera's electronics where overwhelmed by the blue background and added the cast. In addition to removing the cast, the black/white baseline choosing made the whole picture more clearly defined.
I'm glad I've discovered the black/white baseline setting capabilities of the GIMP. It should help make my images much more attractive. I'm sure Photoshop does this very very well too. However, it costs $500.
Monday, August 08, 2005
Male Black and Yellow Argiope
Latin name: Argiope aurantia
This male Black and Yellow Argiope was literally hanging around above a female in her web, waiting patiently to mate. The female is visible here as the earth is visible to an orbiting satellite. One can see the male transferring some sperm to his palps. I read that males of this species die at the end of mating to inhibit other males from getting at the female. After resting for about twenty minutes the female will pick the male off and eat him, but but that time it's too late for other males.