Gabriel Selzer

Results 113 comments of Gabriel Selzer

@kephale you can get much of this functionality from pyimagej, but there's of course additional value in the processing napari-imagej adds on top of pyimagej. And @ctrueden asks for a...

> @gselzer Is it possible to make use of napari-imagej's layer conversion logic programmatically by using `ij.py.to/from_java`, since napari-imagej registers that conversion logic as scyjava converters? Yup, all you have...

> Why can't we also do one that uses the IOService? Looking at the trackMate_reader.py code, it looks flexible enough, and on the Java side, we have API for discerning...

My thoughts exactly - let's get it done!

@ctrueden I assume this is also a problem in Fiji, yeah? napari-imagej doesn't do anything special with search result categories, there's just a single category for each `Searcher` implementation. Shouldn't...

> Are you OK with leaving this issue open on the napari-imagej side until it becomes viable for users to tell the difference between original ImageJ commands and SciJava modules?...

> I suggest to encapsulate all the various places you call `ModuleItem.getType()` throughout the codebase into a single utility function that computes the Pythonic type hint from the `ModuleItem`. Yup,...

I looked a little more into why this is failing. Here's what's happening: 1. The `OpListing` reduces [`ListDilate`](https://github.com/imagej/imagej-ops/blob/d2b46095b23c72389a872e109454a05dddef915a/src/main/java/net/imagej/ops/morphology/dilate/ListDilate.java#L68)'s parameters down to their raw types, via the [default type reducer](https://github.com/imagej/imagej-ops/blob/d2b46095b23c72389a872e109454a05dddef915a/src/main/java/net/imagej/ops/search/OpSearcher.java#L66). Therefore,...

This seems to be a problem with the Script templates `Searcher`, @ctrueden; it also happens in Fiji. Where is that `Searcher` located? It'd be best to move this issue there.

> But it would also be good to have explicit handling here in napari-imagej to clear the results explicitly whenever the text field gets blanked out. I don't think it's...