Coder Social home page Coder Social logo

Comments (7)

ywcmaike avatar ywcmaike commented on August 17, 2024

@HTLife

from png_to_klg.

HTLife avatar HTLife commented on August 17, 2024

@ywcmaike
Have you ever tried the file that I converted?

from png_to_klg.

ywcmaike avatar ywcmaike commented on August 17, 2024

Hi, I have done like what you do. but the elasticfusion runs error. I read the code of elasticfusion, only have jpegloader.h, but no pngloader. it may be the reason. I can't get the file that you converted. I'm Chinese in mainland, can not surf the internet such like "https://drive.google.com" quickly. Do you have the pan.baidu.com?

from png_to_klg.

HTLife avatar HTLife commented on August 17, 2024

Try this link out!

from png_to_klg.

ywcmaike avatar ywcmaike commented on August 17, 2024

I try the dataset you have given, and it can run normally. But when I do as the README.md that you said, the producted klg doesnot work in the elasticfusion. I always crashed with the error such as "Not a JPEG file: starts with 0x15 0xe5" . How to produce the klg? What I do is as followed:

  1. product the associations.txt
    ~/Downloads/dataset/TUM/rgbd_dataset_freiburg1_360$ python associate.py rgb.txt depth.txt > associations.txt
  2. product the klg file:
    ~/work/3dReconstruction/png_to_klg/build$ ./pngtoklg -w ~/Downloads/dataset/TUM/rgbd_dataset_freiburg1_360/ -o ~/Downloads/dataset/TUM/rgbd_dataset_freiburg1_360.klg -t

Current working directory:
/home/yeweicai/Downloads/dataset/TUM/rgbd_dataset_freiburg1_360
Depth: rgb/1305031815.817442.png
RGB: depth/1305031815.803102.png
scale: 5000
klg_name:
/home/yeweicai/Downloads/dataset/TUM/rgbd_dataset_freiburg1_360.klg
Progress:
0744 / 0744
Conversion complete!
3) run the elasticfusion:
~/work/ElasticFusion/GUI/build$ ./ElasticFusion -l ~/Downloads/dataset/TUM/rgbd_dataset_freiburg1_360.klg
Not a JPEG file: starts with 0x00 0x1f
It ran and crashed quikly with the error :Not a JPEG file: starts with 0x00 0x1f
@HTLife

from png_to_klg.

HTLife avatar HTLife commented on August 17, 2024

In step product the associations.txt, depth should be the first parameter.

python associate.py PATH_TO_SEQUENCE/depth.txt PATH_TO_SEQUENCE/rgb.txt > associations.txt

from png_to_klg.

ywcmaike avatar ywcmaike commented on August 17, 2024
  1. python associate.py depth.txt rgb.txt > associations.txt

thanks, I have solved the problem, and it can run in the elasticfusion well.
I close the issue.

from png_to_klg.

Related Issues (16)

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.