3D projection (min-max) 1) Manually crop xy to 500x500 using ImageJ 2) Save 16bit tiff to 8-bit tiff using ImageJ min-max scaling 0-255 3) Update Image-> Properties with z pixel calibration: - calculate pixel size in xy: 6.5um/40x = 0.1625um - divide piezo step size by xy step: 0.5um/0.1625um = 3.08 - set z pixel step size to 3.08 4) Use ImageJ Image-> Stacks-> 3D Project...-> see screen shot for settings (1degree step, interpolate, default the rest) 5) Use ImageJ file-> save as-> image sequence-> format: PNG name: img start at: 0 digits: 4 6) Run ffmeg command to convert image series to mp4: ffmpeg -y -r 25 -f image2 -i img%04d.png -movflags faststart -pix_fmt yuv420p -vcodec libx264 -vf scale=trunc(iw/2)*2:trunc(ih/2)*2 -preset veryslow -crf 25 figure.mp4 3D projection, transformed (min-max) 1) Manually crop xy to 500x500 using ImageJ 2) Use Image-> Stacks-> Reslice...[/]: default settings - Output spacing = 1, Start at = top, everything else unticked 3) Go File-> New-> Script... - Select Langauge IJ1 Macro - Paste the following ***macro*** for image translation: *** xTranslate=0; yTranslate=0.1625; /*Translate a stack of images so that the first image is moved n pixels in the X direction, the second moved 2n pixels, the third 3n pixels and so on.. the variable "n" is represented by xTranslate and yTranslate */ for(i=1;i<=nSlices;i++){ setSlice(i); run("Translate...", "x="+i*xTranslate+" y="+i*yTranslate+" interpolation=Bilinear slice"); } *** - Adjust the 'yTranslate' value as needed according the alpha tilt of microscope and piezo step size: yTranslate = sin(alpha)/[z-piezo/(sCMOSpixel/mag)] = sin(30) / [0.5/(6.5/40)] = 0.1625 (in this case) - Run macro on stack 4) Reverse the re-slice operation at step 3) 5) Use Image-> Scale... - X Scale = 1 - Y Scale = cos(alpha) = cos(30) = 0.866 - Z Scale = 1 - Width, Height, Depth = 500, 500, 26 - Interpolation = Bilinear - 3 boxes = ticked - Title = default... 6) Use Image-> Adjust-> Canvas Size...: - Width = 500 - Height = 500 (i.e. pad image to orginal size for comparison) - Position = Center - Zero Fill = unticked 7) Save 16bit tiff to 8-bit tiff using ImageJ min-max scaling 0-255 8) Update Image-> Properties with z pixel calibration: - calculate pixel size in xy: 6.5um/40x = 0.1625um - divide piezo step size by xy step: 0.5um/0.1625um = 3.08 - set z pixel step size to 3.08 9) Use ImageJ Image-> Stacks-> 3D Project...-> see screen shot for settings (1degree step, interpolate, default the rest) 10) Use ImageJ file-> save as-> image sequence-> format: PNG name: img start at: 0 digits: 4 11) Run ffmeg command to convert image series to mp4: ffmpeg -y -r 25 -f image2 -i img%04d.png -movflags faststart -pix_fmt yuv420p -vcodec libx264 -vf scale=trunc(iw/2)*2:trunc(ih/2)*2 -preset veryslow -crf 25 figure.mp4