Mentions légales du service
Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
S
SR
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Deploy
Releases
Container registry
Model registry
Monitor
Incidents
Service Desk
Analyze
Value stream analytics
Contributor 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
LightFieldCodingLibrary
SR
Commits
e32f0baf
Commit
e32f0baf
authored
6 years ago
by
DIB Elian
Browse files
Options
Downloads
Patches
Plain Diff
Changed warp set functions input
parent
e5e7bf5e
Branches
Branches containing commit
No related tags found
No related merge requests found
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
warpHLRASet.m
+5
-1
5 additions, 1 deletion
warpHLRASet.m
warpSet.m
+5
-1
5 additions, 1 deletion
warpSet.m
warpUnwarpSet.m
+5
-1
5 additions, 1 deletion
warpUnwarpSet.m
with
15 additions
and
3 deletions
warpHLRASet.m
+
5
−
1
View file @
e32f0baf
function
[
Val
,
Lab
,
Pos
,
DispX
,
DispY
]
=
warpHLRASet
(
Val
,
Lab
,
Pos
,
DispX
,
DispY
,
varargin
)
function
SRSet
=
warpHLRASet
(
SRSet
,
varargin
)
%WARPHLRASET Summary of this function goes here
% Detailed explanation goes here
[
Val
,
Lab
,
Pos
,
DispX
,
DispY
]
=
SR
.
SetToFields
(
SRSet
);
Mask
=
Lab
;
for
it
=
1
:
numel
(
Lab
)
...
...
@@ -16,4 +18,6 @@ end
for
it
=
1
:
numel
(
Lab
)
Lab
{
it
}
=
it
*
double
(
Mask
{
it
});
end
SRSet
=
SR
.
FieldsToSet
(
Val
,
Lab
,
Pos
,
DispX
,
DispY
);
end
\ No newline at end of file
This diff is collapsed.
Click to expand it.
warpSet.m
+
5
−
1
View file @
e32f0baf
function
[
Val
,
Lab
,
Pos
,
DispX
,
DispY
]
=
warpSet
(
Val
,
Lab
,
Pos
,
DispX
,
DispY
,
varargin
)
function
SRSet
=
warpSet
(
SRSet
,
varargin
)
%WARPSET Summary of this function goes here
% Detailed explanation goes here
[
Val
,
Lab
,
Pos
,
DispX
,
DispY
]
=
SR
.
SetToFields
(
SRSet
);
Mask
=
Lab
;
for
it
=
1
:
numel
(
Lab
)
...
...
@@ -16,4 +18,6 @@ end
for
it
=
1
:
numel
(
Lab
)
Lab
{
it
}
=
it
*
double
(
Mask
{
it
});
end
SRSet
=
SR
.
FieldsToSet
(
Val
,
Lab
,
Pos
,
DispX
,
DispY
);
end
\ No newline at end of file
This diff is collapsed.
Click to expand it.
warpUnwarpSet.m
+
5
−
1
View file @
e32f0baf
function
[
Val
,
Lab
,
Pos
,
DispX
,
DispY
]
=
warpUnwarpSet
(
Val
,
Lab
,
Pos
,
DispX
,
DispY
,
varargin
)
function
[
SRSet
,
PSNRout
]
=
warpUnwarpSet
(
SRSet
,
varargin
)
%WARPSET Summary of this function goes here
% Detailed explanation goes here
[
Val
,
Lab
,
Pos
,
DispX
,
DispY
]
=
SR
.
SetToFields
(
SRSet
);
Mask
=
Lab
;
PSNRout
=
cell
(
size
(
Val
));
for
it
=
1
:
numel
(
Lab
)
...
...
@@ -16,4 +18,6 @@ end
for
it
=
1
:
numel
(
Lab
)
Lab
{
it
}
=
it
*
double
(
Mask
{
it
});
end
SRSet
=
SR
.
FieldsToSet
(
Val
,
Lab
,
Pos
,
DispX
,
DispY
);
end
\ No newline at end of file
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