Giter Club home page Giter Club logo

Comments (14)

LiliMeng avatar LiliMeng commented on July 4, 2024 1

Thanks a lot @Thunderbolt-sx ! Your Teddy dataset works really great!( https://www.youtube.com/watch?v=XPsw8efq6eU). It's a little bit wired by using the rgbd_dataset_freiburg2_large_with_loop from (http://vision.in.tum.de/data/datasets/rgbd-dataset/download). And the original png format rgb photos are converted to ppm format, the png format depth photos are converted to pgm format by using matlab tool(https://github.com/LiliMeng/matlabForComputerVisionTools/blob/master/fromPNGtoPPM.m). The video for RGBDdataset is here(https://www.youtube.com/watch?v=mXt8AYPDwq4)

What's wrong with this RGBDdataset testing? Is that because too few depth information?

Thanks again!

from infinitam.

sgolodetz avatar sgolodetz commented on July 4, 2024 1

@drinkingcoder: See the download page here:

http://www.robots.ox.ac.uk/~victor/infinitam/download.html

In particular, the link is:

http://www.robots.ox.ac.uk/~victor/infinitam/files/teddy_20141003.zip

The reason it's not in the repository is because it's big, and not everyone needs it.

from infinitam.

egoist-sx avatar egoist-sx commented on July 4, 2024

ppm and pgm are "raw" image file for color and gray image respectively. You should not simply rename it for format conversion, it will not work. Use tools like imagemagick if you really want to convert between different format.

from infinitam.

LiliMeng avatar LiliMeng commented on July 4, 2024

Thanks a lot! Using the matlab functions it could convert many png to ppm/pgm very efficiently
for i = 1 :100
I = imread(sprintf('%d.png', i));
imwrite(I, sprintf('%d.ppm', i));
end

but it displayed:
initialising ...
using calibration file: Teddy/calib.txt
using rgb images: Teddy/1.ppm
using depth images: Teddy/111.pgm
error reading file 'Teddy/1.ppm'
error reading file 'Teddy/111.pgm'
Segmentation fault (core dumped)

from infinitam.

egoist-sx avatar egoist-sx commented on July 4, 2024

Are you sure you start depth images with 111.pgm? Could you please check if the images actually exist at the specified path? If everything fails, try to download data I have just uploaded here

from infinitam.

egoist-sx avatar egoist-sx commented on July 4, 2024

The depth format is obviously wrong. We use either "raw" depth data with calibration, or short depth in mm unit.

from infinitam.

connerbrooks avatar connerbrooks commented on July 4, 2024

The depth images are scaled by a factor of 5000, i.e., a pixel value of 5000 in the depth image corresponds to a distance of 1 meter from the camera, 10000 to 2 meter distance, etc. A pixel value of 0 means missing value/no data.

TUM file format descriptions

You have to covert to the format that InfiniTAM expects.

from infinitam.

LiliMeng avatar LiliMeng commented on July 4, 2024

@connerbrooks Thanks a lot! How to convert the format? thanks again!:)

from infinitam.

connerbrooks avatar connerbrooks commented on July 4, 2024

I'm not entirely sure, I am trying to work that out.
Converting to mm:

depth_m = data[i] / 5000; // data[i] is a ushort and InfiniTAM expects a signed short
depth_mm = depth_m * 1000;

which still does not work correctly in InfiniTAM.

from infinitam.

drinkingcoder avatar drinkingcoder commented on July 4, 2024

Can I find the ppm and pgm files to implement the video demo anywhere? It's so strange that the folder 'Teddy' contains only a calib file without frames data.

from infinitam.

drinkingcoder avatar drinkingcoder commented on July 4, 2024

@sgolodetz :Get it. Thanks!

from infinitam.

xiaoyaozhuzi avatar xiaoyaozhuzi commented on July 4, 2024

mark

from infinitam.

renhaofan avatar renhaofan commented on July 4, 2024

Are you sure you start depth images with 111.pgm? Could you please check if the images actually exist at the specified path? If everything fails, try to download data I have just uploaded here

Thanks again

from infinitam.

jizhu1023 avatar jizhu1023 commented on July 4, 2024

mark

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.