#https://askubuntu.com/a/138010
xprop _NET_WM_PID | sed 's/_NET_WM_PID(CARDINAL) = //' | ps `cat`
- Install rjava on ubuntu 18.10: this was essential: https://stackoverflow.com/a/52110207
# @ImageJ ij | |
# @LUTService lut | |
import java.text.DecimalFormat | |
import net.imglib2.display.ColorTable | |
import sc.fiji.snt.* | |
import sc.fiji.snt.io.* | |
import sc.fiji.snt.analysis.* | |
import sc.fiji.snt.annotation.* | |
import sc.fiji.snt.viewer.* |
# @LogService log | |
# @SNTService snt | |
# @UIService ui | |
""" | |
file: Autotrace_OP_1.py | |
""" | |
import time | |
from sc.fiji.snt import (Path, SNT, Tree) |
# @LogService log | |
# @SNTService snt | |
# @UIService ui | |
""" | |
file: Autotrace_OP_1.py | |
""" | |
import time | |
from sc.fiji.snt import (Path, SNT, Tree) |
{ | |
"background-color": "#343D46", | |
"border-color": "#2A3138", | |
"page-width": 630, | |
"page-height": 790, | |
"text-color": "#F7F7F7", | |
"text-font-family": "Ubuntu", | |
"text-font-size": 11, | |
"margin-left": 90, | |
"margin-right": 30, |
/* | |
* SNT script that checks for the presence of a misterious ARA ID that | |
* somehow was detected on manually downloaded MouseLight reconstructions. | |
*/ | |
import tracing.io.MouseLightLoader; | |
import org.json.* | |
ids = ["AA0189", "AA0360", "AA0362"] | |
unknowCompartmentID = 484682464 |
#https://askubuntu.com/a/138010
xprop _NET_WM_PID | sed 's/_NET_WM_PID(CARDINAL) = //' | ps `cat`
ferreirat@ferreirat-ws1:~/code/n5-utils$ _JAVA_OPTIONS=-Djdk.net.URLClassPath.disableClassPathURLCheck=true ./install $HOME/bin | |
Installing into /groups/mousebrainmicro/home/ferreirat/bin | |
Assuming operating system linux | |
Picked up _JAVA_OPTIONS: -Djdk.net.URLClassPath.disableClassPathURLCheck=true | |
[INFO] Scanning for projects... | |
Downloading from saalfeld-lab-maven-repo: https://saalfeldlab.github.io/maven/org/scijava/pom-scijava/22.3.0/pom-scijava-22.3.0.pom | |
Downloading from imagej.public: https://maven.imagej.net/content/groups/public/org/scijava/pom-scijava/22.3.0/pom-scijava-22.3.0.pom | |
Downloaded from imagej.public: https://maven.imagej.net/content/groups/public/org/scijava/pom-scijava/22.3.0/pom-scijava-22.3.0.pom (129 kB at 239 kB/s) | |
Downloading from saalfeld-lab-maven-repo: https://saalfeldlab.github.io/maven/org/scijava/pom-scijava-base/3.5.2/pom-scijava-base-3.5.2.pom | |
Downloading from imagej.public: https://maven.imagej.net/content/groups/public/org/scijava/pom-scijava-base/3.5.2/pom-scijava-base-3.5.2. |
/* Subfield Tool.ijm | |
* IJ BAR: https://github.com/tferr/Scripts | |
* | |
* Creates a square ROI sized from on the length of a straight line | |
*/ | |
var sizeRatio = 1/3; | |
macro "SubField Tool - C037 L0ff0 R3399" { | |
getCursorLoc(x, y, z, flags); |
//@LogService log | |
//@UIService ui | |
import ij.IJ | |
import ij.gui.Overlay | |
import features.ComputeCurvatures | |
import tracing.TracerThread | |
import tracing.Path | |
//@ImagePlus imp | |
// Obtains the 2D Convex Hull ROI from a 2D binary image | |
// TODO: Use imagej.ops / net.imglib2.roi.geometric.Polygon | |
import ij.process.ImageProcessor; | |
import ij.gui.PolygonRoi; | |
def run(ImageProcessor ip) { |