Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
apicalTuftPaper
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
Container registry
Model registry
Operate
Environments
Monitor
Incidents
Service Desk
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
connectomics
apicalTuftPaper
Commits
076de175
Commit
076de175
authored
4 years ago
by
Ali Karimi
Browse files
Options
Downloads
Patches
Plain Diff
Writing to ply files
parent
745713c5
No related branches found
No related tags found
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
code/+surface/volumeAnnotation_example.m
+11
-0
11 additions, 0 deletions
code/+surface/volumeAnnotation_example.m
with
11 additions
and
0 deletions
code/+surface/volumeAnnotation_example.m
+
11
−
0
View file @
076de175
...
@@ -59,3 +59,14 @@ axis tight
...
@@ -59,3 +59,14 @@ axis tight
axis
off
axis
off
camlight
camlight
lighting
gouraud
lighting
gouraud
%% Write surfaces out for amira (as .ply files)
% Paramater should contain the voxel size as follows:
param
.
raw
.
voxelSize
=
[
12
,
12
,
30
];
plyDir
=
fullfile
(
dataset_Dir
,
'plyFiles'
);
mkdir
(
plyDir
);
% create a cell array with the file names
outputFileNames
=
arrayfun
(
@
(
x
)
fullfile
(
plyDir
,[
num2str
(
x
),
'.ply'
]),
...
1
:
length
(
isoSurf
),
'UniformOutput'
,
false
);
% Call to the function
Visualization
.
exportIsoSurfaceToAmira
(
param
,
isoSurf
,
outputFileNames
);
\ 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