SlideShare a Scribd company logo
1 of 7
Download to read offline
madrid institute for advanced studies materials
c/ Eric Kandel, 2 · E28906 Getafe - Madrid · Spain
telephone +34 91 549 34 22 · fax +34 91 550 30 47
web www.materials.imdea.org · e-mail contact.materials@imdea.org
HOW TO CONCATENATE TWO (OR MORE)
SUBVOLUMES, MEASURED WITH XCT, USING
IMAGEJ
Javier García Molleja
IMDEA Materials Institute – X-Ray Laboratory
First of all, it is supposed that both subvolumes (of the same sample) were acquired
with an overlapping region, that is, each measurement included part the same region.
This technique is necessary when the sample is too long and one measurement is not
enough.
Second, this manual considers that both subvolumes where histogram-equalized prior to
this step. A first approximation, good in general cases, is to adjust brightness and
contrast in the auto mode of both subvolumes.
Now, let’s start with the concatenation. Open the ImageJ software.
File -> Import -> Raw… (and use the browser in order to select the subvolumes). Click
Open.
A dialog window is shown. Please, identify the image bit type, the width (in pixels), the
height (in pixels) and the number of slices. Normally, these values are written at the end
of the filename (or they are automatically loaded). It is supposed that these subvolumes
are histogram-equalized, so the file is saved as raw (then do not click Little-endian byte
order). Click OK.
2
The volume is loaded in the TOP-BOTTOM view. Now, it is time to identify which
subvolume represents the top part of the sample and which one represents the bottom
part of the sample.
TOP REGION BOTTOM REGION
Following step is to locate a slice, without artifacts, repeated in both subvolumes. If the
overlapped region is in the middle of the sample, the identical slice must be at the end
of the top subvolume and at the beginning of the bottom subvolume. Please, write the
number of slice in both cases.
3
Of course, the overlapped region will contain many slices. The choice of two identical
slices depends on you (or if one volume is better than the other and you want to
minimize the bad one…)
TOP SLICE #1942 BOTTOM SLICE #189
Image -> Duplicate… these identical slices. Please, give them different names in order
to know which is which and do not check Duplicate stack option.
Image -> Stacks -> Tools -> Concatenate… (All open windows: uncheck, Image1: Top
Slice #1942, Image2: Bottom Slice #189, Image3: None, Title: Concatenated Stacks or
other of your choice, Keep original images: check, Open as 4D image: uncheck) and
you will make a little stack composed by two slices. In this moment, you can select one
of these slices as reference, i.e., the one that won’t move. In this case, randomly, top
slice will be the reference. Important! For concatenation both subvolumes MUST have
the same dimensions in horizontal and in vertical directions.
Plugins -> StackReg (Transformation: Translation) is the plugin that will be used in
order to move one subvolume with regard the other one, so the position of the top slice
will coincide with the position of the bottom slice. Select the Translation option and
click OK. This option will move in vertical and in horizontal the second slice in order to
exactly match the position.
For this operation it is necessary a good starting subvolume without operations. Why
this condition? Because the plugin will move the slice in the X-axis and in the Y-axis.
So, the number of translated pixels will be replaced by zeroes. If you have pixels with a
gray level 0 in the borders, you will miss the whole operation.
With Magnifying Glass tool make a zoom in the borders and move from the first slice
to the second. You will see a column (or row) of zeroes. With Rectagular tool you can
4
measure the amount of pixels. A rule of thumb about the translation: the origin of
coordinates in ImageJ is the upper left corner of the first slice. Thus:
a) If the slice is moved downwards (positive) the zeroes will be at top.
b) If the slice is moved upwards (negative) the zeroes will be at bottom.
c) If the slice is moved rightwards (positive) the zeroes will be at the left.
d) If the slice is moved leftwards (negative) the zeroes will be at the right.
In the present case, the slice of reference has no zeroes and the other one moved 6 pixels
upwards and 19 pixels leftwards. Now, go to the stack that is not the reference.
Image -> Transform -> Translate… (X offset (pixels): -19, Y offset (pixels): -6,
Interpolation: None). Click OK and the subvolume will be moved to the right position.
Click Yes in order to apply this operation for the whole volume.
5
Now, it is time to concatenate the two subvolumes. It is worth mentioning that both
subvolumes will be merged into a new volume and all slices must be unique. For this
reason, it is necessary to duplicate all non coincident slices. Furthermore, it is possible
to avoid shadows or any inconvenient slices during this step. For example, if the top
subvolume has sample at the slice number 300, it could be interesting a duplication
starting from the slice number 275. Storage saving is always a must!
Image -> Duplicate… (Title: the most convenient, Duplicate Stack: checked, Range: 1-
1942 for top subvolume and 190-2120 for the bottom subvolume). In this case all slices
will be different (note that Bottom Slice #189 is absent) and not useful slices are
removed.
Image -> Stacks -> Tools -> Concatenate… (All open windows: uncheck, Image1: Top
Duplicated Subvolume, Image2: Bottom Duplicated Subvolume, Image3: None, Title:
Concatenated Stacks or other of your choice, Keep original images: check, Open as 4D
image: uncheck). Whith this operation subvolumes are concatenated and the complete
sample is obtained in one stack.
Image -> Type -> 8-bit if you want to minimize the file size.
6
Now, if you want, you can use the Rectangle tool in order to make a ROI avoiding all
zero grays obtained after the translation.
Image -> Crop in order to make a new volume with only the ROI previously selected.
7
File -> Save As -> Raw Data… and that’s all! Do not forget about give it a good
filename with bit type, dimensions and operations involved.
IN718_19052_10_z_Ctt_8b_crop_1210x1210x3873.raw

More Related Content

What's hot

Assignment method
Assignment methodAssignment method
Assignment methodR A Shah
 
Assignment Poblems
Assignment Poblems Assignment Poblems
Assignment Poblems vkabre
 
Two step equations
Two step equationsTwo step equations
Two step equationskf4pzz
 
Operations research : Assignment problem (One's method) presentation
Operations research : Assignment problem (One's method) presentationOperations research : Assignment problem (One's method) presentation
Operations research : Assignment problem (One's method) presentationPankaj Kumar
 
1122230 question
1122230 question1122230 question
1122230 questionlpss0513
 
Assignment Chapter - Q & A Compilation by Niraj Thapa
Assignment Chapter  - Q & A Compilation by Niraj ThapaAssignment Chapter  - Q & A Compilation by Niraj Thapa
Assignment Chapter - Q & A Compilation by Niraj ThapaCA Niraj Thapa
 
Assignment problem
Assignment problemAssignment problem
Assignment problemAbu Bashar
 
Vteke Color Meter color difference measurement tool
Vteke Color Meter color difference measurement toolVteke Color Meter color difference measurement tool
Vteke Color Meter color difference measurement toolRose He
 
Renaming in bridge
Renaming in bridgeRenaming in bridge
Renaming in bridgeHutchison
 
Lesson 15
Lesson 15Lesson 15
Lesson 15NRWEG3
 
How to combine interpolation and regression graphs in R
How to combine interpolation and regression graphs in RHow to combine interpolation and regression graphs in R
How to combine interpolation and regression graphs in RDougLoqa
 
Bbc2 eb x-bar---r-chart-example
Bbc2 eb x-bar---r-chart-exampleBbc2 eb x-bar---r-chart-example
Bbc2 eb x-bar---r-chart-examplesundar79
 
Presentation of Data
Presentation of DataPresentation of Data
Presentation of DataJagdish Powar
 

What's hot (18)

Assignment method
Assignment methodAssignment method
Assignment method
 
Assignment Poblems
Assignment Poblems Assignment Poblems
Assignment Poblems
 
Two step equations
Two step equationsTwo step equations
Two step equations
 
Operations research : Assignment problem (One's method) presentation
Operations research : Assignment problem (One's method) presentationOperations research : Assignment problem (One's method) presentation
Operations research : Assignment problem (One's method) presentation
 
1122230 question
1122230 question1122230 question
1122230 question
 
Assignment Chapter - Q & A Compilation by Niraj Thapa
Assignment Chapter  - Q & A Compilation by Niraj ThapaAssignment Chapter  - Q & A Compilation by Niraj Thapa
Assignment Chapter - Q & A Compilation by Niraj Thapa
 
Lar calc10 ch03_sec6
Lar calc10 ch03_sec6Lar calc10 ch03_sec6
Lar calc10 ch03_sec6
 
Assignment Problem
Assignment ProblemAssignment Problem
Assignment Problem
 
Assignment problem
Assignment problemAssignment problem
Assignment problem
 
Bayes theorm
Bayes theormBayes theorm
Bayes theorm
 
Histogram
HistogramHistogram
Histogram
 
Vteke Color Meter color difference measurement tool
Vteke Color Meter color difference measurement toolVteke Color Meter color difference measurement tool
Vteke Color Meter color difference measurement tool
 
Renaming in bridge
Renaming in bridgeRenaming in bridge
Renaming in bridge
 
Lesson 15
Lesson 15Lesson 15
Lesson 15
 
Assignment problem
Assignment problemAssignment problem
Assignment problem
 
How to combine interpolation and regression graphs in R
How to combine interpolation and regression graphs in RHow to combine interpolation and regression graphs in R
How to combine interpolation and regression graphs in R
 
Bbc2 eb x-bar---r-chart-example
Bbc2 eb x-bar---r-chart-exampleBbc2 eb x-bar---r-chart-example
Bbc2 eb x-bar---r-chart-example
 
Presentation of Data
Presentation of DataPresentation of Data
Presentation of Data
 

Similar to How to concatenate two (or more) subvolumes, measured with XCT, using ImageJ

3D Scanning and Printing
3D Scanning and Printing3D Scanning and Printing
3D Scanning and PrintingVictor Freundt
 
Magazine awr-ims-3
Magazine awr-ims-3Magazine awr-ims-3
Magazine awr-ims-3Sam Sambala
 
BMVA summer school MATLAB programming tutorial
BMVA summer school MATLAB programming tutorialBMVA summer school MATLAB programming tutorial
BMVA summer school MATLAB programming tutorialpotaters
 
JonathanWestlake_ComputerVision_Project2
JonathanWestlake_ComputerVision_Project2JonathanWestlake_ComputerVision_Project2
JonathanWestlake_ComputerVision_Project2Jonathan Westlake
 
How to make a manual binary segmentation for an XCT reconstructed volume with...
How to make a manual binary segmentation for an XCT reconstructed volume with...How to make a manual binary segmentation for an XCT reconstructed volume with...
How to make a manual binary segmentation for an XCT reconstructed volume with...Javier García Molleja
 
1 of 6 LAB 5 IMAGE FILTERING ECE180 Introduction to.docx
1 of 6  LAB 5 IMAGE FILTERING ECE180 Introduction to.docx1 of 6  LAB 5 IMAGE FILTERING ECE180 Introduction to.docx
1 of 6 LAB 5 IMAGE FILTERING ECE180 Introduction to.docxmercysuttle
 
TAO Fayan_Canvas design by tcltk_Final report
TAO Fayan_Canvas design by tcltk_Final reportTAO Fayan_Canvas design by tcltk_Final report
TAO Fayan_Canvas design by tcltk_Final reportFayan TAO
 
Photoshop Tutorial Displacement Maps
Photoshop Tutorial  Displacement MapsPhotoshop Tutorial  Displacement Maps
Photoshop Tutorial Displacement Mapstvawler
 
Bcolz Groupby Discussion Document
Bcolz Groupby Discussion DocumentBcolz Groupby Discussion Document
Bcolz Groupby Discussion DocumentCarst Vaartjes
 
Gap filling - Vicon Nexus tutorial
Gap filling - Vicon Nexus tutorialGap filling - Vicon Nexus tutorial
Gap filling - Vicon Nexus tutorialLuca Parisi
 
Parametric Equations with Mathcad Prime
Parametric Equations with Mathcad PrimeParametric Equations with Mathcad Prime
Parametric Equations with Mathcad PrimeCaroline de Villèle
 
Stl validation
Stl validationStl validation
Stl validationTom Howard
 

Similar to How to concatenate two (or more) subvolumes, measured with XCT, using ImageJ (20)

3D Scanning and Printing
3D Scanning and Printing3D Scanning and Printing
3D Scanning and Printing
 
Casa lab manual
Casa lab manualCasa lab manual
Casa lab manual
 
Magazine awr-ims-3
Magazine awr-ims-3Magazine awr-ims-3
Magazine awr-ims-3
 
Patchantenna
PatchantennaPatchantenna
Patchantenna
 
BMVA summer school MATLAB programming tutorial
BMVA summer school MATLAB programming tutorialBMVA summer school MATLAB programming tutorial
BMVA summer school MATLAB programming tutorial
 
Tutorial ads
Tutorial adsTutorial ads
Tutorial ads
 
JonathanWestlake_ComputerVision_Project2
JonathanWestlake_ComputerVision_Project2JonathanWestlake_ComputerVision_Project2
JonathanWestlake_ComputerVision_Project2
 
How to make a manual binary segmentation for an XCT reconstructed volume with...
How to make a manual binary segmentation for an XCT reconstructed volume with...How to make a manual binary segmentation for an XCT reconstructed volume with...
How to make a manual binary segmentation for an XCT reconstructed volume with...
 
1 of 6 LAB 5 IMAGE FILTERING ECE180 Introduction to.docx
1 of 6  LAB 5 IMAGE FILTERING ECE180 Introduction to.docx1 of 6  LAB 5 IMAGE FILTERING ECE180 Introduction to.docx
1 of 6 LAB 5 IMAGE FILTERING ECE180 Introduction to.docx
 
mastercam_full
mastercam_fullmastercam_full
mastercam_full
 
mastercam_full
mastercam_fullmastercam_full
mastercam_full
 
TAO Fayan_Canvas design by tcltk_Final report
TAO Fayan_Canvas design by tcltk_Final reportTAO Fayan_Canvas design by tcltk_Final report
TAO Fayan_Canvas design by tcltk_Final report
 
Photoshop Tutorial Displacement Maps
Photoshop Tutorial  Displacement MapsPhotoshop Tutorial  Displacement Maps
Photoshop Tutorial Displacement Maps
 
Bcolz Groupby Discussion Document
Bcolz Groupby Discussion DocumentBcolz Groupby Discussion Document
Bcolz Groupby Discussion Document
 
Gap filling - Vicon Nexus tutorial
Gap filling - Vicon Nexus tutorialGap filling - Vicon Nexus tutorial
Gap filling - Vicon Nexus tutorial
 
Parametric Equations with Mathcad Prime
Parametric Equations with Mathcad PrimeParametric Equations with Mathcad Prime
Parametric Equations with Mathcad Prime
 
Stl validation
Stl validationStl validation
Stl validation
 
Ansys tutorial1
Ansys tutorial1Ansys tutorial1
Ansys tutorial1
 
Manuel_ON_eng.pdf
Manuel_ON_eng.pdfManuel_ON_eng.pdf
Manuel_ON_eng.pdf
 
ERDAS_1.pdf
ERDAS_1.pdfERDAS_1.pdf
ERDAS_1.pdf
 

More from Javier García Molleja

Highly thermal conductive Boron Nitride/Polyrotaxane encapsulated PEG-based ...
Highly thermal conductive Boron Nitride/Polyrotaxane encapsulated  PEG-based ...Highly thermal conductive Boron Nitride/Polyrotaxane encapsulated  PEG-based ...
Highly thermal conductive Boron Nitride/Polyrotaxane encapsulated PEG-based ...Javier García Molleja
 
PLA aerogel as a universal support for the typical organic phase change ener...
PLA aerogel as a universal support for the typical organic phase change  ener...PLA aerogel as a universal support for the typical organic phase change  ener...
PLA aerogel as a universal support for the typical organic phase change ener...Javier García Molleja
 
Graphene Functionalization of Polyrotaxane-Encapsulated PEG-Based PCMs: Fabri...
Graphene Functionalization of Polyrotaxane-Encapsulated PEG-Based PCMs: Fabri...Graphene Functionalization of Polyrotaxane-Encapsulated PEG-Based PCMs: Fabri...
Graphene Functionalization of Polyrotaxane-Encapsulated PEG-Based PCMs: Fabri...Javier García Molleja
 
Unveiling the structure, chemistry, and formation mechanism of an in-situ pho...
Unveiling the structure, chemistry, and formation mechanism of an in-situ pho...Unveiling the structure, chemistry, and formation mechanism of an in-situ pho...
Unveiling the structure, chemistry, and formation mechanism of an in-situ pho...Javier García Molleja
 
El rol de la tomografía en la industria: aplicaciones aeronáuticas y en el se...
El rol de la tomografía en la industria: aplicaciones aeronáuticas y en el se...El rol de la tomografía en la industria: aplicaciones aeronáuticas y en el se...
El rol de la tomografía en la industria: aplicaciones aeronáuticas y en el se...Javier García Molleja
 
Una introducción a la Tomografía Computarizada de Rayos X
Una introducción a la Tomografía Computarizada de Rayos XUna introducción a la Tomografía Computarizada de Rayos X
Una introducción a la Tomografía Computarizada de Rayos XJavier García Molleja
 
Unidad 5: impulso y cantidad de movimiento
Unidad 5: impulso y cantidad de movimientoUnidad 5: impulso y cantidad de movimiento
Unidad 5: impulso y cantidad de movimientoJavier García Molleja
 
Unidad 4: trabajo, energía y potencia
Unidad 4: trabajo, energía y potenciaUnidad 4: trabajo, energía y potencia
Unidad 4: trabajo, energía y potenciaJavier García Molleja
 
Unidad 1: descripción del mundo físico
Unidad 1: descripción del mundo físicoUnidad 1: descripción del mundo físico
Unidad 1: descripción del mundo físicoJavier García Molleja
 
Unit 1: Description of the physical world
Unit 1: Description of the physical worldUnit 1: Description of the physical world
Unit 1: Description of the physical worldJavier García Molleja
 
Laboratorio de Rayos X: caracterización de materiales
Laboratorio de Rayos X: caracterización de materialesLaboratorio de Rayos X: caracterización de materiales
Laboratorio de Rayos X: caracterización de materialesJavier García Molleja
 
How to manually align an XCT reconstructed volume with ImageJ
How to manually align an XCT reconstructed volume with ImageJHow to manually align an XCT reconstructed volume with ImageJ
How to manually align an XCT reconstructed volume with ImageJJavier García Molleja
 
Directrices para la realización del informe de las prácticas de laboratorio
Directrices para la realización del informe de las prácticas de laboratorioDirectrices para la realización del informe de las prácticas de laboratorio
Directrices para la realización del informe de las prácticas de laboratorioJavier García Molleja
 

More from Javier García Molleja (20)

Highly thermal conductive Boron Nitride/Polyrotaxane encapsulated PEG-based ...
Highly thermal conductive Boron Nitride/Polyrotaxane encapsulated  PEG-based ...Highly thermal conductive Boron Nitride/Polyrotaxane encapsulated  PEG-based ...
Highly thermal conductive Boron Nitride/Polyrotaxane encapsulated PEG-based ...
 
PLA aerogel as a universal support for the typical organic phase change ener...
PLA aerogel as a universal support for the typical organic phase change  ener...PLA aerogel as a universal support for the typical organic phase change  ener...
PLA aerogel as a universal support for the typical organic phase change ener...
 
Graphene Functionalization of Polyrotaxane-Encapsulated PEG-Based PCMs: Fabri...
Graphene Functionalization of Polyrotaxane-Encapsulated PEG-Based PCMs: Fabri...Graphene Functionalization of Polyrotaxane-Encapsulated PEG-Based PCMs: Fabri...
Graphene Functionalization of Polyrotaxane-Encapsulated PEG-Based PCMs: Fabri...
 
Unveiling the structure, chemistry, and formation mechanism of an in-situ pho...
Unveiling the structure, chemistry, and formation mechanism of an in-situ pho...Unveiling the structure, chemistry, and formation mechanism of an in-situ pho...
Unveiling the structure, chemistry, and formation mechanism of an in-situ pho...
 
El rol de la tomografía en la industria: aplicaciones aeronáuticas y en el se...
El rol de la tomografía en la industria: aplicaciones aeronáuticas y en el se...El rol de la tomografía en la industria: aplicaciones aeronáuticas y en el se...
El rol de la tomografía en la industria: aplicaciones aeronáuticas y en el se...
 
Una introducción a la Tomografía Computarizada de Rayos X
Una introducción a la Tomografía Computarizada de Rayos XUna introducción a la Tomografía Computarizada de Rayos X
Una introducción a la Tomografía Computarizada de Rayos X
 
Unidad 8: física cuántica
Unidad 8: física cuánticaUnidad 8: física cuántica
Unidad 8: física cuántica
 
Unidad 7: fuerzas a distancia
Unidad 7: fuerzas a distanciaUnidad 7: fuerzas a distancia
Unidad 7: fuerzas a distancia
 
Unidad 6: movimiento rotacional
Unidad 6: movimiento rotacionalUnidad 6: movimiento rotacional
Unidad 6: movimiento rotacional
 
Unit 5: Impulse and momentum
Unit 5: Impulse and momentumUnit 5: Impulse and momentum
Unit 5: Impulse and momentum
 
Unidad 5: impulso y cantidad de movimiento
Unidad 5: impulso y cantidad de movimientoUnidad 5: impulso y cantidad de movimiento
Unidad 5: impulso y cantidad de movimiento
 
Unidad 4: trabajo, energía y potencia
Unidad 4: trabajo, energía y potenciaUnidad 4: trabajo, energía y potencia
Unidad 4: trabajo, energía y potencia
 
Unidad 3: dinámica
Unidad 3: dinámicaUnidad 3: dinámica
Unidad 3: dinámica
 
Unidad 2: cinemática
Unidad 2: cinemáticaUnidad 2: cinemática
Unidad 2: cinemática
 
Unidad 1: descripción del mundo físico
Unidad 1: descripción del mundo físicoUnidad 1: descripción del mundo físico
Unidad 1: descripción del mundo físico
 
Unit 1: Description of the physical world
Unit 1: Description of the physical worldUnit 1: Description of the physical world
Unit 1: Description of the physical world
 
Laboratorio de Rayos X: caracterización de materiales
Laboratorio de Rayos X: caracterización de materialesLaboratorio de Rayos X: caracterización de materiales
Laboratorio de Rayos X: caracterización de materiales
 
How to manually align an XCT reconstructed volume with ImageJ
How to manually align an XCT reconstructed volume with ImageJHow to manually align an XCT reconstructed volume with ImageJ
How to manually align an XCT reconstructed volume with ImageJ
 
Directrices para la realización del informe de las prácticas de laboratorio
Directrices para la realización del informe de las prácticas de laboratorioDirectrices para la realización del informe de las prácticas de laboratorio
Directrices para la realización del informe de las prácticas de laboratorio
 
Sesiones de Laboratorio Física I
Sesiones de Laboratorio Física ISesiones de Laboratorio Física I
Sesiones de Laboratorio Física I
 

Recently uploaded

Developer Data Modeling Mistakes: From Postgres to NoSQL
Developer Data Modeling Mistakes: From Postgres to NoSQLDeveloper Data Modeling Mistakes: From Postgres to NoSQL
Developer Data Modeling Mistakes: From Postgres to NoSQLScyllaDB
 
Artificial intelligence in cctv survelliance.pptx
Artificial intelligence in cctv survelliance.pptxArtificial intelligence in cctv survelliance.pptx
Artificial intelligence in cctv survelliance.pptxhariprasad279825
 
Beyond Boundaries: Leveraging No-Code Solutions for Industry Innovation
Beyond Boundaries: Leveraging No-Code Solutions for Industry InnovationBeyond Boundaries: Leveraging No-Code Solutions for Industry Innovation
Beyond Boundaries: Leveraging No-Code Solutions for Industry InnovationSafe Software
 
Scanning the Internet for External Cloud Exposures via SSL Certs
Scanning the Internet for External Cloud Exposures via SSL CertsScanning the Internet for External Cloud Exposures via SSL Certs
Scanning the Internet for External Cloud Exposures via SSL CertsRizwan Syed
 
SAP Build Work Zone - Overview L2-L3.pptx
SAP Build Work Zone - Overview L2-L3.pptxSAP Build Work Zone - Overview L2-L3.pptx
SAP Build Work Zone - Overview L2-L3.pptxNavinnSomaal
 
My Hashitalk Indonesia April 2024 Presentation
My Hashitalk Indonesia April 2024 PresentationMy Hashitalk Indonesia April 2024 Presentation
My Hashitalk Indonesia April 2024 PresentationRidwan Fadjar
 
SQL Database Design For Developers at php[tek] 2024
SQL Database Design For Developers at php[tek] 2024SQL Database Design For Developers at php[tek] 2024
SQL Database Design For Developers at php[tek] 2024Scott Keck-Warren
 
Are Multi-Cloud and Serverless Good or Bad?
Are Multi-Cloud and Serverless Good or Bad?Are Multi-Cloud and Serverless Good or Bad?
Are Multi-Cloud and Serverless Good or Bad?Mattias Andersson
 
Commit 2024 - Secret Management made easy
Commit 2024 - Secret Management made easyCommit 2024 - Secret Management made easy
Commit 2024 - Secret Management made easyAlfredo García Lavilla
 
Transcript: New from BookNet Canada for 2024: BNC CataList - Tech Forum 2024
Transcript: New from BookNet Canada for 2024: BNC CataList - Tech Forum 2024Transcript: New from BookNet Canada for 2024: BNC CataList - Tech Forum 2024
Transcript: New from BookNet Canada for 2024: BNC CataList - Tech Forum 2024BookNet Canada
 
Human Factors of XR: Using Human Factors to Design XR Systems
Human Factors of XR: Using Human Factors to Design XR SystemsHuman Factors of XR: Using Human Factors to Design XR Systems
Human Factors of XR: Using Human Factors to Design XR SystemsMark Billinghurst
 
Nell’iperspazio con Rocket: il Framework Web di Rust!
Nell’iperspazio con Rocket: il Framework Web di Rust!Nell’iperspazio con Rocket: il Framework Web di Rust!
Nell’iperspazio con Rocket: il Framework Web di Rust!Commit University
 
Dev Dives: Streamline document processing with UiPath Studio Web
Dev Dives: Streamline document processing with UiPath Studio WebDev Dives: Streamline document processing with UiPath Studio Web
Dev Dives: Streamline document processing with UiPath Studio WebUiPathCommunity
 
"ML in Production",Oleksandr Bagan
"ML in Production",Oleksandr Bagan"ML in Production",Oleksandr Bagan
"ML in Production",Oleksandr BaganFwdays
 
My INSURER PTE LTD - Insurtech Innovation Award 2024
My INSURER PTE LTD - Insurtech Innovation Award 2024My INSURER PTE LTD - Insurtech Innovation Award 2024
My INSURER PTE LTD - Insurtech Innovation Award 2024The Digital Insurer
 
"LLMs for Python Engineers: Advanced Data Analysis and Semantic Kernel",Oleks...
"LLMs for Python Engineers: Advanced Data Analysis and Semantic Kernel",Oleks..."LLMs for Python Engineers: Advanced Data Analysis and Semantic Kernel",Oleks...
"LLMs for Python Engineers: Advanced Data Analysis and Semantic Kernel",Oleks...Fwdays
 
DevEX - reference for building teams, processes, and platforms
DevEX - reference for building teams, processes, and platformsDevEX - reference for building teams, processes, and platforms
DevEX - reference for building teams, processes, and platformsSergiu Bodiu
 

Recently uploaded (20)

Hot Sexy call girls in Panjabi Bagh 🔝 9953056974 🔝 Delhi escort Service
Hot Sexy call girls in Panjabi Bagh 🔝 9953056974 🔝 Delhi escort ServiceHot Sexy call girls in Panjabi Bagh 🔝 9953056974 🔝 Delhi escort Service
Hot Sexy call girls in Panjabi Bagh 🔝 9953056974 🔝 Delhi escort Service
 
Developer Data Modeling Mistakes: From Postgres to NoSQL
Developer Data Modeling Mistakes: From Postgres to NoSQLDeveloper Data Modeling Mistakes: From Postgres to NoSQL
Developer Data Modeling Mistakes: From Postgres to NoSQL
 
Artificial intelligence in cctv survelliance.pptx
Artificial intelligence in cctv survelliance.pptxArtificial intelligence in cctv survelliance.pptx
Artificial intelligence in cctv survelliance.pptx
 
Beyond Boundaries: Leveraging No-Code Solutions for Industry Innovation
Beyond Boundaries: Leveraging No-Code Solutions for Industry InnovationBeyond Boundaries: Leveraging No-Code Solutions for Industry Innovation
Beyond Boundaries: Leveraging No-Code Solutions for Industry Innovation
 
Scanning the Internet for External Cloud Exposures via SSL Certs
Scanning the Internet for External Cloud Exposures via SSL CertsScanning the Internet for External Cloud Exposures via SSL Certs
Scanning the Internet for External Cloud Exposures via SSL Certs
 
SAP Build Work Zone - Overview L2-L3.pptx
SAP Build Work Zone - Overview L2-L3.pptxSAP Build Work Zone - Overview L2-L3.pptx
SAP Build Work Zone - Overview L2-L3.pptx
 
My Hashitalk Indonesia April 2024 Presentation
My Hashitalk Indonesia April 2024 PresentationMy Hashitalk Indonesia April 2024 Presentation
My Hashitalk Indonesia April 2024 Presentation
 
SQL Database Design For Developers at php[tek] 2024
SQL Database Design For Developers at php[tek] 2024SQL Database Design For Developers at php[tek] 2024
SQL Database Design For Developers at php[tek] 2024
 
Are Multi-Cloud and Serverless Good or Bad?
Are Multi-Cloud and Serverless Good or Bad?Are Multi-Cloud and Serverless Good or Bad?
Are Multi-Cloud and Serverless Good or Bad?
 
Commit 2024 - Secret Management made easy
Commit 2024 - Secret Management made easyCommit 2024 - Secret Management made easy
Commit 2024 - Secret Management made easy
 
Transcript: New from BookNet Canada for 2024: BNC CataList - Tech Forum 2024
Transcript: New from BookNet Canada for 2024: BNC CataList - Tech Forum 2024Transcript: New from BookNet Canada for 2024: BNC CataList - Tech Forum 2024
Transcript: New from BookNet Canada for 2024: BNC CataList - Tech Forum 2024
 
Human Factors of XR: Using Human Factors to Design XR Systems
Human Factors of XR: Using Human Factors to Design XR SystemsHuman Factors of XR: Using Human Factors to Design XR Systems
Human Factors of XR: Using Human Factors to Design XR Systems
 
Nell’iperspazio con Rocket: il Framework Web di Rust!
Nell’iperspazio con Rocket: il Framework Web di Rust!Nell’iperspazio con Rocket: il Framework Web di Rust!
Nell’iperspazio con Rocket: il Framework Web di Rust!
 
Dev Dives: Streamline document processing with UiPath Studio Web
Dev Dives: Streamline document processing with UiPath Studio WebDev Dives: Streamline document processing with UiPath Studio Web
Dev Dives: Streamline document processing with UiPath Studio Web
 
E-Vehicle_Hacking_by_Parul Sharma_null_owasp.pptx
E-Vehicle_Hacking_by_Parul Sharma_null_owasp.pptxE-Vehicle_Hacking_by_Parul Sharma_null_owasp.pptx
E-Vehicle_Hacking_by_Parul Sharma_null_owasp.pptx
 
"ML in Production",Oleksandr Bagan
"ML in Production",Oleksandr Bagan"ML in Production",Oleksandr Bagan
"ML in Production",Oleksandr Bagan
 
DMCC Future of Trade Web3 - Special Edition
DMCC Future of Trade Web3 - Special EditionDMCC Future of Trade Web3 - Special Edition
DMCC Future of Trade Web3 - Special Edition
 
My INSURER PTE LTD - Insurtech Innovation Award 2024
My INSURER PTE LTD - Insurtech Innovation Award 2024My INSURER PTE LTD - Insurtech Innovation Award 2024
My INSURER PTE LTD - Insurtech Innovation Award 2024
 
"LLMs for Python Engineers: Advanced Data Analysis and Semantic Kernel",Oleks...
"LLMs for Python Engineers: Advanced Data Analysis and Semantic Kernel",Oleks..."LLMs for Python Engineers: Advanced Data Analysis and Semantic Kernel",Oleks...
"LLMs for Python Engineers: Advanced Data Analysis and Semantic Kernel",Oleks...
 
DevEX - reference for building teams, processes, and platforms
DevEX - reference for building teams, processes, and platformsDevEX - reference for building teams, processes, and platforms
DevEX - reference for building teams, processes, and platforms
 

How to concatenate two (or more) subvolumes, measured with XCT, using ImageJ

  • 1. madrid institute for advanced studies materials c/ Eric Kandel, 2 · E28906 Getafe - Madrid · Spain telephone +34 91 549 34 22 · fax +34 91 550 30 47 web www.materials.imdea.org · e-mail contact.materials@imdea.org HOW TO CONCATENATE TWO (OR MORE) SUBVOLUMES, MEASURED WITH XCT, USING IMAGEJ Javier García Molleja IMDEA Materials Institute – X-Ray Laboratory First of all, it is supposed that both subvolumes (of the same sample) were acquired with an overlapping region, that is, each measurement included part the same region. This technique is necessary when the sample is too long and one measurement is not enough. Second, this manual considers that both subvolumes where histogram-equalized prior to this step. A first approximation, good in general cases, is to adjust brightness and contrast in the auto mode of both subvolumes. Now, let’s start with the concatenation. Open the ImageJ software. File -> Import -> Raw… (and use the browser in order to select the subvolumes). Click Open. A dialog window is shown. Please, identify the image bit type, the width (in pixels), the height (in pixels) and the number of slices. Normally, these values are written at the end of the filename (or they are automatically loaded). It is supposed that these subvolumes are histogram-equalized, so the file is saved as raw (then do not click Little-endian byte order). Click OK.
  • 2. 2 The volume is loaded in the TOP-BOTTOM view. Now, it is time to identify which subvolume represents the top part of the sample and which one represents the bottom part of the sample. TOP REGION BOTTOM REGION Following step is to locate a slice, without artifacts, repeated in both subvolumes. If the overlapped region is in the middle of the sample, the identical slice must be at the end of the top subvolume and at the beginning of the bottom subvolume. Please, write the number of slice in both cases.
  • 3. 3 Of course, the overlapped region will contain many slices. The choice of two identical slices depends on you (or if one volume is better than the other and you want to minimize the bad one…) TOP SLICE #1942 BOTTOM SLICE #189 Image -> Duplicate… these identical slices. Please, give them different names in order to know which is which and do not check Duplicate stack option. Image -> Stacks -> Tools -> Concatenate… (All open windows: uncheck, Image1: Top Slice #1942, Image2: Bottom Slice #189, Image3: None, Title: Concatenated Stacks or other of your choice, Keep original images: check, Open as 4D image: uncheck) and you will make a little stack composed by two slices. In this moment, you can select one of these slices as reference, i.e., the one that won’t move. In this case, randomly, top slice will be the reference. Important! For concatenation both subvolumes MUST have the same dimensions in horizontal and in vertical directions. Plugins -> StackReg (Transformation: Translation) is the plugin that will be used in order to move one subvolume with regard the other one, so the position of the top slice will coincide with the position of the bottom slice. Select the Translation option and click OK. This option will move in vertical and in horizontal the second slice in order to exactly match the position. For this operation it is necessary a good starting subvolume without operations. Why this condition? Because the plugin will move the slice in the X-axis and in the Y-axis. So, the number of translated pixels will be replaced by zeroes. If you have pixels with a gray level 0 in the borders, you will miss the whole operation. With Magnifying Glass tool make a zoom in the borders and move from the first slice to the second. You will see a column (or row) of zeroes. With Rectagular tool you can
  • 4. 4 measure the amount of pixels. A rule of thumb about the translation: the origin of coordinates in ImageJ is the upper left corner of the first slice. Thus: a) If the slice is moved downwards (positive) the zeroes will be at top. b) If the slice is moved upwards (negative) the zeroes will be at bottom. c) If the slice is moved rightwards (positive) the zeroes will be at the left. d) If the slice is moved leftwards (negative) the zeroes will be at the right. In the present case, the slice of reference has no zeroes and the other one moved 6 pixels upwards and 19 pixels leftwards. Now, go to the stack that is not the reference. Image -> Transform -> Translate… (X offset (pixels): -19, Y offset (pixels): -6, Interpolation: None). Click OK and the subvolume will be moved to the right position. Click Yes in order to apply this operation for the whole volume.
  • 5. 5 Now, it is time to concatenate the two subvolumes. It is worth mentioning that both subvolumes will be merged into a new volume and all slices must be unique. For this reason, it is necessary to duplicate all non coincident slices. Furthermore, it is possible to avoid shadows or any inconvenient slices during this step. For example, if the top subvolume has sample at the slice number 300, it could be interesting a duplication starting from the slice number 275. Storage saving is always a must! Image -> Duplicate… (Title: the most convenient, Duplicate Stack: checked, Range: 1- 1942 for top subvolume and 190-2120 for the bottom subvolume). In this case all slices will be different (note that Bottom Slice #189 is absent) and not useful slices are removed. Image -> Stacks -> Tools -> Concatenate… (All open windows: uncheck, Image1: Top Duplicated Subvolume, Image2: Bottom Duplicated Subvolume, Image3: None, Title: Concatenated Stacks or other of your choice, Keep original images: check, Open as 4D image: uncheck). Whith this operation subvolumes are concatenated and the complete sample is obtained in one stack. Image -> Type -> 8-bit if you want to minimize the file size.
  • 6. 6 Now, if you want, you can use the Rectangle tool in order to make a ROI avoiding all zero grays obtained after the translation. Image -> Crop in order to make a new volume with only the ROI previously selected.
  • 7. 7 File -> Save As -> Raw Data… and that’s all! Do not forget about give it a good filename with bit type, dimensions and operations involved. IN718_19052_10_z_Ctt_8b_crop_1210x1210x3873.raw