Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
B
BigDataViewer_Server_Extension
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Package registry
Container registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
BioinformaticDataCompression
BigDataViewer_Server_Extension
Commits
b9186389
Commit
b9186389
authored
4 years ago
by
Vojtech Moravec
Browse files
Options
Downloads
Patches
Plain Diff
Add compression library.
parent
d289702c
No related branches found
No related tags found
No related merge requests found
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
pom.xml
+5
-0
5 additions, 0 deletions
pom.xml
src/main/java/bdv/server/CustomCompressionParameters.java
+0
-55
0 additions, 55 deletions
src/main/java/bdv/server/CustomCompressionParameters.java
with
5 additions
and
55 deletions
pom.xml
+
5
−
0
View file @
b9186389
...
@@ -117,5 +117,10 @@
...
@@ -117,5 +117,10 @@
<artifactId>
commons-cli
</artifactId>
<artifactId>
commons-cli
</artifactId>
<version>
${commons-cli.version}
</version>
<version>
${commons-cli.version}
</version>
</dependency>
</dependency>
<dependency>
<groupId>
org.azgra
</groupId>
<artifactId>
DataCompressor
</artifactId>
<version>
1.0-SNAPSHOT
</version>
</dependency>
</dependencies>
</dependencies>
</project>
</project>
This diff is collapsed.
Click to expand it.
src/main/java/bdv/server/CustomCompressionParameters.java
deleted
100644 → 0
+
0
−
55
View file @
d289702c
package
bdv.server
;
public
class
CustomCompressionParameters
{
private
final
boolean
dumpRequestData
;
private
final
String
dumpFile
;
private
final
String
trainFile
;
private
final
int
bitTarget
;
private
final
int
diffThreshold
;
public
String
getTrainFile
()
{
return
trainFile
;
}
public
int
getBitTarget
()
{
return
bitTarget
;
}
private
final
boolean
enableRequestCompression
;
private
final
boolean
renderDifference
;
public
CustomCompressionParameters
(
final
String
dumpFile
,
final
String
trainFile
,
final
int
bitTarget
,
final
boolean
enableRequestCompression
,
final
boolean
renderDifference
,
final
int
diffThreshold
)
{
this
.
dumpFile
=
dumpFile
;
this
.
trainFile
=
trainFile
;
this
.
bitTarget
=
bitTarget
;
this
.
dumpRequestData
=
!
this
.
dumpFile
.
isEmpty
();
this
.
enableRequestCompression
=
enableRequestCompression
;
this
.
renderDifference
=
renderDifference
;
this
.
diffThreshold
=
diffThreshold
;
}
public
boolean
shouldDumpRequestData
()
{
return
dumpRequestData
;
}
public
String
getDumpFile
()
{
return
dumpFile
;
}
public
boolean
shouldCompressData
()
{
return
enableRequestCompression
;
}
public
boolean
renderDifference
()
{
return
renderDifference
;
}
public
int
getDiffThreshold
()
{
return
diffThreshold
;
}
}
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment