GithubHelp home page GithubHelp logo

skunkworxdark / match_histogram Goto Github PK

View Code? Open in Web Editor NEW
2.0 1.0 0.0 24 KB

An InvokeAI node to match a histogram from one image to another.

License: MIT License

Python 98.52% Batchfile 0.32% Shell 1.16%

match_histogram's Introduction

match-histogram Node for InvokeAI

Discord Link :- match-histogram

An InvokeAI node to match a histogram from one image to another. This is a bit like the color correct node in the main InvokeAI but this works in the YCbCr colourspace and can handle images of different sizes. Also does not require a mask input.

  • Option to only transfer luminance channel.
  • Option to save output as grayscale

A good use case is to normalize the colors of an image that has been through the tiled scaling workflow of my XYGrid Nodes.

Usage

Install

There are two options to install the nodes:

  1. Recommended: Use Git to clone the repo into the invokeai/nodes directory. This allows updating via git pull.

    • In the InvokeAI nodes folder, run:

      For Latest Invoke (4.0+):

      git clone https://github.com/skunkworxdark/match_histogram.git

      For Invoke (3.5-3.7):

      git clone https://github.com/skunkworxdark/match_histogram/tree/invoke-3.7
  2. Manually download and place match_histogram.py & init.py in a subfolder in the invokeai/nodes folder.

Update

Run a git pull from the match_histogram folder.

Or run the update.bat or update.sh.

For manual installs, download and replace the files.

Remove

Delete the match_histogram folder or rename it to _match_histogram and Invoke will ignore it.

image

match_histogram's People

Contributors

skunkworxdark avatar

Stargazers

Ade avatar  avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.