Open iwander-all opened 3 years ago
Are your files numbered from 0
or 1
? It can't find 0000.ppm
etc., but you run identify
on 0001.ppm
. Are you sure that 0000.ppm
is there?
0000.ppm is also under the same action of mogrify
. Then I moved 0000.ppm and .pgm out of the dir, it can not run as well.
Are you happy to share the sequence with me (e.g. WeTransfer me a .zip)? I can try it locally to double-check that the files are in the right format.
I update 10 pairs on https://github.com/iwander-all/image_.git
, these images I did mogrify -resize 50% *
because I previously guessed maybe the images are too big.
the info is
0000.ppm PPM 640x360 640x360+0+0 8-bit sRGB 691KB 0.000u 0:00.000
0000.pgm PGM 640x360 640x360+0+0 16-bit Grayscale Gray 461KB 0.000u 0:00.000
If the images without 50% resize are more expected, I will share then. Thanks for the help
Ok they work fine for me, nothing seriously wrong with the images (besides e.g. the colour images being BGR rather than RGB, etc.). Are the images in the same directory as the calib.txt
by any chance? They are in the repository you provided. If so, you might need to delete the Frames
subdirectory in the paths you're providing on the command line.
By the way, the last line in your calib.txt
file looks a little odd to me:
0.0 0.0
For comparison, I have things like this in mine:
affine 0.001 0
The Teddy sequence one is slightly different, but it doesn't have zeros:
1135.09 0.0819141
The details of what those mean can be found in ITMDisparityCalib.h
and ITMViewBuilder_Shared.h
(it's been a while since I looked at them), but I would have a look to check.
Thanks for the help. I use Ubuntu to do the job, but it still does not work, the dir I wrote is correct, thanks for the help anyway.
Ok one last suggestion - try the infinitam_v3.5
branch and build with OpenCV enabled (i.e. WITH_OPENCV
on in CMake). I'm on that branch, so maybe that's why it works for me but not for you. The OpenCV loading/saving was added in v3.5, so that might help.
where I can find v3.5, thanks
mark
when I run ./InfiniTAM, it shows:
Then I try the methods in other issues like:
then the difference between Teddy and my images are:
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