mclaffey / claffey_matlab Goto Github PK
View Code? Open in Web Editor NEWA collection of matlab scripts used during grad school
License: GNU General Public License v3.0
A collection of matlab scripts used during grad school
License: GNU General Public License v3.0
A user asked:
vid.params.analysis_bin_size_in_secs = 60;
I would like to know what the line above does and why is it set at 60I would like to know why even when the object does not go thought the cropped area it will still register a distance in the final report.
The bin size refers to how to divide up the video analysis in terms of time. For example, a video might be 300 seconds long. The analysis generates metrics such as the average x position. If you set bin size to 60 (seconds), it will calculate a separate average x for each minute (each bin of 60 seconds), so you'll have 5 consecutive values. If you wanted finer grain analysis, you could set bin size to 10 (seconds) and get 30 consecutive values. I choose 60 as a default of 1 minute, because that was a reasonable bin for my experiment.
I believe that distance is the average distance between the tracked object and the center of the cropped area. In my experiment, I was looking at mice inspecting two different objects within their cage. I highlighted each object as an area. Even if the mouse never interacted directly with the object, I could still see, on average, how close he was to each object. Hope that helps.
Encountered by a new user of the project after running these lines in the vidz_demo script
sub_analysis = input('Enter name of sub-analysis: ', 's');
vid = vidz_files(video_path, sub_analysis, analysis_dir);
My reply to that user: If I'm remembering correctly, this isn't actually an error. It's just reporting that you haven't told it to use the files/directory for the previously analyzed video. It thinks that you are starting a new analysis, i.e. starting from scratch. As long as that's the case, you should be able to continue with the next lines in the script.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.