Metadata-Version: 2.1
Name: imgviz
Version: 0.1.2
Summary: Image Visualization Tools
Home-page: http://github.com/wkentaro/imgviz
Author: Kentaro Wada
Author-email: www.kentaro.wada@gmail.com
License: MIT
Description: <!-- DO NOT EDIT THIS FILE MANUALLY. This file is generated by generate_readme.py. -->
        
        # imgviz: Image Visualization Tools
        
        [![PyPI Version](https://img.shields.io/pypi/v/imgviz.svg)](https://pypi.python.org/pypi/imgviz)
        [![Python Versions](https://img.shields.io/pypi/pyversions/imgviz.svg)](https://pypi.org/project/imgviz)
        [![Build Status](https://travis-ci.com/wkentaro/imgviz.svg?token=zM5rExyvuRoJThsnqHAF&branch=master)](https://travis-ci.com/wkentaro/imgviz)
        
        ## Installation
        
        ```bash
        pip install imgviz
        ```
        
        
        ## Dependencies
        
        - [matplotlib](https://pypi.org/project/matplotlib)
        - [numpy](https://pypi.org/project/numpy)
        - [Pillow](https://pypi.org/project/Pillow)
        
        ## Getting Started
        
        ```python
        # getting_started.py
        
        import imgviz
        
        
        # sample data of rgb, depth, class label and instance masks
        data = imgviz.data.arc2017()
        
        # colorize depth image with JET colormap
        depthviz = imgviz.depth2rgb(data['depth'], min_value=0.3, max_value=1)
        
        # colorize label image
        labelviz = imgviz.label2rgb(data['class_label'], label_names=data['class_names'])
        
        # tile instance masks
        bboxes = data['bboxes'].astype(int)
        insviz = [data['rgb'][b[0]:b[2], b[1]:b[3]] for b in bboxes]
        insviz = imgviz.tile(imgs=insviz, border=(255, 255, 255))
        
        # tile visualization
        tiled = imgviz.tile(
            [data['rgb'], depthviz, labelviz, insviz],
            shape=(1, 4),
            border=(255, 255, 255),
        )
        ```
        
        <img src="https://github.com/wkentaro/imgviz/blob/master/.readme/getting_started.jpg?raw=true" width="100%" />
        
        ## [Examples](examples)
        
        <table>
        	<tr>
        		<td><pre><a href="https://github.com/wkentaro/imgviz/blob/master/examples/centerize.py">https://github.com/wkentaro/imgviz/blob/master/examples/centerize.py</a></pre></td>
        		<td><img src="https://github.com/wkentaro/imgviz/blob/master/examples/.readme/centerize.jpg?raw=true" width="70%" /></td>
        	</tr>
        	<tr>
        		<td><pre><a href="https://github.com/wkentaro/imgviz/blob/master/examples/depth2rgb.py">https://github.com/wkentaro/imgviz/blob/master/examples/depth2rgb.py</a></pre></td>
        		<td><img src="https://github.com/wkentaro/imgviz/blob/master/examples/.readme/depth2rgb.jpg?raw=true" width="70%" /></td>
        	</tr>
        	<tr>
        		<td><pre><a href="https://github.com/wkentaro/imgviz/blob/master/examples/draw.py">https://github.com/wkentaro/imgviz/blob/master/examples/draw.py</a></pre></td>
        		<td><img src="https://github.com/wkentaro/imgviz/blob/master/examples/.readme/draw.jpg?raw=true" width="70%" /></td>
        	</tr>
        	<tr>
        		<td><pre><a href="https://github.com/wkentaro/imgviz/blob/master/examples/label2rgb.py">https://github.com/wkentaro/imgviz/blob/master/examples/label2rgb.py</a></pre></td>
        		<td><img src="https://github.com/wkentaro/imgviz/blob/master/examples/.readme/label2rgb.jpg?raw=true" width="70%" /></td>
        	</tr>
        	<tr>
        		<td><pre><a href="https://github.com/wkentaro/imgviz/blob/master/examples/resize.py">https://github.com/wkentaro/imgviz/blob/master/examples/resize.py</a></pre></td>
        		<td><img src="https://github.com/wkentaro/imgviz/blob/master/examples/.readme/resize.jpg?raw=true" width="70%" /></td>
        	</tr>
        	<tr>
        		<td><pre><a href="https://github.com/wkentaro/imgviz/blob/master/examples/tile.py">https://github.com/wkentaro/imgviz/blob/master/examples/tile.py</a></pre></td>
        		<td><img src="https://github.com/wkentaro/imgviz/blob/master/examples/.readme/tile.jpg?raw=true" width="70%" /></td>
        	</tr>
        </table>
        
Platform: UNKNOWN
Classifier: Development Status :: 5 - Production/Stable
Classifier: Intended Audience :: Developers
Classifier: Natural Language :: English
Classifier: Programming Language :: Python
Classifier: Programming Language :: Python :: 2
Classifier: Programming Language :: Python :: 3
Classifier: Programming Language :: Python :: Implementation :: CPython
Classifier: Programming Language :: Python :: Implementation :: PyPy
Description-Content-Type: text/markdown
