TrackMate Model Renderer broken ?

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
2 messages Options
Reply | Threaded
Open this post in threaded view
|

TrackMate Model Renderer broken ?

Greg
Hi,

today after some time I tried to do some tracking with Trackmate (http://fiji.sc/TrackMate) again.
I am usually building the Trackmate model from scratch with a jython script using data from a custom segmentation. I am no longer able to display (or animate) the tracking results via

sm = SelectionModel(model)
view = HyperStackDisplayer(model, sm)
# Display tracks as comets                                                                                                                                      
view.setDisplaySettings('TrackDisplaymode', 1)
view.setDisplaySettings('TrackDisplayDepth', 10)

view.render()

The tracking itself seems to be ok, and I am seeing the very first image of the model (violet spots with yellow stripes), but as soon as I want to scroll forward in time, the hyperstack display turns completely black. When I then scroll back to the very first image, it also turned completely black.

Here is a minimal dummy script that produces that odd behavior for me:
dummyTrack.py 

I am on ImageJ 149s (Fiji) on Mac OS 10.10.

Any help appreciated !

Best,
Greg
Reply | Threaded
Open this post in threaded view
|

Re: TrackMate Model Renderer broken ?

Greg
Hi again,

so the problem seems to be with the 'empty' HyperStackDisplayer. When I call the displayer with

view = HyperStackDisplayer(model, sm,orig)

as opposed to

view = HyperStackDisplayer(model, sm)

it works. Now I just have to create an empty Stack 'orig' with the right dimensions I guess ?!

Greg