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
db4561f4
Commit
db4561f4
authored
Oct 26, 2014
by
Andrey Filippov
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Added option to show each individual image in a set reprojection error
parent
452cab87
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
13 additions
and
0 deletions
+13
-0
Distortions.java
src/main/java/Distortions.java
+13
-0
No files found.
src/main/java/Distortions.java
View file @
db4561f4
...
...
@@ -4324,10 +4324,12 @@ List calibration
return totalBadNodes;
}
public boolean showImageReprojectionErrorsDialog( int debugLevel){
boolean eachImageInSet=false;
GenericDialog gd = new GenericDialog("Show Reprojection errors for image/image set/image selection");
gd.addNumericField("Series number for image selection (-1 - all enabled images)", -1, 0);
gd.addNumericField("Single image number to show (<0 - do not select)", -1,0);
gd.addNumericField("Image set number to show (<0 - do not select)", -1,0);
gd.addCheckbox("Open each image in the set", eachImageInSet);
gd.addCheckbox("Ask for weight function filter", this.askFilter);
// gd.addNumericField("Weight function filter (-1 - use default for all )",-1,0);
gd.showDialog();
...
...
@@ -4335,6 +4337,7 @@ List calibration
this.seriesNumber= (int) gd.getNextNumber();
int singleImageNumber= (int) gd.getNextNumber();
int imageSetNumber= (int) gd.getNextNumber();
eachImageInSet= gd.getNextBoolean();
this.askFilter= gd.getNextBoolean();
// int weightFunctionFilter= (int) gd.getNextNumber();
int filter=this.filterForAll;
...
...
@@ -4355,6 +4358,16 @@ List calibration
imageNumbers[numInSet++]=this.fittingStrategy.distortionCalibrationData.gIS[imageSetNumber].imageSet[nChn].imgNumber;
}
}
if (eachImageInSet){
for (int nChn=0;nChn<imageNumbers.length;nChn++){
int [] imageNumber={imageNumbers[nChn]};
showImageReprojectionErrors(
imageNumber, // if null - use all images in a series
filter, //weightFunctionFilter,
debugLevel);
}
// Do not exit, continue and show combine reprojection errors for all set
}
}
showImageReprojectionErrors(
imageNumbers, // if null - use all images in a series
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