Last modified by puchades on 2022/02/18 13:55
Summary
-
Page properties (2 modified, 0 added, 0 removed)
-
Attachments (0 modified, 1 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 - Content
-
... ... @@ -1,76 +1,31 @@ 1 1 == [[image:BICCN_QNII_figure.png]] == 2 2 3 -== == 3 +== Preparation of the image serie == 4 4 5 -The QUINT workflow allows you to register series of histological section images from the brain to a 3D reference atlas such as the Allen Mouse Brain Atlas or the Waxholm Space atlas of the rat brain. This is a two-step process: 6 6 7 -1. QuickNII guides you through an interactive affine alignment, including propagation of alignment settings across the section series. 8 -1. VisuAlign lets you fine-tune your alignment using non-linear adjustments. 6 +=== (% style="color:#000000" %)Generate your images descriptor file with FileBuider(%%) === 9 9 10 - Furthersteps oftheQUINTworkflow arecompatiblewiththe atlasmapoutput ofbothQuickNIIandVisuAlign(theVisuAlignstepis 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. 11 11 12 - ==(%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. 13 13 14 - Beforeyougetstartedwithimageregistration,makesureyourimagesaretherightsize,andfilesarenamedaccordingtotheQUINT namingconvention.See[[2.Imagepre-processing withNutilTransform>>doc:Collabs.quint.1\.Preparingtheimages.WebHome]]fordetails.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. 15 15 16 -=== (%style="color:#c0392b"%)Generate yourimagedescriptorfilewithFileBuilder(%%)===14 +=== H3 Headings Will Appear In The Table of Content === 17 17 18 - (% style="color:#4e5f70"%)Use the small program “FileBuilder.bat”provided with //QuickNII//. A new window will open,andask for the folder where your imagesare located.Point to the correct folder, mark all image files, andclick OK. **An XML file is generated**.**Always save this file in the same folderas the resized images.**16 +==== You can also add images ==== 19 19 20 - == (% style="color:#c0392b" %)Open //QuickNII// andloadyourmages(%%) ==18 +[[image:Collaboratory.Apps.Article.Code.ArticleSheet@placeholder.jpg]] 21 21 22 - (% style="color:#4e5f70" %)Open the //QuickNII// program fromthe .exe file. Once the programopens, click the **Manage databutton**and loadyour XML file.20 +Photo by David Clode 23 23 24 - Adetailed //QuickNII// usermanual as well as a demo datasetcan be foundon [[https:~~/~~/www.nitrc.org/projects/quicknii/>>https://www.nitrc.org/projects/quicknii/]]22 +==== Or code ==== 25 25 26 - ==(% style="color:#c0392b"%)**Anchoringprocedure**(%%)==24 +Code blocks can be added by using the code macro: 27 27 28 -(% class="box infomessage" %) 29 -((( 30 -The alignment procedure consists of two main tasks: 31 - 32 -1. Determine the dorsoventral and mediolateral cutting angle of the section series, apply same angles for all slices. 33 -1. Adjust the atlas slices generated along these angles to match individual sections. 34 -))) 35 - 36 -=== (% style="color:#c0392b" %)A) To determine the cutting angles:(%%) === 37 - 38 -1. Open an image in the **beginning** of the series, and use anatomical landmarks to find the approximate anteroposterior position of the section in the atlas. Select the atlas modality to be overlaid on the image (MRI, Atlas, etc.) 39 -1. **Tilt the atlas** by adjusting the dorsoventral and mediolateral angles. **Move the transparency slider** back and forth to see how well the atlas fits the section. The size of the atlas slice can also be modified for a better fit. 40 -1. Once you have a fairly good match, save the alignment settings for this section and move on with the anchoring procedure. The settings can be fine-tuned later. 41 -1. 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 your settings. 42 -1. Explore a few sections throughout the series in order to and find the angles that fit most sections in order to achieve a **good global anchoring**. We recommend to keep the cutting angles consistent throughout the entire section series, unless two blocks were cut separately. 43 -1. Once two or more sections are anchored at their approximate position within the brain, **QuickNII propagates** **the cutting angles** across the entire image series. The anteroposterior position of the images is also estimated based on the section numbering. 44 - 45 -=== (% style="color:#c0392b" %)B) To fine-tune your alignment:(%%) === 46 - 47 -Review the position of **all sections** in the series, adjust the width and height of atlas slices as necessary, **and save settings**. 48 - 49 - 50 --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. 51 - 52 --Review the atlas to section match for all the sections, adjusting the atlas borders as necessary, and save. 53 - 54 --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//. 55 - 56 -== (% style="color:#c0392b" %)**Nonlinear adjustment with VisuAlign**(%%) == 57 - 58 -**[[image:VisuAlign_illustration.png]]** 59 - 60 - 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]] 61 - 62 -**The basic steps are:** 63 - 64 --Use the 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 by //QuickNII// by clicking “Save JSON”). 65 - 66 --Open tool by clicking on “VisuAlign.bat” file. It loads and saves JSON files created by //QuickNII//. 67 - 68 --Add markers and drag them to move the atlas borders. Start with the borders of the tissue and then adjust internal landmarks. 69 - 70 -NB: keep the number of markers to a minimum. 71 - 72 --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 colour. 73 - 74 --“Debug mode” displays triangles representing the deformation field, it is enabled from the View menu (and also enables a colour picker for changing the colour of the triangles). 75 - 76 -- 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
- BICCN_QNII_figure.jpg
-
- Author
-
... ... @@ -1,0 +1,1 @@ 1 +XWiki.puchades - Size
-
... ... @@ -1,0 +1,1 @@ 1 +60.2 KB - Content