Skip to content

Commit 2fef0b7

Browse files
authored
Revise Image Viewer documentation
Updated the Image Viewer documentation to improve clarity and organization. Added new features and installation instructions. first try at inluding media
1 parent 0b0d055 commit 2fef0b7

File tree

1 file changed

+77
-82
lines changed

1 file changed

+77
-82
lines changed

_pages/plugins/image-viewer.md

Lines changed: 77 additions & 82 deletions
Original file line numberDiff line numberDiff line change
@@ -3,105 +3,100 @@ title: Image Viewer
33
description: utility plugins and macros to control images contast and LUTs
44
categories: [Annotation, Interactive, Macro, Microscopy, Montage, Utilities, Visualization]
55
---
6+
This Update Site provides utility plugins and macros to help with handling and visualization of microscopy images
67

7-
This Update Site provides utility plugins and macros to help with handling and visualizing microscopy images before any analysis.
88
Features include:
9-
10-
- Plugins to control image contrast and LUTs
11-
- A neutral Multi Tool for moving image windows and accessory functions
12-
- Easy opening of images from thumbnail montages
13-
- Utility macros for multichannel montages and auto-generated scale bars
14-
15-
Access commands and plugins via the **Plugins > Image Viewer** menu, or the toolbar menu (installable from Image_Viewer_Toolset under the red `>>` menu in the ImageJ window).
16-
17-
---
18-
19-
## Channels and Contrast
20-
21-
This plugin combines "Brightness and Contrast" and "Channels Tool" functionalities to manage visualization of the active image.
22-
9+
- Two plugins to control image contrast and LUTs (Look Up Tables)
10+
- A pluginTool called Multi Tool to enhance mouse interactions with image windows
11+
- Utility macros :
12+
- basic multichannel montages (Split View)
13+
- auto-generated scale bar
14+
- A way to open images from thumbnail montages
15+
- Auto-contrast macros
16+
- Save all opened images
17+
18+
# Installation
19+
- in Fiji, add the __Image Viewer__ [Update Site](https://imagej.net/update-sites/following)
20+
- For ImageJ, download this [github repository](https://github.com/kwolbachia/Image_Viewer/tree/main)
21+
In your imageJ app folder : place the **Image Viewer** folder on the ``plugins`` folder and the **Image_Viewer_Toolset.ijm** file on the ``macros /toolsets/`` folder
22+
23+
All commands and plugins are located in the ``Plugins > Image Viewer`` menu
24+
But the easiest way is to install the toolbar menu from Image_Viewer_Toolset under the red `>>` menu in the ImageJ window
25+
![](https://github.com/imagej/imagej.github.io/blob/main/media/Image-Viewer/Image-Viewer-Toolset.png?raw=true)
26+
If you have a question, feedback or a bug to report, you can post it on the [Image.sc](https://forum.image.sc/t/looking-for-testers-channels-contrast-and-luts-manager-plugins/) Forum
27+
28+
___
29+
30+
### Channels and Contrast
31+
This plugin combines imageJ's "Brightness and Contrast" and "Channels Tool" functionalities to manage visualization of the active image
32+
![](https://github.com/imagej/imagej.github.io/blob/main/media/Image-Viewer/Image-Viewer-Channels-and-Contrast.png?raw=true)
2333
You can:
24-
- Adjust channel display range (contrast)
2534
- Change multi-channel display mode: composite, color, or grayscale
26-
- Set active channels
27-
- Use two auto-contrast modes:
28-
- **Auto:** Uses "Enhance Contrast" with a default of 0.1% saturated pixels (adjustable via "More" button). For stacks, contrast is based on displayed slice only.
29-
- **Min/Max:** Sets display range to the channel stack's min/max values.
30-
- Interface with **LUTs Manager** to set palettes or favorite LUTs.
31-
- Access more options and utilities for multi-channel images via the "More" button.
32-
33-
shortcuts to "Brightness and Contrast" and "Channels Tool" is available for missing functionality.
34-
35-
---
36-
37-
## LUTs Manager
38-
39-
### Multichannel Palettes
40-
- Create and edit LUT combinations
35+
- Adjust all channels display range (contrast)
36+
- Toggle visible channels in composite mode (checkboxes)
37+
- Use two types of auto-contrast:
38+
- **Auto:** Uses imageJ "Enhance Contrast" command with a default of 0.1% saturated pixels (adjustable via "More" button). For stacks, contrast is based on displayed slice only
39+
- **Min/Max:** Sets display range to the channel stack's min/max values
40+
- Interface with the **LUTs Manager** to apply LUT palettes or individual favorite LUTs
41+
You can change order of LUTs in a palette directly with the mouse from the palette menu
42+
![](https://github.com/imagej/imagej.github.io/blob/main/media/Image-Viewer/Image-Viewer-CC-palettes.png?raw=true)
43+
- Access more options and built-in utilities for multi-channel images via the "More" button
44+
![](https://github.com/imagej/imagej.github.io/blob/main/media/Image-Viewer/Image-Viewer-CC-More.png?raw=true)
45+
46+
### LUTs Manager
47+
#### Multichannel Palettes
48+
- Create and edit LUT sets
4149
- Add LUTs by drag-and-drop from **LUTs Finder**
4250
- Change LUT order with the mouse
43-
- Right-click palette to move or remove LUTs
44-
- Empty palette channels default to "Grays"
45-
46-
### LUTs Finder
47-
Scans all LUTs in your ImageJ `luts` folder
48-
You can use the search bar and color buttons to filter the list.
49-
The Favorite LUTs are stored for future sessions and accessible from the Channels and Contrast plugin.
50-
51+
- Right-click on palette to move or remove LUTs
52+
- Empty palette channels default to "Grays"
53+
![](https://github.com/imagej/imagej.github.io/blob/main/media/Image-Viewer/Image-Viewer-LUTs-Manager.png?raw=true)
54+
#### LUTs Finder
55+
The plugin scans all LUTs in your ImageJ `luts` folder
56+
You can use the search bar and color buttons to filter the list
57+
The Favorite LUTs are stored and accessible from the Channels and Contrast plugin
5158
**Apply a LUT:**
5259
- Double-click a LUT or press **Enter** to apply to your image
53-
5460
**LUT preview bands:**
55-
- Check for uniformity in color transitions for good contrast visibility.
56-
61+
- Check for uniformity in color transitions for good contrast visibility
5762
**LUT properties:**
5863
Each LUT comes with an **estimated** description of its properties:
59-
60-
- **Basic:** Identifies classic 'pure' LUTs (Red, Green, Blue, Cyan, etc.).
61-
- **Linear, Non-uniform:** Whether the perceptual brightness progression is linear.
62-
- **Diverging:** Transitions from one color through a neutral midpoint to another color.
63-
- **Isoluminant:** Changes in color but keeps the luminance consistent across the LUT.
64-
- **Cyclic:** If the first and last colors are the same.
65-
66-
---
67-
68-
## Multi Tool
69-
70-
This Tool is a neutral tool but it can performs many actions in ImageJ based on the mouse click, modifier keys (shift, ctrl, alt) and context.
71-
Without any modifier keys:
72-
- Left click on an image window will just move the window. But you keep the functionality to move and resize any ROI.
73-
74-
- **No modifier keys:** Left-click moves image window; Or move / resize any ROI.
64+
- **Basic:** Identifies classic 'pure' LUTs (Red, Green, Blue, Cyan, etc.)
65+
- **Linear, Non-uniform:** Whether the perceptual brightness progression is linear
66+
- **Diverging:** Transitions from one color through a neutral midpoint to another color
67+
- **Isoluminant:** Changes in color but keeps the luminance consistent across the LUT
68+
- **Cyclic:** If the first and last colors are the same
69+
- **Luminance values:** Estimation of perceptual luminosity of the LUT min and max colors
70+
71+
### Multi Tool
72+
This Tool is a neutral tool
73+
but it can perform many actions based on the mouse button, modifier keys (shift, ctrl, alt) and context:
74+
- **Without modifier keys:** Left-click moves image window; Or move / resize any ROI
75+
{% include video src="https://github.com/imagej/imagej.github.io/blob/main/media/Image-Viewer/Image-Viewer-Default-Main-Tool.mp4" %}
7576
- **Middle mouse:** Switch multichannel display (composite/color)
76-
- **Ctrl:** Mimic rectangle tool
77-
- **Shift + Alt:** Local auto-contrast via box ROI around click
78-
- **Alt:** Navigate Z (slice/frame) anywhere in image
79-
- **Shift:** Adjust active channel contrast
80-
81-
---
82-
83-
## Preview Opener
77+
- **Ctrl:** Mimic rectangle tool
78+
{% include video src="https://github.com/imagej/imagej.github.io/blob/main/media/Image-Viewer/Image-Viewer-Ctrl-Rectangle.mp4" %}
79+
- **Shift + Alt:** Local auto-contrast via box ROI around click
80+
{% include video src="https://github.com/imagej/imagej.github.io/blob/main/media/Image-Viewer/Image-Viewer-Local-Auto-Contrast.mp4" %}
81+
- **Alt:** Navigate Z (slice/frame) anywhere in image
82+
{% include video src="https://github.com/imagej/imagej.github.io/blob/main/media/Image-Viewer/Image-Viewer-Alt-Slice.mp4" %}
83+
- **Shift:** Adjust active channel contrast
84+
{% include video src="https://github.com/imagej/imagej.github.io/blob/main/media/Image-Viewer/Image-Viewer-Shift-Contrast.mp4" %}
85+
### Preview Opener
8486
This command creates a montage of opened images and saves it in their directory.
85-
With the **Multi Tool**, middle-click on a montage will open the image under the cursor—making it fast to find images within a folder.
86-
8787
**How to use:**
8888
1. Open the images you want (virtual stacks supported)
89-
2. Adjust display settings.
89+
2. Adjust display settings
9090
3. run the command `Create Preview Opener`
91-
91+
{% include video src="https://github.com/imagej/imagej.github.io/blob/main/media/Image-Viewer/Image-Viewer-Preview-Opener-.mp4" %}
92+
With the **Multi Tool**, middle-click on a montage will open the image under the cursor—making it fast to find images within a folder
9293
**Notes:**
93-
- Montage title must include “Preview Opener” (can add text before/after)
94+
- Montage title must include “Preview Opener” (you can add text before/after)
9495
- Keep the Preview Opener file in the images folder
95-
96-
---
97-
98-
## Other Commands
99-
96+
### Other Commands
97+
A small collection of utility macros:
10098
- **Split View:** Quickly create clean multichannel montages
101-
- **Auto Scale Bar:** Estimate and add scale bar. You can adjust the size and hide the text in options.
102-
- **Auto-Contrast** recordable macro commands similar to the Channels and Contrast buttons.
99+
![](https://github.com/imagej/imagej.github.io/blob/main/media/Image-Viewer/Image-Viewer-SplitView.png?raw=true)
103100

104-
---
105-
## Installation
106-
- in Fiji, add the Image Viewer [Update Site](https://imagej.net/update-sites/following)
107-
- For ImageJ, download this [repository](https://github.com/kwolbachia/Image_Viewer/tree/main) as .zip
101+
- **Auto Scale Bar:** Estimate and add scale bar. You can adjust the size and hide the text in options. This macro is adapted from [Aleš Kladnik](https://forum.image.sc/t/automatic-scale-bar-in-fiji-imagej/60774)
102+
- **Auto-Contrast** recordable macro commands similar to the Channels and Contrast buttons

0 commit comments

Comments
 (0)