Last modified by puchades on 2022/02/18 13:55
Summary
-
Page properties (3 modified, 0 added, 0 removed)
-
Attachments (0 modified, 0 added, 1 removed)
Details
- Page properties
-
- Title
-
... ... @@ -1,1 +1,1 @@ 1 -3. Image registration to reference atlas using QuickNII and VisuAlign1 +3. Image registration to reference atlas using QuickNII - Author
-
... ... @@ -1,1 +1,1 @@ 1 -XWiki. sharoncy1 +XWiki.puchades - Content
-
... ... @@ -1,73 +1,31 @@ 1 1 == [[image:BICCN_QNII_figure.png]] == 2 2 3 -(% class="wikigeneratedid" %) 4 -== (% style="color:#c0392b" %)//QuickNII// and //VisuAlign//(%%) == 3 +== Preparation of the image serie == 5 5 6 -(% class="wikigeneratedid" %) 7 -**//QuickNII//** enable the registeration of the brain section images to the reference atlas to generate atlas maps that are customised to match the cutting plane and proportions of the sections. The adjusted are done by linear transformation only. 8 8 9 -(% class="wikigeneratedid" %) 10 -**//VisuAlign//** enables manual adjustments of the //QuickNII// atlas maps by nonlinear transformation to better match the sections. 6 +=== (% style="color:#000000" %)Generate your images descriptor file with FileBuider(%%) === 11 11 12 -(% class="wikigeneratedid" %) 13 -**The QUINT workflow** is compatible with atlas map output of //QuickNII// and //VisuAlign// (the //VisuAlign// step is optional). 8 +Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat. Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla pariatur. Excepteur sint occaecat cupidatat non proident, sunt in culpa qui officia deserunt mollit anim id est laborum. 14 14 15 - ==(%style="color:#c0392b"%)Preparation oftheimageseries(%%)==10 +>This is a quote. You can add a quote by selecting some text and clicking the quote button in the editor. 16 16 17 - Resizeyourraw 2Dimagesto24-bitPNG andJPEG.Imagescan be loadeduptotheresolution of16 megapixels(e.g.4000x4000or5000x3000pixels),howeverQuickNIIdoesnotbenefitfromimageresolutionsexceedingthe resolution ofthe monitorinuse.12 +Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat. Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla pariatur. Excepteur sint occaecat cupidatat non proident, sunt in culpa qui officia deserunt mollit anim id est laborum. 18 18 19 - (% style="color:#4e5f70"%)Theresizedfilesmust followthenamingconvention having an uniqueID intheformat: sXXX.., with XXX.. reflectingthe serialorder and spacing ofthe sections (e.g. s002, s006, s010 for every 4^^th^^ sectionstartingwith section 2).14 +=== H3 Headings Will Appear In The Table of Content === 20 20 21 -=== (%style="color:#c0392b"%)Generateyourimagesdescriptor file with FileBuider(%%)===16 +==== You can also add images ==== 22 22 23 - (% style="color:#4e5f70" %)Use the small program “FileBuilder.bat” provided with //QuickNII//. A new window willopen,and ask forhe folderwhereyour imagesare located. Point to thecorrect folder, mark allimage files, andclick ok. **An XML fileis generated**. **Always savethis file in the same folderas the resized images.**18 +[[image:Collaboratory.Apps.Article.Code.ArticleSheet@placeholder.jpg]] 24 24 25 - == (% style="color:#c0392b"%)Open //QuickNII//and loadyour images(%%) ==20 +Photo by David Clode 26 26 27 - (% style="color:#4e5f70"%)Open the //QuickNII// programfrom the .exe file. Once the program opens, click the **Managedata button** and load your XML file.22 +==== Or code ==== 28 28 29 - Adetailed//QuickNII// usermanualas wellas ademodatasetcanbefound on [[https:~~/~~/www.nitrc.org/projects/quicknii/>>https://www.nitrc.org/projects/quicknii/]]24 +Code blocks can be added by using the code macro: 30 30 31 ->(% style="color:#27ae60" %)The idea is to determine the cutting angles (dorso-ventral and medio-lateral) for the whole series as these should be consistent throughout. Once found in a few sections, apply the same angles to the rest of the series. 32 - 33 -== (% style="color:#c0392b" %)**Anchoring procedure**(%%) == 34 - 35 -**The basic steps are:** 36 - 37 -(% style="color:#000000" %)-(%%)Open one image in the beginning of the series and use anatomical landmarks to find the approximate anteroposterior position of the section. Select the atlas modality to be overlayed on the image (MRI, Atlas, etc..) 38 - 39 --Use the** transparency slider** continuously to determine how well the atlas fits the section. Determine the sectioning angles (dorso-ventral and medio-lateral) by tilting the atlas and adjust the atlas borders. 40 - 41 --Save the positions for this section for now, they can be adjust later. 42 - 43 --Open another image, located at the other end of the series, and repeat the same procedure as above, i.e. find the approximate anteroposterior position of the section and test how well the cutting angles fit this section. Save the positions. 44 - 45 --Explore a few sections in order to find the angles that fit most sections in order to achieve a global anchoring. 46 - 47 --By having the same cutting angles set for two sections (i.e. ML=+1; DV= -4), //QuickNII// will apply them to all the sections located between them. The antero-posterior positions of all the images are also estimated based on the numbering. 48 - 49 --Review the atlas to section match for all the sections, adjusting the atlas borders as necessary, and save. 50 - 51 --Export customised atlas maps corresponding to your series by clicking on the **“export Slices”** button. The exported .flat files are used for the quantification by //Nutil Quantifier//. 52 - 53 -== (% style="color:#c0392b" %)**Nonlinear adjustment with VisuAlign**(%%) == 54 - 55 -**[[image:VisuAlign_illustration.png]]** 56 - 57 - A detailed VisuAlign user manual can be found on [[https:~~/~~/www.nitrc.org/docman/?group_id=1426>>https://www.nitrc.org/docman/?group_id=1426]] 58 - 59 -**The basic steps are:** 60 - 61 --Use same folder as QuickNII with your png images and series descriptor (xml file). You will need the JSON version of the descriptor (it is generated in QuickNII by clicking “Save JSON”). 62 - 63 --Open tool by clicking on “VisuAlign.bat” file. It loads and saves JSON files created by QuickNII. 64 - 65 --Add markers and drag them to move the atlas borders. Start with the borders of the tissue and then adjust internal landmarks. 66 - 67 -NB: keep the number of markers to a minimum. 68 - 69 --The outline mode is toggled by pulling the opacity slider to the far right (as seen in the screenshot). A color picker to the right of it becomes active for changing outline color. 70 - 71 --“Debug mode” displays triangles representing the deformation field, it is enabled from the View menu (and also enables a color picker for changing the color of the triangles). 72 - 73 -- Use the “Save As” to save your deformations as a new JSON file. 26 +{{code language="python"}} 27 +x = 1 28 +if x == 1: 29 + # indented four spaces 30 + print("x is 1.") 31 +{{/code}}
- VisuAlign_illustration.png
-
- Author
-
... ... @@ -1,1 +1,0 @@ 1 -XWiki.puchades - Size
-
... ... @@ -1,1 +1,0 @@ 1 -155.4 KB - Content