Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
I
imagej-elphel
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
3
Issues
3
List
Board
Labels
Milestones
Wiki
Wiki
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Commits
Issue Boards
Open sidebar
Elphel
imagej-elphel
Commits
5a818c97
Commit
5a818c97
authored
Feb 29, 2020
by
Oleg Dzhimiev
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
jcuda testing
parent
ce6f3306
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
14 additions
and
1 deletion
+14
-1
pom.xml
pom.xml
+1
-1
ImagejJp4Tiff.java
src/main/java/com/elphel/imagej/readers/ImagejJp4Tiff.java
+13
-0
No files found.
pom.xml
View file @
5a818c97
...
@@ -37,7 +37,7 @@
...
@@ -37,7 +37,7 @@
<dependency>
<dependency>
<groupId>
org.jcuda
</groupId>
<groupId>
org.jcuda
</groupId>
<artifactId>
jcuda
</artifactId>
<artifactId>
jcuda
</artifactId>
<version>
0.9.2
</version>
<version>
10.0.0
</version>
</dependency>
</dependency>
<!--
<!--
As of 2018/09/11 TF for GPU on Maven supports CUDA 9.0 (vs latest 9.2)
As of 2018/09/11 TF for GPU on Maven supports CUDA 9.0 (vs latest 9.2)
...
...
src/main/java/com/elphel/imagej/readers/ImagejJp4Tiff.java
View file @
5a818c97
...
@@ -46,6 +46,7 @@ import org.slf4j.Logger;
...
@@ -46,6 +46,7 @@ import org.slf4j.Logger;
import
org.slf4j.LoggerFactory
;
import
org.slf4j.LoggerFactory
;
import
ij.ImagePlus
;
import
ij.ImagePlus
;
import
ij.io.FileInfo
;
import
ij.process.FloatProcessor
;
import
ij.process.FloatProcessor
;
import
ij.process.ImageProcessor
;
import
ij.process.ImageProcessor
;
import
loci.common.ByteArrayHandle
;
import
loci.common.ByteArrayHandle
;
...
@@ -253,7 +254,19 @@ public class ImagejJp4Tiff {
...
@@ -253,7 +254,19 @@ public class ImagejJp4Tiff {
imp
.
setProperty
(
TELEMETRY_PREFIX
+
key
,
telemetryMap
.
get
(
key
));
imp
.
setProperty
(
TELEMETRY_PREFIX
+
key
,
telemetryMap
.
get
(
key
));
}
}
}
}
FileInfo
fi
=
imp
.
getFileInfo
();
String
dir
=
imageName
.
substring
(
0
,
imageName
.
lastIndexOf
(
"/"
)+
1
);
fi
.
directory
=
dir
;
fi
.
fileName
=
imageName
;
imp
.
setFileInfo
(
fi
);
encodeProperiesToInfo
(
imp
);
encodeProperiesToInfo
(
imp
);
System
.
out
.
println
(
""
);
Location
.
mapFile
(
content_fileName
,
null
);
Location
.
mapFile
(
content_fileName
,
null
);
return
imp
;
return
imp
;
}
}
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment