• Stars
    star
    208
  • Rank 182,128 (Top 4 %)
  • Language
    Python
  • License
    Other
  • Created almost 10 years ago
  • Updated over 4 years ago

Reviews

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

Repository Details

Image histogram remapping

Hmap

An image histogram remapping script written in Python 2.7 by Anthony Kesich and Ross Goodwin. Changes source image so that source image's histogram matches target image's histogram. Requires PIL/Pillow:

$ sudo pip install Pillow

To run Hmap, cd into the directory where hmap.py (for black and white images) or hmap_c.py (for color images) is located. Ensure source and target images have the same height and width dimensions (in pixels), and place them in the directory. Run the script with 2 additional arguments (source and target image files) as shown in the following example.

Example:

$ python hmap_c.py source_image.jpg target_image.jpg

hmap.py

Source Image:

Source Image

Target Image:

Target Image

Result:

Result

Photographs by Ansel Adams

hmap_c.py

Color Source Image:

Color Source Image

Color Target Image:

Target Image

Result:

Result

Photographs by Steve McCurry

More Repositories

1

neuralsnap

Generates poetry from images using convolutional and recurrent neural networks
Python
307
star
2

lexiconjure

Twitter bot generating invented words and definitions using RNN + genetic algorithm
Python
131
star
3

photosynthesis

word.camera
JavaScript
90
star
4

sonnetizer

Generates rhyming sonnets in (mostly) iambic pentameter from any text corpus
Python
46
star
5

plotgen

OUTDATED VERSION collective consciousness fiction generator
TeX
44
star
6

ficgen

collective consciousness fiction generator
TeX
29
star
7

poetizer

Generates free or fixed verse poetry from any text corpus using Ngram natural language generator (markov chains) + pos tagging + rhyme identifier + metrical rules
Python
27
star
8

trumpocalypse

A book of poetry, computationally generated from Donald Trump quotes
18
star
9

cutup

The Cut-Up Method of Brion Gysin, as described by William S. Burroughs, implemented in Python
Python
18
star
10

american-names

All the surnames from the 2000 U.S. Census, plus all first names occurring > 4 times in Census data from 1883 forward
18
star
11

metermap

Maps clauses from a text corpus onto the metrical structure of a poem
Python
17
star
12

wordcar

Automatic narration from Brooklyn to New Orleans, March 2017
Python
14
star
13

razer

Patterns & Scrolling Text for Razer RGB LED Keyboards
Python
13
star
14

tokenizer

reversible natural language tokenizer
Python
8
star
15

vonnegut

Kurt Vonnegut's complete works, analyzed for sentiment, visualized as interactive TF-IDF word clouds
JavaScript
8
star
16

emoji

Emoji subtitle generator
PHP
7
star
17

sfpc

SFPC Code Narratives, July 2017
Python
7
star
18

musapaedia

Pandora for Poetry โ€“ Created for NYPL Labs Open Book Hack Day 2015
Python
6
star
19

clock

Project Gutenberg Clock
6
star
20

lyricist

Writes song lyrics from any text corpus
Python
3
star
21

-

Turns The Universe Into Paperclips
Shell
3
star
22

wraithhimself

Twitter bot reading Infinite Jest by David Foster Wallace as the first word of retweets
Python
3
star
23

itpcamp

Creative Text Manipulation with Python // Sunday, June 7, 1-5pm @ ITP
HTML
2
star
24

codeshakespeare

HTML
2
star
25

wikipoet

Writes simple poems using Wikipedia
Python
2
star
26

videopizza

Python
2
star
27

gutenflag

Twitter bot for Project Gutenberg book recommendations.
Python
2
star
28

followcreatives

Follows other creative folks on Twitter
Python
2
star
29

drgonzo

Hunter S. Thompson Therapist Bot
Python
1
star
30

soundcamera

listen to your photographs
HTML
1
star
31

blackhole

Visualizing the scale of supermassive black holes
Jupyter Notebook
1
star
32

poemportraits-backend

Lua
1
star
33

python-image

Image Processing with Python | ITP Unconference | January 20, 2016
HTML
1
star
34

bizarromoma

Twitter bot tweeting alternate versions of MoMA collection items every two minutes
Python
1
star
35

flight359

Ross Goodwin's 2019 NaNoGenMo project
TeX
1
star
36

IamA-Proof

It's me, Ross Goodwin. Ask me anything today, Thursday, September 17, 2020.
1
star
37

rossgoodwin.github.io

HTML
1
star
38

poemportraits

CSS
1
star
39

survdoc

Final Project for Surveillance Documentary โ€“ NYU ITP Spring 2015
Python
1
star
40

narratedreality

Narrated Reality website
HTML
1
star