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,27 @@ 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 in the format: sXXX.., with XXX.. reflecting 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 +Use the small program “FileBuilder.bat” provided with QuickNII. A new window will open, and ask for the folder where your images are located. Point to the correct folder, mark all image files, and click ok. An XML file is generated. Always save this file in the same folder as the resized images. 13 13 14 - Beforeyou get started with image registration,make sure yourimagesare the right size, andfilesare namedaccording to the QUINT naming convention. See [[2. Image pre-processing with Nutil Transform>>doc:Collabs.quint.1\.Preparing the images.WebHome]]for details.13 +=== Open QuickNII and load your images === 15 15 16 - ===(% style="color:#c0392b"%)GenerateyourimagedescriptorfilewithFileBuilder(%%)===15 +Open the QuickNII program from the .exe file. Once the program opens, click the **Manage data button** and load your XML file. 17 17 18 - (% style="color:#4e5f70" %)Use thesmall program “FileBuilder.bat” provided with //QuickNII//.A newwindow will open,andask for the folderwhere yourimagesare located.Pointtothe correct folder, mark all image files, andlick OK. **AnXML file isgenerated**.**Always save thisfile inhe same folderas the resizedimages.**17 +The QuickNII user manual is found on [[https:~~/~~/www.nitrc.org/docman/?group_id=1341.>>https://www.nitrc.org/docman/?group_id=1341]] 19 19 20 - ==(%style="color:#c0392b" %)Open//QuickNII//and load yourimages(%%) ==19 +The basic steps are: 21 21 22 -(% style="color:# 4e5f70" %)Open the//QuickNII// programfromthe.exefile.Oncethe program opens,clickthe**Managedatabutton**andloadyourXMLfile.21 +- (% 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 to the image (MRI, Atlas, etc..) 23 23 24 - Adetailed //QuickNII//usermanualaswellasademodatasetcan befound on[[https:~~/~~/www.nitrc.org/projects/quicknii/>>https://www.nitrc.org/projects/quicknii/]]23 +- **The transparency slider** can be used continuously to determine how well the atlas fits the sectionDetermine the sectioning angles (dorso-ventral and medio-lateral) 25 25 26 - ==(%style="color:#c0392b"%)**Anchoring procedure**(%%) ==25 +- Save the positions 27 27 28 -(% class="box infomessage" %) 29 -((( 30 -The alignment procedure consists of two main tasks: 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.
- 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