Coder Social home page Coder Social logo

Comments (4)

DBobkov avatar DBobkov commented on June 10, 2024

You can use Xnviewmp or GIMP plugin for viewing. Works for me under Ubuntu 16.04.

from matterport.

priyakasimbeg avatar priyakasimbeg commented on June 10, 2024

I'm having a hard time loading the jxr into Python. I've tried imageio(with freeimage plugin) as well as imagemagik (wand). Could you please let me know what package can be used in python to open jxr format? Thanks.

from matterport.

kevinj22 avatar kevinj22 commented on June 10, 2024

You can install the following two packages:

sudo apt-get install libjxr-dev
sudo apt-get install libjxr-tools

Then use the JxrDecApp to uncompress the jxr into a tif file using the -c 10 48bppRGB format which is technically a HDR image format according to https://imagemagick.org/script/high-dynamic-range.php "Other HDR formats include TIFF 48-bit integer".

i.e JxrDecApp -i fc94c2a0445640028200b2f96e1fe90c_j0_5.jxr -o check_10.tif -c 10 -a 0

When you load the tif file in using python each channel is a 16 bit unsigned int from 0 to 65,536 (so effectively 32 bits in the positive range alone).

From here save it as whatever format you wish (i.e OpenExr or HDR).

from matterport.

Jerrypiglet avatar Jerrypiglet commented on June 10, 2024

Hey @kevinj22 thanks for pointing towards the conversion to .tif! However I wonder if you can further point out how to convert from .tif to .exr (in Python or command line)? I tried multiple solutions but wasn't able to get a .exr image in HDR format as output (dynamic range in .tif file always get crushed which every tool I use). Thanks a lot!

from matterport.

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.