Hello,
I wrote a macro that makes use of the AnalzyeSkeleton 2D/3D which is in Fiji. The Plugin is described here:
http://imagejdocu.tudor.lu/doku.php?id=plugin:analysis:analyzeskeleton:startIt gives a results table with the following headers: "# Branches", "# Junctions", etc..
this is an excerpt of my macro code:
run("Clear Results");
run("Skeletonize (2D/3D)");
run("Analyze Skeleton (2D/3D)", "prune=none");
print(nResults); // this gives 1
print(getResult("# Branches", 0)) // this gives NaN
the results table contains these results:
# Branches # Junctions # End-point voxels # Junction voxels # Slab voxels Average Branch Length # Triple points # Quadruple points Maximum Branch Length
1 1 0 0 0 416 0.003 0 0 0.003
Can somebody tell me why any getResult("header", 0) i try gives me NaN?
Thanks a lot in advance!
Greetings from Switzerland,
Gabe