trackmate-sc / TrackMate

TrackMate is your buddy for your everyday tracking.
https://imagej.net/plugins/trackmate
GNU General Public License v3.0
169 stars 76 forks source link

Export label image with spot IDs #225

Closed tischi closed 2 years ago

tischi commented 2 years ago

@tinevez

Working on https://forum.image.sc/t/trackmate-dealing-with-masks/68004

I guess this needs updating?

/**
     * Creates a new label {@link Img} of {@link UnsignedShortType} where the
     * spots of the specified model are painted as ellipsoids taken from their
     * shape, with their track ID as pixel value.
     * 

Because in the case of masks they are not painted as ellipsoids but as the actual masks?

imagesc-bot commented 2 years ago

This issue has been mentioned on Image.sc Forum. There might be relevant details there:

https://forum.image.sc/t/trackmate-dealing-with-masks/68004/5

tischi commented 2 years ago

Second question: In your repo is that some "run" method that launches ImageJ such that I could test what I am developing? Even better would be some script that already does some tracking such that I immediately end up at the export UI. Or how would you do this (i.e. develop such a new feature)?

tischi commented 2 years ago

Third question: Should I develop against master or some other branch?

tischi commented 2 years ago

Fourth question:

image

Should we add a checkbox here:

[ ] Use spot IDs as labels

tinevez commented 2 years ago

Fixed with https://github.com/fiji/TrackMate/commit/e13e6198437f3aec3d70270485a0c27e6b4b12f2