{"version":1,"kind":"Article","sha256":"","slug":"117","location":"","dependencies":[],"doi":"10.54294/y7rwlw","frontmatter":{"title":"Using a Mask to Decrease Computation Time for SpatialObject to Image Conversions","abstract":"This article presents an approach for decreasing the computational time for converting a sparse SpatialObject to an Image. The method is applicable for SpatialObjects which occupy less volume than the total output Image (which occurs often, especially when using TubeSpatialObjects to represent vessels). A new filter MaskedSpatialObjectToImageFilter is introduced which dramatically decreases the execution time by creating a mask of relevant pixels. The mask is computed by calling the conventional SpatialObjectToImageFilter at a lower resolution, which is significantly faster for large images. The mask is then up-sampled to control which areas are further processed.","license":"You are licensing your work to Kitware Inc. under the\nCreative Commons Attribution License Version 3.0.\n\nKitware Inc. agrees to the following:\n\nKitware is free\n * to copy, distribute, display, and perform the work\n * to make derivative works\n * to make commercial use of the work\n\nUnder the following conditions:\n\\\"by Attribution\\\" - Kitware must attribute the work in the manner specified by the author or licensor.\n\n * For any reuse or distribution, they must make clear to others the license terms of this work.\n * Any of these conditions can be waived if they get permission from the copyright holder.\n\nYour fair use and other rights are in no way affected by the above.\n\nThis is a human-readable summary of the Legal Code (the full license) available at\nhttp://creativecommons.org/licenses/by/3.0/legalcode","keywords":["speed","time","SpatialObject","Image","fast","ITK","convert"],"authors":[{"name":"Mueller, Dan","email":"dan.muel@gmail.com","affiliations":["Philips Healthcare"],"corresponding":true}],"date_submitted":"2006-07-22T21:44:38Z","external_publication_id":117,"revision_cids":["bafkreid3vfbrvqwszyybq6u42estetbr7modotrgxwl7tqjkt5xgpcu7fy"]},"mdast":{"type":"root"},"downloads":[{"url":"https://ipfs.desci.com/ipfs/bafkreienhqtunmvenvanyifoaorakl7csrhkwfughv2rsieuqbdw56otru","title":"root/insight-journal-metadata.json","filename":"insight-journal-metadata.json","extra":{"size_bytes":2827,"type":"file"}},{"url":"https://pub.desci.com/ipfs/bafkreigjllsbo7m6ortpnbjhqyychrfojnqp5537anemgbderr762mftcy","title":"root/code/CMakeLists.txt","filename":"CMakeLists.txt","extra":{"size_bytes":1919,"type":"file"}},{"url":"https://pub.desci.com/ipfs/bafkreigi7yaxzxym5hdiptzp2xhxbjrfeoh5cmirtid7cike6hiycd22qy","title":"root/code/IJMacros.txt","filename":"IJMacros.txt","extra":{"size_bytes":3205,"type":"file"}},{"url":"https://pub.desci.com/ipfs/bafkreihwjkw7lqrbz6pmupjp45nbfkmh6ea7ic56i3qpti7r3jacmsa63m","title":"root/code/Testing/CMakeLists.txt","filename":"CMakeLists.txt","extra":{"size_bytes":3904,"type":"file"}},{"url":"https://pub.desci.com/ipfs/bafkreibld4rm2ftaviersnq7365ejscwkiltce7v57dzd4ez3vehv2kdam","title":"root/code/Testing/MaskedSpatialObjectToImageTestDriver.cxx","filename":"MaskedSpatialObjectToImageTestDriver.cxx","extra":{"size_bytes":1330,"type":"file"}},{"url":"https://pub.desci.com/ipfs/bafkreiabfvmytni2yf7ypjs7nc4gapgooxixgsfjzvzbt347pw3vbkvmtq","title":"root/code/Testing/itkMaskedSpatialObjectToImageFilterTests.cxx","filename":"itkMaskedSpatialObjectToImageFilterTests.cxx","extra":{"size_bytes":7545,"type":"file"}},{"url":"https://pub.desci.com/ipfs/bafkreid2wmyinpousiqxgqbuhmr423x23h7pmf5lv33sl2z7rvu2cmyolm","title":"root/code/Source/CMakeLists.txt","filename":"CMakeLists.txt","extra":{"size_bytes":342,"type":"file"}},{"url":"https://pub.desci.com/ipfs/bafkreiec4hwxboyuvwe2qn4bslqabnc4xkeaabaogsf4tiyvkusdq7gwte","title":"root/code/Source/itkMaskedSpatialObjectToImageFilter.cxx","filename":"itkMaskedSpatialObjectToImageFilter.cxx","extra":{"size_bytes":13576,"type":"file"}},{"url":"https://pub.desci.com/ipfs/bafkreiaefzqflwgzxexzo22jx2klomwdeu4s6nmam66ubhe2ajhv2kzike","title":"root/code/Source/itkMaskedSpatialObjectToImageFilter.h","filename":"itkMaskedSpatialObjectToImageFilter.h","extra":{"size_bytes":5326,"type":"file"}},{"url":"https://pub.desci.com/ipfs/bafkreihkp75kxvorgovxszxuzcir2axlsuydzaoq5igcjrmxaiyv2zol44","title":"root/code/Images/Readme.txt","filename":"Readme.txt","extra":{"size_bytes":296,"type":"file"}},{"url":"https://pub.desci.com/ipfs/bafkreigu6lf2qsmanrw5uw6g7zv7vcdky4bdf3x5iksjal723ztotmc7xi","title":"root/code/Images/Real1.mhd","filename":"Real1.mhd","extra":{"size_bytes":76461,"type":"file"}},{"url":"https://pub.desci.com/ipfs/bafkreie3hzuxpawo3fyoumfnkcwwyktiyjid6mkbhrpo4e252e373ysq2q","title":"root/code/Images/Real2.mhd","filename":"Real2.mhd","extra":{"size_bytes":55311,"type":"file"}},{"url":"https://pub.desci.com/ipfs/bafkreibn76wbbismjni42e4ehkbfgu65bknat65nkwimp6bjeiqj3vqkf4","title":"root/code/Images/Toy1.mhd","filename":"Toy1.mhd","extra":{"size_bytes":394,"type":"file"}},{"url":"https://pub.desci.com/ipfs/bafkreid64j3bmbgjgycsu2msrahs7u5onbjur2eblxog3zhjcqt4p5tn5i","title":"root/code/Images/Toy2.mhd","filename":"Toy2.mhd","extra":{"size_bytes":1566,"type":"file"}},{"url":"https://pub.desci.com/ipfs/bafkreibr37depxcalkngyh2f5hozm2slrhnzb4uyyf2k7z3ri5li76rvre","title":"root/code/Article/InsightArticle.cls","filename":"InsightArticle.cls","extra":{"size_bytes":4138,"type":"file"}},{"url":"https://pub.desci.com/ipfs/bafkreifciou2aavrwy4btq4eysbcgppc7r5rcvnrisasakz25douasg3by","title":"root/code/Article/InsightJournal.bib","filename":"InsightJournal.bib","extra":{"size_bytes":159496,"type":"file"}},{"url":"https://pub.desci.com/ipfs/bafkreiek4cx7vilydpxm2uks6atpaydiijwz7iomwx2rx45shnnor6n2i4","title":"root/code/Article/InsightJournal.sty","filename":"InsightJournal.sty","extra":{"size_bytes":35893,"type":"file"}},{"url":"https://pub.desci.com/ipfs/bafkreiet7uhlgharf22alaz5xdy5p5oshdd6nenryblibvzhnzupg3kwji","title":"root/code/Article/algorithm.sty","filename":"algorithm.sty","extra":{"size_bytes":2223,"type":"file"}},{"url":"https://pub.desci.com/ipfs/bafkreifmvoerc5nldoiersgcd433y7zqx2dor5r52x73jhs5fmrlide4ue","title":"root/code/Article/algorithmic.sty","filename":"algorithmic.sty","extra":{"size_bytes":5564,"type":"file"}},{"url":"https://pub.desci.com/ipfs/bafkreia74prxyxal4wrht3tu25ayv77gd3m4r3z3boglhsqwjcmxl2i6gi","title":"root/code/Article/amssymb.sty","filename":"amssymb.sty","extra":{"size_bytes":15232,"type":"file"}},{"url":"https://pub.desci.com/ipfs/bafkreibobabjacjgno7y65hpqn4ijuegr4lnirjepwd3lxqnmbd6czg4di","title":"root/code/Article/article.cls","filename":"article.cls","extra":{"size_bytes":21194,"type":"file"}},{"url":"https://pub.desci.com/ipfs/bafkreigrzwhtm6yentbmn2shpvqfh356ftqzbbwxjx64vfv7hz6jbc7roy","title":"root/code/Article/article.tcp","filename":"article.tcp","extra":{"size_bytes":198,"type":"file"}},{"url":"https://pub.desci.com/ipfs/bafkreid5c46np74bto2abxi3poaaqwpqa33dkoiyvy4t5pgro25r2kmddm","title":"root/code/Article/article.tex","filename":"article.tex","extra":{"size_bytes":19077,"type":"file"}},{"url":"https://pub.desci.com/ipfs/bafkreif5lmf65s4poi7n76uahagm6belbujhnxsatw2dbespmk74rvtjpq","title":"root/code/Article/article.tps","filename":"article.tps","extra":{"size_bytes":482,"type":"file"}},{"url":"https://pub.desci.com/ipfs/bafkreift6yoe2q2ofarabu7pcv4yal7dc2teqhpdjanybr2emqxyfqdjbi","title":"root/code/Article/fancyhdr.sty","filename":"fancyhdr.sty","extra":{"size_bytes":14699,"type":"file"}},{"url":"https://pub.desci.com/ipfs/bafkreiahbnr5hf2qmjo6hd2k4ytpq5k7yzwyaf4kd77kypubsu5aurj62a","title":"root/code/Article/floatflt.sty","filename":"floatflt.sty","extra":{"size_bytes":11060,"type":"file"}},{"url":"https://pub.desci.com/ipfs/bafkreidtzeamzad44vct5y6ehkdpgrzo2phkaqfzvzdmozvb66oswpoe5m","title":"root/code/Article/fncychap.sty","filename":"fncychap.sty","extra":{"size_bytes":10359,"type":"file"}},{"url":"https://pub.desci.com/ipfs/bafkreiapnjtir36tcynydwjrizc3cm6vskb2m6xq7htskqups2ljaxa5ru","title":"root/code/Article/times.sty","filename":"times.sty","extra":{"size_bytes":857,"type":"file"}},{"url":"https://pub.desci.com/ipfs/bafkreic4kokv4wh4jn5ixpsrfgfyiboill57kqih5mqu6nudl2q262zdtq","title":"root/code/Article/images/Real1_MIP.png","filename":"Real1_MIP.png","extra":{"size_bytes":3122,"type":"file"}},{"url":"https://pub.desci.com/ipfs/bafkreibaqqg3rcrayi5sjxrm7k7oo6j2hnwobnvmhbozustttl2n6cyeua","title":"root/code/Article/images/Real1_MIP.png.bb","filename":"Real1_MIP.png.bb","extra":{"size_bytes":28,"type":"file"}},{"url":"https://pub.desci.com/ipfs/bafkreif3wmpu42xvahuykfcytui3l3sbyreu4nvtwsczpxbryb3vsir5na","title":"root/code/Article/images/Real2_MIP.png","filename":"Real2_MIP.png","extra":{"size_bytes":3477,"type":"file"}},{"url":"https://pub.desci.com/ipfs/bafkreibaqqg3rcrayi5sjxrm7k7oo6j2hnwobnvmhbozustttl2n6cyeua","title":"root/code/Article/images/Real2_MIP.png.bb","filename":"Real2_MIP.png.bb","extra":{"size_bytes":28,"type":"file"}},{"url":"https://pub.desci.com/ipfs/bafkreihtebedpulexvpcso7wnmt4xqwj6mwx5waquptp4hkiydfjalszj4","title":"root/code/Article/images/Toy1_MIP.png","filename":"Toy1_MIP.png","extra":{"size_bytes":1024,"type":"file"}},{"url":"https://pub.desci.com/ipfs/bafkreihyopkjatt4vd4q5f5e7rpm2jtcz5ngohbpmuik7tzfguljtvcqvi","title":"root/code/Article/images/Toy1_MIP.png.bb","filename":"Toy1_MIP.png.bb","extra":{"size_bytes":28,"type":"file"}},{"url":"https://pub.desci.com/ipfs/bafkreifzilcie472e5gb7d7inaw5gjzzak2sq5z5nxdbrqxunbwctnczam","title":"root/code/Article/images/Toy2_MIP.png","filename":"Toy2_MIP.png","extra":{"size_bytes":1262,"type":"file"}},{"url":"https://pub.desci.com/ipfs/bafkreiabiso2tsxfvjlozl54wkpurumi3o3d2ldha3lcoqcqf57ooddvcy","title":"root/code/Article/images/Toy2_MIP.png.bb","filename":"Toy2_MIP.png.bb","extra":{"size_bytes":28,"type":"file"}},{"url":"https://dweb.link/ipfs/bafkreicegwfiivb3l2kfkuqsuxtm4yydkqeuufu5x734mcp6oxnzbzxbqa","title":"root/article.pdf","filename":"article.pdf","extra":{"size_bytes":80806,"type":"file"}}],"references":{"cite":{"order":[]},"data":{}}}