Skip to content

Commit

Permalink
button layout, help texts
Browse files Browse the repository at this point in the history
  • Loading branch information
haesleinhuepf committed Jan 30, 2022
1 parent d278fcd commit b7d30a6
Show file tree
Hide file tree
Showing 17 changed files with 7 additions and 7 deletions.
2 changes: 1 addition & 1 deletion napari_pyclesperanto_assistant/_categories.py
Original file line number Diff line number Diff line change
Expand Up @@ -106,7 +106,7 @@ class Category:
),
"Label": Category(
name="Label",
description="Turn images or binary images into\nlabel images by labeling objects.",
description="Turn images into label images by labeling objects.",
inputs=(LayerInput,),
default_op="voronoi_otsu_labeling (clesperanto)",
output="labels",
Expand Down
12 changes: 6 additions & 6 deletions napari_pyclesperanto_assistant/_gui/_Assistant.py
Original file line number Diff line number Diff line change
Expand Up @@ -105,12 +105,12 @@ def text_changed(*args, **kwargs):
'Use the search field on the left to enter a term describing the function you would like to apply to your image.\n'
'Searching will limit the number of shown categories and listed operations.\n'
'<br><br>The icons in the buttons below denote the processed image types:\n'
'<br><img src="' + _get_icon("intensity_image") + '" width="20" heigth="20"> In <b>intensity images</b> the pixel value represents a measurement, e.g. of collected light during acquisition in a microscope.\n'
'<br><img src="' + _get_icon("binary_image") + '" width="20" heigth="20"> In <b>binary images</b> pixels with value 0 mean there is no object present. All other pixels (typically value 1) represent any object.\n'
'<br><img src="' + _get_icon("label_image") + '" width="20" heigth="20"> In <b>label images</b> the integer pixel intensity corresponds to the object identity. E.g. all pixels of object 2 have intensity 2.\n'
'<br><img src="' + _get_icon("parametric_image") + '" width="20" heigth="20"> In <b>parametric images</b> the pixel value represents an object measurement. All pixels of an object can for example contain the same value, e.g. the objects circularity or area.\n'
'<br><img src="' + _get_icon("mesh_image") + '" width="20" heigth="20"> In <b>mesh images</b> we can visualize connectivity between objects and distances as intensity along lines.\n'
'<br><img src="' + _get_icon("any_image") + '" width="20" heigth="20"> This icon means one can use <b>any kind of image</b> for this operation.'
'<br><img src="' + _get_icon("intensity_image") + '" width="24" heigth="24"> In <b>intensity images</b> the pixel value represents a measurement, e.g. of collected light during acquisition in a microscope.\n'
'<br><img src="' + _get_icon("binary_image") + '" width="24" heigth="24"> In <b>binary images</b> pixels with value 0 mean there is no object present. All other pixels (typically value 1) represent any object.\n'
'<br><img src="' + _get_icon("label_image") + '" width="24" heigth="24"> In <b>label images</b> the integer pixel intensity corresponds to the object identity. E.g. all pixels of object 2 have value 2.\n'
'<br><img src="' + _get_icon("parametric_image") + '" width="24" heigth="24"> In <b>parametric images</b> the pixel value represents an object measurement. All pixels of an object can for example contain the same value, e.g. the objects circularity or area.\n'
'<br><img src="' + _get_icon("mesh_image") + '" width="24" heigth="24"> In <b>mesh images</b> we can visualize connectivity between objects and distances as intensity along lines.\n'
'<br><img src="' + _get_icon("any_image") + '" width="24" heigth="24"> This icon means one can use <b>any kind of image</b> for this operation.'
'</html>'
)
help.setMaximumWidth(20)
Expand Down
Binary file modified napari_pyclesperanto_assistant/_gui/icons/any_image.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified napari_pyclesperanto_assistant/_gui/icons/binarize.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified napari_pyclesperanto_assistant/_gui/icons/binary_image.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified napari_pyclesperanto_assistant/_gui/icons/combine.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified napari_pyclesperanto_assistant/_gui/icons/compare_label_images.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified napari_pyclesperanto_assistant/_gui/icons/label.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified napari_pyclesperanto_assistant/_gui/icons/label_filters.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified napari_pyclesperanto_assistant/_gui/icons/label_image.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified napari_pyclesperanto_assistant/_gui/icons/measure_labeled_image.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified napari_pyclesperanto_assistant/_gui/icons/measure_labels.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified napari_pyclesperanto_assistant/_gui/icons/mesh.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified napari_pyclesperanto_assistant/_gui/icons/mesh_image.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified napari_pyclesperanto_assistant/_gui/icons/parametric_image.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified napari_pyclesperanto_assistant/_gui/icons/process_labels.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.

0 comments on commit b7d30a6

Please sign in to comment.