{"id":29,"date":"2020-03-28T17:09:57","date_gmt":"2020-03-28T21:09:57","guid":{"rendered":"https:\/\/pressbooks.bccampus.ca\/ericsaczuk\/?post_type=chapter&#038;p=29"},"modified":"2020-03-29T17:38:08","modified_gmt":"2020-03-29T21:38:08","slug":"chapter-1-2-setting-up-images","status":"publish","type":"chapter","link":"https:\/\/pressbooks.bccampus.ca\/ericsaczuk\/chapter\/chapter-1-2-setting-up-images\/","title":{"raw":"Chapter 1.2 - Setting Up Images","rendered":"Chapter 1.2 &#8211; Setting Up Images"},"content":{"raw":"<h1>Overview<\/h1>\r\nIn this chapter, the aim is to ensure that the images captured by the RPAS are ready for processing in MetaShape. A MetaShape project will be created into which the supplied RPAS images will be imported and then aligned to generate a spare point cloud with tie points.\r\n<h2>MetaShape Project Setup<\/h2>\r\nDownload the RPAS images <span style=\"background-color: #ff0000\"><a style=\"background-color: #ff0000\" href=\"https:\/\/open.bcit.ca\/oer\/islandora\/object\/oer%3A45\">here<\/a><\/span>. Create a folder called <strong>Multi-spectral <\/strong>in the\u00a0<strong>Documents\u00a0<\/strong>folder on your workstation. Open the <strong>Multi-spectral<\/strong><strong>\u00a0<\/strong>folder, create a sub-folder called\u00a0<strong>Images <\/strong>and unzip the downloaded images into this sub-folder. You will have to remember the location of the <strong>Images<\/strong> folder. Ensure that all 4,465 images are present and note that each numbered image has a suffix (e.g. IMG_0131<strong>_1<\/strong>.tif). The suffix ( _x, where x = 1 through 5) indicates the multi-spectral band of each photo.\r\n<table class=\" aligncenter\" style=\"border-collapse: collapse;width: 47.9308%\" border=\"0\">\r\n<tbody>\r\n<tr>\r\n<td style=\"width: 24.9971%;text-align: center\"><strong>Spectral Band Number<\/strong><\/td>\r\n<td style=\"width: 34.1305%;text-align: center\"><strong>Spectral Band Characteristics<\/strong><\/td>\r\n<\/tr>\r\n<tr>\r\n<td style=\"width: 24.9971%;text-align: center\">1<\/td>\r\n<td style=\"width: 34.1305%;text-align: center\">Blue (465 to 485 nm)<\/td>\r\n<\/tr>\r\n<tr>\r\n<td style=\"width: 24.9971%;text-align: center\">2<\/td>\r\n<td style=\"width: 34.1305%;text-align: center\">Green (550 to 570 nm)<\/td>\r\n<\/tr>\r\n<tr>\r\n<td style=\"width: 24.9971%;text-align: center\">3<\/td>\r\n<td style=\"width: 34.1305%;text-align: center\">Red (663 to 673 nm)<\/td>\r\n<\/tr>\r\n<tr>\r\n<td style=\"width: 24.9971%;text-align: center\">4<\/td>\r\n<td style=\"width: 34.1305%;text-align: center\">Near Infrared (820 to 860 nm)<\/td>\r\n<\/tr>\r\n<tr>\r\n<td style=\"width: 24.9971%;text-align: center\">5<\/td>\r\n<td style=\"width: 34.1305%;text-align: center\">Red Edge (712 to 722 nm)<\/td>\r\n<\/tr>\r\n<\/tbody>\r\n<\/table>\r\nThe full manual for the MicaSense RedEdge M multi-spectral sensors is available <a href=\"https:\/\/support.micasense.com\/hc\/en-us\/article_attachments\/115004168274\/RedEdge-M_User_Manual.pdf\">here<\/a>.\r\n\r\nFrom the\u00a0<strong>Start<\/strong> menu, find and launch\u00a0<strong>Agisoft MetaShape Professional<\/strong>.\r\n<h2>Import Photos<\/h2>\r\nEach of the five multi-spectral bands will need to processed separately in their own chunk. Ensure that your're in the\u00a0<strong>Workspace<\/strong> tab (Fig. 1 bottom left of screen), select <strong>Add Chunk\u00a0<\/strong>(Fig. 1) and rename the chunk to <strong>Blue<\/strong>.\r\n\r\n[caption id=\"attachment_30\" align=\"aligncenter\" width=\"251\"]<img class=\" wp-image-30\" src=\"https:\/\/pressbooks.bccampus.ca\/ericsaczuk\/wp-content\/uploads\/sites\/425\/2020\/03\/Fig1-167x300.jpg\" alt=\"Shows the Workspace in MetaShape with a new chunk named Blue\" width=\"251\" height=\"451\" \/> Fig. 1 MetaShape Workspace with chunk (Blue) added.[\/caption]\r\n\r\nFrom the\u00a0<strong>Workflow<\/strong> menu, select\u00a0<strong>Add Photos<\/strong>, navigate to the\u00a0<strong>Images<\/strong> sub-folder and in the <strong>Search Images<\/strong> box enter <strong>*_1<\/strong> to find only the blue spectral band images. Select all images and click <strong>Open<\/strong>. From the\u00a0<strong>Add Photos<\/strong> dialogue box, select\u00a0<strong>Single Cameras<\/strong> and click\u00a0<strong>OK<\/strong>. Your should now see a view similar to Fig. 2 although you may need to select\u00a0<strong>Show Cameras<\/strong> first.\r\n\r\n[caption id=\"attachment_31\" align=\"aligncenter\" width=\"549\"]<img class=\" wp-image-31\" src=\"https:\/\/pressbooks.bccampus.ca\/ericsaczuk\/wp-content\/uploads\/sites\/425\/2020\/03\/Fig2-300x245.jpg\" alt=\"MetaShape window showing 989 cameras loaded into the Blue Chunk with Show Cameras switched on\" width=\"549\" height=\"448\" \/> Fig. 2 Camera centers of each image for the blue spectral band.[\/caption]\r\n\r\nSelect the\u00a0<strong>Reference<\/strong> tab (bottom left of screen), to view all of the photos along with their longitude, latitude, altitude and estimated accuracy. Each photo thumbnail is also visible in the bottom <strong>Photos <\/strong>pane and a full resolution image can be opened by double-clicking the thumbnail.\r\n\r\nIn the main\u00a0<strong>Model<\/strong> window, all of the image centers (principal point) are shown lined up according to how the RPAS flew the pre-programmed image acquisition mission (Fig. 2). The ball in the center of the <strong>Model<\/strong> window is used to rotate and spin the model in the X, Y and Z axes using the left mouse button. The right mouse button moves the model around while zooming in\/out is done using the scroll-wheel on a mouse or by sliding two fingers on a touch pad.\r\n\r\nSpin the model 90 deg from a top-down map view to a profile view as per Fig. 3. Notice that in addition to all the photos taken while the RPAS was at the operating altitude (approximately 68 to 93m), there is also a \"column\" of points extending down to the ground. These represent the photos that were taken while the RPAS was taking off and landing and need to be removed prior to any further processing.\r\n\r\n[caption id=\"attachment_35\" align=\"aligncenter\" width=\"637\"]<img class=\" wp-image-35\" src=\"https:\/\/pressbooks.bccampus.ca\/ericsaczuk\/wp-content\/uploads\/sites\/425\/2020\/03\/Fig-3-300x156.jpg\" alt=\"MetaShape screen shot showing a profile view of the camera points including those that need to be filtered out.\" width=\"637\" height=\"331\" \/> Fig. 3 Camera points that need to be filtered out.[\/caption]\r\n\r\nThe best way to filter out these points is to search in the <strong>Altitude<\/strong> column of the <strong>Reference<\/strong> pane for values that are lower than the altitude at which the mission was flown (i.e. lower than ~68m). The easiest way to accomplish this is to sort the <strong>Altitude<\/strong> column from lowest to highest, select all photos from the lowest altitude to ~65m, right-click, select\u00a0<strong>Remove Cameras<\/strong> and click <strong>Yes<\/strong> in the confirmation box.\r\n\r\nPress\u00a0<strong>0<\/strong> (zero) to rotate the images back to map view. You'll notice there are several \"transit\" lines (non-parallel to the flight lines) which are due to the RPAS transitioning between the take-off\/landing and the starting point of the mission. These images do not represent data that should be processed. Manually select them in the list of cameras and remove them in a similar way as described above. When finished, you should end up with between 400 and about 500 cameras and a pattern similar to Fig. 4.\r\n\r\n[caption id=\"attachment_38\" align=\"aligncenter\" width=\"392\"]<img class=\" wp-image-38\" src=\"https:\/\/pressbooks.bccampus.ca\/ericsaczuk\/wp-content\/uploads\/sites\/425\/2020\/03\/Fig5-264x300.jpg\" alt=\"MetaShape screen shot showing photo centers after filtering\" width=\"392\" height=\"445\" \/> Fig. 5 Post-filtering photo centers.[\/caption]\r\n<h2>Assess Image Quality<\/h2>\r\nThe next quality assurance step is to assess the quality of the input photos. MetaShape checks basic photo attributes such as motion blur, focus, contrast and exposure. In the bottom <strong>Photo<\/strong> pane, switch to\u00a0<strong>Details<\/strong>\u00a0view, right-click on one of the photos , select <strong>Estimate Image Quality...<\/strong>, select\u00a0<strong>All Photos <\/strong>then <strong>OK<\/strong> to see the quality score. Scores range from 0 (unacceptable) to 1.0 (perfect) and any photos below 0.6 should not be included in further processing and removed.\r\n<h2>Adjust Coordinate System<\/h2>\r\n<div class=\"bcc-box bcc-info\">\r\n\r\nAt this stage, it is important to adjust the coordinate system of the photos to match that of the coordinate system of the ground control points (GCPs). The coordinate system that the GCPs were collected in is NAD83(CSRS) UTM Zone 10N with the CGVD2013 geoid. To adjust the photo centers, in the <strong>Reference<\/strong> pane click on the\u00a0<strong>Convert<\/strong> icon, and from the <strong>Coordinate System<\/strong> drop down, select <strong>NAD83(CSRS) \/ UTM zone 10N + CGVD2013 height (EPSG::6653)<\/strong> and click <strong>OK<\/strong>. Note that the photo coordinates have now been updated to Easting, Northing and an altitude relative to the CGVD 2013 geoid.\r\n\r\n<\/div>\r\n<h2>Aligning Photos<\/h2>\r\nSo far, the software only knows where the center of each photo should be in absolute space (i.e. the coordinate system established in the previous step). It doesn't yet know how all the overlapping photos connect or fit together. This is the purpose of the alignment function in MetaShape. Aligning photos is based on a computer vision concept called <strong><a href=\"https:\/\/en.wikipedia.org\/wiki\/Structure_from_motion\" target=\"_blank\" rel=\"noopener noreferrer\">Structure from Motion<\/a><\/strong>.\r\n\r\nFrom the\u00a0<strong>Workflow<\/strong> menu, select\u00a0<strong>Align Photos<\/strong>, adjust the parameters to match Fig. 6 below and click <strong>OK<\/strong>.\r\n\r\n[caption id=\"attachment_39\" align=\"aligncenter\" width=\"393\"]<img class=\" wp-image-39\" src=\"https:\/\/pressbooks.bccampus.ca\/ericsaczuk\/wp-content\/uploads\/sites\/425\/2020\/03\/Fig6-300x289.jpg\" alt=\"Screen shot of the MetaShape Align photos dialogue box with highest aligment, reference preselection using source, 40,000 key point limit, 4,000 tie point limit\" width=\"393\" height=\"379\" \/> Fig. 6 Align photos parameters.[\/caption]\r\n\r\nAfter a few minutes, the sparse point cloud showing the key tie points is generated and the view should look similar to the one below.\r\n\r\n[caption id=\"attachment_40\" align=\"aligncenter\" width=\"459\"]<img class=\" wp-image-40\" src=\"https:\/\/pressbooks.bccampus.ca\/ericsaczuk\/wp-content\/uploads\/sites\/425\/2020\/03\/Fig7-276x300.jpg\" alt=\"Metashape screenshot showing the results of photo alignment with 100% of the photos matched\" width=\"459\" height=\"499\" \/> Fig. 7 Sparse point cloud showing 100% photo alignment.[\/caption]\r\n\r\nSave the project by accessing the\u00a0<strong>File<\/strong> menu, selecting\u00a0<strong>Save As...<\/strong>, naming it and clicking\u00a0<strong>OK<\/strong>.","rendered":"<h1>Overview<\/h1>\n<p>In this chapter, the aim is to ensure that the images captured by the RPAS are ready for processing in MetaShape. A MetaShape project will be created into which the supplied RPAS images will be imported and then aligned to generate a spare point cloud with tie points.<\/p>\n<h2>MetaShape Project Setup<\/h2>\n<p>Download the RPAS images <span style=\"background-color: #ff0000\"><a style=\"background-color: #ff0000\" href=\"https:\/\/open.bcit.ca\/oer\/islandora\/object\/oer%3A45\">here<\/a><\/span>. Create a folder called <strong>Multi-spectral <\/strong>in the\u00a0<strong>Documents\u00a0<\/strong>folder on your workstation. Open the <strong>Multi-spectral<\/strong><strong>\u00a0<\/strong>folder, create a sub-folder called\u00a0<strong>Images <\/strong>and unzip the downloaded images into this sub-folder. You will have to remember the location of the <strong>Images<\/strong> folder. Ensure that all 4,465 images are present and note that each numbered image has a suffix (e.g. IMG_0131<strong>_1<\/strong>.tif). The suffix ( _x, where x = 1 through 5) indicates the multi-spectral band of each photo.<\/p>\n<table class=\"aligncenter\" style=\"border-collapse: collapse;width: 47.9308%\">\n<tbody>\n<tr>\n<td style=\"width: 24.9971%;text-align: center\"><strong>Spectral Band Number<\/strong><\/td>\n<td style=\"width: 34.1305%;text-align: center\"><strong>Spectral Band Characteristics<\/strong><\/td>\n<\/tr>\n<tr>\n<td style=\"width: 24.9971%;text-align: center\">1<\/td>\n<td style=\"width: 34.1305%;text-align: center\">Blue (465 to 485 nm)<\/td>\n<\/tr>\n<tr>\n<td style=\"width: 24.9971%;text-align: center\">2<\/td>\n<td style=\"width: 34.1305%;text-align: center\">Green (550 to 570 nm)<\/td>\n<\/tr>\n<tr>\n<td style=\"width: 24.9971%;text-align: center\">3<\/td>\n<td style=\"width: 34.1305%;text-align: center\">Red (663 to 673 nm)<\/td>\n<\/tr>\n<tr>\n<td style=\"width: 24.9971%;text-align: center\">4<\/td>\n<td style=\"width: 34.1305%;text-align: center\">Near Infrared (820 to 860 nm)<\/td>\n<\/tr>\n<tr>\n<td style=\"width: 24.9971%;text-align: center\">5<\/td>\n<td style=\"width: 34.1305%;text-align: center\">Red Edge (712 to 722 nm)<\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n<p>The full manual for the MicaSense RedEdge M multi-spectral sensors is available <a href=\"https:\/\/support.micasense.com\/hc\/en-us\/article_attachments\/115004168274\/RedEdge-M_User_Manual.pdf\">here<\/a>.<\/p>\n<p>From the\u00a0<strong>Start<\/strong> menu, find and launch\u00a0<strong>Agisoft MetaShape Professional<\/strong>.<\/p>\n<h2>Import Photos<\/h2>\n<p>Each of the five multi-spectral bands will need to processed separately in their own chunk. Ensure that your&#8217;re in the\u00a0<strong>Workspace<\/strong> tab (Fig. 1 bottom left of screen), select <strong>Add Chunk\u00a0<\/strong>(Fig. 1) and rename the chunk to <strong>Blue<\/strong>.<\/p>\n<figure id=\"attachment_30\" aria-describedby=\"caption-attachment-30\" style=\"width: 251px\" class=\"wp-caption aligncenter\"><img loading=\"lazy\" decoding=\"async\" class=\"wp-image-30\" src=\"https:\/\/pressbooks.bccampus.ca\/ericsaczuk\/wp-content\/uploads\/sites\/425\/2020\/03\/Fig1-167x300.jpg\" alt=\"Shows the Workspace in MetaShape with a new chunk named Blue\" width=\"251\" height=\"451\" srcset=\"https:\/\/pressbooks.bccampus.ca\/ericsaczuk\/wp-content\/uploads\/sites\/425\/2020\/03\/Fig1-167x300.jpg 167w, https:\/\/pressbooks.bccampus.ca\/ericsaczuk\/wp-content\/uploads\/sites\/425\/2020\/03\/Fig1-65x117.jpg 65w, https:\/\/pressbooks.bccampus.ca\/ericsaczuk\/wp-content\/uploads\/sites\/425\/2020\/03\/Fig1-225x404.jpg 225w, https:\/\/pressbooks.bccampus.ca\/ericsaczuk\/wp-content\/uploads\/sites\/425\/2020\/03\/Fig1-350x628.jpg 350w, https:\/\/pressbooks.bccampus.ca\/ericsaczuk\/wp-content\/uploads\/sites\/425\/2020\/03\/Fig1.jpg 496w\" sizes=\"auto, (max-width: 251px) 100vw, 251px\" \/><figcaption id=\"caption-attachment-30\" class=\"wp-caption-text\">Fig. 1 MetaShape Workspace with chunk (Blue) added.<\/figcaption><\/figure>\n<p>From the\u00a0<strong>Workflow<\/strong> menu, select\u00a0<strong>Add Photos<\/strong>, navigate to the\u00a0<strong>Images<\/strong> sub-folder and in the <strong>Search Images<\/strong> box enter <strong>*_1<\/strong> to find only the blue spectral band images. Select all images and click <strong>Open<\/strong>. From the\u00a0<strong>Add Photos<\/strong> dialogue box, select\u00a0<strong>Single Cameras<\/strong> and click\u00a0<strong>OK<\/strong>. Your should now see a view similar to Fig. 2 although you may need to select\u00a0<strong>Show Cameras<\/strong> first.<\/p>\n<figure id=\"attachment_31\" aria-describedby=\"caption-attachment-31\" style=\"width: 549px\" class=\"wp-caption aligncenter\"><img loading=\"lazy\" decoding=\"async\" class=\"wp-image-31\" src=\"https:\/\/pressbooks.bccampus.ca\/ericsaczuk\/wp-content\/uploads\/sites\/425\/2020\/03\/Fig2-300x245.jpg\" alt=\"MetaShape window showing 989 cameras loaded into the Blue Chunk with Show Cameras switched on\" width=\"549\" height=\"448\" srcset=\"https:\/\/pressbooks.bccampus.ca\/ericsaczuk\/wp-content\/uploads\/sites\/425\/2020\/03\/Fig2-300x245.jpg 300w, https:\/\/pressbooks.bccampus.ca\/ericsaczuk\/wp-content\/uploads\/sites\/425\/2020\/03\/Fig2-1024x835.jpg 1024w, https:\/\/pressbooks.bccampus.ca\/ericsaczuk\/wp-content\/uploads\/sites\/425\/2020\/03\/Fig2-768x626.jpg 768w, https:\/\/pressbooks.bccampus.ca\/ericsaczuk\/wp-content\/uploads\/sites\/425\/2020\/03\/Fig2-65x53.jpg 65w, https:\/\/pressbooks.bccampus.ca\/ericsaczuk\/wp-content\/uploads\/sites\/425\/2020\/03\/Fig2-225x183.jpg 225w, https:\/\/pressbooks.bccampus.ca\/ericsaczuk\/wp-content\/uploads\/sites\/425\/2020\/03\/Fig2-350x285.jpg 350w, https:\/\/pressbooks.bccampus.ca\/ericsaczuk\/wp-content\/uploads\/sites\/425\/2020\/03\/Fig2.jpg 1224w\" sizes=\"auto, (max-width: 549px) 100vw, 549px\" \/><figcaption id=\"caption-attachment-31\" class=\"wp-caption-text\">Fig. 2 Camera centers of each image for the blue spectral band.<\/figcaption><\/figure>\n<p>Select the\u00a0<strong>Reference<\/strong> tab (bottom left of screen), to view all of the photos along with their longitude, latitude, altitude and estimated accuracy. Each photo thumbnail is also visible in the bottom <strong>Photos <\/strong>pane and a full resolution image can be opened by double-clicking the thumbnail.<\/p>\n<p>In the main\u00a0<strong>Model<\/strong> window, all of the image centers (principal point) are shown lined up according to how the RPAS flew the pre-programmed image acquisition mission (Fig. 2). The ball in the center of the <strong>Model<\/strong> window is used to rotate and spin the model in the X, Y and Z axes using the left mouse button. The right mouse button moves the model around while zooming in\/out is done using the scroll-wheel on a mouse or by sliding two fingers on a touch pad.<\/p>\n<p>Spin the model 90 deg from a top-down map view to a profile view as per Fig. 3. Notice that in addition to all the photos taken while the RPAS was at the operating altitude (approximately 68 to 93m), there is also a &#8220;column&#8221; of points extending down to the ground. These represent the photos that were taken while the RPAS was taking off and landing and need to be removed prior to any further processing.<\/p>\n<figure id=\"attachment_35\" aria-describedby=\"caption-attachment-35\" style=\"width: 637px\" class=\"wp-caption aligncenter\"><img loading=\"lazy\" decoding=\"async\" class=\"wp-image-35\" src=\"https:\/\/pressbooks.bccampus.ca\/ericsaczuk\/wp-content\/uploads\/sites\/425\/2020\/03\/Fig-3-300x156.jpg\" alt=\"MetaShape screen shot showing a profile view of the camera points including those that need to be filtered out.\" width=\"637\" height=\"331\" srcset=\"https:\/\/pressbooks.bccampus.ca\/ericsaczuk\/wp-content\/uploads\/sites\/425\/2020\/03\/Fig-3-300x156.jpg 300w, https:\/\/pressbooks.bccampus.ca\/ericsaczuk\/wp-content\/uploads\/sites\/425\/2020\/03\/Fig-3-1024x531.jpg 1024w, https:\/\/pressbooks.bccampus.ca\/ericsaczuk\/wp-content\/uploads\/sites\/425\/2020\/03\/Fig-3-768x398.jpg 768w, https:\/\/pressbooks.bccampus.ca\/ericsaczuk\/wp-content\/uploads\/sites\/425\/2020\/03\/Fig-3-1536x797.jpg 1536w, https:\/\/pressbooks.bccampus.ca\/ericsaczuk\/wp-content\/uploads\/sites\/425\/2020\/03\/Fig-3-65x34.jpg 65w, https:\/\/pressbooks.bccampus.ca\/ericsaczuk\/wp-content\/uploads\/sites\/425\/2020\/03\/Fig-3-225x117.jpg 225w, https:\/\/pressbooks.bccampus.ca\/ericsaczuk\/wp-content\/uploads\/sites\/425\/2020\/03\/Fig-3-350x182.jpg 350w, https:\/\/pressbooks.bccampus.ca\/ericsaczuk\/wp-content\/uploads\/sites\/425\/2020\/03\/Fig-3.jpg 1920w\" sizes=\"auto, (max-width: 637px) 100vw, 637px\" \/><figcaption id=\"caption-attachment-35\" class=\"wp-caption-text\">Fig. 3 Camera points that need to be filtered out.<\/figcaption><\/figure>\n<p>The best way to filter out these points is to search in the <strong>Altitude<\/strong> column of the <strong>Reference<\/strong> pane for values that are lower than the altitude at which the mission was flown (i.e. lower than ~68m). The easiest way to accomplish this is to sort the <strong>Altitude<\/strong> column from lowest to highest, select all photos from the lowest altitude to ~65m, right-click, select\u00a0<strong>Remove Cameras<\/strong> and click <strong>Yes<\/strong> in the confirmation box.<\/p>\n<p>Press\u00a0<strong>0<\/strong> (zero) to rotate the images back to map view. You&#8217;ll notice there are several &#8220;transit&#8221; lines (non-parallel to the flight lines) which are due to the RPAS transitioning between the take-off\/landing and the starting point of the mission. These images do not represent data that should be processed. Manually select them in the list of cameras and remove them in a similar way as described above. When finished, you should end up with between 400 and about 500 cameras and a pattern similar to Fig. 4.<\/p>\n<figure id=\"attachment_38\" aria-describedby=\"caption-attachment-38\" style=\"width: 392px\" class=\"wp-caption aligncenter\"><img loading=\"lazy\" decoding=\"async\" class=\"wp-image-38\" src=\"https:\/\/pressbooks.bccampus.ca\/ericsaczuk\/wp-content\/uploads\/sites\/425\/2020\/03\/Fig5-264x300.jpg\" alt=\"MetaShape screen shot showing photo centers after filtering\" width=\"392\" height=\"445\" srcset=\"https:\/\/pressbooks.bccampus.ca\/ericsaczuk\/wp-content\/uploads\/sites\/425\/2020\/03\/Fig5-264x300.jpg 264w, https:\/\/pressbooks.bccampus.ca\/ericsaczuk\/wp-content\/uploads\/sites\/425\/2020\/03\/Fig5-768x873.jpg 768w, https:\/\/pressbooks.bccampus.ca\/ericsaczuk\/wp-content\/uploads\/sites\/425\/2020\/03\/Fig5-65x74.jpg 65w, https:\/\/pressbooks.bccampus.ca\/ericsaczuk\/wp-content\/uploads\/sites\/425\/2020\/03\/Fig5-225x256.jpg 225w, https:\/\/pressbooks.bccampus.ca\/ericsaczuk\/wp-content\/uploads\/sites\/425\/2020\/03\/Fig5-350x398.jpg 350w, https:\/\/pressbooks.bccampus.ca\/ericsaczuk\/wp-content\/uploads\/sites\/425\/2020\/03\/Fig5.jpg 877w\" sizes=\"auto, (max-width: 392px) 100vw, 392px\" \/><figcaption id=\"caption-attachment-38\" class=\"wp-caption-text\">Fig. 5 Post-filtering photo centers.<\/figcaption><\/figure>\n<h2>Assess Image Quality<\/h2>\n<p>The next quality assurance step is to assess the quality of the input photos. MetaShape checks basic photo attributes such as motion blur, focus, contrast and exposure. In the bottom <strong>Photo<\/strong> pane, switch to\u00a0<strong>Details<\/strong>\u00a0view, right-click on one of the photos , select <strong>Estimate Image Quality&#8230;<\/strong>, select\u00a0<strong>All Photos <\/strong>then <strong>OK<\/strong> to see the quality score. Scores range from 0 (unacceptable) to 1.0 (perfect) and any photos below 0.6 should not be included in further processing and removed.<\/p>\n<h2>Adjust Coordinate System<\/h2>\n<div class=\"bcc-box bcc-info\">\n<p>At this stage, it is important to adjust the coordinate system of the photos to match that of the coordinate system of the ground control points (GCPs). The coordinate system that the GCPs were collected in is NAD83(CSRS) UTM Zone 10N with the CGVD2013 geoid. To adjust the photo centers, in the <strong>Reference<\/strong> pane click on the\u00a0<strong>Convert<\/strong> icon, and from the <strong>Coordinate System<\/strong> drop down, select <strong>NAD83(CSRS) \/ UTM zone 10N + CGVD2013 height (EPSG::6653)<\/strong> and click <strong>OK<\/strong>. Note that the photo coordinates have now been updated to Easting, Northing and an altitude relative to the CGVD 2013 geoid.<\/p>\n<\/div>\n<h2>Aligning Photos<\/h2>\n<p>So far, the software only knows where the center of each photo should be in absolute space (i.e. the coordinate system established in the previous step). It doesn&#8217;t yet know how all the overlapping photos connect or fit together. This is the purpose of the alignment function in MetaShape. Aligning photos is based on a computer vision concept called <strong><a href=\"https:\/\/en.wikipedia.org\/wiki\/Structure_from_motion\" target=\"_blank\" rel=\"noopener noreferrer\">Structure from Motion<\/a><\/strong>.<\/p>\n<p>From the\u00a0<strong>Workflow<\/strong> menu, select\u00a0<strong>Align Photos<\/strong>, adjust the parameters to match Fig. 6 below and click <strong>OK<\/strong>.<\/p>\n<figure id=\"attachment_39\" aria-describedby=\"caption-attachment-39\" style=\"width: 393px\" class=\"wp-caption aligncenter\"><img loading=\"lazy\" decoding=\"async\" class=\"wp-image-39\" src=\"https:\/\/pressbooks.bccampus.ca\/ericsaczuk\/wp-content\/uploads\/sites\/425\/2020\/03\/Fig6-300x289.jpg\" alt=\"Screen shot of the MetaShape Align photos dialogue box with highest aligment, reference preselection using source, 40,000 key point limit, 4,000 tie point limit\" width=\"393\" height=\"379\" srcset=\"https:\/\/pressbooks.bccampus.ca\/ericsaczuk\/wp-content\/uploads\/sites\/425\/2020\/03\/Fig6-300x289.jpg 300w, https:\/\/pressbooks.bccampus.ca\/ericsaczuk\/wp-content\/uploads\/sites\/425\/2020\/03\/Fig6-65x63.jpg 65w, https:\/\/pressbooks.bccampus.ca\/ericsaczuk\/wp-content\/uploads\/sites\/425\/2020\/03\/Fig6-225x217.jpg 225w, https:\/\/pressbooks.bccampus.ca\/ericsaczuk\/wp-content\/uploads\/sites\/425\/2020\/03\/Fig6-350x337.jpg 350w, https:\/\/pressbooks.bccampus.ca\/ericsaczuk\/wp-content\/uploads\/sites\/425\/2020\/03\/Fig6.jpg 460w\" sizes=\"auto, (max-width: 393px) 100vw, 393px\" \/><figcaption id=\"caption-attachment-39\" class=\"wp-caption-text\">Fig. 6 Align photos parameters.<\/figcaption><\/figure>\n<p>After a few minutes, the sparse point cloud showing the key tie points is generated and the view should look similar to the one below.<\/p>\n<figure id=\"attachment_40\" aria-describedby=\"caption-attachment-40\" style=\"width: 459px\" class=\"wp-caption aligncenter\"><img loading=\"lazy\" decoding=\"async\" class=\"wp-image-40\" src=\"https:\/\/pressbooks.bccampus.ca\/ericsaczuk\/wp-content\/uploads\/sites\/425\/2020\/03\/Fig7-276x300.jpg\" alt=\"Metashape screenshot showing the results of photo alignment with 100% of the photos matched\" width=\"459\" height=\"499\" srcset=\"https:\/\/pressbooks.bccampus.ca\/ericsaczuk\/wp-content\/uploads\/sites\/425\/2020\/03\/Fig7-276x300.jpg 276w, https:\/\/pressbooks.bccampus.ca\/ericsaczuk\/wp-content\/uploads\/sites\/425\/2020\/03\/Fig7-768x834.jpg 768w, https:\/\/pressbooks.bccampus.ca\/ericsaczuk\/wp-content\/uploads\/sites\/425\/2020\/03\/Fig7-65x71.jpg 65w, https:\/\/pressbooks.bccampus.ca\/ericsaczuk\/wp-content\/uploads\/sites\/425\/2020\/03\/Fig7-225x244.jpg 225w, https:\/\/pressbooks.bccampus.ca\/ericsaczuk\/wp-content\/uploads\/sites\/425\/2020\/03\/Fig7-350x380.jpg 350w, https:\/\/pressbooks.bccampus.ca\/ericsaczuk\/wp-content\/uploads\/sites\/425\/2020\/03\/Fig7.jpg 920w\" sizes=\"auto, (max-width: 459px) 100vw, 459px\" \/><figcaption id=\"caption-attachment-40\" class=\"wp-caption-text\">Fig. 7 Sparse point cloud showing 100% photo alignment.<\/figcaption><\/figure>\n<p>Save the project by accessing the\u00a0<strong>File<\/strong> menu, selecting\u00a0<strong>Save As&#8230;<\/strong>, naming it and clicking\u00a0<strong>OK<\/strong>.<\/p>\n","protected":false},"author":365,"menu_order":2,"template":"","meta":{"pb_show_title":"on","pb_short_title":"","pb_subtitle":"","pb_authors":[],"pb_section_license":""},"chapter-type":[],"contributor":[],"license":[],"class_list":["post-29","chapter","type-chapter","status-publish","hentry"],"part":3,"_links":{"self":[{"href":"https:\/\/pressbooks.bccampus.ca\/ericsaczuk\/wp-json\/pressbooks\/v2\/chapters\/29","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/pressbooks.bccampus.ca\/ericsaczuk\/wp-json\/pressbooks\/v2\/chapters"}],"about":[{"href":"https:\/\/pressbooks.bccampus.ca\/ericsaczuk\/wp-json\/wp\/v2\/types\/chapter"}],"author":[{"embeddable":true,"href":"https:\/\/pressbooks.bccampus.ca\/ericsaczuk\/wp-json\/wp\/v2\/users\/365"}],"version-history":[{"count":6,"href":"https:\/\/pressbooks.bccampus.ca\/ericsaczuk\/wp-json\/pressbooks\/v2\/chapters\/29\/revisions"}],"predecessor-version":[{"id":41,"href":"https:\/\/pressbooks.bccampus.ca\/ericsaczuk\/wp-json\/pressbooks\/v2\/chapters\/29\/revisions\/41"}],"part":[{"href":"https:\/\/pressbooks.bccampus.ca\/ericsaczuk\/wp-json\/pressbooks\/v2\/parts\/3"}],"metadata":[{"href":"https:\/\/pressbooks.bccampus.ca\/ericsaczuk\/wp-json\/pressbooks\/v2\/chapters\/29\/metadata\/"}],"wp:attachment":[{"href":"https:\/\/pressbooks.bccampus.ca\/ericsaczuk\/wp-json\/wp\/v2\/media?parent=29"}],"wp:term":[{"taxonomy":"chapter-type","embeddable":true,"href":"https:\/\/pressbooks.bccampus.ca\/ericsaczuk\/wp-json\/pressbooks\/v2\/chapter-type?post=29"},{"taxonomy":"contributor","embeddable":true,"href":"https:\/\/pressbooks.bccampus.ca\/ericsaczuk\/wp-json\/wp\/v2\/contributor?post=29"},{"taxonomy":"license","embeddable":true,"href":"https:\/\/pressbooks.bccampus.ca\/ericsaczuk\/wp-json\/wp\/v2\/license?post=29"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}