<html xmlns="http://www.w3.org/1999/xhtml" xmlns:v="urn:schemas-microsoft-com:vml" xmlns:o="urn:schemas-microsoft-com:office:office"><head><!--[if gte mso 9]><xml><o:OfficeDocumentSettings><o:AllowPNG/><o:PixelsPerInch>96</o:PixelsPerInch></o:OfficeDocumentSettings></xml><![endif]--></head><body><div style="color:#000; background-color:#fff; font-family:Helvetica Neue, Helvetica, Arial, Lucida Grande, sans-serif;font-size:16px"><div id="yiv5850255500"><!--[if gte mso 9]><xml><o:OfficeDocumentSettings><o:AllowPNG/><o:PixelsPerInch>96</o:PixelsPerInch></o:OfficeDocumentSettings></xml><![endif]--><div id="yui_3_16_0_ym19_1_1473943276502_2739"><div id="yiv5850255500yui_3_16_0_ym19_1_1473938213686_3048" style="color:#000;background-color:#fff;font-family:Helvetica Neue, Helvetica, Arial, Lucida Grande, sans-serif;font-size:16px;"> I have following matrix from <a class="yiv5850255500edited-link-editor yiv5850255500enhancr2_2b5c3a3d-4db5-acd8-0629-c667be312690" id="yiv5850255500yui_3_16_0_ym19_1_1473938213686_3458" href="https://gitlab.kitware.com/vtk/vtk/blob/77895235b0c99b5cf2bb98af8b1e923209e30525/Examples/ImageProcessing/Cxx/ImageSlicing.cxx" target="_blank" rel="nofollow">MPR example</a>:</div><div style="color:#000;background-color:#fff;font-family:Helvetica Neue, Helvetica, Arial, Lucida Grande, sans-serif;font-size:16px;"><br></div><div style="color:#000;background-color:#fff;font-family:Helvetica Neue, Helvetica, Arial, Lucida Grande, sans-serif;font-size:16px;"><div class="yiv5850255500yahoo-link-enhancr-card yiv5850255500ymail-preserve-class yiv5850255500ymail-preserve-style" id="yiv5850255500enhancr2_2b5c3a3d-4db5-acd8-0629-c667be312690" style="max-width:400px;font-family:'Helvetica Neue', Helvetica, Arial, sans-serif;" dir="ltr" contenteditable="false" data-size="medium" data-type="yenhancr" data-url="https://gitlab.kitware.com/vtk/vtk/blob/77895235b0c99b5cf2bb98af8b1e923209e30525/Examples/ImageProcessing/Cxx/ImageSlicing.cxx" data-embed-url="" data-category="object"> <a class="yiv5850255500yahoo-enhancr-cardlink" id="yiv5850255500yui_3_16_0_ym19_1_1473938213686_4663" style="text-decoration:none;color:#000;" href="https://gitlab.kitware.com/vtk/vtk/blob/77895235b0c99b5cf2bb98af8b1e923209e30525/Examples/ImageProcessing/Cxx/ImageSlicing.cxx" target="_blank" rel="nofollow"> <table class="yiv5850255500card-wrapper yiv5850255500yahoo-ignore-table" id="yiv5850255500yui_3_16_0_ym19_1_1473938213686_4662" style="max-width:400px;" border="0" cellspacing="0" cellpadding="0"> <tbody id="yiv5850255500yui_3_16_0_ym19_1_1473938213686_4661"><tr id="yiv5850255500yui_3_16_0_ym19_1_1473938213686_4660"> <td width="400" id="yiv5850255500yui_3_16_0_ym19_1_1473938213686_4659"> <table width="100%" class="yiv5850255500card yiv5850255500yahoo-ignore-table" id="yiv5850255500yui_3_16_0_ym19_1_1473938213686_4658" style="max-width:400px;" border="0" cellspacing="0" cellpadding="0"> <tbody id="yiv5850255500yui_3_16_0_ym19_1_1473938213686_4657"><tr> <td class="yiv5850255500card-primary-image-cell" background="https://s.yimg.com/vv//api/res/1.2/VPxDaujxHNqpB4.1dlzeLA--/YXBwaWQ9bWFpbDtmaT1maWxsO2g9MjAwO3c9NDAw/https://gitlab.kitware.com/uploads/project/avatar/13/vtk_logo-main1.png.cf.jpg" valign="top" style="background:#000 url('https://s.yimg.com/vv//api/res/1.2/VPxDaujxHNqpB4.1dlzeLA--/YXBwaWQ9bWFpbDtmaT1maWxsO2g9MjAwO3c9NDAw/https://gitlab.kitware.com/uploads/project/avatar/13/vtk_logo-main1.png.cf.jpg') no-repeat center center;background-size:cover;min-height:200px;position:relative;" bgcolor="#000000"><!--[if gte mso 9]><v:rect fill="true" stroke="false" style="width:400px;height:218px;position:absolute;top:0;left:0;"><v:fill type="frame" color="#000000" src="https://s.yimg.com/vv//api/res/1.2/VPxDaujxHNqpB4.1dlzeLA--/YXBwaWQ9bWFpbDtmaT1maWxsO2g9MjAwO3c9NDAw/https://gitlab.kitware.com/uploads/project/avatar/13/vtk_logo-main1.png.cf.jpg"/></v:rect><![endif]--> <table class="yiv5850255500yahoo-ignore-table" style="width:100%;" border="0" cellspacing="0" cellpadding="0"> <tbody><tr> <td background="https://s.yimg.com/nq/storm/assets/enhancrV2/12/overlay-tile.png" valign="top" style="background:transparent url('https://s.yimg.com/nq/storm/assets/enhancrV2/12/overlay-tile.png') repeat left top;min-height:200px;" bgcolor="transparent"><!--[if gte mso 9]><v:rect fill="true" stroke="false" style="width:400px;height:218px;position:absolute;top:-18px;left:0;"><v:fill type="pattern" color="#000000" src="https://s.yimg.com/nq/storm/assets/enhancrV2/12/overlay-tile.png"/><v:textbox inset="0,0,20px,0"><![endif]--> <table height="185" class="yiv5850255500yahoo-ignore-table" style="width:100%;min-height:185px;min-height:185px;"> <tbody><tr> <td class="yiv5850255500card-richInfo2" style="text-align:left;text-align:left;padding:15px 0 0 15px;vertical-align:top;"> </td> <td class="yiv5850255500card-actions" style="text-align:right;padding:15px 15px 0 0;vertical-align:top;"> <div class="yiv5850255500card-share-container"></div> </td> </tr> </tbody></table><!--[if gte mso 9]></v:textbox></v:rect><![endif]--> </td> </tr> </tbody></table> </td> </tr> <tr id="yiv5850255500yui_3_16_0_ym19_1_1473938213686_4656"> <td id="yiv5850255500yui_3_16_0_ym19_1_1473938213686_4655"> <table align="center" class="yiv5850255500card-info yiv5850255500yahoo-ignore-table" id="yiv5850255500yui_3_16_0_ym19_1_1473938213686_4654" style="background:#fff;position:relative;z-index:2;width:95%;max-width:380px;border:1px solid #e0e4e9;border-bottom:3px solid #000000;margin-top:-40px;margin-left:auto;margin-right:auto;" border="0" cellspacing="0" cellpadding="0"> <tbody id="yiv5850255500yui_3_16_0_ym19_1_1473938213686_4653"><tr id="yiv5850255500yui_3_16_0_ym19_1_1473938213686_4652"> <td style="background-color:#ffffff;padding:16px 0 16px 12px;vertical-align:top;"> </td> <td id="yiv5850255500yui_3_16_0_ym19_1_1473938213686_4651" style="vertical-align:middle;padding:16px 12px;width:99%;"> <h2 class="yiv5850255500card-title" id="yui_3_16_0_ym19_1_1473943276502_2737" style="font-size:16px;line-height:19px;margin:0 0 4px 0;font-family:'Helvetica Neue', Helvetica, Arial, sans-serif;">Examples/ImageProcessing/Cxx/ImageSlicing.cxx · 77895235b0c99b5cf2bb98af8b1...</h2> <div class="yiv5850255500card-description" id="yiv5850255500yui_3_16_0_ym19_1_1473938213686_4703" style="font-size:11px;line-height:15px;color:#999;">Visualization Toolkit</div> </td> <td style="text-align:right;padding:16px 12px 16px 0;"> </td> </tr> </tbody></table> </td> </tr> </tbody></table> </td> </tr> </tbody></table> </a></div></div><div id="yiv5850255500yui_3_16_0_ym19_1_1473938213686_3465" style="color:#000;background-color:#fff;font-family:Helvetica Neue, Helvetica, Arial, Lucida Grande, sans-serif;font-size:16px;"><br></div><div id="yiv5850255500yui_3_16_0_ym19_1_1473938213686_2872" style="color:#000;background-color:#fff;font-family:Helvetica Neue, Helvetica, Arial, Lucida Grande, sans-serif;font-size:16px;"><br></div><div id="yiv5850255500yui_3_16_0_ym19_1_1473938213686_3706" style="color:#000;background-color:#fff;font-family:Helvetica Neue, Helvetica, Arial, Lucida Grande, sans-serif;font-size:16px;" dir="ltr">for standard MPR.</div><div id="yiv5850255500yui_3_16_0_ym19_1_1473938213686_3878" style="color:#000;background-color:#fff;font-family:Helvetica Neue, Helvetica, Arial, Lucida Grande, sans-serif;font-size:16px;" dir="ltr"><br></div><div id="yiv5850255500yui_3_16_0_ym19_1_1473938213686_3879" style="color:#000;background-color:#fff;font-family:Helvetica Neue, Helvetica, Arial, Lucida Grande, sans-serif;font-size:16px;" dir="ltr">See <a class="yiv5850255500edited-link-editor yiv5850255500enhancr2_a0ef7b65-7a54-96b7-f7d9-fdbafc7585e9" id="yiv5850255500yui_3_16_0_ym19_1_1473938213686_4398" href="http://pasteboard.co/3nDBt7fhK.png" target="_blank" rel="nofollow">example</a>:</div><div id="yiv5850255500yui_3_16_0_ym19_1_1473938213686_4458" style="color:#000;background-color:#fff;font-family:Helvetica Neue, Helvetica, Arial, Lucida Grande, sans-serif;font-size:16px;"><br></div><div style="color:#000;background-color:#fff;font-family:Helvetica Neue, Helvetica, Arial, Lucida Grande, sans-serif;font-size:16px;"><div class="yiv5850255500yahoo-link-enhancr-card yiv5850255500yahoo-link-enhancr-not-allow-cover yiv5850255500ymail-preserve-class yiv5850255500ymail-preserve-style yiv5850255500img-overlay-selected" id="yiv5850255500enhancr2_a0ef7b65-7a54-96b7-f7d9-fdbafc7585e9" style="max-width:400px;font-family:'Helvetica Neue', Helvetica, Arial, sans-serif;" dir="ltr" contenteditable="false" data-size="medium" data-type="yenhancr" data-url="http://pasteboard.co/3nDBt7fhK.png" data-embed-url="" data-category="article"> <a class="yiv5850255500yahoo-enhancr-cardlink" id="yiv5850255500yui_3_16_0_ym19_1_1473938213686_4447" style="text-decoration:none;color:#000;" href="http://pasteboard.co/3nDBt7fhK.png" target="_blank" rel="nofollow"> <table class="yiv5850255500card-wrapper" id="yiv5850255500yui_3_16_0_ym19_1_1473938213686_4446" style="max-width:400px;" border="0" cellspacing="0" cellpadding="0"> <tbody id="yiv5850255500yui_3_16_0_ym19_1_1473938213686_4445"><tr id="yiv5850255500yui_3_16_0_ym19_1_1473938213686_4444"> <td width="400" id="yiv5850255500yui_3_16_0_ym19_1_1473938213686_4443"> <table width="100%" class="yiv5850255500card-info" id="yiv5850255500yui_3_16_0_ym19_1_1473938213686_4442" style="background:#fff;max-width:400px;border:1px solid #e0e4e9;border-bottom:3px solid #000000;" border="0" cellspacing="0" cellpadding="0"> <tbody id="yiv5850255500yui_3_16_0_ym19_1_1473938213686_4441"><tr id="yiv5850255500yui_3_16_0_ym19_1_1473938213686_4440"> <td style="vertical-align:top;padding:16px 0 16px 12px;"> </td> <td id="yiv5850255500yui_3_16_0_ym19_1_1473938213686_4439" style="vertical-align:middle;padding:16px 12px;width:99%;"> <h2 class="yiv5850255500card-title" style="margin:0 0 4px 0;font-size:16px;font-family:'Helvetica Neue', Helvetica, Arial, sans-serif;">Pasteboard — Uploaded Image</h2> <div class="yiv5850255500card-description" id="yiv5850255500yui_3_16_0_ym19_1_1473938213686_4805" style="font-size:11px;line-height:15px;color:#999;">Super simple and lightning fast image sharing. Upload clipboard images with Copy & Paste and image files wit...</div> </td> <td class="yiv5850255500card-share-container"></td> </tr> </tbody></table> </td> </tr> </tbody></table> </a></div></div><div id="yiv5850255500yui_3_16_0_ym19_1_1473938213686_4459" style="color:#000;background-color:#fff;font-family:Helvetica Neue, Helvetica, Arial, Lucida Grande, sans-serif;font-size:16px;"><br></div><div id="yiv5850255500yui_3_16_0_ym19_1_1473938213686_3947" style="color:#000;background-color:#fff;font-family:Helvetica Neue, Helvetica, Arial, Lucida Grande, sans-serif;font-size:16px;" dir="ltr"><br></div><div id="yiv5850255500yui_3_16_0_ym19_1_1473938213686_3887" style="color:#000;background-color:#fff;font-family:Helvetica Neue, Helvetica, Arial, Lucida Grande, sans-serif;font-size:16px;" dir="ltr">But if the patient (let say that was unconscious) and CT hasn't keep his head right, the MPR should be made after an custom angle:</div><div id="yiv5850255500yui_3_16_0_ym19_1_1473938213686_3888" style="color:#000;background-color:#fff;font-family:Helvetica Neue, Helvetica, Arial, Lucida Grande, sans-serif;font-size:16px;" dir="ltr"><br></div><div style="color:#000;background-color:#fff;font-family:Helvetica Neue, Helvetica, Arial, Lucida Grande, sans-serif;font-size:16px;"><a class="yiv5850255500edited-link-editor yiv5850255500enhancr2_70bd933d-ef04-d214-adcd-bb4bfac3cbf0" id="yiv5850255500yui_3_16_0_ym19_1_1473938213686_4622" href="http://pasteboard.co/3nErligYR.png" target="_blank" rel="nofollow">Link</a></div><div id="yiv5850255500yui_3_16_0_ym19_1_1473938213686_4648" style="color:#000;background-color:#fff;font-family:Helvetica Neue, Helvetica, Arial, Lucida Grande, sans-serif;font-size:16px;"><br></div><div id="yiv5850255500yui_3_16_0_ym19_1_1473938213686_4790" style="color:#000;background-color:#fff;font-family:Helvetica Neue, Helvetica, Arial, Lucida Grande, sans-serif;font-size:16px;"><br></div><div id="yui_3_16_0_ym19_1_1473943276502_3051" style="color:#000;background-color:#fff;font-family:Helvetica Neue, Helvetica, Arial, Lucida Grande, sans-serif;font-size:16px;"><div class="yiv5850255500yahoo-link-enhancr-card yiv5850255500yahoo-link-enhancr-not-allow-cover yiv5850255500ymail-preserve-class yiv5850255500ymail-preserve-style" id="yiv5850255500enhancr2_70bd933d-ef04-d214-adcd-bb4bfac3cbf0" style="max-width:400px;font-family:'Helvetica Neue', Helvetica, Arial, sans-serif;" dir="ltr" contenteditable="false" data-size="medium" data-type="yenhancr" data-url="http://pasteboard.co/3nErligYR.png" data-embed-url="" data-category="article"> <a class="yiv5850255500yahoo-enhancr-cardlink" id="yiv5850255500yui_3_16_0_ym19_1_1473938213686_4640" style="text-decoration:none;color:#000;" href="http://pasteboard.co/3nErligYR.png" target="_blank" rel="nofollow"> <table class="yiv5850255500card-wrapper" id="yiv5850255500yui_3_16_0_ym19_1_1473938213686_4639" style="max-width:400px;" border="0" cellspacing="0" cellpadding="0"> <tbody id="yiv5850255500yui_3_16_0_ym19_1_1473938213686_4638"><tr id="yiv5850255500yui_3_16_0_ym19_1_1473938213686_4637"> <td width="400" id="yiv5850255500yui_3_16_0_ym19_1_1473938213686_4636"> <table width="100%" class="yiv5850255500card-info" id="yiv5850255500yui_3_16_0_ym19_1_1473938213686_4635" style="background:#fff;max-width:400px;border:1px solid #e0e4e9;border-bottom:3px solid #000000;" border="0" cellspacing="0" cellpadding="0"> <tbody id="yiv5850255500yui_3_16_0_ym19_1_1473938213686_4724"><tr id="yiv5850255500yui_3_16_0_ym19_1_1473938213686_4723"> <td style="vertical-align:top;padding:16px 0 16px 12px;"> </td> <td id="yiv5850255500yui_3_16_0_ym19_1_1473938213686_4722" style="vertical-align:middle;padding:16px 12px;width:99%;"> <h2 class="yiv5850255500card-title" id="yiv5850255500yui_3_16_0_ym19_1_1473938213686_4879" style="margin:0 0 4px 0;font-size:16px;font-family:'Helvetica Neue', Helvetica, Arial, sans-serif;">Pasteboard — Uploaded Image</h2> <div class="yiv5850255500card-description" style="font-size:11px;line-height:15px;color:#999;">Super simple and lightning fast image sharing. Upload clipboard images with Copy & Paste and image files wit...</div> </td> <td class="yiv5850255500card-share-container"></td> </tr> </tbody></table> </td> </tr> </tbody></table> </a></div></div><div id="yiv5850255500yui_3_16_0_ym19_1_1473938213686_4634" style="color:#000;background-color:#fff;font-family:Helvetica Neue, Helvetica, Arial, Lucida Grande, sans-serif;font-size:16px;"><br></div><div id="yiv5850255500yui_3_16_0_ym19_1_1473938213686_3747" style="color:#000;background-color:#fff;font-family:Helvetica Neue, Helvetica, Arial, Lucida Grande, sans-serif;font-size:16px;" dir="ltr"><br></div><div id="yui_3_16_0_ym19_1_1473943276502_2813" style="color:#000;background-color:#fff;font-family:Helvetica Neue, Helvetica, Arial, Lucida Grande, sans-serif;font-size:16px;" dir="ltr">What should I modify in inside code matrix: </div><div id="yui_3_16_0_ym19_1_1473943276502_2814" style="color:#000;background-color:#fff;font-family:Helvetica Neue, Helvetica, Arial, Lucida Grande, sans-serif;font-size:16px;" dir="ltr">double axialElements[16] = {<br id="yiv5850255500yui_3_16_0_ym19_1_1473938213686_4874"> 1, 0, 0, 0,<br id="yiv5850255500yui_3_16_0_ym19_1_1473938213686_4875"> 0, 1, 0, 0,<br id="yiv5850255500yui_3_16_0_ym19_1_1473938213686_4876"> 0, 0, 1, 0,<br id="yiv5850255500yui_3_16_0_ym19_1_1473938213686_4877"> 0, 0, 0, 1 };<br id="yiv5850255500yui_3_16_0_ym19_1_1473938213686_4878"></div><div id="yui_3_16_0_ym19_1_1473943276502_2816" style="color:#000;background-color:#fff;font-family:Helvetica Neue, Helvetica, Arial, Lucida Grande, sans-serif;font-size:16px;" dir="ltr"> double coronalElements[16] = {<br id="yiv5850255500yui_3_16_0_ym19_1_1473938213686_4936"> 1, 0, 0, 0,<br id="yiv5850255500yui_3_16_0_ym19_1_1473938213686_4937"> 0, 0, 1, 0,<br id="yiv5850255500yui_3_16_0_ym19_1_1473938213686_4938"> 0,-1, 0, 0,<br id="yiv5850255500yui_3_16_0_ym19_1_1473938213686_4939"> 0, 0, 0, 1 };<br id="yiv5850255500yui_3_16_0_ym19_1_1473938213686_4940"> double sagittalElements[16] = {<br id="yiv5850255500yui_3_16_0_ym19_1_1473938213686_4971"> 0, 0,-1, 0,<br id="yiv5850255500yui_3_16_0_ym19_1_1473938213686_4972"> 1, 0, 0, 0,<br id="yiv5850255500yui_3_16_0_ym19_1_1473938213686_4973"> 0,-1, 0, 0,<br id="yiv5850255500yui_3_16_0_ym19_1_1473938213686_4974"> 0, 0, 0, 1 };<br id="yiv5850255500yui_3_16_0_ym19_1_1473938213686_4975"></div><div id="yui_3_16_0_ym19_1_1473943276502_2821" style="color:#000;background-color:#fff;font-family:Helvetica Neue, Helvetica, Arial, Lucida Grande, sans-serif;font-size:16px;" dir="ltr"><br id="yui_3_16_0_ym19_1_1473943276502_2955"></div><div id="yui_3_16_0_ym19_1_1473943276502_3062" style="color:#000;background-color:#fff;font-family:Helvetica Neue, Helvetica, Arial, Lucida Grande, sans-serif;font-size:16px;" dir="ltr">to made oblique MPR, in order to have sagittal an coronal plan straight, just like the patient had kept the head right ?</div><div style="color:#000;background-color:#fff;font-family:Helvetica Neue, Helvetica, Arial, Lucida Grande, sans-serif;font-size:16px;" dir="ltr"><br></div><div style="color:#000;background-color:#fff;font-family:Helvetica Neue, Helvetica, Arial, Lucida Grande, sans-serif;font-size:16px;" dir="ltr">Could you guide me a little bit ? I will mean a lot for me ! Thank you.</div><div style="color:#000;background-color:#fff;font-family:Helvetica Neue, Helvetica, Arial, Lucida Grande, sans-serif;font-size:16px;" dir="ltr"><br id="yiv5850255500yui_3_16_0_ym19_1_1473938213686_3044"></div></div></div></div></body></html>