Code Monkey home page Code Monkey logo

ir's Introduction

ir

Image Stitching

Run main() in runner.py to have a pop-up file chooser. Select the folder that contains the images you want to stitch and it will:
  • rescale the images so that the same colors mean the same temperatures in all the images
  • stitch the images -- ir images and vl images are needed, but mixed images are optional (they can be created later on)
  • (optional) change the color palette of the panorama
  • (optional) create mixed visible light/infrared image that does not rely on the mixed images that flir creates
  • save the panoramas -- it opens a pop-up file chooser where you can select the folder where you want the images to be saved
NOTE: for Java stiching there are two options: #1 is to run main() in IrStitcher.java. This is pretty good, but if there are more than 20-30 images it won't work. Option #2 is main() in IrStitcher2.java this only seems to work using the ORB feature detector on macOS.


If you are new to python make sure this entire project is downloaded onto your computer and then open up terminal and navigate to the directory containing runner.py and type (no quotes) "python3 runner.py". If you do not have python3 try just "python runner.py". On windows open command prompt and you might have to just type "py" instead of python.

Other Files

  • palettes/ contains files for describing how to color an ir image. Each line is a color in YCbCr color space. First line describes the coldest color, last line the warmest
  • everything in typescript-ir/ is a demo of changing the palette of an image and displaying temperature data where a user clicks. It is the first thing I actually wrote using typescript and can be seen here
  • Image.py provides a class for doing cool things with images like identifying & changing the palette of ir images, removing the black border that appears after stitching images together, edge detection, creating mixed infrared and visible light images, and more!
    • There are three types of mixed images you can create. mx1, mx2, and mx3
  • rescale.py is used to change the colors of an ir image so that in a group of ir images the same colors mean the same temperatures in all the images
  • util.py is useful.
  • StitcherEasy.py is what runner.py uses to stitch images together into a panorama
  • Stitcher.py is old and shouldn't be used


https://concord.org/
Infrared Street View
IR Street View 2

ir's People

Contributors

amdecker avatar

Stargazers

Evan Gray avatar AlexHan avatar Alex Nash avatar  avatar Charles Xie avatar

Watchers

Charles Xie 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.