Skip to main content

Python 3.7 Python 3.8 Python 3.9 License: MIT Linux CI

Fast nearest-neighbor interpolation of disparity maps using Cython

Some stereo matching methods such as Semi-Global Matching (SGM) might provide sparse disparity maps, meaning that some pixels will not have valid disparity values. In those cases, an interpolation of the predicted disparity map might be needed for evaluation against semi-dense ground-truth, as in the KITTI Stereo 2015 benchmark.

Usage example:

import disparity_interpolation


def interpolate_disparity(disparity_map: np.array) -> np.array:
    """Intepolate disparity image to inpaint holes.
       The expected run time for a stereo image with 2056 × 2464 pixels is ~50 ms.
    """
    # Set the invalid disparity values defined as "0" to -1.
    disparity_map[disparity_map == 0] = -1
    disparity_map_interp = disparity_interpolation.disparity_interpolator(disparity_map)

    return disparity_map_interp

Release files for disparity-interpolation 1.0.5

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Built distributions (wheels)

Table of built distributions (wheels) for disparity-interpolation 1.0.5
File
disparity_interpolation-1.0.5-cp39-cp39-win_amd64.whl CPython 3.9 CPython 3.9 Windows x86-64 Details
disparity_interpolation-1.0.5-cp39-cp39-manylinux_2_17_x86_64.manylinux2014_x86_64.whl CPython 3.9 CPython 3.9 Linux glibc 2.17+ x86-64 Details
disparity_interpolation-1.0.5-cp39-cp39-macosx_10_9_x86_64.whl CPython 3.9 CPython 3.9 macOS 10.9+ x86-64 Details
disparity_interpolation-1.0.5-cp38-cp38-win_amd64.whl CPython 3.8 CPython 3.8 Windows x86-64 Details
disparity_interpolation-1.0.5-cp38-cp38-manylinux_2_17_x86_64.manylinux2014_x86_64.whl CPython 3.8 CPython 3.8 Linux glibc 2.17+ x86-64 Details
disparity_interpolation-1.0.5-cp38-cp38-macosx_10_9_x86_64.whl CPython 3.8 CPython 3.8 macOS 10.9+ x86-64 Details
disparity_interpolation-1.0.5-cp37-cp37m-win_amd64.whl CPython 3.7 CPython 3.7 pymalloc Windows x86-64 Details
disparity_interpolation-1.0.5-cp37-cp37m-manylinux_2_17_x86_64.manylinux2014_x86_64.whl CPython 3.7 CPython 3.7 pymalloc Linux glibc 2.17+ x86-64 Details
disparity_interpolation-1.0.5-cp37-cp37m-macosx_10_9_x86_64.whl CPython 3.7 CPython 3.7 pymalloc macOS 10.9+ x86-64 Details

Total release size: 6.9 MB

Release files / disparity_interpolation-1.0.5-cp39-cp39-win_amd64.whl

Download URL disparity_interpolation-1.0.5-cp39-cp39-win_amd64.whl
Size 70.9 kB
Tags CPython 3.9 Windows x86-64
SHA-256 checksum
How to use checksums
fa91744d87ec534b50ee305ca744d82fdf894796930ecafff0f8dd734536e64b
BLAKE2b-256 checksum
How to use checksums
4063b359f382d3490bbdfce429386157d96770cad626b5a1a297d856380be6e1
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/3.4.2 importlib_metadata/4.6.1 pkginfo/1.7.1 requests/2.26.0 requests-toolbelt/0.9.1 tqdm/4.61.2 CPython/3.9.6

Release files / disparity_interpolation-1.0.5-cp39-cp39-manylinux_2_17_x86_64.manylinux2014_x86_64.whl

Download URL disparity_interpolation-1.0.5-cp39-cp39-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Size 2.2 MB
Tags CPython 3.9 Linux glibc 2.17+ x86-64
SHA-256 checksum
How to use checksums
b1a3b452e42b2b28bc6e6ce389c83f52cd71cf52cabc453171de66631b1cf291
BLAKE2b-256 checksum
How to use checksums
44136fe158020d00ca626a0fff4c6fbcbf254f676c959cfd6a82ffde9fdb2570
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/3.4.2 importlib_metadata/4.6.1 pkginfo/1.7.1 requests/2.26.0 requests-toolbelt/0.9.1 tqdm/4.61.2 CPython/3.9.6

Release files / disparity_interpolation-1.0.5-cp39-cp39-macosx_10_9_x86_64.whl

Download URL disparity_interpolation-1.0.5-cp39-cp39-macosx_10_9_x86_64.whl
Size 67.3 kB
Tags CPython 3.9 macOS 10.9+ x86-64
SHA-256 checksum
How to use checksums
e947545655676501dfcbc117daed0ff3f0ae8cd91ab54d4d4f1ba6517fd2f088
BLAKE2b-256 checksum
How to use checksums
0fae61d84cdfe99e11ffc06f7688eb9357df099b47c38e3409c5b9dada045caf
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/3.4.2 importlib_metadata/4.6.1 pkginfo/1.7.1 requests/2.26.0 requests-toolbelt/0.9.1 tqdm/4.61.2 CPython/3.9.6

Release files / disparity_interpolation-1.0.5-cp38-cp38-win_amd64.whl

Download URL disparity_interpolation-1.0.5-cp38-cp38-win_amd64.whl
Size 71.6 kB
Tags CPython 3.8 Windows x86-64
SHA-256 checksum
How to use checksums
90d67a5a317cdda0e07ea90b2633c724ecd7a817e96ac857d1c49bf14991cd03
BLAKE2b-256 checksum
How to use checksums
7844d8f615e3c4f44b3ae48571772db1c66bcf32e8c53b11452378267b47db3a
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/3.4.2 importlib_metadata/4.6.1 pkginfo/1.7.1 requests/2.26.0 requests-toolbelt/0.9.1 tqdm/4.61.2 CPython/3.9.6

Release files / disparity_interpolation-1.0.5-cp38-cp38-manylinux_2_17_x86_64.manylinux2014_x86_64.whl

Download URL disparity_interpolation-1.0.5-cp38-cp38-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Size 2.2 MB
Tags CPython 3.8 Linux glibc 2.17+ x86-64
SHA-256 checksum
How to use checksums
90897efa2d5832f26a7f0f9cac7938fd6a14d76c418f36fcaa395ed375f9b27a
BLAKE2b-256 checksum
How to use checksums
6f210aaae6a4c3368eb372436d65bd700cdf6a6bef531ab666070b461fee5401
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/3.4.2 importlib_metadata/4.6.1 pkginfo/1.7.1 requests/2.26.0 requests-toolbelt/0.9.1 tqdm/4.61.2 CPython/3.9.6

Release files / disparity_interpolation-1.0.5-cp38-cp38-macosx_10_9_x86_64.whl

Download URL disparity_interpolation-1.0.5-cp38-cp38-macosx_10_9_x86_64.whl
Size 69.3 kB
Tags CPython 3.8 macOS 10.9+ x86-64
SHA-256 checksum
How to use checksums
0f6428701823d7fa7ae9856cc2850f18b8cf98d4f1b0240b0ea5f2105c9cd8e6
BLAKE2b-256 checksum
How to use checksums
7c50f1f54925a072a2730899f98eb9309395a3ce0b0ef146268ae99e95fb6414
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/3.4.2 importlib_metadata/4.6.1 pkginfo/1.7.1 requests/2.26.0 requests-toolbelt/0.9.1 tqdm/4.61.2 CPython/3.9.6

Release files / disparity_interpolation-1.0.5-cp37-cp37m-win_amd64.whl

Download URL disparity_interpolation-1.0.5-cp37-cp37m-win_amd64.whl
Size 69.9 kB
Tags CPython 3.7 CPython 3.7 pymalloc Windows x86-64
SHA-256 checksum
How to use checksums
fc5aaf5e06656afcb4bcf00ff2068e38b601e602c7093b12f2a21a3609b8828b
BLAKE2b-256 checksum
How to use checksums
417acd1de8f955589716dc00138d99a89576e79a902e40a2bf6014232e614b68
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/3.4.2 importlib_metadata/4.6.1 pkginfo/1.7.1 requests/2.26.0 requests-toolbelt/0.9.1 tqdm/4.61.2 CPython/3.9.6

Release files / disparity_interpolation-1.0.5-cp37-cp37m-manylinux_2_17_x86_64.manylinux2014_x86_64.whl

Download URL disparity_interpolation-1.0.5-cp37-cp37m-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Size 2.1 MB
Tags CPython 3.7 CPython 3.7 pymalloc Linux glibc 2.17+ x86-64
SHA-256 checksum
How to use checksums
a2d0b87fddcca1c70dc90a37defbd40f23dad9953774721d9ce1242bdc404e1e
BLAKE2b-256 checksum
How to use checksums
81b8e3089c855cf624247c624216bf48bd6027c16a327db142e0b7ae7a1fd064
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/3.4.2 importlib_metadata/4.6.1 pkginfo/1.7.1 requests/2.26.0 requests-toolbelt/0.9.1 tqdm/4.61.2 CPython/3.9.6

Release files / disparity_interpolation-1.0.5-cp37-cp37m-macosx_10_9_x86_64.whl

Download URL disparity_interpolation-1.0.5-cp37-cp37m-macosx_10_9_x86_64.whl
Size 69.4 kB
Tags CPython 3.7 CPython 3.7 pymalloc macOS 10.9+ x86-64
SHA-256 checksum
How to use checksums
eca27fab1a7c1d7fe966620690c6a57ce004541d23bb6f5d88b90e37a5c86d7b
BLAKE2b-256 checksum
How to use checksums
7550c51b254bb1a3c0de6fbe557cfcfaca4475ccd16dd8b0159f97e4cef00a82
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/3.4.2 importlib_metadata/4.6.1 pkginfo/1.7.1 requests/2.26.0 requests-toolbelt/0.9.1 tqdm/4.61.2 CPython/3.9.6

Release history Release notifications | RSS feed

This release

1.0.5 This release

9 release files

1.0.4

9 release files

1.0.3

4 release files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page