I have already detected all the spots using other algorithm in Matlab and want to use Trackmate to track them. Is there any other faster methods besides using
spotcollection to create spots one-by-one:
spots = SpotCollection(); for ii = 1:length(xs) x = xs(ii); y = ys(ii); frame = frames(ii); area = areas(ii); t = (frame-1)*1/fps; radius = sqrt(area/pi); quality = ii; spot = Spot(x,y,z,radius,quality); spot.putFeature('POSITION_T',java.lang.Double(t)); spots.add(spot,java.lang.Integer(frame-1)); end
to create a large number of spots for tracking, since I’ve got about 6,000,000 spots?
Any hints would be appreciated.