Skip to content

Commit

Permalink
update readme for v1.19
Browse files Browse the repository at this point in the history
  • Loading branch information
hanjinliu committed Aug 4, 2021
1 parent 843af24 commit 6e2e76c
Show file tree
Hide file tree
Showing 3 changed files with 2 additions and 28 deletions.
Binary file modified Figs/Img.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
28 changes: 1 addition & 27 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,7 +1,5 @@
# impy

## More Numpy in Image Analysis!

![](Figs/Img.png)

Image analysis programatically is sometimes troublesome like ...
Expand Down Expand Up @@ -273,34 +271,10 @@ Affine transformation, deconvolution and many filter functions are automatically

## Napari Interface

`impy.gui` has methods for better interface between images and `napari`.
`impy.gui` has methods for better interface between images and `napari`. Add any objects (images, labels, points, ...) to the viewer by `ip.gui.add(...)`. You can find useful keybindings in the [documentation](https://hanjinliu.github.io/impy/)

![](Figs/FFT.gif)

- Add any objects (images, labels, points, ...) to the viewer by `ip.gui.add(...)`.
- Return all the manually selected layers' data by `layers = ip.gui.selection`.
- Run `ImgArray`'s method inside viewers.
- Translate and rescale layers with mouse.
- `Alt` + mouse drag → lateral translation
- `Alt` + `Shift` + mouse drag → lateral translation restricted in either x- or y-orientation (left button or right button respectively).
- `Alt` + mouse wheel → rescaling
- `Ctrl` + `Shift` + `R` → reset original states.

- Fast layer selection and manipulation.
- `Ctrl` + `Shift` + `A` → Hide non-selected layers. Display all the layers by push again.
- `Ctrl` + `Shift` + `F` → Move selected layers to front.
- `Alt` + `L` → Convert all the shapes in seleted shape-layers into labels of selected image-layers.
- `Ctrl` + `Shift` + `D` → Duplicate selected layers.
- `Ctrl` + `Shift` + `X` → Crop selected image-layers with all the rectangles in selected shape-layers. Rotated cropping is also supported!
- `/` → Reslice selected image-layers with all the lines and paths in selected shape-layers. Result is stored in `ip.gui.results` for now.
- `Ctrl` + `P` → Projection of shape-layers or point-layers to 2D layers.
- `Ctrl` + `G` / `Ctrl` + `Shift` + `G` → Link/Unlink layers. Like "grouping" in PowerPoint.
- `S` → Add hape-layer.
- `P` → Add point-layer.
- Show coordinates of selected point-layers or track-layers. You can also copy it to clipboard.
- Note pad in `Window > Note`.
- Call `impy.imread` in `File > imread ...`. Call `impy.imsave` in `File > imsave ...`.

`napari` is now under development itself so I'll add more and more functions (I'm especially looking forward to layer group and text layer).

## Integrating Your Own Functions
Expand Down
2 changes: 1 addition & 1 deletion impy/__init__.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
__version__ = "1.18.7"
__version__ = "1.19.0"

import logging
from ._const import Const, SetConst
Expand Down

0 comments on commit 6e2e76c

Please sign in to comment.