Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
M
MBL2016
Manage
Activity
Members
Code
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Deploy
Releases
Model registry
Analyze
Contributor 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
MBL2016
Commits
26efe0a4
Commit
26efe0a4
authored
Oct 15, 2016
by
Andrew Cohen
Browse files
Options
Downloads
Patches
Plain Diff
3d pdf
parent
66e1166f
Branches
Branches containing commit
No related tags found
No related merge requests found
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
draw3dPDF.m
+24
-0
24 additions, 0 deletions
draw3dPDF.m
problem set.pptx
+0
-0
0 additions, 0 deletions
problem set.pptx
with
24 additions
and
0 deletions
draw3dPDF.m
0 → 100644
+
24
−
0
View file @
26efe0a4
im
=
imread
(
'Ellipse2.tif'
);
imagesc
(
im
)
[
r
c
]
=
find
(
im
);
obj
=
gmdistribution
.
fit
([
c
,
r
],
2
);
idx
=
[
1
:
prod
(
size
(
im
))];
[
r
c
]
=
ind2sub
(
size
(
im
),
idx
);
probXY
=
obj
.
pdf
([
c
',r'
]);
imP
=
reshape
(
probXY
,
size
(
im
));
figure
;
surf
(
imP
);
hold
on
% imrgb = ind2rgb(im,[0 0 0;1 1 1]);
% imagesc(imrgb)
[
r
c
]
=
find
(
im
);
plot
(
c
,
r
,
'.r'
)
\ No newline at end of file
This diff is collapsed.
Click to expand it.
problem set.pptx
+
0
−
0
View file @
26efe0a4
No preview for this file type
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