GithubHelp home page GithubHelp logo

takaxp / openhtj2k Goto Github PK

View Code? Open in Web Editor NEW

This project forked from osamu620/openhtj2k

0.0 1.0 0.0 0 B

An open source implementation of ITU-T Rec.814 | ISO 15444-15 (a.k.a. HTJ2K).

License: BSD 3-Clause "New" or "Revised" License

CMake 0.82% C++ 99.18%

openhtj2k's Introduction

OpenHTJ2K

OpenHTJ2K is an open source implementation of ITU-T Rec.814 | ISO/IEC 15444-15 (a.k.a. JPEG 2000 Part 15, High-Throughput JPEG 2000; HTJ2K)

What OpenHTJ2K provides

OpenHTJ2K provides a shared liberary and sample applications having the following functionalities:

  • Decoding of ITU-T Rec.800 | ISO/IEC 15444-1 (JPEG 2000 Part 1) or ITU-T Rec.814 | ISO/IEC 15444-15 (JPEG 2000 Part 15.) compliant codestreams
    • fully compliant with conformance testing defined in ITU-T Rec.803 | ISO 15444-4.
  • Encoding an image into a codestream which is compliant with HTJ2K
    • currently supports only HTJ2K. The optional markers like COC, QCC, POC, etc. are not implemented.

Requirements

cmake (version 3.14 or later) and C++14 compliant compiler.

Building

Type the following command. ./ is a root of cloned repository.

cmake -G "Unix Makefiles" -B../build -DCMAKE_BUILD_TYPE=Release 

Then the executable should be found in ../bin directory.

Usage

Encoder

Only Part 15 compliant encoding is supported.

./open_htj2k_enc -i inputimage(PNM format) -o output-codestream [options...]

options

  • Stiles=Size
    • Size of tile "{height, width}"
  • Sorigin=Size
  • Stile_origin=Size
  • Clevels=Int
    • Valid range for number of DWT levels is from 0 to 32 (Default is 5)
  • Creversible=Bool
    • yes for lossless mode, no for lossy mode
  • Cblk=Size
    • Code-block size
  • Cprecincts=Size
    • Precinct size
  • Cycc=Bool
    • yes to use RGB->YCbCr
  • Corder
    • Progression order: LRCP, RLCP, RPCL, PCRL, CPRL
  • Cuse_sop=Bool
  • Cuse_eph=Bool
  • Qstep=Float
    • 0.0 < base step size <= 2.0

Decoder

The both Part 1 and Part 15 compliant decoding are supported.

./open_htj2k_dec -i codestream -o outputimage [-reduce n]

To see a help, use -h option.

Supported file types

Encoder

  • input image formats: .pgm .ppm
  • output codestreams: .j2k .j2c .jphc (Part 15)

Decoder

  • input codestreams : .j2k .j2c .jphc
  • output image formats: .raw .ppm .pgm .pgx

openhtj2k's People

Contributors

osamu620 avatar

Watchers

James Cloos 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.