two small technical queries...
Posted by
Kenneth Sloan-2 on
Dec 21, 2015; 6:57pm
URL: http://imagej.273.s1.nabble.com/two-small-technical-queries-tp5015271.html
We are producing yet another pair of data gathering plugins. I have two questions that I could probably answer by scouring the documentation. Perhaps someone will be kind enough to point me at illuminating examples.
*Java plugin
*processing image stacks (8-bit, 1000x500x500 or so)
Q1) what’s the best way to get the user to drop multiple classes of Points, giving x,y,z,<category> for each point. I’d like different colors for the markers, and I’d like the markers to persist as the user browses through the stack
Q2) same question, but for Polygons. Our current version (a modification of a previous plugin) limits the polygons to be planar, and lie in a single slice (and display only when viewing that slice). I’d like to allow polyLINES w/ x,y,z coordinates, and I’d like the graphics to persist as the user browses the stack.
Our current problem with the points is that they are all the same color; our current problem with the polygons is that they appear only in the constant-z slice in which they were defined.
Most useful would be exemplary code that allows a user to select, mark, and edit points and non-planar polylines.
--
Kenneth Sloan
[hidden email] <mailto:
[hidden email]>
Vision is the art of seeing what is invisible to others.
--
ImageJ mailing list:
http://imagej.nih.gov/ij/list.html