• Stars
    star
    100
  • Rank 333,484 (Top 7 %)
  • Language
    Python
  • License
    Other
  • Created over 11 years ago
  • Updated over 2 years ago

Reviews

There are no reviews yet. Be the first to send feedback to the community and the maintainers!

Repository Details

Image processors and filters for use with ImageKit

INSTAKIT

Instakit is a suite of image processors and filters, for processing PIL images.

InstaKit processors use the same API as PILKit's, so they can be used with anything that supports those, including ImageKit. Or you can just use them by themselves to process images using Python.

one

Image Processors and Utilities On Offer:

  • instakit.processors.adjust

    • Color(0.0 – 1.0)
    • Brightness(0.0 – 1.0)
    • Contrast(0.0 – 1.0)
    • Sharpness(0.0 – 1.0)
    • Invert()
    • Equalize([mask])
    • AutoContrast([cutoff{uint8_t}, [ignore{uint8_t}]])
    • Solarize([threshold{uint8_t}])
    • Posterize([bits{2**n}])
  • instakit.processors.blur

    • Contour()
    • Detail()
    • Emboss()
    • FindEdges()
    • EdgeEnhance()
    • EdgeEnhanceMore()
    • Smooth()
    • SmoothMore()
    • Sharpen()
    • UnsharpMask([radius=2, [percent=150, [threshold=3]]])
    • SimpleGaussianBlur([radius=2])
    • GaussianBlur([sigmaX=3, [sigmaY=3, [sigmaZ=3]]])
  • instakit.processors.curves

    • InterpolationMode
      • LINEAR, NEAREST, ZERO, SLINEAR, QUADRATIC, CUBIC, PREVIOUS, NEXT, LAGRANGE
    • CurveSet(<FILE.ACV>, [InterpolationMode.LAGRANGE])
  • instakit.processors.halftone

    • Atkinson([threshold{uint8_t}])
    • FloydSteinberg([threshold{uint8_t}])
    • SlowAtkinson([threshold{uint8_t}])
    • SlowFloydSteinberg([threshold{uint8_t}])
    • CMYKAtkinson([gcr=20{%}])
    • CMYKFloydsterBill([gcr=20{%}])
    • DotScreen([sample=1, [scale=2, [angle=0{°}]]])
    • CMYKDotScreen([gcr=20{%}, [sample=10, [scale=10, [thetaC=0{°}, [thetaM=15{°}, [theta=30{°}, [thetaK=45{°}]]]]]]])
  • instakit.processors.noise

    • GaussianNoise()
    • PoissonNoise()
    • GaussianLocalVarianceNoise()
    • SaltNoise()
    • PepperNoise()
    • SaltAndPepperNoise()
    • SpeckleNoise()
  • instakit.processors.squarecrop

    • histogram_entropy(image)
    • SquareCrop() … smart!
  • instakit.utils.ext.api (Cythonized)

    • hsluv_to_rgb(…)
    • rgb_to_hsluv(…)
    • hpluv_to_rgb(…)
    • rgb_to_hpluv(…)
  • instakit.utils.gcr

    • gcr(image, [percentage=20{%}, [revert_mode=False]])
    • BasicGCR([percentage=20{%}, [revert_mode=False]])
  • instakit.utils.kernels

  • instakit.utils.lutmap

  • instakit.utils.mode

    • Mode
      • MONO, L, I, F, P, RGB, RGBX, RGBA, CMYK, YCbCr, LAB, HSV, RGBa, LA, La, PA, I16, I16L, I16B
      • Many useful PIL.Image delegate methods (q.v. source)
  • instakit.utils.ndarrays

  • instakit.utils.pipeline

    • Pipe, Ink, NOOp
    • CMYKInk and RGBInk
    • ChannelFork and ChannelOverprinter
  • instakit.utils.static

  • instakit.utils.stats

two

three

As of this first draft there are Instagrammy image-curve adjusters and a few other geegaws.

Instakit is made available to you and the public at large under the MIT license -- see LICENSE.md for the full text.

† née “django-instakit” – All dependencies and traces of Django have since been excised, with thanks to matthewwithanm.

More Repositories

1

django-signalqueue

Truly asynchronous Django signals!
Python
54
star
2

ColorPy

Mark Kness' ColorPy, now on GitHub.
Python
25
star
3

libsiftfast

