Hi Anthony, > | \( -clone 0--1 -background Black -compose Lighten -flatten \ > | null: +insert \) \ > | > Did you see my other mail where I explained the above line by line?
Yes, thanks; but at that time I had a completely wrong understanding of what -clone 0--1 does, so I was terribly misled. > The -layers compose is tricky as it matchs up two sequneces of images > > for example, if one image set containso only one image... > > A B C D null: a > > will be composed together in pairs to produce > > Aa Ba Ca Da > > While composing sequneces with multiple images will > > A B C D null: a b c d > > will be paired up and composed to produce... > > Aa Bb Cc Dd > > It is sort of like a shuffled composition.... ...and this is the second bit of information that I needed. Thank you very much; I think now I finally get it :-) > I have the test set of images... > Good set of images by the way.... Thanks :-) > I am getting a compined image of maximum difference from average. > > However the flash is causing some images to 'flare' with reflections > making these areas more different than the desired 'infocus' image!!! > The threads of the screws for example is 'infocus'. But the rest of the > screew is the 'flare' of the unfocused flash. I know; this image set is challenging... > I think you need to get rid of a glary flash when taking the photos, and > use a more 'natural' or 'diffuse' light source, that will not overpower > the image, if you want to use this method. Ultimately, what I would like to do is to extend the depth of field of microscope photographs. For this task, I will almost definitely have to deal with glare because of the kind of surfaces I am looking at. Maybe for getting rid of glare problems it would be better to use a modified "gradient approach", i.e. to only compare three subsequent images rather than the whole set and to check whether e.g. pixel P in image N is (lighter|darker) than in both image N-1 and N+1. However, the sharp areas in the first and last image of the sequence may be difficult to deal with... and maybe there are pixels for which two maxima are found... Bye, Jan _______________________________________________ Magick-users mailing list [email protected] http://studio.imagemagick.org/mailman/listinfo/magick-users
