Git Product home page Git Product logo

Comments (10)

sgolodetz avatar sgolodetz commented on August 18, 2024

Have you tried specifying the full path to the sequence directory? (Failing which, what's your working directory?)

from infinitam.

rastinrastini avatar rastinrastini commented on August 18, 2024

this is my command: ./build/Apps/InfiniTAM/InfiniTAM /media/rastin/projects_drive/ai/autonomous_uav/datasets/Teddy/calib.txt /media/rastin/projects_drive/ai/autonomous_uav/datasets/Teddy/estimate_depth/%04i.ppm /media/rastin/projects_drive/ai/autonomous_uav/datasets/Teddy/estimate_depth/%04i.pgm

this is an sample of pgm https://imgur.com/a/p7b6g0N

from infinitam.

sgolodetz avatar sgolodetz commented on August 18, 2024

Ok fair enough. What's the file format? When I run ImageMagick's identify tool on one of the Teddy sequence images, I get this:

0000.pgm PGM 640x480 640x480+0+0 16-bit Grayscale Gray 614417B 0.000u 0:00.002

What do you get with your files?

from infinitam.

rastinrastini avatar rastinrastini commented on August 18, 2024

identify teddy_frames/0000.pgm:

PGM 640x480 640x480+0+0 16-bit Grayscale Gray 614417B 0.000u 0:00.010

identify estimated_frame/0000.pgm:

PGM 640x480 640x480+0+0 8-bit Grayscale Gray 307215B 0.010u 0:00.010

from infinitam.

rastinrastini avatar rastinrastini commented on August 18, 2024

when i use

mogrify -depth 16 -format pgm *.png

image convert to 16-bit and infinitam work. but dont reconstruct anything and screen is black
image of app:
https://imgur.com/a/TLdIGO4

identify now:
identify teddy_frames/0001.pgm:

PGM 640x480 640x480+0+0 16-bit Grayscale Gray 614417B 0.000u 0:00.010

identify estimated_frame/0001.pgm:

PGM 640x480 640x480+0+0 16-bit Grayscale Gray 614417B 0.000u 0:00.009

from infinitam.

rastinrastini avatar rastinrastini commented on August 18, 2024

anyone has any idea how correct it?

from infinitam.

victorprad avatar victorprad commented on August 18, 2024

are there any comments in the pgm? the infinitam reader does not support comments in the file

from infinitam.

sgolodetz avatar sgolodetz commented on August 18, 2024

Also, is the scale of the depth values reasonable? If you can load the depth images but you get a black screen when you try to do the reconstruction, that might be worth double-checking.

from infinitam.

rastinrastini avatar rastinrastini commented on August 18, 2024

how can know is comment there? one sample of it is uploaded. https://gofile.io/d/uRwR5b
what must be scale of depth? i only convert it by command show above.
when i use command

mogrify -depth 16 -format pgm -compress none *.png

and open one of pgm files with text editor, in top of that is:

P2
640 480
65535

and dont see any comment

from infinitam.

rastinrastini avatar rastinrastini commented on August 18, 2024

any scale or characteristics needed for pgm files?

from infinitam.

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.