<?xml version='1.0' encoding='UTF-8'?><rss xmlns:atom='http://www.w3.org/2005/Atom' xmlns:openSearch='http://a9.com/-/spec/opensearchrss/1.0/' version='2.0'><channel><atom:id>tag:blogger.com,1999:blog-7257927425802325522</atom:id><lastBuildDate>Tue, 09 Sep 2008 13:15:42 +0000</lastBuildDate><title>Faceman Photography</title><description></description><link>http://www.pearsonfaces.com/fpsurgeon/faceman-photography.html</link><managingEditor>noreply@blogger.com (David C. Pearson, M.D.)</managingEditor><generator>Blogger</generator><openSearch:totalResults>4</openSearch:totalResults><openSearch:startIndex>1</openSearch:startIndex><openSearch:itemsPerPage>25</openSearch:itemsPerPage><item><guid isPermaLink='false'>tag:blogger.com,1999:blog-7257927425802325522.post-4649260135775811453</guid><pubDate>Sun, 04 Nov 2007 02:17:00 +0000</pubDate><atom:updated>2007-11-03T20:16:50.415-07:00</atom:updated><category domain='http://www.blogger.com/atom/ns#'>high dynamic range</category><category domain='http://www.blogger.com/atom/ns#'>HDRI</category><category domain='http://www.blogger.com/atom/ns#'>light probe</category><category domain='http://www.blogger.com/atom/ns#'>Cheetah 3D</category><title>DIY Light Probes and Cheetah 3D</title><description>Well, I recently came across a terrific 3D app for Mac OS X called &lt;a href="http://www.cheetah3d.com" target="_blank"&gt;Cheetah 3D&lt;/a&gt;. I'm still playing with the demo mode, but I've long been intrigued with a rendering technique called &lt;a href="http://www.debevec.org/Research/LS/" target="_blank"&gt;image-based lighting&lt;/a&gt;, where a "light probe" image is used to render ultra-realistic lighting of a 3D model. Cheetah 3D supports image-based lighting with light probes so I thought I'd check it out.&lt;br /&gt;&lt;br /&gt;A light probe is really nothing more than a mirrored sphere, since such a sphere is capable of capturing (nearly) 360 degrees of a scene both vertically and horizontally. But in order to be maximally useful, &lt;span style="font-style:italic;"&gt;the probe image must capture the full dynamic range of the light in the scene&lt;/span&gt; (i.e., it must be a high dynamic range image or HDRI). Photoshop CS3 and CS2 have no problem merging multiple exposures of a photograph into a 32-bit HDRI, so this is the software I chose to use.&lt;br /&gt;&lt;br /&gt;The source of the light probe couldn't be simpler or cheaper: a 7.5 inch diameter plastic giant Christmas ornament from &lt;a href="http://www.target.com" target="_blank"&gt;Target&lt;/a&gt; for $2.50. And even though the geometry of the probe is somewhat iffy, it works absolutely beautifully. Here's a very quick How I Do It on making your own HDRI light probe images for use in 3D software such as Cheetah 3D and many others:&lt;br /&gt;&lt;br /&gt;1) Mount the light probe on a stick and place it in the scene. Here I've simply duct taped it to a bamboo stake we had handy Being a giant Christmas ornament, it had a little nub on it for the tree hanging part. [My wife is standing in as my trusty model in our backyard earlier this evening.]:&lt;br /&gt;&lt;br /&gt;&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://www.pearsonfaces.com/fpsurgeon/uploaded_images/wife-with-light-probe-789909.jpg"&gt;&lt;img style="display:block; margin:0px auto 10px; text-align:center;cursor:pointer; cursor:hand;" src="http://www.pearsonfaces.com/fpsurgeon/uploaded_images/wife-with-light-probe-789906.jpg" border="0" alt=""&gt;&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;2) Take a series of bracketed photos of the sphere to cover the whole dynamic range of lighting present. Tips: mount the camera on a tripod far from the ball and use a long telephoto lens to keep yourself as small in the reflection as possible so as to be almost invisible.&lt;br /&gt;&lt;br /&gt;&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://www.pearsonfaces.com/fpsurgeon/uploaded_images/light-probe-component-image-725104.jpg"&gt;&lt;img style="display:block; margin:0px auto 10px; text-align:center;cursor:pointer; cursor:hand;" src="http://www.pearsonfaces.com/fpsurgeon/uploaded_images/light-probe-component-image-725101.jpg" border="0" alt=""&gt;&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;3) Merge the photos to an HDR image in your favorite HDR software (e.g., Photoshop CS2/3, Photomatix, etc.):&lt;br /&gt;&lt;br /&gt;&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://www.pearsonfaces.com/fpsurgeon/uploaded_images/merge-to-HDR-708738.jpg"&gt;&lt;img style="display:block; margin:0px auto 10px; text-align:center;cursor:pointer; cursor:hand;" src="http://www.pearsonfaces.com/fpsurgeon/uploaded_images/merge-to-HDR-708736.jpg" border="0" alt=""&gt;&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;4) Keep the image as a 32-bit HDR file, but if you're gonna use it in Cheetah 3D, be sure to flip the photo horizontally to get accurate reflections.&lt;br /&gt;&lt;br /&gt;5) Trim it down to a sphere with cropping tools and save it as a Radiance image (.hdr file extension):&lt;br /&gt;&lt;br /&gt;&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://www.pearsonfaces.com/fpsurgeon/uploaded_images/example-light-probe-794331.jpg"&gt;&lt;img style="display:block; margin:0px auto 10px; text-align:center;cursor:pointer; cursor:hand;" src="http://www.pearsonfaces.com/fpsurgeon/uploaded_images/example-light-probe-794328.jpg" border="0" alt=""&gt;&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;6) Cheetah 3D can import native .hdr files like this in its HDRI render settings. Just be sure to set the image type to "probe" in the Cheetah 3D menu:&lt;br /&gt;&lt;br /&gt;&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://www.pearsonfaces.com/fpsurgeon/uploaded_images/HDRI-settings-785011.jpg"&gt;&lt;img style="display:block; margin:0px auto 10px; text-align:center;cursor:pointer; cursor:hand;" src="http://www.pearsonfaces.com/fpsurgeon/uploaded_images/HDRI-settings-785009.jpg" border="0" alt="" /&gt;&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;I won't go into all the details of using Cheetah 3D, but here's a quick demo movie of what can be done with these HDRI light probe images. Note the reflection of the probe droid in the rightmost sphere. The rightmost sphere is also rendered in Cheetah 3D and is strikingly similar to the actual photographed sphere in the scene:&lt;br /&gt;&lt;br /&gt;&lt;center&gt;&lt;br /&gt;&lt;object width="320" height="266" class="BLOG_video_class" id="BLOG_video-f1662dd50704a47e" classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=6,0,40,0"&gt;&lt;param name="movie" value="http://www.blogger.com/img/videoplayer.swf?videoUrl=http%3A%2F%2Fvp.video.google.com%2Fvideodownload%3Fversion%3D0%26secureurl%3DqgAAADjB7cieHmVEItu-JNF4-KJdHVzqAxtn8mLu_uLumpsQqm-ctdZ2yCTYvCT3fgn1ZC6xBp9ZnpX4l2M614baP8rfjEi9YVKCUr1rWUkCYxLqjx4FtMlXb6tU2IYLmy93iuNIyiujAVW1eijCp8doQf3sV-RO69VkfBOffY67Dh81U6EFaM9_8DJRW6PNtlHI8MYhJXDGjysC_aBBOtBH_aBHrDx7-vYgdIACKzYogHdA%26sigh%3DEuFv_NuCkUVUUJDhL_ozbzSceho%26begin%3D0%26len%3D86400000%26docid%3D0&amp;amp;nogvlm=1&amp;amp;thumbnailUrl=http%3A%2F%2Fvideo.google.com%2FThumbnailServer2%3Fapp%3Dblogger%26contentid%3Df1662dd50704a47e%26offsetms%3D5000%26itag%3Dw320%26sigh%3DuuCz_EWITZ93RMBaJK8-xBzZ1UA&amp;amp;messagesUrl=video.google.com%2FFlashUiStrings.xlb%3Fframe%3Dflashstrings%26hl%3Den"&gt;&lt;param name="bgcolor" value="#FFFFFF"&gt;&lt;embed width="320" height="266" src="http://www.blogger.com/img/videoplayer.swf?videoUrl=http%3A%2F%2Fvp.video.google.com%2Fvideodownload%3Fversion%3D0%26secureurl%3DqgAAADjB7cieHmVEItu-JNF4-KJdHVzqAxtn8mLu_uLumpsQqm-ctdZ2yCTYvCT3fgn1ZC6xBp9ZnpX4l2M614baP8rfjEi9YVKCUr1rWUkCYxLqjx4FtMlXb6tU2IYLmy93iuNIyiujAVW1eijCp8doQf3sV-RO69VkfBOffY67Dh81U6EFaM9_8DJRW6PNtlHI8MYhJXDGjysC_aBBOtBH_aBHrDx7-vYgdIACKzYogHdA%26sigh%3DEuFv_NuCkUVUUJDhL_ozbzSceho%26begin%3D0%26len%3D86400000%26docid%3D0&amp;amp;nogvlm=1&amp;amp;thumbnailUrl=http%3A%2F%2Fvideo.google.com%2FThumbnailServer2%3Fapp%3Dblogger%26contentid%3Df1662dd50704a47e%26offsetms%3D5000%26itag%3Dw320%26sigh%3DuuCz_EWITZ93RMBaJK8-xBzZ1UA&amp;amp;messagesUrl=video.google.com%2FFlashUiStrings.xlb%3Fframe%3Dflashstrings%26hl%3Den" type="application/x-shockwave-flash"&gt;&lt;/embed&gt;&lt;/object&gt;&lt;br /&gt;&lt;/center&gt;</description><link>http://www.pearsonfaces.com/fpsurgeon/2007/11/diy-light-probes-and-cheetah-3d.html</link><enclosure type='video/mp4' url='http://www.blogger.com/video-play.mp4?contentId=f1662dd50704a47e&amp;type=video%2Fmp4' length='0'/><author>noreply@blogger.com (David C. Pearson, M.D.)</author></item><item><guid isPermaLink='false'>tag:blogger.com,1999:blog-7257927425802325522.post-5359147578475270675</guid><pubDate>Thu, 10 May 2007 00:25:00 +0000</pubDate><atom:updated>2007-05-09T19:05:17.666-07:00</atom:updated><category domain='http://www.blogger.com/atom/ns#'>data recovery</category><title>Data Recovery with (free) PhotoRec in OS X</title><description>Imagine my horror when I went to process the photos on my memory card only to find that they were gone. And these weren't just any photos, but rather a day's worth of before and after photos of patients (in &lt;a href="http://www.pearsonfaces.com/pfps/aboutdcp.html" target="_blank"&gt;my real life&lt;/a&gt;, I'm a facial plastic surgeon).&lt;br /&gt;&lt;br /&gt;Now, "after" photos are one thing...patients could always come back for more picture-taking, even though many come from hours away. But "before" photos on patients treated later that same day can &lt;i&gt;never&lt;/i&gt; be re-shot, of course. So due to what I suspect was corruption of the directory structure, only the previous day's images were on the card.&lt;br /&gt;&lt;br /&gt;Now, since I had reviewed the photos on the camera back when I shot them, I suspected that the data was still there, just inaccessible through either the camera's interface or my computer's OS. So I started scrounging the web for memory card photo recovery utilities when I came across a little gem called "&lt;a href="http://www.cgsecurity.org/wiki/PhotoRec" target="_blank"&gt;PhotoRec&lt;/a&gt;"..and it was &lt;b&gt;freeware&lt;/b&gt;!&lt;br /&gt;&lt;br /&gt;Sure, I found a freeware app called "EXIF Untrasher," but it only recovered JPEGs, and I shoot in RAW. And there were a few nice shareware and commercial apps like "&lt;a href="http://www.datarescue.com/photorescue/v3/index.htm" target="_blank"&gt;PhotoRescue&lt;/a&gt;" ($29.00) and "&lt;a href="http://ecamm.com/mac/cardraider/" target="_blank"&gt;CardRaider&lt;/a&gt;" ($19.95) that can recover RAW, but I wanted something FREE and PhotoRec fit the bill.&lt;br /&gt;&lt;br /&gt;Now, granted, the pay apps have nice GUIs while PhotoRec runs in the UNIX shell in a text-based interface, but it requires little interaction and gets the job done. It also runs on just about any common OS platform from &lt;a href="http://www.apple.com/getamac" target="_blank"&gt;Mac OS X&lt;/a&gt; to Windows to Linux to Solaris, etc. Most importantly, it also &lt;b&gt;recovered the entire card of RAW files&lt;/b&gt; including some I thought I'd gotten rid of ages ago.&lt;br /&gt;&lt;br /&gt;Here are the simple steps to running this under Mac OS X (FWIW, photos on the card were shot in Canon RAW and camera's CF card was mounted via a card reader under Mac OS X 10.4.9):&lt;br /&gt;&lt;br /&gt;(1) Download PhotoRec v6.6 &lt;a href="http://www.cgsecurity.org/wiki/TestDisk_Download" target="_blank"&gt;here&lt;/a&gt;. Don't worry that it's also a download for an app called TestDisk, which I haven't played with (yet).&lt;br /&gt;&lt;br /&gt;(2) Uncompress the file testdisk-6.6.darwin.tar.bz2 &lt;br /&gt;&lt;br /&gt;(3) Inside the folder that results, you will find a folder called "darwin" that contains the UNIX executable called (unsurprisingly) "photorec".&lt;br /&gt;&lt;br /&gt;(4) Double-click photorec to launch it into the terminal and here's what you'll see:&lt;br /&gt;&lt;br /&gt;&lt;a href="http://www.pearsonfaces.com/fpsurgeon/uploaded_images/using-photorec/photorec01.jpg"&gt;&lt;img style="display:block; margin:0px auto 10px; text-align:center;cursor:pointer; cursor:hand;width: 400px;" src="http://www.pearsonfaces.com/fpsurgeon/uploaded_images/using-photorec/photorec01.jpg" border="0" alt="" /&gt;&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;(5) Select the volume that represents your memory card and hit return to Proceed. In this case, /dev/disk1, is what we want.&lt;br /&gt;&lt;br /&gt;(6) At the next screen, which looks like this:&lt;br /&gt;&lt;br /&gt;&lt;a href="http://www.pearsonfaces.com/fpsurgeon/uploaded_images/using-photorec/photorec02.jpg"&gt;&lt;img style="display:block; margin:0px auto 10px; text-align:center;cursor:pointer; cursor:hand;width: 400px;" src="http://www.pearsonfaces.com/fpsurgeon/uploaded_images/using-photorec/photorec02.jpg" border="0" alt="" /&gt;&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;select the partition table, which should be fine at the default setting of "Apple partition map" and hit return to get to this screen:&lt;br /&gt;&lt;br /&gt;&lt;a href="http://www.pearsonfaces.com/fpsurgeon/uploaded_images/using-photorec/photorec03.jpg"&gt;&lt;img style="display:block; margin:0px auto 10px; text-align:center;cursor:pointer; cursor:hand;width: 400px;" src="http://www.pearsonfaces.com/fpsurgeon/uploaded_images/using-photorec/photorec03.jpg" border="0" alt="" /&gt;&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;(7) "Search" will be highlighted. Hit return to start file recovery and you'll see this:&lt;br /&gt;&lt;br /&gt;&lt;a href="http://www.pearsonfaces.com/fpsurgeon/uploaded_images/using-photorec/photorec04.jpg"&gt;&lt;img style="display:block; margin:0px auto 10px; text-align:center;cursor:pointer; cursor:hand;width: 400px;" src="http://www.pearsonfaces.com/fpsurgeon/uploaded_images/using-photorec/photorec04.jpg" border="0" alt="" /&gt;&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;(8) "Other" should be highlighted and should work just fine (or at least it does for me with my setup). This will take you to the last step where you select what directory to recover to, in which case the default folder should be fine. Just select "Y" at this screen:&lt;br /&gt;&lt;br /&gt;&lt;a href="http://www.pearsonfaces.com/fpsurgeon/uploaded_images/using-photorec/photorec05.jpg"&gt;&lt;img style="display:block; margin:0px auto 10px; text-align:center;cursor:pointer; cursor:hand;width: 400px;" src="http://www.pearsonfaces.com/fpsurgeon/uploaded_images/using-photorec/photorec05.jpg" border="0" alt="" /&gt;&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;It will then start processing your memory card and saving what it finds to a folder called "recup_dir.1"&lt;br /&gt;&lt;br /&gt;(9) Sit back or go make a sandwich and come back to a folder full of recovered files (hopefully)...which in my case meant a dozen patients' photos perfectly pulled from the digital ashes. &lt;br /&gt;&lt;br /&gt;Anyway, it ain't a pretty app and it's not for the faint of heart or those uncomfortable with the Terminal, but it worked beautifully for me (and my patients). Whew!...</description><link>http://www.pearsonfaces.com/fpsurgeon/2007/05/data-recovery-with-free-photorec-in-os.html</link><author>noreply@blogger.com (David C. Pearson, M.D.)</author></item><item><guid isPermaLink='false'>tag:blogger.com,1999:blog-7257927425802325522.post-7182805534851060022</guid><pubDate>Sat, 14 Apr 2007 18:31:00 +0000</pubDate><atom:updated>2007-04-14T20:05:47.436-07:00</atom:updated><category domain='http://www.blogger.com/atom/ns#'>photoshop action</category><category domain='http://www.blogger.com/atom/ns#'>photography</category><category domain='http://www.blogger.com/atom/ns#'>hot pixels</category><category domain='http://www.blogger.com/atom/ns#'>dark frame</category><title>Better "Dark Frame" Subtraction in Photoshop</title><description>Night photography brings with it a number of unique challenges (not the least of which is tripping over your gear in the dark), but one such nuisance are so-called "hot pixels." Hot pixels are the bane of &lt;i&gt;any&lt;/i&gt; long exposure digital photography, including &lt;a href="http://www.arinahnell.com/index.htm" target="_blank"&gt;night photography&lt;/a&gt; and astrophotography, and typically they appear as star-like bright specs in the image. From what I understand, they arise from "thermal noise" within the image sensor. Technological specifics aside, you'll generally find that the longer the exposure, the more likely you are to see these spots (they look a little like stars, but they never move).&lt;br /&gt;&lt;br /&gt;&lt;a href="http://www.pearsonfaces.com/fpsurgeon/uploaded_images/closeup-hot-pixels.jpg"&gt;&lt;img style="display:block; margin:0px auto 10px; text-align:center;cursor:pointer; cursor:hand;" src="http://www.pearsonfaces.com/fpsurgeon/uploaded_images/closeup-hot-pixels.jpg" border="0" alt="" /&gt;&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;The most common way to deal with them, though, involves shooting what's called a "dark frame" which can then be digitally subtracted from the original image to eliminate the hot pixels. A dark frame is made by shooting an image of equal duration (shutter speed) to the original shot, but with the lens cap on so that the frame is completely black ("dark") &lt;i&gt;except&lt;/i&gt; for the sensor noise and hot pixels. Some cameras, in fact, do this automatically for exposures beyond a certain length. [Note: you don't put the lens cap on...the camera simply closes the shutter and exposes the equal exposure time dark frame which is then subtracted in-camera].&lt;br /&gt;&lt;br /&gt;&lt;a href="http://www.pearsonfaces.com/fpsurgeon/uploaded_images/closeup-dark-frame.jpg"&gt;&lt;img style="display:block; margin:0px auto 10px; text-align:center;cursor:pointer; cursor:hand;" src="http://www.pearsonfaces.com/fpsurgeon/uploaded_images/closeup-dark-frame.jpg" border="0" alt="" /&gt;&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;But there's a big problem with this simple approach: the subtraction turns the hot pixels into black holes or black spots (something minus the same something equals zero which equals black). Now, for astrophotography, this is not so much of an issue since a black spot against a black sky is basically invisible. But for those of us shooting night photography this can be a real pain when odd black specs appear on illuminated subjects. (see image below)&lt;br /&gt;&lt;br /&gt;&lt;a href="http://www.pearsonfaces.com/fpsurgeon/uploaded_images/simple-subtraction.jpg"&gt;&lt;img style="display:block; margin:0px auto 10px; text-align:center;cursor:pointer; cursor:hand;" src="http://www.pearsonfaces.com/fpsurgeon/uploaded_images/simple-subtraction.jpg" border="0" alt="" /&gt;&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;What we really need is a way to fill in the hot pixels with a blend of the surrounding pixels to better conceal their removal. But in a quick search of the web, I couldn't find a Mac OS X compatible program or Photoshop action that would do what I want. Sure, there are several apps out there for Mac (&lt;i&gt;e.g.&lt;/i&gt;, the very cool and uncrippled shareware, &lt;a href="http://www.cs.unm.edu/~kwiley/software/keithsImageStacker.html" target="_blank"&gt;Keith's Image Stacker&lt;/a&gt;, for OS X) and for Windows, but all just do simple subtraction. The exception to this is a freeware app called &lt;a href="http://www.mediachance.com/digicam/blackframe.htm" target="_blank"&gt;BlackFrame NR&lt;/a&gt; but it only runs on Windows [grrrr...].&lt;br /&gt;&lt;br /&gt;What follows is my own little method I devised. I've made it into a &lt;a href="http://www.pearsonfaces.com/fpsurgeon/HotPixelRemover.zip"&gt;freeware Photoshop action&lt;/a&gt; which can be easily tweaked to your camera's specific behavior and should work under Windows and Mac OS X, but I've only tried it under Photoshop CS for Mac. You can &lt;a href="http://www.pearsonfaces.com/fpsurgeon/HotPixelRemover.zip"&gt;download my Hot Pixel Remover here&lt;/a&gt;, but I'll explain it below since I don't provide any documentation (hey, it's free, so don't complain).&lt;br /&gt;&lt;br /&gt;&lt;a href="http://www.pearsonfaces.com/fpsurgeon/uploaded_images/layers-palette.jpg"&gt;&lt;img style="float:right; margin:0 0 10px 10px;cursor:pointer; cursor:hand;width: 200px;" src="http://www.pearsonfaces.com/fpsurgeon/uploaded_images/layers-palette.jpg" border="0" alt="" /&gt;&lt;/a&gt;First, in Photoshop CS open the original image, hot pixels and all. It will occupy a layer called "&lt;i&gt;Background&lt;/i&gt;". Next, open the dark frame image, select all (Cmd-A) of it, copy it (Cmd-C) and paste it into a new layer over the original image. The dark frame, now called "Layer 1" should thus be in perfect registration with the Background layer. Now simply run my Hot Pixel Remover action, wait a few seconds, and voila, no more hot pixels &lt;i&gt;and&lt;/i&gt; no more black holes.&lt;br /&gt;&lt;br /&gt;Here's what it's doing:&lt;br /&gt;&lt;br /&gt;1) It starts by making a duplicate of the original layer and applying a median blur of about 5 pixels (Filter--&gt;Noise--&gt;Median...) which should average out the hot pixels, which is good. But it also averages out lots of image detail, which is bad. But here's where the magic comes in: we're going to use the dark frame as a &lt;i&gt;transparency mask&lt;/i&gt; to only show through those areas of the blurred image that correspond to a hot pixel.&lt;br /&gt;&lt;br /&gt;2) The dark frame layer is curves-adjusted (Image-&gt;Adjustments-&gt;Curves...) to clip the very darkest 15 levels so that we can enhance only the hot pixels.&lt;br /&gt;&lt;br /&gt;3) The dark frame is then desaturated to grayscale (Image-&gt;Adjustments-&gt;Desaturate) and then an Auto Contrast (Image-&gt;Adjustments-&gt;Auto Contrast) is performed to punch up the hot pixels.&lt;br /&gt;&lt;br /&gt;4) The hot pixels are then selected (Select-&gt;Color Range...) in such a way as to select based on closeness to black.&lt;br /&gt;&lt;br /&gt;5) This selection is then applied as a transparency mask to the median-blurred layer by clicking on the "Add layer mask" button in the layers palette.&lt;br /&gt;&lt;br /&gt;6) The dark frame is then turned off and the result is a nicely cleaned up photo.&lt;br /&gt;&lt;br /&gt;Below is the final result (a closeup crop) which shows neither hot pixels nor black holes. Nice!&lt;br /&gt;&lt;br /&gt;&lt;a href="http://www.pearsonfaces.com/fpsurgeon/uploaded_images/better-subtraction.jpg"&gt;&lt;img style="display:block; margin:0px auto 10px; text-align:center;cursor:pointer; cursor:hand;" src="http://www.pearsonfaces.com/fpsurgeon/uploaded_images/better-subtraction.jpg" border="0" alt="" /&gt;&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;Remember, this is just a version 1.0 attempt at this, so there may be some bugs under certain circumstances. Please let me know if there are. Maybe this will inspire someone to come up with a better way. (But best of all for me is that it's quick, free, and works on my Mac!) Again, you can &lt;a href="http://www.pearsonfaces.com/fpsurgeon/HotPixelRemover.zip"&gt;download "Faceman's Hot Pixel Remover.atn" here.&lt;/a&gt;</description><link>http://www.pearsonfaces.com/fpsurgeon/2007/04/better-dark-frame-subtraction-in.html</link><author>noreply@blogger.com (David C. Pearson, M.D.)</author></item><item><guid isPermaLink='false'>tag:blogger.com,1999:blog-7257927425802325522.post-2036570930010907065</guid><pubDate>Thu, 15 Mar 2007 01:56:00 +0000</pubDate><atom:updated>2007-04-14T20:00:46.201-07:00</atom:updated><category domain='http://www.blogger.com/atom/ns#'>photography</category><category domain='http://www.blogger.com/atom/ns#'>gel</category><category domain='http://www.blogger.com/atom/ns#'>quantaray ms-1</category><category domain='http://www.blogger.com/atom/ns#'>modding</category><category domain='http://www.blogger.com/atom/ns#'>flash</category><title>Gel Mod for Quantaray MS-1 Slave Flash</title><description>&lt;a href="http://www.pearsonfaces.com/fpsurgeon/uploaded_images/qrmod/gelled-ms1s.jpg"&gt;&lt;img style="display:block; margin:0px auto 10px; text-align:center;cursor:pointer; cursor:hand;width: 400px;" src="http://www.pearsonfaces.com/fpsurgeon/uploaded_images/qrmod/gelled-ms1s.jpg" border="0" alt="" /&gt;&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;I recently was given a couple of &lt;a href="http://www.ritzcamera.com/webapp/wcs/stores/servlet/ProductDisplay?storeId=10001&amp;catalogId=10001&amp;langId=-1&amp;productId=30235&amp;cmCat=SEARCH" target="_blank"&gt;Quantaray MS-1&lt;/a&gt; flash boosters. If you haven't seen them, they're basically simple, dirt-cheap, optically-triggered slaves. (See Steve's Digicams for a nice &lt;a href="http://www.steves-digicams.com/ms-1.html" target="_blank"&gt;review&lt;/a&gt; of this item) Anyway, I wanted a simple way to add colored gel effects to these slaves without ruining the slaves in the process. &lt;br /&gt;&lt;br /&gt;The colored gels were made by creating a PowerPoint presentation with blank slides filled with various solid colors and then having a local A/V presentation company create the slides for me. By making mounted slides out of them the gels are durable and easy to handle. &lt;br /&gt;&lt;br /&gt;The clear plastic I chose was some left over Crystalite Polycarbonate (an acrylic similar to Plexiglas, but a bit stronger) from an unrelated project. It's 1/8th inch thick and comes in big inexpensive sheets at your local lumber superstore like Home Depot or Lowes. I could have used Lexan which is much more scratch resistant and about twice the price, but I didn't have any on hand.&lt;br /&gt;&lt;br /&gt;&lt;a href="http://www.pearsonfaces.com/fpsurgeon/uploaded_images/qrmod/ms1.jpg"&gt;&lt;img style="float:left; margin:0 10px 10px 0;cursor:pointer; cursor:hand;width: 200px;" src="http://www.pearsonfaces.com/fpsurgeon/uploaded_images/qrmod/ms1.jpg" border="0" alt="" /&gt;&lt;/a&gt;This is the $19.95 &lt;a href="http://www.ritzcamera.com/webapp/wcs/stores/servlet/ProductDisplay?storeId=10001&amp;catalogId=10001&amp;langId=-1&amp;productId=30235&amp;cmCat=SEARCH" target="_blank"&gt;Quantaray MS-1 slave flash&lt;/a&gt;. For twenty bucks it's nothing fancy: it trips on the first flash it sees, dumps a full flash output every time and is powered by two AAA batteries. (You can notice the battery hatch in the bottom left corner in this picture).&lt;br /&gt;&lt;br /&gt;&lt;br clear="all"&gt;&lt;br /&gt;&lt;a href="http://www.pearsonfaces.com/fpsurgeon/uploaded_images/qrmod/plasticpiece.jpg"&gt;&lt;img style="float:left; margin:0 10px 10px 0;cursor:pointer; cursor:hand;width: 200px;" src="http://www.pearsonfaces.com/fpsurgeon/uploaded_images/qrmod/plasticpiece.jpg" border="0" alt="" /&gt;&lt;/a&gt;Here a piece of Crystalite Polycarbonate (better than Plexiglas, not as good as Lexan) has been cut to shape and the edges sanded for smoothness.&lt;br /&gt;&lt;br /&gt;&lt;br clear="all"&gt;&lt;br /&gt;&lt;a href="http://www.pearsonfaces.com/fpsurgeon/uploaded_images/qrmod/mounted.jpg"&gt;&lt;img style="float:left; margin:0 10px 10px 0;cursor:pointer; cursor:hand;width: 200px;" src="http://www.pearsonfaces.com/fpsurgeon/uploaded_images/qrmod/mounted.jpg" border="0" alt="" /&gt;&lt;/a&gt;The clear plastic panel has been mounted to the unit with hot melt glue. Note the positioning: the plastic piece extends beyond the top of the slave flash unit by an amount equal to the width of the 35mm slide mount's top border.&lt;br /&gt;&lt;br /&gt;&lt;br clear="all"&gt;&lt;br /&gt;&lt;a href="http://www.pearsonfaces.com/fpsurgeon/uploaded_images/qrmod/hotglue.jpg"&gt;&lt;img style="float:left; margin:0 10px 10px 0;cursor:pointer; cursor:hand;width: 200px;" src="http://www.pearsonfaces.com/fpsurgeon/uploaded_images/qrmod/hotglue.jpg" border="0" alt="" /&gt;&lt;/a&gt;Close-up detail of the &lt;a href="http://ww.hotstik.com" target="_blank"&gt;hot melt glue&lt;/a&gt; used to attach the plastic.&lt;br /&gt;&lt;br /&gt;&lt;br clear="all"&gt;&lt;br /&gt;&lt;a href="http://www.pearsonfaces.com/fpsurgeon/uploaded_images/qrmod/assembled.jpg"&gt;&lt;img style="float:left; margin:0 10px 10px 0;cursor:pointer; cursor:hand;width: 200px;" src="http://www.pearsonfaces.com/fpsurgeon/uploaded_images/qrmod/assembled.jpg" border="0" alt="" /&gt;&lt;/a&gt;A simple small binder clip, easily found in any office-supply store is used to clip a colored 35mm slide as a gel. Note that it exactly covers the flash's output window.&lt;br /&gt;&lt;br /&gt;&lt;br clear="all"&gt;&lt;br /&gt;&lt;a href="http://www.pearsonfaces.com/fpsurgeon/uploaded_images/qrmod/dualunits.jpg"&gt;&lt;img style="float:left; margin:0 10px 10px 0;cursor:pointer; cursor:hand;width: 200px;" src="http://www.pearsonfaces.com/fpsurgeon/uploaded_images/qrmod/dualunits.jpg" border="0" alt="" /&gt;&lt;/a&gt;At twenty bucks a piece, why not make a couple of these? Here magenta and cyan gels have been placed.&lt;br /&gt;&lt;br /&gt;&lt;br clear="all"&gt;&lt;br /&gt;Incidentally, I made the photo of the bottle of lidocaine at the top of this post by implementing Strobist's excellent &lt;a href="http://strobist.blogspot.com/2006/07/how-to-diy-10-macro-photo-studio.html" target="_blank"&gt;$10 DIY Macro Studio&lt;/a&gt; setup as shown below. BTW, if you haven't been to the &lt;a href="http://strobist.blogspot.com" target="_blank"&gt;Strobist's site&lt;/a&gt;, make sure to stop by. It's absolutely packed with some of the best flash photography concepts and techniques you'll ever come across.&lt;br /&gt;&lt;br /&gt;&lt;a href="http://www.pearsonfaces.com/fpsurgeon/uploaded_images/qrmod/gelled-ms1s-setup.jpg"&gt;&lt;img style="display:block; margin:0px auto 10px; text-align:center;cursor:pointer; cursor:hand;width: 400px;" src="http://www.pearsonfaces.com/fpsurgeon/uploaded_images/qrmod/gelled-ms1s-setup.jpg" border="0" alt="" /&gt;&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;[&lt;i&gt;Note: to avoid tripping these dumb slaves with your dSLR's pre-flash, make sure your main flash unit is in manual mode, not TTL. (In manual mode, most flashes—such as my Sigma EF-500 DG Super on my Digital Rebel—will not pre-flash.&lt;/i&gt;]</description><link>http://www.pearsonfaces.com/fpsurgeon/2007/03/gel-mod-for-quantaray-ms-1-slave-flash.html</link><author>noreply@blogger.com (David C. Pearson, M.D.)</author></item></channel></rss>