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
3c244016
Commit
3c244016
authored
Oct 7, 2017
by
Eric Wait
Browse files
Options
Downloads
Patches
Plain Diff
Use the first frame if single postives are timelapse
parent
6d3732e8
Branches
Branches containing commit
No related tags found
Loading
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
src/MATLAB/+Unmix/LinearUnmixSignals.m
+2
-1
2 additions, 1 deletion
src/MATLAB/+Unmix/LinearUnmixSignals.m
src/MATLAB/+Unmix/SeperateSignals.m
+2
-2
2 additions, 2 deletions
src/MATLAB/+Unmix/SeperateSignals.m
with
4 additions
and
3 deletions
src/MATLAB/+Unmix/LinearUnmixSignals.m
+
2
−
1
View file @
3c244016
...
...
@@ -38,7 +38,8 @@ if (showPlots)
prgs
=
Utils
.
CmdlnProgress
(
length
(
imSinglePos
),
true
,
'Unmixing Single Pos'
);
for
i
=
1
:
length
(
imSinglePos
)
curIm
=
imSinglePos
{
i
};
imSPsigUn
{
i
}
=
Cuda
.
Mex
(
'LinearUnmixing'
,
curIm
,
unmixingMatrix
);
curIm
=
curIm
(:,:,:,:,
1
);
imSPsigUn
{
i
}
=
ImProc
.
LinearUnmixing
(
curIm
,
unmixingMatrix
);
prgs
.
PrintProgress
(
i
);
end
prgs
.
ClearProgress
(
true
);
...
...
This diff is collapsed.
Click to expand it.
src/MATLAB/+Unmix/SeperateSignals.m
+
2
−
2
View file @
3c244016
...
...
@@ -14,8 +14,8 @@ for signalChan=1:length(imSinglePos)
curSignal = imSinglePos{signalChan};
curCon = zeros(size(curSignal),'like',curSignal);
for responceChan=1:size(curSignal,4)
responceIm = curSignal(:,:,:,responceChan);
curCon(:,:,:,responceChan) =
Cuda
.ContrastEnhancement(responceIm,[75,75,20],[3,3,3]
,1
);
responceIm = curSignal(:,:,:,responceChan
,1
);
curCon(:,:,:,responceChan) =
ImProc
.ContrastEnhancement(responceIm,[75,75,20],[3,3,3]);
end
contrastImage{signalChan} = curCon;
mask = curCon>0.02;
...
...
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