Skip to content

Commit

Permalink
Merge pull request #667 from micro-manager/lightsheetfix2
Browse files Browse the repository at this point in the history
Lightsheetfix2
  • Loading branch information
nicost authored Aug 19, 2023
2 parents 1838686 + 37e88f9 commit e2713f8
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 6 deletions.
4 changes: 2 additions & 2 deletions java/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
<modelVersion>4.0.0</modelVersion>
<groupId>org.micro-manager.pycro-manager</groupId>
<artifactId>PycroManagerJava</artifactId>
<version>0.41.6</version>
<version>0.41.7</version>
<packaging>jar</packaging>
<name>Pycro-Manager Java</name>
<description>The Java components of Pycro-Manager</description>
Expand Down Expand Up @@ -144,4 +144,4 @@
</repository>
</distributionManagement>

</project>
</project>
Original file line number Diff line number Diff line change
Expand Up @@ -105,12 +105,12 @@ public StackResampler(
// {-Math.cos(Math.PI / 2 + theta), Math.sin(Math.PI / 2 + theta)},
// {-Math.sin(Math.PI / 2 + theta), -Math.cos(Math.PI / 2 + theta)}
// rotates by 180 degrees around X axis
// {-Math.cos(theta), Math.sin(theta)},
// {-Math.sin(theta), -Math.cos(theta)
// {Math.cos(theta), -Math.sin(theta)},
// {Math.sin(theta), Math.cos(theta)}

// this seems to be doing the right thing...
{Math.cos(theta), -Math.sin(theta)},
{Math.sin(theta), Math.cos(theta)}
{-Math.cos(theta), Math.sin(theta)},
{-Math.sin(theta), -Math.cos(theta)}
};

double[][] cameraPixelToUmMatrix = {
Expand Down

0 comments on commit e2713f8

Please sign in to comment.