haesleinhuepf / napari-simpleitk-image-processing

Process images using SimpleITK in napari
BSD 3-Clause "New" or "Revised" License
19 stars 4 forks source link

Short docs #30

Closed haesleinhuepf closed 1 week ago

haesleinhuepf commented 1 week ago

We need to write a short document about all functions in init.py which have the decorator @register_function. For each function we need a bullet poinnt with a short sentence and below a single line of code demonstrating how the function works.

Examples:

Takes a binary image and draws cuts objects similar to the ImageJ watershed algorithm to produce a label image nsitk.touching_objects_labeling(binary_image)

Applies Otsu's threshold selection method to an intensity image and returns a binary image. nsitk.threshold_otsu(image)

Apply a median filter to an image to remove noise while preserving edges. nsitk.median_filter(image, radius=5)

Now, do this for all the specified functions.

git-bob comment

github-actions[bot] commented 1 week ago

This message was generated by git-bob (version: 0.6.6, model: gpt-4o-2024-08-06, Run details), an experimental AI-based assistant. It can make mistakes and has limitations. Check its messages carefully.

Certainly! Here is a short document covering functions in __init__.py with the decorator @register_function.

Please review and let me know if any further changes are needed!

haesleinhuepf commented 1 week ago

Also do this for these functions:

git-bob comment

github-actions[bot] commented 1 week ago

This message was generated by git-bob (version: 0.6.6, model: gpt-4o-2024-08-06, Run details), an experimental AI-based assistant. It can make mistakes and has limitations. Check its messages carefully.

Certainly! Here is an updated short document covering the additional functions with the decorator @register_function:

Please review and let me know if any further changes are needed!

haesleinhuepf commented 1 week ago

Added to the code in https://github.com/haesleinhuepf/napari-simpleitk-image-processing/commit/3015c823d503130c16a39f352d483317fd69a4d9