softmatterlab / DeepTrack

MIT License
37 stars 13 forks source link

Deal correctly with non-square videos #1

Closed giovannivolpe closed 5 years ago

giovannivolpe commented 5 years ago

In several points in the code, non-square videos are dealt incorrectly because width and height are inverted.

hsaga commented 5 years ago

I fixed this as well as updated other things in deeptrack.py in the branch: Edit-deeptrack

-Track non-square videos -Fixed x,y in plot_tracked_scanning_boxes -added option for elliptical particles in training -fixed the resizing of the boxes in track_video (track_frame) -added an option for preprocessing the images before tracking (normalise and enhance)

giovannivolpe commented 5 years ago

Ok, can you merge also this into develop?

After you have merged both, make a push request into master. This version shdoul be exactly that that we give as SI in the article.