Skip to content
Snippets Groups Projects
Commit 3914fef1 authored by Eric Wait's avatar Eric Wait
Browse files

GetRandomEllipseImage3D now returns the ground truth voxel locations

parent 6e023d2b
Branches
No related tags found
No related merge requests found
Pipeline #
...@@ -74,7 +74,7 @@ ...@@ -74,7 +74,7 @@
% %
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
function bw=GetRandomEllipseImage3D(K) function [bw,pts]=GetRandomEllipseImage3D(K)
IMSIZE = [200,200,200]; IMSIZE = [200,200,200];
mu = [100,100,100]; mu = [100,100,100];
......
...@@ -39,7 +39,7 @@ ...@@ -39,7 +39,7 @@
K=3; % the number of ellipses (cells) we're fitting K=3; % the number of ellipses (cells) we're fitting
cmap=hsv(K); cmap=hsv(K);
% generate a random image. you can use your own image here instead... % generate a random image. you can use your own image here instead...
bw=GetRandomEllipseImage3D(K); [bw,pts]=GetRandomEllipseImage3D(K);
hold off hold off
subplot(1,3,1) subplot(1,3,1)
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment