Skip to content

Commit

Permalink
Merge pull request #3 from rstoki/master
Browse files Browse the repository at this point in the history
Comfort enhancements for the viewer
  • Loading branch information
ArendJanKramer authored Dec 20, 2021
2 parents c983e6b + b979511 commit 3a77e3c
Show file tree
Hide file tree
Showing 8 changed files with 343 additions and 90 deletions.
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
/*.user
11 changes: 11 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -31,6 +31,17 @@ Then, the appropriate array will be loaded and all features can then be used.
![npz](https://raw.githubusercontent.com/ArendJanKramer/Numpyviewer/master/artwork/Screenshot%20npz.png)



## Scrolling through the slices -- "horizontal scroll"
The numpy viewer supports fast and easy scrolling through slices using a Horizontal Scroll. This may be very useful to review 3D images, or to quickly scan through various examples in your batch or dataset.

For scrolling through the slices, you can either use your hardware `horizontal scroll` mouse wheel, or a combination of `Alt`+`scroll wheel` *(the standard one)*.

The default scrolling speed is 1 slice *"per step"*, in order to be able to reach any slice you want. However, this may be too slow and tedious if you want to find some particular slide far away from the begining -- and that's why there is also a "Fast mode". Just hold down the `Shift` key while you are scrolling and you will scroll 3x faster.




## Contributes
Three functions were kindly borrowed from K. Dijkstra's DDSL.

Expand Down
50 changes: 50 additions & 0 deletions artwork/icon-bgr.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
61 changes: 61 additions & 0 deletions artwork/icon-colormap.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
54 changes: 54 additions & 0 deletions artwork/icon-greyscale.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
50 changes: 50 additions & 0 deletions artwork/icon-rgb.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
4 changes: 4 additions & 0 deletions icons.qrc
Original file line number Diff line number Diff line change
Expand Up @@ -5,5 +5,9 @@
<file>artwork/document-save.svg</file>
<file>artwork/histogram.svg</file>
<file>artwork/icon.svg</file>
<file>artwork/icon-rgb.svg</file>
<file>artwork/icon-bgr.svg</file>
<file>artwork/icon-colormap.svg</file>
<file>artwork/icon-greyscale.svg</file>
</qresource>
</RCC>
Loading

0 comments on commit 3a77e3c

Please sign in to comment.