Maximum intensity projection of multipage TIFF

Questions and postings pertaining to the usage of ImageMagick regardless of the interface. This includes the command-line utilities, as well as the C and C++ APIs. Usage questions are like "How do I use ImageMagick to create drop shadows?".
Post Reply
sid
Posts: 4
Joined: 2012-07-30T13:08:05-07:00
Authentication code: 15

Maximum intensity projection of multipage TIFF

Post by sid »

Is it possible to calculate the maximum intensity projection of a multi-page tiff and save it as a new tiff without having to extract the individual images from the tiff first ? I haven't found a solution on the forums yet, other than this post from a while ago viewtopic.php?t=15711 but it's dealing with separate images.
I am currently doing this using ImageJ but it's very slow.
Thanks !
User avatar
fmw42
Posts: 25562
Joined: 2007-07-02T17:14:51-07:00
Authentication code: 1152
Location: Sunnyvale, California, USA

Re: Maximum intensity projection of multipage TIFF

Post by fmw42 »

try

Code: Select all

convert multipage.tif -evaluate-sequence max mip.tif
sid
Posts: 4
Joined: 2012-07-30T13:08:05-07:00
Authentication code: 15

Re: Maximum intensity projection of multipage TIFF

Post by sid »

Thank you very much ! That works exactly as I wanted.

(As a side note - I had to update my version of ImageMagick from 6.5.4 to the latest version for this work. I wasn't aware that the -evaluate-sequence option wasn't supported available in my old installation)
User avatar
fmw42
Posts: 25562
Joined: 2007-07-02T17:14:51-07:00
Authentication code: 1152
Location: Sunnyvale, California, USA

Re: Maximum intensity projection of multipage TIFF

Post by fmw42 »

If you have doubts, check the changelog at http://www.imagemagick.org/script/changelog.php. That lists most of the upgrades.

IM 6.5.4 is about 370 versions old. IM is always making improvements. I always upgrade my system for every minor upgrade of IM. I would never let my system get that old!
Post Reply