Border alignment artifact: Difference between revisions
Jump to navigation
Jump to search
Created page with " When rotating a cube, the cube representing the rotated particle will have some areas where there is no information. See the effect here. {/code} u1=dynamo_rot(rand(64,..." |
No edit summary |
||
| Line 3: | Line 3: | ||
See the effect here. | See the effect here. | ||
<code> | |||
u1=dynamo_rot(rand(64,64,64),[45,45,45]); | u1=dynamo_rot(rand(64,64,64),[45,45,45]); | ||
u2=dpkgeom.rotation.sharpRot(rand(64,64,64),[45,45,45]); | u2=dpkgeom.rotation.sharpRot(rand(64,64,64),[45,45,45]); | ||
| Line 9: | Line 9: | ||
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); | ||
</code> | |||
Revision as of 12:34, 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]);
u2=dpkgeom.rotation.sharpRot(rand(64,64,64),[45,45,45]);
figure;
subplot(1,2,1);dslices(u1);subplot(1,2,2);dslices(u2);