Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

start RealTransformedSource #133

Draft
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

bogovicj
Copy link
Contributor

  • needs new releases of imglib2 and imglib2-realtransform

* needs new releases of imglib2 and imglib2-realtransform
@@ -152,10 +152,12 @@
<dependency>
<groupId>net.imglib2</groupId>
<artifactId>imglib2</artifactId>
<version>5.13.1-SNAPSHOT</version>
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

We could override the property imglib2.version instead of adding this here.

https://github.com/scijava/pom-scijava/blob/4e69adda1c948f929bcd4d0bf7bb98a1a0e04387/pom.xml#L583

</dependency>
<dependency>
<groupId>net.imglib2</groupId>
<artifactId>imglib2-realtransform</artifactId>
<version>3.1.3-SNAPSHOT</version>
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Same as above. You could override imglib2-realtransform.version instead which could then be used from dependencies in the meantime.

https://github.com/scijava/pom-scijava/blob/4e69adda1c948f929bcd4d0bf7bb98a1a0e04387/pom.xml#L611

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

agree, was lazy since both this and the above will both change after new releases.
may not even need the property if those new versions make it to pom-scijava before this gets merged. we'll see

*
* @author John Bogovic
*
* @param <T> the type
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Perhaps more specifically you mean the pixel type for bdv.viewer.Source?

@Override
public VoxelDimensions getVoxelDimensions()
{
return source.getVoxelDimensions();
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Is it always the case that the transformed dimensions are the same as the source dimensions?

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

good question. yes it's always the same, since it also defers getSourceTransform to the wrapped source. The transform should be though of as world coordinates to world coordinates (I should include this in the doc). thanks @mkitti !

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants