Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
N
noisee
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Container Registry
Model registry
Operate
Environments
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
imcf
noisee
Commits
0aec3cb2
Commit
0aec3cb2
authored
5 years ago
by
Kai Schleicher
Browse files
Options
Downloads
Patches
Plain Diff
feature: more robust bead segmentation
parent
cb774981
No related branches found
Branches containing commit
No related tags found
Tags containing commit
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
src/main/resources/scripts/Plugins/NoiSee/NoiSee_Bead_Analysis.ijm
+8
-8
8 additions, 8 deletions
...resources/scripts/Plugins/NoiSee/NoiSee_Bead_Analysis.ijm
with
8 additions
and
8 deletions
src/main/resources/scripts/Plugins/NoiSee/NoiSee_Bead_Analysis.ijm
+
8
−
8
View file @
0aec3cb2
...
...
@@ -542,8 +542,8 @@ function mapTo8bitPreservingSaturation(effectiveBits) {
run("Divide...", "value=" + divisor + " stack");
setMinAndMax(0, 255);
run("8-bit");
return divisor;
return divisor;
}
function clear_workspace() {
...
...
@@ -694,7 +694,7 @@ function process_beads() {
////////// find beads and create a mask (binary image) ////////// ////////// //////////
imgs_beadmask = duplicateImage(imgs_orig, "beadmask", false);
//
run("
Convert to Mask", "method=IsoData background=Dark calculate black"); // does not work anymore somehow
run("
Mean...", "radius=2");
run("Auto Threshold", "method=MaxEntropy white stack use_stack_histogram");
roi_beads = binaryToSelection(imgs_beadmask, "beads", respath);
// now the background is 0 and beads are 255
...
...
@@ -807,9 +807,9 @@ function process_beads() {
////////// measure (evaulate) using the above determined points ////////// ////////// //////////
// DISCUSS: should this be normalized (bit depth) to allow comparing different sensors?
measureSelection(img_std, "StdDev", respath, false, save_measurements);
getStatistics(_, mean_std, _, _, std_std); // mean and std from the Noise
print("StdDev stats: mean=" + mean_std + " std=" + std_std);
getStatistics(_, mean_std, _, _, std_std); // mean and std from the Noise
print("StdDev stats: mean=" + mean_std + " std=" + std_std);
measureSelection(img_snr, "SNR", respath, false, save_measurements);
getStatistics(_, mean_snr, _, _, std_snr); // mean and std from the SNR
print("SNR stats: mean=" + mean_snr + " std=" + std_snr);
...
...
@@ -944,8 +944,8 @@ function process_beads() {
pairs = Array.concat(pairs, "", "");
pairs = Array.concat(pairs, "-- Input --", "");
pairs = Array.concat(pairs, "Filename", fname);
pairs = Array.concat(pairs, "Rescaling divisor used", divisor);
pairs = Array.concat(pairs, "Rescaling divisor used", divisor);
createTable(title, pairs, respath + "/" + "NoiSee-summary.txt");
img_summary = createTableImage(title, pairs);
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment