May 2008
  Sun Mon Tue Wed Thu Fri Sat  
          1 2 3  
  4 5 6 7 8 9 10  
  11 12 13 14 15 16 17  
  18 19 20 21 22 23 24  
  25 26 27 28 29 30 31  

Archives

November 2009 (2)
October 2009 (1)
September 2009 (1)
August 2009 (1)
May 2009 (1)
April 2009 (2)
March 2009 (1)
February 2009 (2)
January 2009 (5)
November 2008 (2)
October 2008 (2)
September 2008 (1)
August 2008 (4)
July 2008 (2)
June 2008 (5)
May 2008 (3)
April 2008 (1)
March 2008 (2)
February 2008 (3)
January 2008 (1)
November 2007 (4)
October 2007 (3)
September 2007 (4)
August 2007 (6)
July 2007 (11)
June 2007 (1)
Published at 22:22 / 1 comment / 295 visits
This post is public

May 19, 2008

Flood of pictures

This weekends Photowalk remembered me on something I found some time ago somewhere on the web...

With the gazillion of pictures taken by everybody, how do you find the one you want? Microsoft has done some nice way of presenting pictures in a 3d reconstruction based on the pictures themselves. A technology preview (which only works on windows with IE probably) can be found here...

Published at 10:47 / 7 comments / 464 visits
This post is public

May 22, 2008

Raw Conversion

As Beteigeuze asked, here is my script I used for RAW processing (right now I convert the RAWs manually in f-spot with ufraw)

#!/bin/bash
# Converts all Raw-Files in a dir to jpeg with dcraw
# needs ExifTool available from www.sno.phy.queensu.ca/~phil/exiftool

set -e
ext=.CRW

for i in *$ext; do
# Get basename of file for easier treatment
bn=`basename $i $ext` ;
#
# Convert from RAW
#
# Check if a jpg already exists
if [ -f ${bn}.jpg ]; then
    echo "File $bn already converted"
else
    echo "Converting File $bn"

## Method 1: just use dcraw
    # converts directly to jpg without any treatment
    #   dcraw -a -c $i | ppmtojpeg > ${bn}.jpg;

## Method 2:
    # This should do some basic image treatment:
      # dcraw -a -4 $i ;
      # convert -normalize -gamma 1.8 ${bn}.ppm ${bn}_dcraw4_normalized.jpg ;
      # rm $bn.ppm;

## Method 3: 
    # Including an ICC profile, this gives the best results for my screen
      dcraw -4 -c -w -m $i | pnmnorm -bpercent 0.1 -wpercent 0.1 -brightmax \
        | pnmtotiff -truecolor >temp.tif;
     tifficc -w -i ~nils/eos10d-linear-8apr2004.icc temp.tif ${bn}.tif;
     convert -quality 90 ${bn}.tif ${bn}.jpg ;
      rm $bn.tif ;
      rm temp.tif;
#
# Copy and set EXIF stuff
#
    ~/Image-ExifTool-6.81/exiftool -TagsFromFile $i ${bn}.jpg;
    ~/Image-ExifTool-6.81/exiftool -Author="Nils Pickert" -OwnerName="Nils Pickert" -UserComment="(c) Nils Pickert" $bn.jpg;
    rm $bn.jpg_original;
#
# rotate according to EXIF
# this is only necessary for method 1 and 2, not for 3
    #  exiftran -i -a ${bn}_dcraw_only.jpg;
fi
done

Published at 12:36 / 7 comments / 655 visits
This post is public

( 3 posts )

 

Català | Čeština nové | 中文 | Deutsch | English | Español | Esperanto | Ελληνικά | Français | Galego | Italiano | Nederlands | Português | More...