Skip to main content
This is a pre-production deployment of Warehouse. Changes made here affect the production instance of PyPI (
Help us improve Python packaging - Donate today!

Pythonic API for a subset of the Intel Integrated Performance Primitives (Intel IPP) library

Project Description

# motmot.FastImage – SIMD image processing


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.

Release History

This version
History Node


History Node


History Node


History Node


History Node


Download Files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Filename, Size & Hash SHA256 Hash Help File Type Python Version Upload Date
(100.1 kB) Copy SHA256 Hash SHA256
Source None Nov 19, 2016

Supported By

Elastic Elastic Search Pingdom Pingdom Monitoring Dyn Dyn DNS Sentry Sentry Error Logging CloudAMQP CloudAMQP RabbitMQ Heroku Heroku PaaS Kabu Creative Kabu Creative UX & Design Fastly Fastly CDN DigiCert DigiCert EV Certificate Google Google Cloud Servers DreamHost DreamHost Log Hosting