Skip to content

MurphysLab/ImageJ-Macros

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

28 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

ImageJ Macros

Jeffrey N. Muprhy @MurphysLab

A small miscellany of macro code files for ImageJ, for various tasks.

Some are simply demo files.

  • Find_All_Pixel_Groups.ijm Finds all groups of connected pixels in a binary image; demonstrates two methods.

  • Line_to_Scalebar_Equal_Ticks.jnm Divides a line into N equal parts with N-1 ticks.

  • Draw_Spheres_and_Merge_Stacks.ijm Creates two stacks with binary spheres, then overlays them in RGB colour

    Rendering of Two Spheres using ImageJ 3D Viewer
  • Point-to-Line Distance Distribution.ijm Draws a scatterplot showing pixel values and distances relative to a line selection.

    Sample image to measure

    Output scatter plot, with distance on the horizontal axis and value on the vertical axis (decreasing downward).

    Scatter plot
  • Square_Grid_Crop.ijm Crops out squares from a grid that are separated by dark lines using particle analysis.

    Input image of a grid:

    Sample Grid

    Output images from grid:

    Grid Square 1 Grid Square 2 Grid Square 3 Grid Square 4
  • PixelShuffle2.ijm is a replacement for PixelShuffle.ijm. The original was very slow due to an inefficient shuffling algorithm. The replacement uses the Fisher–Yates shuffle algorithm:

    Grid Square 1Grid Square 1

About

Miscellaneous macros for ImageJ

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors