This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#@ ImageJ ij | |
#@ File[] imageFiles | |
#@ File(style = "save") outFile | |
#@ boolean showStack | |
import java.util.Arrays | |
import net.imglib2.FinalInterval | |
import net.imglib2.type.numeric.integer.UnsignedByteType | |
import net.imglib2.util.Intervals |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#@ Long(value = 3000) size | |
import java.util.function.BiConsumer | |
import net.imglib2.img.display.imagej.ImageJFunctions | |
import net.imglib2.position.FunctionRandomAccessible | |
import net.imglib2.type.numeric.integer.UnsignedByteType | |
import net.imglib2.view.Views | |
// Define a function in 2-space. | |
ndim = 2 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#@ DatasetIOService dio | |
#@ File imageFile | |
#@ long x | |
#@ long y | |
#@ long width | |
#@ long height | |
#@output Dataset dataset | |
from io.scif.config import SCIFIOConfig | |
from io.scif.img import ImageRegion, Range |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#@dependency(group="org.boofcv", module="boofcv-core", version="0.33") | |
#@dependency(group="org.boofcv", module="boofcv-swing", version="0.32") | |
#@both ImagePlus imp | |
#@output ImagePlus (label="Watersheds") watersheds | |
#@output ImagePlus (label="Regions") regions | |
#@output ImagePlus (label="Seeds") seeds | |
import boofcv.alg.filter.binary.BinaryImageOps | |
import boofcv.alg.filter.binary.ThresholdImageOps |
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
$ for jar in $(mvn dependency:build-classpath | grep -A1 'Dependencies classpath' | tail -n1 | gsed 's/:/\n/g') # C 1 {2019-03-01 16:41:33} | |
do | |
if [ -f "$jar" ] | |
then | |
autoModule=$(unzip -q -c "$jar" META-INF/MANIFEST.MF | grep 'Automatic-Module') | |
if [ "$autoModule" ] | |
then | |
echo "$jar: $autoModule" | |
# else | |
# echo "$jar: Automatic-Module ENTRY IS MISSING" |
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import java.util.Set; | |
import net.imagej.ImageJ; | |
import net.imglib2.FinalDimensions; | |
import net.imglib2.algorithm.labeling.ConnectedComponents.StructuringElement; | |
import net.imglib2.img.Img; | |
import net.imglib2.roi.labeling.ImgLabeling; | |
import net.imglib2.roi.labeling.LabelingType; | |
import net.imglib2.type.numeric.IntegerType; | |
import net.imglib2.type.numeric.integer.UnsignedByteType; |