Giter Club home page Giter Club logo

image_tiles's Introduction

Image Tiles

A Moonshine Labs tool

Overview

A simple but flexible tool to view a folder full of images on your web browser. Features:

  • Run one command and serve a folder of images in any format PIL supports.
  • Easily view images on another computer, such as when working via SSH or remotely.
  • Support for AWS (and eventually GCS/Azure) buckets.
  • Normalization and rendering options for a variety of multispectral images, especially satellites.
  • Support for multichannel TIFF, JP2, and other less common file formats.

Installation

# Install default installation
$ pip install image_tiles

# Install with S3 support
$ pip install image_tiles[aws]

Usage

$ image_tiles ./path_to_folder

Serving a folder of JPEGs (images from instagram.com/dustinlefevre)

example_page

Serving a folder of multispectral TIFFs:

example_sat

Rendering options

  • rgb: Standard RGB image rendering (default).
  • bgr: BGR image rendering.
  • bw: Grayscale image rendering from the first 3 channels.
  • sentinel: Render using channels[1:4] for sentinel satellite data.

Normalization options

  • standard: If the image is a standard 1/3 channel image, leave it alone. Otherwise apply scaling (default)
  • scaling: Scale to 0-255, clipping negative numbers and scaling positive numbers.
  • sigmoid: Sigmoid normalization, as described in xarray true color
  • sentinel: Sentinel-2 specific normalization, as described at the Sentinel 2 user guide

Current Limitations

  • Only a subset of useful normalization and rendering options supported. Help contribute!
  • Eventually we'd like to more easily support user code and functions.
  • Must restart the server to change some options.

image_tiles's People

Contributors

nharada1 avatar

Stargazers

Jeff Carpenter avatar  avatar Andrea S avatar Jacob A Rose avatar Robin Cole avatar scha avatar Rich Stoner avatar  avatar  avatar Pradeep Lam avatar  avatar wcchoi 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.