Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
L
leverUtilities
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
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
GitLab community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
OpenSource
leverUtilities
Commits
1b5dd1a8
Commit
1b5dd1a8
authored
Oct 11, 2017
by
Eric Wait
Browse files
Options
Downloads
Patches
Plain Diff
Bypass the GUI when the path the single positive files are known
parent
f0fc2219
Branches
Branches containing commit
No related tags found
No related merge requests found
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
src/MATLAB/+Unmix/OpenSinglePosImages.m
+60
-53
60 additions, 53 deletions
src/MATLAB/+Unmix/OpenSinglePosImages.m
with
60 additions
and
53 deletions
src/MATLAB/+Unmix/OpenSinglePosImages.m
+
60
−
53
View file @
1b5dd1a8
function imSinglePos = OpenSinglePosImages()
function imSinglePos = OpenSinglePosImages(
imagePaths
)
imSinglePos = [];
if (~exist('imagePaths','var') || isempty(imagePaths))
uiwait(msgbox({'Choose single positive images and click cancel when done.',...
'',...
'A single positive image should have only one stain present in the',...
...
...
@@ -39,6 +40,12 @@ choice = questdlg(qstring,'Channel Order','Yes','No','Yes');
if (strcmp(choice,'No'))
return;
end
else
singlePosFiles.path = imagePaths{1};
for i=2:length(imagePaths)
singlePosFiles(i).path = imagePaths{i};
end
end
im = MicroscopeData.Reader(singlePosFiles(1).path);
imSinglePos = cell(length(singlePosFiles),1);
...
...
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