Software Open Access

Codes for "Predictive online optimisation with applications to optical flow"

Valkonen, Tuomo

Citation Style Language JSON Export

  "publisher": "Zenodo", 
  "DOI": "10.5281/zenodo.3659180", 
  "container_title": "Journal of Mathematical Imaging and Vision", 
  "title": "Codes for \"Predictive online optimisation with applications to optical flow\"", 
  "issued": {
    "date-parts": [
  "abstract": "<p>These are the (Julia) codes for the optical flow experiments of the manuscript <em>&ldquo;Predictive online optimisation with applications to optical flow&rdquo;</em> by <a href=\"\">Tuomo Valkonen</a> (<a href=\"\">arXiv:2002.03053</a>).</p>\n\n<p>Prerequisites</p>\n\n<p>These codes were written for Julia 1.3. The Julia package prequisites are from November 2019 when our experiments were run, and have not been updated to maintain the same environment we used to do the experiments in the manuscript. You may get Julia from <a href=\"\"></a>.</p>\n\n<p>Using</p>\n\n<p>Navigate your unix shell to the directory containing this <code></code> and then run:</p>\n\n<pre><code>$ julia --project=PredictPDPS\n</code></pre>\n\n<p>The first time doing this, to ensure all the dependencies are installed, run</p>\n\n<pre><code>$ ]instantiate\n</code></pre>\n\n<p>Afterwards in the Julia shell, type:</p>\n\n<pre><code>&gt; using PredictPDPS\n</code></pre>\n\n<p>This may take a while as Julia precompiles the code. Then, to generate all the experiments in the manuscript, run:</p>\n\n<pre><code>&gt; batchrun_article()\n</code></pre>\n\n<p>This will save the results under <code>img/</code>. To see the experiments running visually, and not save the results, run</p>\n\n<pre><code>&gt; demo_known1()\n</code></pre>\n\n<p>or any of <code>demo_XY()</code>, where <code>X</code>=1,2,3 and <code>Y</code>=<code>known</code>,<code>unknown</code>. Further parameters and experiments are available via <code>run_experiments</code>. See the source code for details.</p>\n\n<p>To run the data generation multi-threadeadly parallel to the algorithm, set the <code>JULIA_NUM_THREADS</code> environment variable to a number larger than one.</p>", 
  "author": [
      "family": "Valkonen, Tuomo"
  "volume": "2021", 
  "version": "2020-02-07", 
  "type": "article", 
  "id": "3659180"
All versions This version
Views 351351
Downloads 2020
Data volume 974.4 kB974.4 kB
Unique views 319319
Unique downloads 2020


Cite as