Skip to main content
************************************************
:mod:`motmot.FastImage` -- SIMD image processing
************************************************

.. module:: motmot.FastImage.FastImage
:synopsis: SIMD image processing
.. index::
module: FastImage
single: FastImage

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`__.

__ http://docs.scipy.org/doc/numpy/reference/arrays.interface.html

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
image processing 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_ipp 0.5.5.ipp

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

Source distributions (sdists)

Source distribution for motmot.FastImage_ipp 0.5.5.ipp
File Size Uploaded
motmot.FastImage_ipp-0.5.5.ipp.zip 38.8 kB Details
motmot.FastImage_ipp-0.5.5.ipp.tar.gz 29.0 kB Details

Release files / motmot.FastImage_ipp-0.5.5.ipp.zip

Download URL motmot.FastImage_ipp-0.5.5.ipp.zip
Size 38.8 kB
Tags Source
SHA-256 checksum
How to use checksums
ff44b67a143cf25653a44c6ff8cded7d183d61f7502ece1bbbb182b694c8bef2
BLAKE2b-256 checksum
How to use checksums
ac2dafeca6433cf164c7aa4ac60f595c8c4736a037b5e0c23a7b5566e19ec53b
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No

Release files / motmot.FastImage_ipp-0.5.5.ipp.tar.gz

Download URL motmot.FastImage_ipp-0.5.5.ipp.tar.gz
Size 29.0 kB
Tags Source
SHA-256 checksum
How to use checksums
72001f8eb8addaf02b81f3fbad2824bd5e1c367332ca21e6fc816f8d51871306
BLAKE2b-256 checksum
How to use checksums
d6ba843592c52c0b2c816af8fa8ae4d1eb0737aba5fc83220485e70796bffc11
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No

Release history Release notifications | RSS feed

This release

0.5.5.ipp This release

2 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