Hi,

I want to port an algorithm I developed in Matlab to ImageJ2 using a Plugin and, as suggested on the ImageJ Website, I took a look at the imagej-tutorials repository, which really helped understanding the key concepts.

For the moment, I’m just trying to achieve simple tasks, one of which is to mix two Datasets together in the following fashion: res = alpha*im1+(1-alpha)*im2.

While the add-two-datasets example gives different ways to achieve a similar purpose, some of the methods used are labelled as deprecated and I thought it could be more interesting to use ImageJ Ops to perform the addition and multiplication, such as the ones proposed in the Math Namespace.

However I can’t figure out a way to convert a Dataset to any of the suggested parameters (for instance IterableInterval < T>). Which steps should I take in order to convert a Dataset to one of the suggested parameters? Should I just stick with the methods used in the tutorials?

All help is welcome.