Difference between revisions of "Border alignment artifact"
Jump to navigation
Jump to search
Line 4: | Line 4: | ||
See the effect here: | See the effect here: | ||
− | < | + | <pre> |
u1=dynamo_rot(rand(64,64,64),[45,45,45]); % rotates creating a spherical halo | u1=dynamo_rot(rand(64,64,64),[45,45,45]); % rotates creating a spherical halo | ||
u2=dpkgeom.rotation.sharpRot(rand(64,64,64),[45,45,45]); % rotates creating an edge | u2=dpkgeom.rotation.sharpRot(rand(64,64,64),[45,45,45]); % rotates creating an edge | ||
figure; | figure; | ||
subplot(1,2,1);dslices(u1);subplot(1,2,2);dslices(u2); | subplot(1,2,1);dslices(u1);subplot(1,2,2);dslices(u2); | ||
− | </ | + | </pre> |
Revision as of 13:38, 15 April 2016
When rotating a cube, the cube representing the rotated particle will have some areas where there is no information.
See the effect here:
u1=dynamo_rot(rand(64,64,64),[45,45,45]); % rotates creating a spherical halo u2=dpkgeom.rotation.sharpRot(rand(64,64,64),[45,45,45]); % rotates creating an edge figure; subplot(1,2,1);dslices(u1);subplot(1,2,2);dslices(u2);