Task #9406 (new)
Opened 7 years ago
ImageJ rotation.ijm via Python
| Reported by: | wmoore | Owned by: | wmoore |
|---|---|---|---|
| Priority: | minor | Milestone: | Unscheduled |
| Component: | Web | Version: | n.a. |
| Keywords: | n.a. | Cc: | |
| Resources: | n.a. | Referenced By: | n.a. |
| References: | n.a. | Remaining Time: | n.a. |
| Sprint: | n.a. |
Description
Experimental integration of an ImageJ macro (from Asmi Shah @ KIT) with OMERO via Python / Web.
rotation.ijm
str=getArgument();
args=split(str,"*");
ippath=args[0];
slices=args[1];
opname=args[2];
oppath=args[3];
run("Image Sequence...", "open=&ippath number=&slices starting=1 increment=1 scale=100 file=[] or=[] sort");
run("3D Project...", "projection=[Brightest Point] axis=Y-Axis slice=1 initial=0 total=360 rotation=10 lower=1 upper=255 opacity=0 surface=100 interior=50");
run("Image Sequence... ", "format=JPEG name=[&opname] start=0 digits=4 save="+oppath );
Asmi has code to call this via Python and create a web page that shows a slider for moving between the rotation frames.
Attachments (1)
Note: See
TracTickets for help on using
tickets.
You may also have a look at Agilo extensions to the ticket.
1st Demo of rotation projection in web