Commit 13959a97 authored by Andrey Filippov's avatar Andrey Filippov

fixed member access

parent b3a35acd
...@@ -567,7 +567,7 @@ public class LwirReader { ...@@ -567,7 +567,7 @@ public class LwirReader {
} }
} }
if (lrp.show_images) { if (lrp.isShowImages()) {
if (imps_avg != null) { if (imps_avg != null) {
for (ImagePlus imp: imps_avg) { for (ImagePlus imp: imps_avg) {
imp.show(); imp.show();
......
...@@ -82,6 +82,9 @@ public class LwirReaderParameters { ...@@ -82,6 +82,9 @@ public class LwirReaderParameters {
this.debug_level = level; this.debug_level = level;
} }
public boolean isShowImages() {
return show_images;
}
public void setProperties(String prefix,Properties properties){ public void setProperties(String prefix,Properties properties){
properties.setProperty(prefix+"avg_number", this.avg_number+""); properties.setProperty(prefix+"avg_number", this.avg_number+"");
properties.setProperty(prefix+"lwir_ffc", this.lwir_ffc+""); properties.setProperty(prefix+"lwir_ffc", this.lwir_ffc+"");
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment