Skip to content

Commit

Permalink
Use full quality rendering in N5[Short]Client
Browse files Browse the repository at this point in the history
  • Loading branch information
minnerbe committed Oct 7, 2024
1 parent 6cf2bd0 commit 894c5fe
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -54,6 +54,10 @@ public ByteProcessor render(final long x,
renderParameters.setMaxIntensity(maxIntensity);
}

// render at full quality
renderParameters.setSkipInterpolation(false);
renderParameters.setBinaryMask(false);

final ByteProcessor renderedProcessor;
if (renderParameters.numberOfTileSpecs() > 0) {
if (exportMaskOnly) {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -54,6 +54,10 @@ public ShortProcessor render(final long x,
renderParameters.setMaxIntensity(maxIntensity);
}

// render at full quality
renderParameters.setSkipInterpolation(false);
renderParameters.setBinaryMask(false);

final ShortProcessor renderedProcessor;
if (renderParameters.numberOfTileSpecs() > 0) {
if (exportMaskOnly) {
Expand Down

0 comments on commit 894c5fe

Please sign in to comment.