imagej / imagej-opencv

Convert between OpenCV and ImgLib2 data structures
BSD 2-Clause "Simplified" License
2 stars 3 forks source link

Refactor multi-channel image support #5

Open hinerm opened 5 months ago

hinerm commented 5 months ago

The ImgToMatVector and MatVectorToImg convertors do not follow the Mat <--> Img converter format of having static methods we can call into for conversion. This limits them in being exposed e.g. via SciJava Ops.

We should:

ctrueden commented 5 months ago

Relatedly, I was wondering whether we should have a separate imglib2-opencv component with just the static method converters, and make this imagej-opencv component only the SciJava Converter plugins on top... that way we can avoid imposing an ImageJ2-layer dependency on scijava-ops-opencv.