GithubHelp home page GithubHelp logo

Comments (2)

mooch443 avatar mooch443 commented on August 17, 2024

Hey!

I have now updated the docs page that you mentioned at https://trex.run/docs/formats.html#positional-data - hopefully this helps! There is a note on there that tries to explain the #pcentroid thing. Let me know if that's understandable.

Depending on the quality/difficulty of the video, outlines and midlines will be slightly off. You can usually improve your results with a few tricks. Just to highlight the most important parameters to look into:

  • outline_curvature_range_ratio: This impacts the tail-finding algorithm. If you increase this number (lets say switching from 0.03 to 0.07), the program would search for "larger" peeks, that are likely less "pointy", and the other way around.
  • outline_resample: Changes the resolution of the outline. Smaller values produce more outline points (distance from one to the next point).
  • outline_approximate: Approximates the outline shape - higher values increase accuracy, but maybe also noise.
  • outline_smooth_samples: Smoothes the outline before approximating it (usually does not do that much).

These interfere with each other of course. You may also want to adjust midline_resolution, if you feel like your individual is too big for just 12 points.

-Tristan

from trex.

jptumulty avatar jptumulty commented on August 17, 2024

This is great, thanks for the info and updating the definitions!

from trex.

Related Issues (20)

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.