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,40 @@ 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 Q UINT analysis,Nutil Quantifierquantifiesobjects extractedfromsegmentationsand registersthem toregionsdefinedby customisedatlasmaps. To match segmentations and corresponding atlasmaps together, Nutil Quantifierrelieson a uniqueIDin the filename ofboth files.TheID should beuniqueto the particularbrainsectionandntheformat:sXXX.., withXXX..representingthe section number. The sectionnumberhouldreflect theserial order andspacingof thesections(e.g. s002, s006, s010forevery 4^^th^^ section startingwith section2).16 +For //QuickNII, //the// //serial section images should be assigned consecutive serial numbers, preferably indicated by three-digit numbers at the end of the file name, e.g. Sample_ID_s001.tif. Section sampling is given by the serial numbers. 15 15 16 - Example:tg2345_MMSH_s001_segmentation.png18 +For running the QUINT analysis the Segmentation files and the customized atlas maps need to match and therefore 17 17 18 - (Itisfinetoincludeastringof lettersand numbersfollowedbytheuniqueID).20 +=== H3 Headings Will Appear In The Table of Content === 19 19 22 +==== You can also add images ==== 20 20 21 - === (% style="color:#c0392b" %)Runningthe transformation(%%) ===24 +[[image:Collaboratory.Apps.Article.Code.ArticleSheet@placeholder.jpg]] 22 22 23 - Consult the Nutil user manual for detailed procedure(lincludedin the Nutil package available fordownloadat Nitrc.org)26 +Photo by David Clode 24 24 25 -[[image:Figure_2_v3.jpg]] 28 +==== Or code ==== 29 + 30 +Code blocks can be added by using the code macro: 31 + 32 +{{code language="python"}} 33 +x = 1 34 +if x == 1: 35 + # indented four spaces 36 + print("x is 1.") 37 +{{/code}} 38 + 39 +(% class="wikigeneratedid" id="HH4Won27tAppearinToC" %) 40 +
- Figure_2_v3.jpg
-
- Author
-
... ... @@ -1,1 +1,0 @@ 1 -XWiki.puchades - Size
-
... ... @@ -1,1 +1,0 @@ 1 -4.4 MB - Content