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,64 +1,34 @@ 1 1 == [[image:BICCN_QNII_figure.png]] == 2 2 3 -== == 3 +== Preparation of the image serie == 4 4 5 - TheQUINT workflowallowsyouto registerseriesofhistologicalsectionimagesfromthebraintoa3D referenceatlassuchas theAllenMouseBrainAtlasortheWaxholm Space atlasof theratbrain.Thisis a two-step process:5 +Resize your raw 2D images to 24-bit PNG and JPEG. Images can be loaded up to the resolution of 16 megapixels (e.g.4000x4000 or 5000x3000 pixels), however QuickNII does not benefit from image resolutions exceeding the resolution of the monitor in use. 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. 7 +The resized files must follow the naming convention having an unique ID and should reflect the serial order and spacing of the sections (e.g. s002, s006, s010 for every 4^^th^^ section starting with section 2). 9 9 10 - FurtherstepsoftheQUINT workfloware compatible withthe atlas map output of both QuickNII and VisuAlign (theVisuAlign step is optional).9 +=== (% style="color:#000000" %)Generate your images descriptor file with FileBuider(%%) === 11 11 12 - ==(%style="color:#c0392b"%)Preparation ofthe image series(%%)==11 +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. 13 13 14 - Before you get started withmageregistration,makesureyourimagesaretherightsize, and files are named accordingto theQUINT namingconvention. See [[2. Image pre-processingwithNutilTransform>>doc:Collabs.quint.1\.Preparingtheimages.WebHome]] fordetails.13 +>This is a quote. You can add a quote by selecting some text and clicking the quote button in the editor. 15 15 16 - ===(%style="color:#c0392b"%)Generateyour image descriptor filewithFileBuilder(%%)===15 +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. 17 17 18 - (% style="color:#4e5f70"%)Usethesmall program “FileBuilder.bat” provided with //QuickNII//. Anewwindow willopen,and ask forthefolder whereyour images arelocated.Point to the correctfolder,mark all image files, and click OK. **An XML file is generated**. **Always save this file inhesame folder as the resized images.**17 +=== H3 Headings Will Appear In The Table of Content === 19 19 20 -== (% style="color:#c0392b"%)Open //QuickNII//andloadyourimages(%%)==19 +==== You can also add images ==== 21 21 22 - (% style="color:#4e5f70" %)Openthe //QuickNII// program fromthe .exe file.Once the program opens, click the**Managedata button** andload your XML file.21 +[[image:Collaboratory.Apps.Article.Code.ArticleSheet@placeholder.jpg]] 23 23 24 - A detailed//QuickNII// user manualas well as a demoataset can be found on [[https:~~/~~/www.nitrc.org/projects/quicknii/>>https://www.nitrc.org/projects/quicknii/]]23 +Photo by David Clode 25 25 26 -== (% style="color:#c0392b"%)**Anchoringprocedure**(%%)==25 +==== Or code ==== 27 27 28 -(% class="box infomessage" %) 29 -((( 30 -The alignment procedure consists of two main tasks: 27 +Code blocks can be added by using the code macro: 31 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 (i.e. ML=+1; DV= -4), 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 -**Done! **Now you can **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 using Nutil Quantifier. 50 - 51 -== (% style="color:#c0392b" %)**Nonlinear adjustment with VisuAlign**(%%) == 52 - 53 -**[[image:VisuAlign_illustration.png]]** 54 - 55 - A detailed //VisuAlign //user manual can be found at [[https:~~/~~/www.nitrc.org/docman/?group_id=1426>>https://www.nitrc.org/docman/?group_id=1426]] 56 - 57 -**The basic steps are the following:** 58 - 59 -1. Export your anchoring results from QuickNII in JSON format (click “Save JSON” in the Manage Data window). Save the file in the same folder as your image series. 60 -1. Open VisuAlign by double-clicking on “VisuAlign.bat”, and load your image descriptor JSON (File -> Open). 61 -1. Add markers for adjusting the non-linear alignment. Drag a marker to move the atlas borders around it. Start with the borders of the section, and then adjust internal landmarks to fine-tune the alignment between the section and the atlas. Keep the number of markers to a minimum. 62 -1. You can toggle “outline mode” by pulling the opacity slider to the far right. A colour picker on the right side of the slider becomes active for changing the outline colour. 63 -1. Enabling “Debug mode” from the View menu toggles the display of triangles representing the deformation field, and allows you to change the colour of the triangles. 64 -1. Finally, use File -> Save As to save your fine-tuned alignment as a new JSON file. 29 +{{code language="python"}} 30 +x = 1 31 +if x == 1: 32 + # indented four spaces 33 + print("x is 1.") 34 +{{/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