Skip to content

Instantly share code, notes, and snippets.

@lacan
lacan / Histogram_Matching_Parallel.groovy
Last active June 12, 2024 10:05
[Parallel Histogram Matching for Stacks] #Groovy #Fiji #ImageJ
//@File (label="Directory with file(s)", style="directory" ) theDir
//@Integer (Label="Channel To Correct") ch_correct
//@Boolean (label="Use Normalization Parameters Below") is_normalize
//@Integer (Label="Minimum") the_min
//@Integer (Label="Maximum") the_max
/**
* Image stack equalizer for image folder
*
* The purpose of this script is to use the histogram of the first slice of the first image