Last modified by puchades on 2022/02/18 13:55
Summary
-
Page properties (1 modified, 0 added, 0 removed)
Details
- Page properties
-
- Content
-
... ... @@ -1,30 +1,35 @@ 1 -== 1 +== [[image:BICCN_QNII_figure.png]] == 2 2 3 3 == Preparation of the image serie == 4 4 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. 5 5 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). 6 6 7 - Loremipsumdolorsit amet, consecteturdipiscing elit, seddoeiusmod tempor incididunt ut labore et doloremagna aliqua. Utenim ad minim veniam, quisnostrudxercitation ullamco laborisnisi ut aliquip ex eacommodo consequat. Duis aute irure dolorin reprehenderitin voluptate velit esse cillum doloreeufugiat nulla pariatur. Excepteursintoccaecat cupidatat non proident, sunt in culpa qui officia deserunt mollit anim idst laborum.9 +=== (% style="color:#000000" %)Generate your images descriptor file with FileBuider(%%) === 8 8 9 - >Thisis aquote.Youcan addaquoteby selectingsometext and clickingthequotebuttonin the editor.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.** 10 10 11 - Loremipsum dolor sit amet, consecteturadipiscing elit, sed do eiusmod temporincididuntut labore et dolore magna aliqua. Ut enim adminim veniam, quis nostrud exercitation ullamcolaboris nisi ut aliquip ex ea commodoconsequat. Duis aute iruredolorin reprehenderit in voluptate velit esse cillumdolore eu fugiat nulla pariatur. Excepteursintoccaecat cupidatat non proident, sunt in culpa qui officia deserunt mollit anim id est laborum.13 +=== Open QuickNII and load your images === 12 12 13 - === H3 HeadingsWillAppearIn TheTable ofContent===15 +Open the QuickNII program from the .exe file. Once the program opens, click the **Manage data button** and load your XML file. 14 14 15 - ====Youcan alsoaddimages====17 +A detailled QuickNII user manual as well as a demo dataset can be found on [[https:~~/~~/www.nitrc.org/projects/quicknii/>>https://www.nitrc.org/projects/quicknii/]] 16 16 17 - [[image:Collaboratory.Apps.Article.Code.ArticleSheet@placeholder.jpg]]19 +>The idea is to determine the cutting angles (dorso-ventral and medio-lateral) for the whole serie as these should be consistent. Once found in a few sections, apply the same angles to the rest of the serie. 18 18 19 - Photoby DavidClode21 +**The basic steps are:** 20 20 21 -= ===Or code====23 +- (% 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..) 22 22 23 - Code blocks canbe added byusing thecodemacro:25 +- **The transparency slider** can be used 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. 24 24 25 -{{code language="python"}} 26 -x = 1 27 -if x == 1: 28 - # indented four spaces 29 - print("x is 1.") 30 -{{/code}} 27 +- Save the positions for this section for now, you can adjust these later. 28 + 29 +- Open the next image, located at the other end of the serie and repeat the same procedure as above i.e. (% style="color:#000000" %)find the approximate anteroposterior position of the section and test how well the cutting angles fit this section. Save the positions. 30 + 31 +(% style="color:#000000" %)- Explore a few sections in order to find the angles fitting most sections in order to achieve a global anchoring. 32 + 33 +(% style="color:#000000" %)- By having the same angles in these two sections (i.e. ML=+1; DV= -4), QuickNII will apply them to all other sections located in between. The antero-posterior positions of all images are also estimated 34 + 35 +