Giter Site home page Giter Site logo

rniilartey / napari Goto Github PK

View Code? Open in Web Editor NEW

This project forked from napari/napari

0.0 1.0 0.0 16.04 MB

napari: a fast, interactive, multi-dimensional image viewer for python

Home Page: http://napari.org

License: BSD 3-Clause "New" or "Revised" License

Python 99.99% Makefile 0.01%

napari's Introduction

napari

multi-dimensional image viewer for python

image.sc forum License Build Status codecov Python Version PyPI PyPI - Downloads Development Status Code style: black

napari is a fast, interactive, multi-dimensional image viewer for Python. It's designed for browsing, annotating, and analyzing large multi-dimensional images. It's built on top of Qt (for the GUI), vispy (for performant GPU-based rendering), and the scientific Python stack (numpy, scipy).

We're developing napari in the open! But the project is in an alpha stage, and there will still likely be breaking changes with each release. You can follow progress on this repository, test out new versions as we release them, and contribute ideas and code.

We're working on in-depth tutorials, but you can also quickly get started by looking below.

installation

napari can be installed on most macOS and Linux systems with Python 3.6 or 3.7 by calling

$ pip install napari

We're working on improving our Windows support.

To clone the repository locally and install in editable mode use

$ git clone https://github.com/napari/napari.git
$ cd napari
$ pip install -e .

For more information see our installation tutorial

simple example

From inside an IPython shell (started with ipython --gui=qt) or jupyter notebook (after running a cell with magic command %gui qt5) you can open up an interactive viewer by calling

from skimage import data
import napari
viewer = napari.view_image(data.astronaut(), rgb=True)

image

To do the same thing inside a script call

from skimage import data
import napari

with napari.gui_qt():
    viewer = napari.view_image(data.astronaut(), rgb=True)

features

Check out the scripts in our examples folder to see some of the functionality we're developing!

napari supports six main different layer types, Image, Labels, Points, Vectors, Shapes, and Surface, each corresponding to a different data type, visualization, and interactivity. You can add multiple layers of different types into the viewer and then start working with them, adjusting their properties.

All our layer types support n-dimensional data and the viewer provides the ability to quickly browse and visualize either 2D or 3D slices of the data.

napari also supports bidirectional communication between the viewer and the Python kernel, which is especially useful when launching from jupyter notebooks or when using our built-in console. Using the console allows you to interactively load and save data from the viewer and control all the features of the viewer programmatically.

You can extend napari using custom shortcuts, key bindings, and mouse functions.

tutorials

For more details on how to use napari checkout our in-depth tutorials. These are still a work in progress, but we'll be updating them regularly.

plans

We're working on several features, including

  • support for multiple linked canvases
  • script & macro generation
  • a plugin ecosystem for integrating image processing and machine learning tools

See this issue for some of the features on the roadmap for our 0.3 release. Feel free to add comments or ideas!

contributing

Contributions are encouraged! Please read our contributing guide to get started. Given that we're in an early stage, you may want to reach out on our Github Issues before jumping in.

code of conduct

napari has a Code of Conduct that should be honored by everyone who participates in the napari community.

help

We're a community partner on the image.sc forum and all help and support requests should be posted on the forum with the tag napari. We look forward to interacting with you there.

napari's People

Contributors

ahmetcansolak avatar arokem avatar bryantchhun avatar carreau avatar cgohlke avatar d-v-b avatar freeman-lab avatar hectormz avatar jakirkham avatar jni avatar kevinyamauchi avatar kne42 avatar manics avatar marshuang80 avatar perlman avatar pranathivemuri avatar royerloic avatar sofroniewn avatar tlambert03 avatar wconnell 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.