Code Monkey home page Code Monkey logo

imagestabilizer's Introduction

ImageStabilizer

A wrapper around the ImageJ plugin "ImageStabilizer" that enables the jar to be run from command line with conventional flags

The original ImageStabilizer is provided here

https://imagej.net/Image_Stabilizer https://www.cs.cmu.edu/~kangli/code/Image_Stabilizer.html

Purpose

The original ImageJ plugin above requires images to be open in FIJI/ImageJ and writes them to new windows, or if it's a virtual stack, to disk. It's not possible to execute it directly from command line without writing ImageJ macros and executing those in a headless mode ImageJ instance. Instead, I wrote this simple jar that slightly modifies the original source code to accept files/paths instead of IJ window's ImageProcessor. The "log-applier" functionality is included as well.

Usage

from command line, type

java -jar <path to ImageStabilizer.jar> <flags>

Allowed flags are:

 -applier,--logApplier <arg>   Flag to signify that a log file will be
                               applied
 -i,--input <arg>              input file path
 -iter,--maxIterations <arg>   Maximum num iterations (default 200)
 -log,--logEnabled             Flag to turn on coordinate logging
 -o,--output <arg>             output file path
 -p,--maxPyramids <arg>        Maximum Pyramid Levels: 0, 1, 2, 3, 4
 -s,--substring <arg>          substring with which to filter the input
                               files
 -t,--transformation <arg>     transformation type: Translation or Affine
 -tol,--maxTolerance <arg>     Error Tolerance (default 1e-7
 -update,--updateCoeff <arg>   Template Update Coefficient (default 0.9):
                               0 - 1
 -z,--zSlice <arg>             Flag to turn on coordinate logging

REQUIRED flags are:

 -i,--input <arg>              input file path
 -o,--output <arg>             output file path
 -t,--transformation <arg>     transformation type: Translation or Affine

imagestabilizer's People

Contributors

bryantchhun avatar

Stargazers

 avatar

Watchers

James Cloos avatar  avatar  avatar

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.