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
78f6e6a1
Commit
78f6e6a1
authored
Jul 16, 2018
by
Andrey Filippov
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
disable some debug print that caused errors in multithreaded mode
parent
0ee7b87d
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
5 additions
and
27 deletions
+5
-27
TilePlanes.java
src/main/java/TilePlanes.java
+5
-5
TwoQuadCLT.java
src/main/java/TwoQuadCLT.java
+0
-22
No files found.
src/main/java/TilePlanes.java
View file @
78f6e6a1
...
@@ -4003,12 +4003,12 @@ public class TilePlanes {
...
@@ -4003,12 +4003,12 @@ public class TilePlanes {
System
.
out
.
println
(
"getPlaneToThis(), px_py = {"
+
px_py
[
0
]+
", "
+
px_py
[
1
]+
"}, px_py_other = {"
+
px_py_other
[
0
]+
", "
+
px_py_other
[
1
]+
"}"
);
System
.
out
.
println
(
"getPlaneToThis(), px_py = {"
+
px_py
[
0
]+
", "
+
px_py
[
1
]+
"}, px_py_other = {"
+
px_py_other
[
0
]+
", "
+
px_py_other
[
1
]+
"}"
);
System
.
out
.
println
(
"getPlaneToThis(), disp = "
+
disp
);
System
.
out
.
println
(
"getPlaneToThis(), disp = "
+
disp
);
System
.
out
.
println
(
"getPlaneToThis(), pd="
+
pd
.
toString
());
System
.
out
.
println
(
"getPlaneToThis(), pd="
+
pd
.
toString
());
System
.
out
.
println
(
"getPlaneToThis(), otherPd="
+
otherPd
.
toString
());
// System.out.println("getPlaneToThis(), otherPd="+ otherPd.toString());
System
.
out
.
println
(
"getPlaneToThis(), pd.getWorldXYZ(this.correctDistortions)="
+
pd
.
getWorldXYZ
(
this
.
correctDistortions
));
//
System.out.println("getPlaneToThis(), pd.getWorldXYZ(this.correctDistortions)="+ pd.getWorldXYZ(this.correctDistortions));
System
.
out
.
println
(
"getPlaneToThis(), wv1 = {"
+
wv1
[
0
]+
", "
+
wv1
[
1
]+
", "
+
wv1
[
2
]+
"}"
);
//
System.out.println("getPlaneToThis(), wv1 = {"+ wv1[0]+", "+ wv1[1]+", "+ wv1[2]+"}");
System
.
out
.
println
(
"getPlaneToThis(), wv2 = {"
+
wv2
[
0
]+
", "
+
wv2
[
1
]+
", "
+
wv2
[
2
]+
"}"
);
//
System.out.println("getPlaneToThis(), wv2 = {"+ wv2[0]+", "+ wv2[1]+", "+ wv2[2]+"}");
double
[]
norm_xyz
=
pd
.
getWorldXYZ
(
this
.
correctDistortions
);
double
[]
norm_xyz
=
pd
.
getWorldXYZ
(
this
.
correctDistortions
);
System
.
out
.
println
(
"getPlaneToThis(),norm_xyz="
+
norm_xyz
);
//
System.out.println("getPlaneToThis(),norm_xyz="+ norm_xyz);
disp
=
geometryCorrection
.
getPlaneDisparity
(
// disparity (at this center) for crossing other supertile plane
disp
=
geometryCorrection
.
getPlaneDisparity
(
// disparity (at this center) for crossing other supertile plane
norm_xyz
,
// will calculate if not yet done so. Should it use otherPd, not pd? and then clone later?
norm_xyz
,
// will calculate if not yet done so. Should it use otherPd, not pd? and then clone later?
px_py
[
0
],
px_py
[
0
],
...
...
src/main/java/TwoQuadCLT.java
View file @
78f6e6a1
...
@@ -2022,28 +2022,6 @@ if (debugLevel > -100) return true; // temporarily !
...
@@ -2022,28 +2022,6 @@ if (debugLevel > -100) return true; // temporarily !
}
}
}
}
/*
for (String fname:path_list) { // path is already fiiltered fro the current (not first) set
if (quadCLT_main.setGpsLla(fname)) {
break;
}
}
// setGpsLla(quadCLT_main, )
if (quadCLT_main.gps_lla != null) {
String kml_copy_dir= quadCLT_main.correctionsParameters.selectX3dDirectory(
set_name, // quad timestamp. Will be ignored if correctionsParameters.use_x3d_subdirs is false
null,
true, // smart,
true); //newAllowed, // save
double ts = Double.parseDouble(set_name.replace('_', '.'));
(new X3dOutput()).generateKML(
kml_copy_dir+ Prefs.getFileSeparator()+set_name+"-test"+".kml", // String path,
false, // boolean overwrite,
"", // String icon_path, //<href>x3d/1487451413_967079.x3d</href> ?
ts, // double timestamp,
quadCLT_main.gps_lla); // double [] lla)
}
*/
quadCLT_main
.
writeKml
(
debugLevel
);
// alos generated with x3d model
quadCLT_main
.
writeKml
(
debugLevel
);
// alos generated with x3d model
String
jp4_copy_path
=
quadCLT_main
.
correctionsParameters
.
selectX3dDirectory
(
String
jp4_copy_path
=
quadCLT_main
.
correctionsParameters
.
selectX3dDirectory
(
...
...
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