My fork of zerofrog's fast SIFT C++ reimplementation of Bill Lowe's original smash-hit image-analysis algorithm.
C++
20
star
4

django-delegate

Automatic delegate methods for Django managers and querysets without runtime dispatch penalties.
Python
17
star
5

pythonpy-fork

A fork of the time-tested `pythonpy` CLI utility, formerly by Russel91
Python
11
star
6

liresolr

Local downstream fork of https://bitbucket.org/dermotte/liresolr/
Java
8
star
7

pylire

Python ports of Lire image-analysis algorithms. http://github.com/fish2000/pylire
Python
7
star
8

django-docfield-couchdb

Django fields that encapsulate docs and other idioms from a live CouchDB instance.
Python
7
star
9

libimread

Binary image read/write format support for Halide and CoreGraphics
C++
6
star
10

django-url-namespaces

Datastructures and syntax for mildly less insane Django URLConfs.
Python
6
star
11

halogen

Halide generator introspection for build systems
Python
6
star
12

fire-cbir

My fork of the fantastic image-search C++ codebase originally released by: Deselaers, T., Keysers, D., Ney, H., "Features for Image Retrieval: An Experimental Comparison", Information Retrieval, vol. 11, issue 2, The Netherlands, Springer, pp. 77-107, 03/2008.
C++
6
star
13

python-vlfeatures

Python wrapper for vlfeat image-analysis package, forked from https://launchpad.net/pyvlfeat
C
6
star
14

subjective-c

Misadventures in Marrying Objective-C with C++
C++
5
star
15

h5dj

HDF5 interfaces for Django.
Python
4
star
16

iod-symbolizer

Parse C/C++/Objective-C/Objective-C++ source for IOD symbols and output header files
Python
4
star
17

homage

Home-directory dot-files, scripts, operational utilities and other assorted crufty hoohah
Python
3
star
18

CLU

Common Lightweight Utilities, or Command-Line Utilities (your pick)
Python
3
star
19

colorkit

Working title — short for “color kittens”.
Python
3
star
20

pygments-csv-lexer

My fork of https://github.com/Kristinita/PygmentsCSVLexer
Python
3
star
21

nodebox-color

Fork of NodeBox v1.0-series python color library
Python
2
star
22

ocropus

Fork of the Pure-Or-At-Least-99%-Python OCR package (with some basic fixes) from http://code.google.com/p/ocropus/
Shell
2
star
23

lire

Personal git mirror of the Lire image analysis and feature extraction platform’s SVN-managed codebase
Java
2
star
24

HDRInfoSite

web pages for info site
HTML
2
star
25

viron

Environment variable syntax, text file templates.
Python
2
star
26

achewood

Django app for local caching of the popular Achewood comic strip, for like when you are on the train with no internet and want to read it
Python
2
star
27

ocropy

OCROpus™ submodule (containing the pythonic meat of the project). See also https://github.com/fish2000/ocropus and http://code.google.com/p/ocropus
Python
2
star
28

FSTestAPI

Simple Cocoa ISBN lookup example code using the forsale.objectsinspaceandtime.com REST API.
Objective-C
2
star
29

Praxa

The virtualenvwrapper hooks with which I git “R” done
Shell
1
star
30

pyobjc

Local mirror
Python
1
star
31

django-sonnar

Modular image processing for your Django apps.
Python
1
star
32

libimread-examples

Examples of stuff you can do with libimread
Jupyter Notebook
1
star
33

plotdevice-tensor

Image processing pipelines for plotdevice
Objective-C
1
star
34

duckpunch.js

Missing methods for JavaScript builtins
JavaScript
1
star
35

bfd2

Baseball For Dinner™ dot com version two
Python
1
star
36

dwight

Run Django management commands against arbitrary settings files.
Python
1
star
37

homebrew-praxa

Homebrew Formulae For Praxa – Abandon Hope All Ye Who Tap
Ruby
1
star
38

cython-imaging

This Web Page Is Under Construction
C
1
star
39

django-twemoir

Twemoir: twitter memoir. Tweet-related model objects and stateful sync connectors for Django and Twitter.
CSS
1
star
40

getajob

Command-line job search tool, using the AuthenticJobs API (and potentially more sources later)
1
star
41

design

Static portfolio site: http://fish2000.github.io/design/
HTML
1
star