Skip to content

Commit

Permalink
another instance of "map" to "mask"
Browse files Browse the repository at this point in the history
  • Loading branch information
ammendes committed Sep 16, 2024
1 parent 1e1d2a5 commit b5f7fa1
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions src/main/java/RelevanceMask2D_.java
Original file line number Diff line number Diff line change
Expand Up @@ -39,11 +39,11 @@ public void run(String s) {
// ---- Dialog box ---- //
// -------------------- //

NonBlockingGenericDialog gd = new NonBlockingGenericDialog("Map noise");
NonBlockingGenericDialog gd = new NonBlockingGenericDialog("Relevance mask (2D)");
gd.addMessage("Map structurally relevant positions in your image!");
gd.addNumericField("Block width (px): ", 3);
gd.addNumericField("Block height (px): ", 3);
gd.addSlider("Filter constant: ", 0.0f, 10.0f, 0.0, 0.1f);
gd.addSlider("Filter constant: ", 0.0f, 10.0f, 0.0, 1f);
gd.addCheckbox("Use device from preferences?", false);

gd.showDialog();
Expand Down
2 changes: 1 addition & 1 deletion src/main/java/RelevanceMaskStack2D_.java
Original file line number Diff line number Diff line change
Expand Up @@ -224,7 +224,7 @@ public void run(String s) {
queue.putWriteBuffer(clLocalStds, true);

// Create kernel and set kernel arguments
kernelGetLocalStatistics = programGetLocalStatistics.createCLKernel("kernelGetRelevanceMap2D");
kernelGetLocalStatistics = programGetLocalStatistics.createCLKernel("kernelGetRelevanceMask2D");

int argn = 0;
kernelGetLocalStatistics.setArg(argn++, clRefPixels);
Expand Down

0 comments on commit b5f7fa1

Please sign in to comment.