# motmot.FastImage – SIMD image processing
Description
FastImage implements low-level image processing operations designed to operate very quickly by using SIMD instructions. This is achieved by calling the Intel IPP library. A bridge to numpy is made through the array interface.
Allocation of aligned memory
For the SIMD instructions to perform at maximal speed, images must be aligned on 32-byte boundaries. FastImage relies on the underlying IPP library to allocate the memory, trusting that it knows best:
import motmot.FastImage.FastImage as FastImage import numpy as np # Allocate the image fi_im1 = FastImage.FastImage8u( FastImage.Size(4,5) ) # width, height # Get a numpy view im1 = np.asarray( fi_im1 ) assert im1.shape == (5,4) # height, width
In the above example, im1.strides will be (32,1), indicating that each row is aligned on a 32 byte boundary.
Metadata
Release files for motmot.FastImage 0.7.0
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| motmot.FastImage-0.7.0.tar.gz | 100.1 kB | Without provenance | Details for motmot.FastImage-0.7.0.tar.gz |
Release files / motmot.FastImage-0.7.0.tar.gz
| Download URL | motmot.FastImage-0.7.0.tar.gz |
|---|---|
| Size | 100.1 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
105899906ef9cd578b29452dfc7f9a02129363351c962d865ab53854f445be7c
|
|
BLAKE2b-256 checksum How to use checksums |
f2224751d3c62a03ac60bb16df56a4500837862559ac84d43ecba0d6869418f8
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
Security for motmot.FastImage 0.7.0
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.