Code Monkey home page Code Monkey logo

whiskertracker's People

Contributors

pmknutsen avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar

Watchers

 avatar

whiskertracker's Issues

64 bit related crash in Matlab 2014 Win/Lin

seems there are still issues with running WT in recent version of Matlab on 64 bit platforms.

A "quick" fix is to re-write the .mex code as pure Matlab code. This will result in a dramatic slow-down in tracking speed, but will at least provide a guaranteed fallback when these 64 bit issues arise.

Recommended fix is of course to fix the underlying issues in the mex code.

Set spline movement range interactively

Settings for spline movement ranges (Fast and Slow in Parameters dialog) are rather esoteric at the moment and it is not clear what these parameters signify for the novice user without reading the original paper.

The parameters could instead be set interactively through the GUI with graphical feedback overlaid on the current videoframe.

  • Provide a slider (or adjustment buttons) to increase movement range
  • All three values in the movement vector are decreased/increased by 1 for each click
  • Plot movement range of all displayed whiskers (transparent centered area fills)
  • When movement range is accepted, remove transparent fills.
  • Keep settings in Parameters dialog (for fine tuning)

Difficulty opening video

Hello,
I am having trouble opening an AVI video in whisker tracker using the 64-bit version of Matlab 2017a and 2017b. I am getting this error message:
image

Limbs tracking usage example

Hi,
I am comparing your approach to some others for my article on limbs tracking. Although in the readme file, you have mentioned there is a limb tracking example, but I couldn't find any. Can you please direct me to the code or guide me on how I can use your code for limbs tracking?

Enable batch processing for head tracker

Enable option to run head tracker as a batch job. Should be a simple change to the main menu callback. Since the initial head position does need to be set for each movie, this option assumes that tracking should start from the first known head position. If head position has not been marked in a movie, then obviously just skip that movie.

parameter editing error in Win10, Matlab R2015b 32bit

when changing Options>parameters, Apply/Done gives error:
Conversion to cell from char is not possible.
Error while evaluating UIControl Callback

System: Windows 10 Education, 64 bit (2x4 cores)
Software: Matlab R2015b 32bit
Whisker Tracker Version: d479656

Internal error and Matlab crash when using tracking with background subtraction

When tracking with background subtraction an internal MATLAB error occurs after a few frames. can be avoided if line 60 in wt_subtract_bg_frame.m is changed from:
if ~isempty(nZeroRow)
to:
if 1
forcing the program to use the average frame as background, I suppose.

System: Windows 10 Education, 64 bit (2x4 cores)
Software: Matlab R2015b 32bit
Whisker Tracker Version: d479656
Example video and settings: https://drive.google.com/file/d/0B_B6vrBbgiVMaW5sNk9JYkV3YnM/view?usp=sharing
MATLAB crash file.docx

Repositioning continually fails SNR check in R2015b Windows

during repositioning, "Warning: Optimization is poor. Result discarded." appears continually and repositioning does not optimize tracking as usual.
I assume SNR check uses displacement with flipped x and y offsets. Maybe only evident in rotated videos (see example).

wt_find_next_whisker.m: lines 173-176
Original:
nOld = mean(mImg(round(sub2ind(size(mImg), mAdjustPoints(:,1), mAdjustPoints(:, 2)))));
nNew = mean(mImg(round(sub2ind(size(mImg), mFullSpline(:,1), mFullSpline(:, 2)))));
iAbout = [round(sub2ind(size(mImg), mAdjustPoints(:,1), mAdjustPoints(:, 2)-2));
round(sub2ind(size(mImg), mAdjustPoints(:,1), mAdjustPoints(:, 2)+2))];
Working:
nOld = mean(mImg(round(sub2ind(size(mImg), mAdjustPoints(:,2), mAdjustPoints(:, 1)))));
nNew = mean(mImg(round(sub2ind(size(mImg), mFullSpline(:,2), mFullSpline(:, 1)))));
iAbout = [round(sub2ind(size(mImg), mAdjustPoints(:,2)-2, mAdjustPoints(:, 1)));
round(sub2ind(size(mImg), mAdjustPoints(:,2)+2, mAdjustPoints(:, 1)))];

System: Windows 10 Education, 64 bit (2x4 cores)
Software: Matlab R2015b 32bit
Whisker Tracker Version: d479656
Example video and settings: https://drive.google.com/file/d/0B_B6vrBbgiVMaW5sNk9JYkV3YnM/view?usp=sharing

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.