imglib / imglib2-realtransform

Spatial transformations for ImgLib2
Other
7 stars 7 forks source link

RealTransformRealRandomAccessible: add getters for target and transform #3

Closed dietzc closed 8 years ago

dietzc commented 8 years ago

this is useful for decomposition of RealTransformRealRandomAccessibles into its individual parts (e.g. for serialization).

axtimwalde commented 8 years ago

I am not completely sure why I called the source target. Now that it gets a getter method that seems like the right time to avoid writing this in stone and make it a thing if it was just stupid. Comments?

tpietzsch commented 8 years ago

@axtimwalde right. Let's change that.

axtimwalde commented 8 years ago

Depends, it is logical in the twisted sense that with respect to the transformation the source is the target.

dietzc commented 8 years ago

but in other cases, where the same logic applies, the word source is used, right?

axtimwalde commented 8 years ago

that is what triggered my comment :)

dietzc commented 8 years ago

hehe, yes :-) I just support your comment. I would name it source. It's more intuitive.