Git Product home page Git Product logo

Comments (5)

osamu620 avatar osamu620 commented on June 9, 2024 1

@boxerab
If I provide an initial modification to the function, would it be a starting point to accomplish the whole work? If so, I would be happy to provide it. Please wait for a couple of days because I'm busy with teaching commitments..

from openhtj2k.

boxerab avatar boxerab commented on June 9, 2024 1

@osamu620 that would be great! I have some more optimisations to do, and then I can work on SigProp and MagRef passes, which are quite similar to Part 1 block coder passes.

from openhtj2k.

osamu620 avatar osamu620 commented on June 9, 2024

I think so. There is an open discussion:
We should determine a value, let me say p, for the bitplane number from the LSB, for each HT set. The current implementation takes zero for p (means all bitplanes are in one HT cleanup pass.)
For example, like PCRD-opt, we should somehow have to have criteria to have several candidates for p values in accordance with a distortion estimation.

from openhtj2k.

boxerab avatar boxerab commented on June 9, 2024

@osamu620 thanks - is it difficult to change the current block encoder so that is takes a non-zero p value ?

from openhtj2k.

osamu620 avatar osamu620 commented on June 9, 2024

@boxerab
It is not difficult.

void j2k_codeblock::set_MagSgn_and_sigma(uint32_t &or_val) {

To do so with non-zero p value, the above function shall be modified to include only bitplanes from the MSB down to p th bitplane. The MsgSgn and sigma values would be also changed.

The major part of the work would be the implementation of distortion estimation AND HT SigProp and MagRef encoding to generate HT Refinement segment. If a code block has HT SigProp and MagRef passes, the total number of coding passes in the block is three. (If no MagRef, the number is two)

from openhtj2k.

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.