question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Random access to the image data

See original GitHub issue

Since the data streams in the Odometry class are all generators, is it true that that makes random access slow? For example, if I want to get the 50th pointcloud, and do next(iter(itertools.islice(odometry.velo, 49, None))) like in the example, it will read the first 49 point clouds and then yield the 50th point cloud.

Issue Analytics

  • State:closed
  • Created 6 years ago
  • Comments:6 (3 by maintainers)

github_iconTop GitHub Comments

1reaction
leeclemnetcommented, Mar 18, 2018

FYI, I just pushed an update that adds support for proper random access to all the sensor data. The generators are still available for sequential access as well. https://github.com/utiasSTARS/pykitti/commit/19d29b665ac4787a10306bbbbf8831181b38eb38

I’ve also updated pykitti to version 0.3.0 on pypi, so you can update with pip if you like.

1reaction
samarth-robocommented, Mar 2, 2018

Yes I ended up using the list of files in my data loader. Thanks for this repository, and I’ll check the other one out!

Read more comments on GitHub >

github_iconTop Results From Across the Web

Random access image (picture) file - java - Stack Overflow
Is there a file format (image file) that allows random access to its sections. For example, I have huge image file with resolution...
Read more >
Light Field Image Compression with Random Access
Abstract: In light field compression, besides coding efficiency, providing random access to individual views is also a very significant factor.
Read more >
Random access parallel microscopy - eLife
We introduce a random-access parallel (RAP) imaging modality that uses a novel design inspired by a Newtonian telescope to image multiple ...
Read more >
Random Data Access (Experimental) — Ray 2.2.0
This partitions the dataset across the cluster by the given sort key, providing efficient random access to records via binary search. A number...
Read more >
Image random file access routines - ScienceDirect.com
In any large image processing system a set of routines that access the image data is vital. This paper discusses the required image...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found