{"id":7399,"date":"2006-10-10T09:18:21","date_gmt":"2006-10-10T14:18:21","guid":{"rendered":"http:\/\/127.0.0.1:8081\/?p=7399"},"modified":"2026-05-14T22:00:31","modified_gmt":"2026-05-15T02:00:31","slug":"voxelizer","status":"publish","type":"post","link":"https:\/\/old.choonsiklee.com\/?p=7399","title":{"rendered":"Voxelizer"},"content":{"rendered":"<p>\uc9c0\ub09c\ubc88 \uc62c\ub9b0 \uae00\uc5d0\uc11c \uace0\ubbfc\ud558\ub358 voxelization algorithm\uc774 \ud574\uacb0\ub418\uc5c8\ub2e4. \ucc38\uc73c\ub85c \uae34\uc2dc\uac04\uc774\uc5c8\ub294\ub370&#8230; \uc5b4\ucc0c\ubcf4\uba74 \ud558\uc774\ube0c\ub9ac\ub4dc \ubaa8\ub378\uc744 \ub9cc\ub4dc\ub294\ub370 \uc788\uc5b4\uc11c \uac00\uc7a5 \ud575\uc2ec\uc801\uc778 \uae30\uc220\uc774\ub77c\uace0 \ubcfc \uc218 \uc788\ub2e4. \uc774 \ubd80\ubd84\uc5d0\uc11c \uc5bc\ub9c8\ub098 \uc815\ud655\ud558\uac8c \uacc4\uc0b0\ud574\ub0b4\ub294\uac00\uc5d0 \ub530\ub77c \ud558\uc774\ube0c\ub9ac\ub4dc \ubaa8\ub378\uc758 \uc7a5\ub798\uac00 \uacb0\uc815\ub41c\ub2e4.<\/p>\n<p>\ucc98\uc74c \ub9cc\ub4e4\uc5c8\ub358 voxelization algorithm\uc758 \ud575\uc2ec\ubd80\ubd84\uc740 \ub2e4\uc74c\uacfc \uac19\ub2e4.<br \/>\n&#8230;..<br \/>\n&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;for t=0:step:1;<br \/>\n&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;x_pos=x(1)+(x(2)-x(1))*t;<br \/>\n&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;y_pos=y(1)+(y(2)-y(1))*t;<br \/>\n&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;voxel(xmin+round(x_pos\/res(1)),ymin+round(y_pos\/res(2)),zmin+round(z_slice\/res(3)))=organtag(object);<br \/>\n&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;end<\/p>\n<p>&nbsp;&nbsp;&nbsp;&nbsp;temp=zeros(size(voxel,1),size(voxel,2),size(voxel,3)); % temporary matrix bounding object<br \/>\n&nbsp;&nbsp;&nbsp;&nbsp;temp(find(voxel==organtag(object)))=1;<br \/>\n&nbsp;&nbsp;&nbsp;&nbsp;for z=1:size(voxel,3)<br \/>\n&nbsp;&nbsp;&nbsp;&nbsp;[B,temp(:,:,z)] = bwboundaries(temp(:,:,z),8,&#8217;holes&#8217;);<br \/>\n&nbsp;&nbsp;&nbsp;&nbsp;end<br \/>\n&nbsp;&nbsp;&nbsp;&nbsp;voxel(find(temp~=0))=0;<br \/>\n&nbsp;&nbsp;&nbsp;&nbsp;voxel(find(imerode(temp,se)~=0))=organtag(object);<br \/>\n&#8230;..<\/p>\n<p>\uc774 \ucf54\ub4dc\uc758 \ubb38\uc81c\ub294 \ubcf8\ub798 polygon mesh model\uc758 volume\uc744 \ub108\ubb34 \ud06c\uac8c(20% \uc774\uc0c1) \ubb18\uc0ac\ud55c\ub2e4\ub294 \uac83\uc774\ub2e4. ICRP89\uc758 \uac12\uc5d0 3% \uc774\ub0b4\ub85c \uc811\uadfc\ud558\ub824\ub294 \uc9c0\uae08, \ubb38\uc81c\uac00 \uc788\ub294 \ucf54\ub4dc\uc600\ub2e4. \uc774\ub54c\ubd80\ud130 \uace0\ubbfc\uc744 \uc2dc\uc791\ud558\uc5ec \ub2e4\ub978 algorithm\uc744 \ub3c4\uc785\ud588\ub2e4. \ucc98\uc74c \uac83\ubcf4\ub2e4 \uc18d\ub3c4\ub294 \ud6e8\uc52c \ube68\ub790\uc73c\ub098 \uc5ec\uc804\ud788 volume\ubb38\uc81c\uac00 \uc788\uc5c8\ub2e4. \ub450\ubc88\uc9f8 \ucf54\ub4dc\uc758 \ud575\uc2ec\ubd80\ubd84\uc774\ub2e4.<br \/>\n&#8230;..<br \/>\n&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;% index voxels on the line segment<br \/>\n&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;if (x(2)-x(1))\/(y(2)-y(1)) &gt;= 0<br \/>\n&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;x_min=min(x); % slope&gt;0<br \/>\n&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;x_max=max(x);<br \/>\n&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;sign=1;<br \/>\n&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;else<br \/>\n&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;x_min=max(x); % slope&lt;0<br \/>\n&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;x_max=min(x);<br \/>\n&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;sign=-1;<br \/>\n&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;end<br \/>\n&nbsp;&nbsp;&nbsp;&nbsp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p;&nbsp;&nbsp;&nbsp;xtemp=((x_max-x_min)\/(y_max-y_min))*(ytemp-y_min)+x_min;<br \/>\n&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;end<br \/>\n&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;voxel(xmargin+fix(xtemp\/res(1)),ymargin+fix(ytemp\/res(2)),zmargin+round(z_slice\/res(3)))=organtag(object);<br \/>\n&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;end<br \/>\n&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;end<br \/>\n&#8230;..<\/p>\n<p>\uadf8\ub0e5 \ub300\ucda9 \ubd10\ub3c4 \ubb54\uac00 \uc870\uc7a1\ud55c \ub290\ub08c\uc774\ub2e4. \uc5ec\uc804\ud788 \ubb38\uc81c\ub97c \uc548\uace0 \uc788\uc5c8\uace0&#8230; \uadf8\ub798\uc11c \uace0\ubbfc\uc744 \ub2e4\uc2dc \uc2dc\uc791\ud588\ub2e4. \uacb0\uad6d\uc5d0\ub294 scanline algorithm\uc774\ub77c\ub294 \uac83\uc744 \ubc1c\uacac\ud588\uace0 \uc624\ub79c \ucf54\ub529\uacfc \ub514\ubc84\uae45\uc744 \uac70\uccd0 \uacb0\uad6d\uc5d0\ub294 Voxelizer\ub77c\ub294 \ucf54\ub4dc\ub97c \uc644\uc131\ud588\ub2e4. \uc774 \ucf54\ub4dc\uc758 \ud575\uc2ec\ubd80\ubd84\uc740 \uc774\uacf3\uc5d0\ub3c4 \uc62c\ub824\ub193\uc744 \uc218 \uc5c6\ub2e4. \uc774\uc804 \ucf54\ub4dc\uc758 \ubb38\uc81c\uc810\uc740 volume\ub9d0\uace0\ub3c4 \ub610 \ud55c\uac00\uc9c0\uac00 \uc788\uc5c8\ub294\ub370 contour\ub0b4\ubd80\uc5d0 \uc788\ub294 contour\ub294 \ubb18\uc0ac\ud558\uc9c0 \ubabb\ud55c\ub2e4\ub294 \uce58\uba85\uc801\uc778 \uc624\ub958\uc600\ub2e4. Cranium\uacfc vertebrae\ucabd\uc5d0\uc11c \ubb38\uc81c\uac00 \ub9ce\uc558\ub2e4. Voxelizer\ub294 \uc774 \ubaa8\ub4e0 \ubb38\uc81c\ub97c \ud574\uacb0\ud588\ub2e4.<\/p>\n<p>\uc774 \uc77c\uc740 \ub0b4\uac00 \ud55c \uac83\uc774 \uc544\ub2c8\ub77c \ud558\ub098\ub2d8\uaed8\uc11c \ud558\uc168\ub2e4\ub294 \uac83\uc774 \ub108\ubb34\ub098 \ubd84\uba85\ud558\ub2e4. \ub0b4 \uba38\ub9ac\uc758 \ud55c\uacc4\ub97c \ucca0\uc800\ud558\uac8c \uacbd\ud5d8\ud55c \ub4a4 \uae30\ub3c4\ud558\uba74\uc11c \ud55c \uc77c\uc774\ub77c\uc11c \uadf8\ub807\ub2e4. \uc7a03:5-6\ub9d0\uc500\uc744 \uba87\ubc88\uc774\ub098 \uc5f0\uc2b5\uc7a5\uc5d0 \uc4f0\uba74\uc11c \ud588\ub294\uc9c0 \ubaa8\ub974\uaca0\ub2e4. \ud558\ub098\ub2d8\uaed8 \ubaa8\ub4e0 \uc601\uad11\uc744 \ub4dc\ub9ac\uace0 \ub098\uc911\uc5d0\ub77c\ub3c4 \uc774 \uc21c\uac04\uc744 \uae30\uc5b5\ud558\uba70 \uad50\ud6c8\uc744 \uc0bc\uae30\uc704\ud574 \uc774\uacf3\uc5d0 \uae00\uc744 \ub0a8\uae34\ub2e4.<\/p>\n<figure class=\"wp-block-image\"><img width=\"490\" height=\"324\" src=\"https:\/\/old.choonsiklee.com\/wp-content\/uploads\/2006\/10\/skeleton1.jpg\" class=\"attachment-large size-large\" alt=\"\" decoding=\"async\" loading=\"lazy\" srcset=\"https:\/\/old.choonsiklee.com\/wp-content\/uploads\/2006\/10\/skeleton1.jpg 490w, https:\/\/old.choonsiklee.com\/wp-content\/uploads\/2006\/10\/skeleton1-300x198.jpg 300w\" sizes=\"auto, (max-width: 490px) 100vw, 490px\" \/><\/figure>\n<figure class=\"wp-block-image\"><img width=\"487\" height=\"321\" src=\"https:\/\/old.choonsiklee.com\/wp-content\/uploads\/2006\/10\/skeleton2.jpg\" class=\"attachment-large size-large\" alt=\"\" decoding=\"async\" loading=\"lazy\" srcset=\"https:\/\/old.choonsiklee.com\/wp-content\/uploads\/2006\/10\/skeleton2.jpg 487w, https:\/\/old.choonsiklee.com\/wp-content\/uploads\/2006\/10\/skeleton2-300x198.jpg 300w\" sizes=\"auto, (max-width: 487px) 100vw, 487px\" \/><figcaption>\uadf8\ub9bc\uc740 \uac08\ube44\ubf08\ub2e4. \uac08\ube44\ubf08 \uc8fc\uc704\ub85c cartilage\uac00 \ub365\ud600\uc788\uace0 coastal cartilage\ucabd\uc740 \uc644\uc804\ud788 cartilage\ub85c\ub9cc \ub418\uc5b4\uc788\ub294 \uac83\uc744 \ubcfc \uc218 \uc788\ub2e4.<\/figcaption><\/figure>\n<figure class=\"wp-block-image\"><img width=\"432\" height=\"485\" src=\"https:\/\/old.choonsiklee.com\/wp-content\/uploads\/2006\/10\/skeleton3.jpg\" class=\"attachment-large size-large\" alt=\"\" decoding=\"async\" loading=\"lazy\" srcset=\"https:\/\/old.choonsiklee.com\/wp-content\/uploads\/2006\/10\/skeleton3.jpg 432w, https:\/\/old.choonsiklee.com\/wp-content\/uploads\/2006\/10\/skeleton3-267x300.jpg 267w\" sizes=\"auto, (max-width: 432px) 100vw, 432px\" \/><figcaption>\uadf8\ub9bc\uc740 \ubcf5\uc7a1\ud55c cranium\uc758 \ub2e8\uce35\uc774\ub2e4. contour\uc18d\uc5d0 \uc788\ub294 contour\ub3c4 \uc815\ud655\ud558\uac8c \ubb18\uc0ac\ud574\ub0b8\ub2e4.<\/figcaption><\/figure>\n<figure class=\"wp-block-image\"><img width=\"487\" height=\"321\" src=\"https:\/\/old.choonsiklee.com\/wp-content\/uploads\/2006\/10\/skeleton2-1.jpg\" class=\"attachment-large size-large\" alt=\"\" decoding=\"async\" loading=\"lazy\" srcset=\"https:\/\/old.choonsiklee.com\/wp-content\/uploads\/2006\/10\/skeleton2-1.jpg 487w, https:\/\/old.choonsiklee.com\/wp-content\/uploads\/2006\/10\/skeleton2-1-300x198.jpg 300w\" sizes=\"auto, (max-width: 487px) 100vw, 487px\" \/><figcaption>\uadf8\ub9bc\uc740 \uac08\ube44\ubf08\ub2e4. \uac08\ube44\ubf08 \uc8fc\uc704\ub85c cartilage\uac00 \ub365\ud600\uc788\uace0 coastal cartilage\ucabd\uc740 \uc644\uc804\ud788 cartilage\ub85c\ub9cc \ub418\uc5b4\uc788\ub294 \uac83\uc744 \ubcfc \uc218 \uc788\ub2e4.<\/figcaption><\/figure>\n<figure class=\"wp-block-image\"><img width=\"432\" height=\"485\" src=\"https:\/\/old.choonsiklee.com\/wp-content\/uploads\/2006\/10\/skeleton3-1.jpg\" class=\"attachment-large size-large\" alt=\"\" decoding=\"async\" loading=\"lazy\" srcset=\"https:\/\/old.choonsiklee.com\/wp-content\/uploads\/2006\/10\/skeleton3-1.jpg 432w, https:\/\/old.choonsiklee.com\/wp-content\/uploads\/2006\/10\/skeleton3-1-267x300.jpg 267w\" sizes=\"auto, (max-width: 432px) 100vw, 432px\" \/><figcaption>\uadf8\ub9bc\uc740 \ubcf5\uc7a1\ud55c cranium\uc758 \ub2e8\uce35\uc774\ub2e4. contour\uc18d\uc5d0 \uc788\ub294 contour\ub3c4 \uc815\ud655\ud558\uac8c \ubb18\uc0ac\ud574\ub0b8\ub2e4.<\/figcaption><\/figure>\n","protected":false},"excerpt":{"rendered":"<p>\uc9c0\ub09c\ubc88 \uc62c\ub9b0 \uae00\uc5d0\uc11c \uace0\ubbfc\ud558\ub358 voxelization algorithm\uc774 \ud574\uacb0\ub418\uc5c8\ub2e4. \ucc38\uc73c\ub85c \uae34\uc2dc\uac04\uc774\uc5c8\ub294\ub370&#8230; \uc5b4\ucc0c\ubcf4\uba74 \ud558\uc774\ube0c\ub9ac\ub4dc \ubaa8\ub378\uc744 \ub9cc\ub4dc\ub294\ub370 \uc788\uc5b4\uc11c \uac00\uc7a5 \ud575\uc2ec\uc801\uc778 \uae30\uc220\uc774\ub77c\uace0 \ubcfc \uc218 \uc788\ub2e4. \uc774 \ubd80\ubd84\uc5d0\uc11c \uc5bc\ub9c8\ub098 \uc815\ud655\ud558\uac8c \uacc4\uc0b0\ud574\ub0b4\ub294\uac00\uc5d0 \ub530\ub77c \ud558\uc774\ube0c\ub9ac\ub4dc \ubaa8\ub378\uc758 \uc7a5\ub798\uac00 \uacb0\uc815\ub41c\ub2e4. \ucc98\uc74c \ub9cc\ub4e4\uc5c8\ub358 voxelization algorithm\uc758 \ud575\uc2ec\ubd80\ubd84\uc740 \ub2e4\uc74c\uacfc \uac19\ub2e4. &#8230;.. &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;for t=0:step:1; &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;x_pos=x(1)+(x(2)-x(1))*t; &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;y_pos=y(1)+(y(2)-y(1))*t; &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;voxel(xmin+round(x_pos\/res(1)),ymin+round(y_pos\/res(2)),zmin+round(z_slice\/res(3)))=organtag(object); &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;end &nbsp;&nbsp;&nbsp;&nbsp;temp=zeros(size(voxel,1),size(voxel,2),size(voxel,3)); % temporary matrix bounding object &nbsp;&nbsp;&nbsp;&nbsp;temp(find(voxel==organtag(object)))=1; &nbsp;&nbsp;&nbsp;&nbsp;for z=1:size(voxel,3) &nbsp;&nbsp;&nbsp;&nbsp;[B,temp(:,:,z)] = [&hellip;]<\/p>\n","protected":false},"author":2,"featured_media":7400,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[33,2,35],"tags":[],"class_list":["post-7399","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-old-essay_choonsik","category-old-website","category-old-essay_choonsik-research"],"_links":{"self":[{"href":"https:\/\/old.choonsiklee.com\/index.php?rest_route=\/wp\/v2\/posts\/7399","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/old.choonsiklee.com\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/old.choonsiklee.com\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/old.choonsiklee.com\/index.php?rest_route=\/wp\/v2\/users\/2"}],"replies":[{"embeddable":true,"href":"https:\/\/old.choonsiklee.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=7399"}],"version-history":[{"count":1,"href":"https:\/\/old.choonsiklee.com\/index.php?rest_route=\/wp\/v2\/posts\/7399\/revisions"}],"predecessor-version":[{"id":7405,"href":"https:\/\/old.choonsiklee.com\/index.php?rest_route=\/wp\/v2\/posts\/7399\/revisions\/7405"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/old.choonsiklee.com\/index.php?rest_route=\/wp\/v2\/media\/7400"}],"wp:attachment":[{"href":"https:\/\/old.choonsiklee.com\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=7399"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/old.choonsiklee.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=7399"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/old.choonsiklee.com\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=7399"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}