Skip to content

cannot read images #162

@iwander-all

Description

@iwander-all

when I run ./InfiniTAM, it shows:

initialising ...
using calibration file: /home/hurq2085/Downloads/bags/2021-03-09-20-19-00/calib.txt
using rgb images: /home/hurq2085/Downloads/bags/2021-03-09-20-19-00/Frames/%04i.ppm
using depth images: /home/hurq2085/Downloads/bags/2021-03-09-20-19-00/Frames/%04i.pgm
error reading file '/home/hurq2085/Downloads/bags/2021-03-09-20-19-00/Frames/0000.ppm'
error reading file '/home/hurq2085/Downloads/bags/2021-03-09-20-19-00/Frames/0000.pgm'
compiled without FFMPEG
trying OpenNI device: /home/hurq2085/Downloads/bags/2021-03-09-20-19-00/Frames/%04i.ppm - calibration: from file
compiled without OpenNI support
trying UVC device
compiled without LibUVC support
trying RealSense device
compiled without RealSense Windows support
trying RealSense device with SDK 2.X (librealsense2)
compiled without RealSense SDK 2.X support
trying MS Kinect 2 device
compiled without Kinect 2 support
trying PMD PicoFlexx device
compiled without LibRoyale support
failed to open any image stream

Then I try the methods in other issues like:

identify 0001.ppm
identify 0001.pgm

then the difference between Teddy and my images are:

0001.ppm PPM 640x480 640x480+0+0 8-bit sRGB 922KB 0.000u 0:00.000
0001.ppm PPM 1280x720 1280x720+0+0 8-bit sRGB 2.765MB 0.000u 0:00.020
0001.pgm PGM 640x480 640x480+0+0 16-bit Grayscale Gray 614KB 0.000u 0:00.000
0001.pgm PGM 1280x720 1280x720+0+0 8-bit Grayscale Gray 922KB 0.000u 0:00.000

Then I use:
mogrify -depth 16 -format pgm *.pgm
it shows:
0001.pgm PGM 1280x720 1280x720+0+0 16-bit Grayscale Gray 1.843MB 0.010u 0:00.030

But still cannot read images, could you please help, thanks

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions