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,71 +1,33 @@ 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. 9 9 10 - FurtherstepsoftheQUINT workfloware compatible withthe atlas map output of both QuickNII and VisuAlign (theVisuAlign step is optional).8 +=== (% style="color:#000000" %)Generate your images descriptor file with FileBuider(%%) === 11 11 12 - ==(%style="color:#c0392b"%)Preparation ofthe image series(%%)==10 +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.12 +>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(%%)===14 +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.**16 +=== H3 Headings Will Appear In The Table of Content === 19 19 20 -== (% style="color:#c0392b"%)Open //QuickNII//andloadyourimages(%%)==18 +==== 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.20 +[[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/]]22 +Photo by David Clode 25 25 26 -== (% style="color:#c0392b"%)**Anchoringprocedure**(%%)==24 +==== Or code ==== 27 27 28 -(% class="box infomessage" %) 29 -((( 30 -The alignment procedure consists of two main tasks: 26 +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 on [[https:~~/~~/www.nitrc.org/docman/?group_id=1426>>https://www.nitrc.org/docman/?group_id=1426]] 56 - 57 -**The basic steps are:** 58 - 59 --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”). 60 - 61 --Open tool by clicking on “VisuAlign.bat” file. It loads and saves JSON files created by //QuickNII//. 62 - 63 --Add markers and drag them to move the atlas borders. Start with the borders of the tissue and then adjust internal landmarks. 64 - 65 -NB: keep the number of markers to a minimum. 66 - 67 --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. 68 - 69 --“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). 70 - 71 -- Use the “Save As” to save your deformations as a new JSON file. 28 +{{code language="python"}} 29 +x = 1 30 +if x == 1: 31 + # indented four spaces 32 + print("x is 1.") 33 +{{/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