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 NutilTransform1 +1. Image preparation with Nutil - Author
-
... ... @@ -1,1 +1,1 @@ 1 -XWiki. sharoncy1 +XWiki.puchades - Content
-
... ... @@ -1,25 +1,37 @@ 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 imagesin theseries for //QuickNII //alignment and //ilastik //segmentation.4 +**The //Transform// feature in the //Nutil// software **enables **image rotation, renaming, resizing and mirroring** and was 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 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 QUINT analysis, Nutil Quantifier quantifies objects extracted from segmentations and registers them to regions defined by customised atlas maps. To match segmentations and corresponding atlas maps together, Nutil Quantifier relies on a unique ID in the file name of both files.The ID should be unique to the particular brain section 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). 15 15 16 - Example:tg2345_MMSH_s001_segmentation.png17 +=== H3 Headings Will Appear In The Table of Content === 17 17 18 - (Itis fine toincludeastringofletters andnumbersfollowed by the unique ID).19 +==== You can also add images ==== 19 19 21 +[[image:Collaboratory.Apps.Article.Code.ArticleSheet@placeholder.jpg]] 20 20 21 - === (% style="color:#c0392b"%)Running the transformation(%%)===23 +Photo by David Clode 22 22 23 - Consultthe Nutil usermanual fordetailedprocedure (lincluded in the Nutil package available for download at Nitrc.org)25 +==== Or code ==== 24 24 25 -[[image:Figure_2_v3.jpg]] 27 +Code blocks can be added by using the code macro: 28 + 29 +{{code language="python"}} 30 +x = 1 31 +if x == 1: 32 + # indented four spaces 33 + print("x is 1.") 34 +{{/code}} 35 + 36 +(% class="wikigeneratedid" id="HH4Won27tAppearinToC" %) 37 +
- Figure_2_v3.jpg
-
- Author
-
... ... @@ -1,1 +1,0 @@ 1 -XWiki.puchades - Size
-
... ... @@ -1,1 +1,0 @@ 1 -4.4 MB - Content