Step 1: Create a TPS File with tpsUtil
- Select Operation: Choose “Build tps file from images”.
- Input Directory: Browse and select the folder containing specimen images.
- Output File: Name new
.tpsfile and choose where to save it. - Create: Click “Setup” to verify the images are listed, then click “Create.” This file initializes all landmarks to zero for each image.
Step 2: Set Up tpsDig for Digitization
Open tpsDig to visually place landmarks on your specimens:
- Input Source: Go to
File > Input Source > Fileand select the.tpsfile you just created. - Set Scale (Optional): If your images include a ruler, use the “Set Scale” tool to drag a line across a known distance (e.g., 1cm) to calibrate measurements. If not, it defaults to 1mm.
- Define Landmarks: It is critical to have a set of homologous points identified beforehand (e.g., tip of the dorsal cornua in cephalopharyngeal skeleton, costagial break in Phoridae wing) to ensure consistency across all specimens.
Step 3: Digitizing Landmarks
- Activate Tool: Click the “Digitize Landmarks” icon (the crosshair/target icon).
- Place Points: Click on the specimen in the exact order specified by your protocol⚠️. The software will automatically number the points.
- Edit/Correct: If you misplace a point, switch to “Edit Mode” (arrow icon) to drag and reposition the landmark.
- Navigate specimens: Use the “Next” arrow to move to the next image and repeat the process.
Step 4: Save and Verify Data
- Save Data: Go to
File > Save Datato update the.tpsfile with the X and Y coordinates of your landmarks. - Verify: You can open the
.tpsfile in a text editor to see that theLM(landmark) value now correctly reflects the number of points captured for each specimen.
Link to Video: Landmarks acquisition in 2D using tpsDig