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
f1f11102
Commit
f1f11102
authored
Jul 05, 2018
by
Oleg Dzhimiev
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fixed working in gui
parent
da48d22b
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
4 deletions
+2
-4
ImageDtt.java
src/main/java/ImageDtt.java
+2
-4
No files found.
src/main/java/ImageDtt.java
View file @
f1f11102
...
...
@@ -1194,7 +1194,6 @@ public class ImageDtt {
public
void
clt_dtt2
(
// transform dcct2, dsct2, dcst2, dsst2
final
double
[][][][]
data
,
final
boolean
transpose
,
// when doing inverse transform, the data comes in transposed form, so CS <->SC
final
int
threadsMax
,
// maximal number of threads to launch
final
int
globalDebugLevel
)
{
...
...
@@ -1214,8 +1213,7 @@ public class ImageDtt {
tileY
=
nTile
/
tilesX
;
tileX
=
nTile
-
tileY
*
tilesX
;
for
(
int
quadrant
=
0
;
quadrant
<
4
;
quadrant
++){
int
mode
=
transpose
?
(((
quadrant
<<
1
)
&
2
)
|
((
quadrant
>>
1
)
&
1
))
:
quadrant
;
data
[
tileY
][
tileX
][
quadrant
]
=
dtt
.
dttt_iie
(
data
[
tileY
][
tileX
][
quadrant
],
mode
,
dct_size
);
data
[
tileY
][
tileX
][
quadrant
]
=
dtt
.
dttt_iie
(
data
[
tileY
][
tileX
][
quadrant
],
quadrant
,
dct_size
);
}
}
}
...
...
@@ -1223,7 +1221,7 @@ public class ImageDtt {
}
startAndJoin
(
threads
);
}
public
double
[][][]
clt_corr_quad
(
// combine 4 correlation quadrants after DTT2
final
double
[][][][]
data
,
final
int
threadsMax
,
// maximal number of threads to launch
...
...
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