Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
D
DCT
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Jira
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Package Registry
Container Registry
Model registry
Operate
Environments
Terraform modules
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
graintracking
DCT
Commits
dd0bc4a3
Commit
dd0bc4a3
authored
10 years ago
by
Andrew King
Browse files
Options
Downloads
Patches
Plain Diff
Bug fix to twin volume assembly - sub volumes were erroneously shifted by 1
Signed-off-by:
Andrew King
<
andrew.king@esrf.fr
>
parent
726769c6
No related branches found
Branches containing commit
No related tags found
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
5_reconstruction/GtAssembleVol3D.m
+3
-1
3 additions, 1 deletion
5_reconstruction/GtAssembleVol3D.m
with
3 additions
and
1 deletion
5_reconstruction/GtAssembleVol3D.m
+
3
−
1
View file @
dd0bc4a3
...
@@ -581,7 +581,9 @@ classdef GtAssembleVol3D < handle
...
@@ -581,7 +581,9 @@ classdef GtAssembleVol3D < handle
% Getting the intersecting volume of complete volume and
% Getting the intersecting volume of complete volume and
% segmented volume
% segmented volume
if
~
isempty
(
vol
)
if
~
isempty
(
vol
)
[
limsVolume
,
limsGrain
]
=
gtGetVolsIntersectLimits
(
size
(
volume
),
size
(
vol
),
volBBox
(
1
:
3
));
% the bbox extremes start from 1 - matlab coords.
% shift (argument 3) should start from zero!
[
limsVolume
,
limsGrain
]
=
gtGetVolsIntersectLimits
(
size
(
volume
),
size
(
vol
),
volBBox
(
1
:
3
)
-
1
);
else
else
foutput
{
end
+
1
,
2
}
=
sprintf
(
'\nEmpty segmented volume for grainID %4d... Please threshold it again!'
,
ii
);
foutput
{
end
+
1
,
2
}
=
sprintf
(
'\nEmpty segmented volume for grainID %4d... Please threshold it again!'
,
ii
);
continue
continue
...
...
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