MMV-Lab / vessel-express-napari

BSD 3-Clause "New" or "Revised" License
2 stars 2 forks source link

Fixed preset throwing error #38

Closed lennartkowitz closed 2 years ago

lennartkowitz commented 2 years ago

Made collapsible sub-areas

lennartkowitz commented 2 years ago

Should be good to merge, though please have a quick look if i broke anything

jxchen01 commented 2 years ago

I just made a minor change.

jxchen01 commented 2 years ago

also, is it possible to make the skeletonization part after all the collapsible boxes (i.e., a small section outside all collapsible boxes at the end)? If this looks weird, or not easy to do, an alternative is to make one more collapsible box named "extra", and put skeletonization into that box. I will have another similar button to add later.

jxchen01 commented 2 years ago

it is looking good on MacOS. Could you make an example of receiving the values from text fileds and then use these values to process an image layer?

# input: user selected one layer from a combobox.
# x_size, y_size, z_size: get from textfield

from skimage.transform import rescale
out = rescale(input, scale=(x_size/z_size, y_size/z_size, 1), order=1)

# display out as a new layer
Screenshot 2022-03-31 at 09 07 50
lennartkowitz commented 2 years ago

Have a look if this is what you pictured

jxchen01 commented 2 years ago

Have a look if this is what you pictured

mostly yes. but, the text "smoothing" is missing, for some reason. Also, could you add the text in front of the text fields "X", "Y", "Z"?

lennartkowitz commented 2 years ago

Ah yes, i deleted the line for some reason. Should be back now. X Y Z labels have been added as well.

jxchen01 commented 2 years ago

all good now, we can merge it now