Changes for page 2. Image pre-processing with Nutil Transform
Last modified by puchades on 2021/12/07 10:37
Summary
-
Page properties (3 modified, 0 added, 0 removed)
-
Attachments (0 modified, 0 added, 1 removed)
Details
- Page properties
-
- Title
-
... ... @@ -1,1 +1,1 @@ 1 -2. Image preparation with Nutil Transform1 +2. Image preparation with Nutil - Author
-
... ... @@ -1,1 +1,1 @@ 1 -XWiki. sharoncy1 +XWiki.puchades - Content
-
... ... @@ -1,25 +1,44 @@ 1 -== (% style="color:#c0392b" %)Image pre-processing with Nutil Transform(%%)==1 +== Image pre-processing with Nutil Transform == 2 2 3 3 4 -**The //Transform// feature in the //Nutil// software **enables **image rotation, renaming, resizing and mirroring** and is used to prepare the image sin theseries for //QuickNII //alignment and //ilastik //segmentation.4 +**The //Transform// feature in the //Nutil// software **enables **image rotation, renaming, resizing and mirroring** and is used to prepare the image series for //QuickNII //alignment and //ilastik //segmentation. 5 5 6 -> (%style="color:#27ae60"%)The //QuickNII// and //ilastik// softwarehavedifferentinput imagesizerequirements.Itisalsoimportantthat the input images follow the prescribed naming convention.6 +>The image input size requirements for the //QuickNII// and //ilastik// software differ. Naming convention of files is important. 7 7 8 -For //QuickNII,// the input requirements are described in in Puchades et al., 2019. To summarise, images should be in 24-bit PNG or JPEG format, and can be loaded up to a 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. For a standard FullHD or WUXGA display (1920x1080 or 1920x1200 pixels) the useful image area is approximately 1500x1000 pixels. Using a similar resolution ensures optimal image-loading performance. 8 +For //QuickNII,// the input requirements described in (Puchades et al., 2019) are: 9 +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. For a standard FullHD or WUXGA display 10 +(1920x1080 or 1920x1200 pixels) the useful image area is approximately 1500x1000 pixels,using a similar resolution ensures optimal image-loading performance. 9 9 10 -For //ilastik// (Borg et al.2019) imagesaredownscaled in order to enable efficient processing. The pixel classification algorithm relies on input from manual user annotations of the training images, and the features ‒ intensity, edge and/or texture ‒ of the image pixels.The resizingfactoris determined by trial and error,witha test run performed with //ilastik// on images of different sizes todeterminethe optimal resolution for segmentation. As an example, in Yatesetal.,2019, theimagesweredownscaledby afactor of0.1and0.05for cellular features andAlzheimer'splaquesrespectively(factorappliesto theagewidth here).12 +For //ilastik// (Borg et al.2019), the resizing was performed in order to enable efficient processing. To clarify, the pixel classification algorithm relies on input from manual user annotations of training images, and the features ‒ intensity, edge and/or texture ‒ of the image pixels. In practice, a test run was performed with //ilastik// on images of different sizes to find the optimal resolution for segmentation, with a final resize factor of e.g 0.1 for cellular features, and a factor of 0.05 for series with larger features like Alzheimer plaques. 11 11 12 -=== (% style="color:#c0392b" %)Naming convention(%%)===14 +=== Naming convention: === 13 13 14 - For QUINTanalysis, Nutil Quantifierquantifies objectsextractedfromsegmentationsandregisters them to regions defined by customisedatlas maps.To matchsegmentationsandcorrespondingatlasmapstogether, Nutil QuantifierreliesonauniqueID inhe filenameof both files.The ID should be uniquetothe particular brainsection and in the format: sXXX.., with XXX.. representing the section number. The section number should reflect the serial order and spacing of the sections (e.g. s002, s006, s010 for every 4^^th^^ section starting with section 2).16 +The file names of the segmentation and atlas maps that correspond to a particular section must contain a unique ID in the format: sXXX.., with XXX.. representing the section number. The section number should reflect the serial order and spacing of the sections (e.g. s002, s006, s010 for every 4^^th^^ section starting with section 2). 15 15 16 16 Example: tg2345_MMSH_s001_segmentation.png 17 17 18 18 (It is fine to include a string of letters and numbers followed by the unique ID). 19 19 22 +For running the QUINT analysis the segmentation files and the customized atlas maps need to match and therefore the segmentation files should follow the same naming format. 20 20 21 -=== (%style="color:#c0392b"%)Running the transformation(%%)===24 +=== === 22 22 23 - ConsulttheNutiluser manual for detailed procedure (lincluded in the Nutil package available for download at Nitrc.org)26 +==== ==== 24 24 25 -[[image:Figure_2_v3.jpg]] 28 +[[image:Collaboratory.Apps.Article.Code.ArticleSheet@placeholder.jpg]] 29 + 30 +Photo by David Clode 31 + 32 +==== Or code ==== 33 + 34 +Code blocks can be added by using the code macro: 35 + 36 +{{code language="python"}} 37 +x = 1 38 +if x == 1: 39 + # indented four spaces 40 + print("x is 1.") 41 +{{/code}} 42 + 43 +(% class="wikigeneratedid" id="HH4Won27tAppearinToC" %) 44 +
- Figure_2_v3.jpg
-
- Author
-
... ... @@ -1,1 +1,0 @@ 1 -XWiki.puchades - Size
-
... ... @@ -1,1 +1,0 @@ 1 -4.4 MB - Content