Giter Site home page Giter Site logo

chromaxray's Introduction

Pseudocolor image augmentation utility.

As I was doing X-Ray imaging of some electronics, I wanted to test the idea of adding false color to monochrome images to see if it would enhance visibility and readability. Turns out it's actually useful in some cases!

Opened images are not uploaded. All processing done client-side.

This simple tool takes an image, runs a heuristic on it's pixel values and applies a color map. Color map can be further manipulated by changing the sliders. Shift moves the center of the color map which can help zero in on the features of interest.Quantize equalizes nearby color values which can be handy in some color maps. Using Min and Max sliders you can control the range of the color map that's applied. Play around with these and see if they lead to a better image.

You can also change the color map itself. All of the ones in the drop down list come from js-colormaps library which in turn comes from Python's matplotlib. Default color map is turbo which was specifically designed with regards to human vision.

Guess parameters is run by default when you open a new image, but can be used to reset all the sliders back if you go too far. Finally, you can Save the augmented image which should render it in the same resolution as the original and make it into a download.

This whole thing started when a neighbor lent me his X-Ray machine to have some fun. You can read more about that work here.

chromaxray's People

Contributors

ea 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.