Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
N
ncd
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
ncd
Commits
ababc66f
Commit
ababc66f
authored
Jul 26, 2024
by
ac
Browse files
Options
Downloads
Patches
Plain Diff
moved ncd_ssf_volume from leverjs.ssf
parent
1be16581
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/+NCD/ncd_ssf_volume.m
+24
-0
24 additions, 0 deletions
src/MATLAB/+NCD/ncd_ssf_volume.m
with
24 additions
and
0 deletions
src/MATLAB/+NCD/ncd_ssf_volume.m
0 → 100644
+
24
−
0
View file @
ababc66f
% i1 and i2 are signal kymos (x,y,t,c)outdir
% we want images {t}(x,y,c)
% package to cell array by t and then pass to in memory FLI%F compressor
function
ncd
=
ncd_ssf_volume
(
i1
,
i2
)
im12
=
NCD
.
catKymographs
(
i1
,
i2
,
1
);
im12
=
squeeze
(
num2cell
(
im12
,[
1
,
2
,
4
]));
s12
=
NCD
.
flifPress
(
im12
);
im21
=
NCD
.
catKymographs
(
i1
,
i2
,
2
);
im21
=
squeeze
(
num2cell
(
im21
,[
1
,
2
,
4
]));
s21
=
NCD
.
flifPress
(
im21
);
s12
=
min
(
s12
,
s21
);
i1
=
squeeze
(
num2cell
(
i1
,[
1
,
2
,
4
]));
i2
=
squeeze
(
num2cell
(
i2
,[
1
,
2
,
4
]));
s1
=
NCD
.
flifPress
(
i1
);
s2
=
NCD
.
flifPress
(
i2
);
ncd
=
(
s12
-
min
(
s1
,
s2
))
/
(
max
(
s1
,
s2
));
4
;
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