<?xml version="1.0" encoding="UTF-8" ?>
<?xml-stylesheet type="text/xsl" href="https://communities.bentley.com/cfs-file/__key/system/syndication/rss.xsl" media="screen"?><rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/"><channel><title>Bentley Descartes - Raster Transformation</title><link>https://communities.bentley.com/products/3d_imaging_and_point_cloud_software/w/wiki/24943/bentley-descartes---raster-transformation</link><description /><dc:language>en-US</dc:language><generator>Telligent Community 12</generator><item><title>Bentley Descartes - Raster Transformation</title><link>https://communities.bentley.com/products/3d_imaging_and_point_cloud_software/w/wiki/24943/bentley-descartes---raster-transformation</link><pubDate>Thu, 19 Mar 2020 12:38:39 GMT</pubDate><guid isPermaLink="false">6dad98f5-dbc9-4c4d-a9ba-e9da8dc6aa8e:e7492bdd-2eca-48a5-8eb6-c8484212cd15</guid><dc:creator>Pascal Cloutier</dc:creator><comments>https://communities.bentley.com/products/3d_imaging_and_point_cloud_software/w/wiki/24943/bentley-descartes---raster-transformation#comments</comments><description>Current Revision posted to ContextCapture | Descartes | Pointools | Orbit Wiki by Pascal Cloutier on 3/19/2020 12:38:39 PM&lt;br /&gt;
&lt;h2&gt;Raster Transformation&lt;/h2&gt;
&lt;p&gt;Bentley Descartes has many functionalities to transform a raster. This set of&amp;nbsp;tools differ from the raster edit tools in that they don&amp;#39;t modify the pixels&amp;#39; value of an image but its form and&amp;nbsp;content.&amp;nbsp; These functions can be found in the &lt;em&gt;Descartes Raster Control&lt;/em&gt; tool bar.&lt;/p&gt;
&lt;h2&gt;Move Raster / Scale Raster / Rotate Raster&lt;a title="Move Scale Rotate Mirror Wrap" name="Move Scale Rotate Mirror Wrap"&gt;&lt;/a&gt;&lt;/h2&gt;
&lt;p&gt;The &lt;em&gt;Move Raster, Scale Raster&lt;/em&gt; and &lt;em&gt;Rotate Raster&lt;/em&gt;&amp;nbsp;tools&amp;nbsp;do basic transformations on the raster. These three operations are found in the &lt;em&gt;Transform Raster&lt;/em&gt; tool or as separate tools in the Descartes Raster Control toolbox.&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
&lt;h3&gt;Anchor Point&lt;/h3&gt;
&lt;p&gt;Found in the &lt;em&gt;Transform Raster&lt;/em&gt; tool, the anchor point can be used with the scale or rotate tools to determine the location that will remain fixed or pinned in position.&amp;nbsp;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
&lt;blockquote&gt;
&lt;p&gt;&lt;em&gt;Productivity tip &lt;/em&gt;: Instead of moving the image after a scale or rotation operation use the anchor point.&lt;/p&gt;
&lt;/blockquote&gt;
&lt;p&gt;&amp;nbsp;&amp;nbsp;&lt;/p&gt;
&lt;h2&gt;Mirror&lt;/h2&gt;
&lt;p&gt;As the name implied, the &lt;em&gt;Mirror&lt;/em&gt; tool is used to mirror the selected raster.&lt;/p&gt;
&lt;table border="0"&gt;
&lt;tbody&gt;
&lt;tr&gt;
&lt;td&gt;
&lt;p&gt;&lt;img title="Bentley Descartes - Mirror Raster Options" alt="Bentley Descartes - Mirror Raster Options" border="0" src="/photos/mathieu_st-pierres_images/images/86683/original.aspx" /&gt;&lt;/p&gt;
&lt;/td&gt;
&lt;td&gt;
&lt;ul&gt;
&lt;li&gt;&lt;strong&gt;Mirror About:&lt;/strong&gt;&amp;nbsp; This option specifies the&amp;nbsp;axis to use for the&amp;nbsp;mirror operation. The available options are: &lt;em&gt;Horizontal, Vertical&lt;/em&gt; and &lt;em&gt;Line&lt;/em&gt;. The Line&amp;nbsp;option allows you to define the mirror line by entering two data points.&lt;/li&gt;
&lt;li&gt;&lt;strong&gt;Mirror Position: &lt;/strong&gt;This option can be used to specify the positioning mode of the mirror axis.&lt;/li&gt;
&lt;/ul&gt;
&lt;/td&gt;
&lt;/tr&gt;
&lt;/tbody&gt;
&lt;/table&gt;
&lt;p&gt;&amp;nbsp;&amp;nbsp;&lt;/p&gt;
&lt;h2&gt;Warp&lt;/h2&gt;
&lt;p&gt;The Warp Raster tool allows you to apply a move, scale, rotate or skew transformation or a combination of all those by specifying source to destination relationships.&lt;/p&gt;
&lt;table border="0"&gt;
&lt;tbody&gt;
&lt;tr&gt;
&lt;td&gt;
&lt;p&gt;&lt;img title="Bentley Descartes - Wrap Raster Options" alt="Bentley Descartes - Wrap Raster Options" border="0" src="/photos/mathieu_st-pierres_images/images/86684/original.aspx" /&gt;&lt;/p&gt;
&lt;/td&gt;
&lt;td&gt;
&lt;ul&gt;
&lt;li&gt;&lt;strong&gt;Method:&lt;/strong&gt;&amp;nbsp;This specifies the type of&amp;nbsp;geometric transformation&amp;nbsp;to use for the&amp;nbsp;warp operation. Each method uses a different combination of operations and minimum number of required points to define the operation.&lt;/li&gt;
&lt;/ul&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
&lt;/td&gt;
&lt;/tr&gt;
&lt;/tbody&gt;
&lt;/table&gt;
&lt;p&gt;&amp;nbsp;&amp;nbsp;&lt;/p&gt;
&lt;h3&gt;Example&lt;/h3&gt;
&lt;p&gt;For example, let&amp;#39;s say you want to fit an image in a rotated rectangle as show in the&amp;nbsp;graphic below.&lt;/p&gt;
&lt;p&gt;&lt;img title="Bentley Descartes - Warp Example - The Problem" alt="Bentley Descartes - Warp Example - The Problem" border="0" src="/photos/mathieu_st-pierres_images/images/86693/original.aspx" /&gt;&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;Since the rectangle doesn&amp;#39;t have the same height / width ratio as the image,&amp;nbsp;an affine transformation must be used.&amp;nbsp;&amp;nbsp;An affine transformation can be defined with&amp;nbsp;at least three source-to-destination relationships which are entered as pairs of data points.&amp;nbsp; The defined relationships and the&amp;nbsp;resulting warped&amp;nbsp;image&amp;nbsp;are shown in the graphic below :&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;&lt;img title="Bentley Descartes - Wrap Example - The Solution" alt="Bentley Descartes - Wrap Example - The Solution" border="0" src="/photos/mathieu_st-pierres_images/images/86694/original.aspx" /&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
&lt;blockquote&gt;
&lt;p&gt;&lt;em&gt;Productivity Tip&amp;nbsp;: &amp;nbsp;&lt;/em&gt;A warp&amp;nbsp;using the Align,&amp;nbsp;Helmert, and Similitude modes can also done using the basic Move, Scale and Rotate tools. However, when the source-to-destination relationships are known (i.e. : the&amp;nbsp;position,&amp;nbsp;scale and orientation of the image) it&amp;#39;s easier and faster to use the Warp tool rather than attempting to do the same with the Move, Scale and Rotate tools.&lt;/p&gt;
&lt;/blockquote&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
&lt;h2&gt;Square&lt;/h2&gt;
&lt;p&gt;The &lt;em&gt;Square &lt;/em&gt;tool is used to rotate a raster image by squaring a horizontal, vertical, or diagonal axis.&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
&lt;table style="height:111px;width:521px;" border="0"&gt;
&lt;tbody&gt;
&lt;tr&gt;
&lt;td&gt;
&lt;p&gt;&lt;img title="Bentley Descartes - Square Raster Options" alt="Bentley Descartes - Square Raster Options" border="0" src="/photos/mathieu_st-pierres_images/images/86685/original.aspx" /&gt;&lt;/p&gt;
&lt;/td&gt;
&lt;td&gt;
&lt;ul&gt;
&lt;li&gt;&lt;strong&gt;Axis: &lt;/strong&gt;This option allows you to set which axis to square the image about.&amp;nbsp; The options are:&amp;nbsp; &lt;em&gt;Horizontal, Vertical &lt;/em&gt;and &lt;em&gt;2 Lines&lt;/em&gt;.&lt;/li&gt;
&lt;li&gt;&lt;strong&gt;Attach Copy: &lt;/strong&gt;Turning this on will create a new attachment of the image.&amp;nbsp;&lt;/li&gt;
&lt;li&gt;&lt;strong&gt;Resample: &lt;/strong&gt;When this is on, the image is automatically resampled after the square operation.&lt;/li&gt;
&lt;/ul&gt;
&lt;/td&gt;
&lt;/tr&gt;
&lt;/tbody&gt;
&lt;/table&gt;
&lt;p&gt;&amp;nbsp;&amp;nbsp;&lt;/p&gt;
&lt;h2&gt;Crop&lt;/h2&gt;
&lt;p&gt;The &lt;em&gt;Crop&lt;/em&gt; tool allows you to remove&amp;nbsp;excess pixels on the outside of a specified area.&amp;nbsp; The result of a crop operation is visually identical to a clip operation, the difference being that the cropping operation modifies the source file while clipping doesn&amp;#39;t.&lt;/p&gt;
&lt;table border="0"&gt;
&lt;tbody&gt;
&lt;tr&gt;
&lt;td&gt;
&lt;p&gt;&lt;img title="Bentley Descartes - Crop Raster Options" alt="Bentley Descartes - Crop Raster Options" border="0" src="/photos/mathieu_st-pierres_images/images/86686/original.aspx" /&gt;&lt;/p&gt;
&lt;/td&gt;
&lt;td&gt;
&lt;ul&gt;
&lt;li&gt;&lt;strong&gt;Area:&lt;/strong&gt; The method used to specified the cropping area, which can be one of the following: &lt;em&gt;Block, Oriented Block, Element, &lt;/em&gt;and&lt;em&gt; Shape&lt;/em&gt;.&lt;/li&gt;
&lt;li&gt;&lt;strong&gt;Warp to area:&lt;/strong&gt; The resulting cropped image will be warped to the smallest rectangular area enclosing the crop area.&amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;/li&gt;
&lt;li&gt;&lt;a href="#Work%20In%20Image%20Plane"&gt;Work in Image Plane&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;&lt;strong&gt;Use Fence:&lt;/strong&gt; Use the defined fence for cropping the image.&lt;/li&gt;
&lt;/ul&gt;
&lt;/td&gt;
&lt;/tr&gt;
&lt;/tbody&gt;
&lt;/table&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
&lt;h3&gt;Warp to Area&lt;/h3&gt;
&lt;p&gt;This section demonstrates the use of the W&lt;em&gt;arp to Area&lt;/em&gt; option. The original image with the element defining the crop area is shown below.&lt;/p&gt;
&lt;p&gt;&lt;img title="Bentley Descartes - Crop Image Example" alt="Bentley Descartes - Crop Image Example" border="0" src="/photos/mathieu_st-pierres_images/images/88862/original.aspx" /&gt;&lt;/p&gt;
&lt;p&gt;When the &lt;em&gt;Warp to Area&lt;/em&gt; option is off, the resulting image&amp;nbsp;is created by&amp;nbsp;placing a rectangular non-oriented block around the crop area and copying the pixels found in that block in the source image to the destination image. The pixels in the block, but not in the cropped area, are set to black. The image below shows the resulting image and its border in magenta.&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;img title="Bentley Descartes - Crop Image With Warp Off" alt="Bentley Descartes - Crop Image With Warp Off" border="0" src="/photos/mathieu_st-pierres_images/images/88863/original.aspx" /&gt;&lt;/p&gt;
&lt;p&gt;When the &lt;em&gt;Warp to Area&lt;/em&gt; option is on, the resulting image is created by placing a rectangular oriented block around the crop area that minimize the size of the resulting image and warping the pixels found in that block in the source image to the destination image. The image below shows the resulting image and its border in magenta.&lt;/p&gt;
&lt;p&gt;As you can see, the resulting image in this example is much smaller when the area option is on then off (i.e. : 82&amp;nbsp;kB compared to 152 kB, almost twice as&amp;nbsp;small).&lt;/p&gt;
&lt;p&gt;&lt;img title="Bentley Descartes - Crop Example With Warp" alt="Bentley Descartes - Crop Example With Warp" border="0" src="/photos/mathieu_st-pierres_images/images/88864/original.aspx" /&gt;&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
&lt;blockquote&gt;
&lt;p&gt;&lt;em&gt;Productivity Tip : &lt;/em&gt;Use the Warp to Area option for diminishing the size of the file resulting from a crop operation. The more the crop area is diagonal in shape, the more the saving in space.&lt;/p&gt;
&lt;/blockquote&gt;
&lt;p&gt;&amp;nbsp;&amp;nbsp;&lt;/p&gt;
&lt;h2&gt;Resize Canvas&lt;/h2&gt;
&lt;p&gt;The &lt;em&gt;Resize Canvas &lt;/em&gt;tool is used to&amp;nbsp;enlarge or reduce the size of a raster.&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&amp;nbsp;&lt;/p&gt;
&lt;h2&gt;Merge&lt;a title="Merge Tool" name="Merge Tool"&gt;&lt;/a&gt;&amp;nbsp;&lt;/h2&gt;
&lt;p&gt;The &lt;em&gt;Merge&lt;/em&gt;&amp;nbsp;tools is used to&amp;nbsp;merge several rasters and vectors element together so as to form only one raster.&lt;/p&gt;
&lt;p&gt;&lt;img title="Bentley Descartes - Merge Options Dialog" alt="Bentley Descartes - Merge Options Dialog" border="0" src="/photos/mathieu_st-pierres_images/images/72274/original.aspx" /&gt;&amp;nbsp;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&amp;nbsp;&lt;/p&gt;
&lt;h3&gt;Options Group Pane&lt;/h3&gt;
&lt;p&gt;In this pane you can set all special options related to the merge operation.&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;&lt;strong&gt;Element to process:&lt;/strong&gt;&amp;nbsp; Select if rasters, vectors or both rasters and vectors found in the merge area will be merge. Vectors are merge using the &lt;a title="Bentley Descartes - Rasterize" href="/Wiki/view.aspx/Bentley_Descartes_-_Raster_Edition#Rasterize" rel="noopener noreferrer" target="_blank"&gt;rasterize&lt;/a&gt;&amp;nbsp;technology of Descartes.&lt;/li&gt;
&lt;li&gt;&lt;a title="Bentley Descartes - Use Line Mapping" href="/Wiki/view.aspx/Bentley_Descartes_-_Raster_Edition#Line%20Mapping%20Settings" rel="noopener noreferrer" target="_blank"&gt;Use Line Mapping&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;&lt;strong&gt;Create New Attachment(s):&amp;nbsp; &lt;/strong&gt;Automatically attach the raster resulting from the merge operation.&lt;/li&gt;
&lt;li&gt;&lt;strong&gt;Fill Clipped Area:&lt;/strong&gt;&amp;nbsp; If On, the clipped area will be filled with the MicroStation background color, otherwise the extents of the merged area will be rasterized.&lt;/li&gt;
&lt;/ul&gt;
&lt;p&gt;&amp;nbsp;&amp;nbsp;&lt;/p&gt;
&lt;h3&gt;Resolution Group Pane&lt;/h3&gt;
&lt;p&gt;In this pane you can set the resolution of the resulting raster. This settings is important because the rasters merged together can have different resolutions. Usually choosing a resolution twice as high as the highest resolution of all merged rasters will ensure that there is no loss in quality for all merged rasters.&lt;/p&gt;
&lt;h3&gt;Output Group Pane&lt;/h3&gt;
&lt;p&gt;In this pane you can set the options related to the raster created for the merge operation.&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;&lt;strong&gt;Output&amp;nbsp;type:&lt;/strong&gt;&amp;nbsp; Select if the merged elements will be written in one single raster file or multiple raster files, and the file format.&lt;/li&gt;
&lt;li&gt;&lt;strong&gt;Output Options:&lt;/strong&gt;&amp;nbsp; Set standard output options like compression, color space, etc...&lt;/li&gt;
&lt;li&gt;&lt;strong&gt;Grid Definition:&lt;/strong&gt;&amp;nbsp; Defines the DGN file of the&amp;nbsp;grid definition that should be used for determining the multiple raster files&amp;#39; boundaries.&lt;/li&gt;
&lt;li&gt;&lt;strong&gt;Model:&lt;/strong&gt;&amp;nbsp; Defines the specific model in the DGN file&amp;nbsp;containing the grid definition to use.&lt;/li&gt;
&lt;/ul&gt;
&lt;p&gt;&amp;nbsp;&amp;nbsp;&lt;/p&gt;
&lt;h2&gt;Corridor&lt;/h2&gt;
&lt;p&gt;The &lt;em&gt;Corridor&lt;/em&gt; tool allows user to copy all the rasters or parts of rasters from an area to another area. This destination and source areas are defined with standard MicroStation elements.&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&amp;nbsp;&lt;/p&gt;
&lt;table border="0"&gt;
&lt;tbody&gt;
&lt;tr&gt;
&lt;td&gt;&lt;img style="height:316px;width:441px;" title="Bentley Descartes - Corridor Options" alt="Bentley Descartes - Corridor Options" border="0" height="316" src="/photos/mathieu_st-pierres_images/images/89059/original.aspx" width="384" /&gt;&lt;/td&gt;
&lt;td&gt;
&lt;ul&gt;
&lt;li&gt;&lt;strong&gt;Options:&lt;/strong&gt; Select if the clip and transparent options in Raster Manager will be turn on or off for the newly created raster.&lt;/li&gt;
&lt;li&gt;&lt;strong&gt;Output Image Parameters:&lt;/strong&gt; Select the pixel size of the destination image and the transformation model used to resample the source data to the destination area.&lt;/li&gt;
&lt;li&gt;&lt;strong&gt;DGN Elements: &lt;/strong&gt;Select if the DGN elements in the source area will be copy to the destination area depending on if those elements are inside or overlap the area, and if overlap, if they are going to be clipped to the destination area or not.&lt;/li&gt;
&lt;/ul&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
&lt;/td&gt;
&lt;/tr&gt;
&lt;/tbody&gt;
&lt;/table&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;

&lt;div style="font-size: 90%;"&gt;Tags: Descartes, Database Interface&lt;/div&gt;
</description></item><item><title>Bentley Descartes - Raster Transformation</title><link>https://communities.bentley.com/products/3d_imaging_and_point_cloud_software/w/wiki/24943/bentley-descartes---raster-transformation/revision/1</link><pubDate>Mon, 02 Nov 2015 11:17:01 GMT</pubDate><guid isPermaLink="false">6dad98f5-dbc9-4c4d-a9ba-e9da8dc6aa8e:e7492bdd-2eca-48a5-8eb6-c8484212cd15</guid><dc:creator>Felix James</dc:creator><comments>https://communities.bentley.com/products/3d_imaging_and_point_cloud_software/w/wiki/24943/bentley-descartes---raster-transformation#comments</comments><description>Revision 1 posted to ContextCapture | Descartes | Pointools | Orbit Wiki by Felix James on 11/2/2015 11:17:01 AM&lt;br /&gt;
&lt;h2&gt;Raster Transformation&lt;/h2&gt;
&lt;p&gt;Bentley Descartes has many functionalities to transform a raster. This set of&amp;nbsp;tools differ from the raster edit tools in that they don&amp;#39;t modify the pixels&amp;#39; value of an image but its form and&amp;nbsp;content.&amp;nbsp; These functions can be found in the &lt;em&gt;Descartes Raster Control&lt;/em&gt; tool bar.&lt;/p&gt;
&lt;h2&gt;Move Raster / Scale Raster / Rotate Raster&lt;a name="Move Scale Rotate Mirror Wrap" title="Move Scale Rotate Mirror Wrap"&gt;&lt;/a&gt;&lt;/h2&gt;
&lt;p&gt;The &lt;em&gt;Move Raster, Scale Raster&lt;/em&gt; and &lt;em&gt;Rotate Raster&lt;/em&gt;&amp;nbsp;tools&amp;nbsp;do basic transformations on the raster. These three operations are found in the &lt;em&gt;Transform Raster&lt;/em&gt; tool or as separate tools in the Descartes Raster Control toolbox.&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
&lt;h3&gt;Anchor Point&lt;/h3&gt;
&lt;p&gt;Found in the &lt;em&gt;Transform Raster&lt;/em&gt; tool, the anchor point can be used with the scale or rotate tools to determine the location that will remain fixed or pinned in position.&amp;nbsp;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
&lt;blockquote&gt;
&lt;p&gt;&lt;em&gt;Productivity tip &lt;/em&gt;: Instead of moving the image after a scale or rotation operation use the anchor point.&lt;/p&gt;
&lt;/blockquote&gt;
&lt;p&gt;&amp;nbsp;&amp;nbsp;&lt;/p&gt;
&lt;h2&gt;Mirror&lt;/h2&gt;
&lt;p&gt;As the name implied, the &lt;em&gt;Mirror&lt;/em&gt; tool is used to mirror the selected raster.&lt;/p&gt;
&lt;table border="0"&gt;
&lt;tbody&gt;
&lt;tr&gt;
&lt;td&gt;
&lt;p&gt;&lt;img title="Bentley Descartes - Mirror Raster Options" alt="Bentley Descartes - Mirror Raster Options" src="/photos/mathieu_st-pierres_images/images/86683/original.aspx" border="0" /&gt;&lt;/p&gt;
&lt;/td&gt;
&lt;td&gt;
&lt;ul&gt;
&lt;li&gt;&lt;strong&gt;Mirror About:&lt;/strong&gt;&amp;nbsp; This option specifies the&amp;nbsp;axis to use for the&amp;nbsp;mirror operation. The available options are: &lt;em&gt;Horizontal, Vertical&lt;/em&gt; and &lt;em&gt;Line&lt;/em&gt;. The Line&amp;nbsp;option allows you to define the mirror line by entering two data points.&lt;/li&gt;
&lt;li&gt;&lt;strong&gt;Mirror Position: &lt;/strong&gt;This option can be used to specify the positioning mode of the mirror axis.&lt;/li&gt;
&lt;/ul&gt;
&lt;/td&gt;
&lt;/tr&gt;
&lt;/tbody&gt;
&lt;/table&gt;
&lt;p&gt;&amp;nbsp;&amp;nbsp;&lt;/p&gt;
&lt;h2&gt;Warp&lt;/h2&gt;
&lt;p&gt;The Warp Raster tool allows you to apply a move, scale, rotate or skew transformation or a combination of all those by specifying source to destination relationships.&lt;/p&gt;
&lt;table border="0"&gt;
&lt;tbody&gt;
&lt;tr&gt;
&lt;td&gt;
&lt;p&gt;&lt;img title="Bentley Descartes - Wrap Raster Options" alt="Bentley Descartes - Wrap Raster Options" src="/photos/mathieu_st-pierres_images/images/86684/original.aspx" border="0" /&gt;&lt;/p&gt;
&lt;/td&gt;
&lt;td&gt;
&lt;ul&gt;
&lt;li&gt;&lt;strong&gt;Method:&lt;/strong&gt;&amp;nbsp;This specifies the type of&amp;nbsp;geometric transformation&amp;nbsp;to use for the&amp;nbsp;warp operation. Each method uses a different combination of operations and minimum number of required points to define the operation.&lt;/li&gt;
&lt;/ul&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
&lt;/td&gt;
&lt;/tr&gt;
&lt;/tbody&gt;
&lt;/table&gt;
&lt;p&gt;&amp;nbsp;&amp;nbsp;&lt;/p&gt;
&lt;h3&gt;Example&lt;/h3&gt;
&lt;p&gt;For example, let&amp;#39;s say you want to fit an image in a rotated rectangle as show in the&amp;nbsp;graphic below.&lt;/p&gt;
&lt;p&gt;&lt;img title="Bentley Descartes - Warp Example - The Problem" alt="Bentley Descartes - Warp Example - The Problem" src="/photos/mathieu_st-pierres_images/images/86693/original.aspx" border="0" /&gt;&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;Since the rectangle doesn&amp;#39;t have the same height / width ratio as the image,&amp;nbsp;an affine transformation must be used.&amp;nbsp;&amp;nbsp;An affine transformation can be defined with&amp;nbsp;at least three source-to-destination relationships which are entered as pairs of data points.&amp;nbsp; The defined relationships and the&amp;nbsp;resulting warped&amp;nbsp;image&amp;nbsp;are shown in the graphic below :&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;&lt;img title="Bentley Descartes - Wrap Example - The Solution" alt="Bentley Descartes - Wrap Example - The Solution" src="/photos/mathieu_st-pierres_images/images/86694/original.aspx" border="0" /&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
&lt;blockquote&gt;
&lt;p&gt;&lt;em&gt;Productivity Tip&amp;nbsp;: &amp;nbsp;&lt;/em&gt;A warp&amp;nbsp;using the Align,&amp;nbsp;Helmert, and Similitude modes can also done using the basic Move, Scale and Rotate tools. However, when the source-to-destination relationships are known (i.e. : the&amp;nbsp;position,&amp;nbsp;scale and orientation of the image) it&amp;#39;s easier and faster to use the Warp tool rather than attempting to do the same with the Move, Scale and Rotate tools.&lt;/p&gt;
&lt;/blockquote&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
&lt;h2&gt;Square&lt;/h2&gt;
&lt;p&gt;The &lt;em&gt;Square &lt;/em&gt;tool is used to rotate a raster image by squaring a horizontal, vertical, or diagonal axis.&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
&lt;table style="width:521px;height:111px;" border="0"&gt;
&lt;tbody&gt;
&lt;tr&gt;
&lt;td&gt;
&lt;p&gt;&lt;img title="Bentley Descartes - Square Raster Options" alt="Bentley Descartes - Square Raster Options" src="/photos/mathieu_st-pierres_images/images/86685/original.aspx" border="0" /&gt;&lt;/p&gt;
&lt;/td&gt;
&lt;td&gt;
&lt;ul&gt;
&lt;li&gt;&lt;strong&gt;Axis: &lt;/strong&gt;This option allows you to set which axis to square the image about.&amp;nbsp; The options are:&amp;nbsp; &lt;em&gt;Horizontal, Vertical &lt;/em&gt;and &lt;em&gt;2 Lines&lt;/em&gt;.&lt;/li&gt;
&lt;li&gt;&lt;strong&gt;Attach Copy: &lt;/strong&gt;Turning this on will create a new attachment of the image.&amp;nbsp;&lt;/li&gt;
&lt;li&gt;&lt;strong&gt;Resample: &lt;/strong&gt;When this is on, the image is automatically resampled after the square operation.&lt;/li&gt;
&lt;/ul&gt;
&lt;/td&gt;
&lt;/tr&gt;
&lt;/tbody&gt;
&lt;/table&gt;
&lt;p&gt;&amp;nbsp;&amp;nbsp;&lt;/p&gt;
&lt;h2&gt;Crop&lt;/h2&gt;
&lt;p&gt;The &lt;em&gt;Crop&lt;/em&gt; tool allows you to remove&amp;nbsp;excess pixels on the outside of a specified area.&amp;nbsp; The result of a crop operation is visually identical to a clip operation, the difference being that the cropping operation modifies the source file while clipping doesn&amp;#39;t.&lt;/p&gt;
&lt;table border="0"&gt;
&lt;tbody&gt;
&lt;tr&gt;
&lt;td&gt;
&lt;p&gt;&lt;img title="Bentley Descartes - Crop Raster Options" alt="Bentley Descartes - Crop Raster Options" src="/photos/mathieu_st-pierres_images/images/86686/original.aspx" border="0" /&gt;&lt;/p&gt;
&lt;/td&gt;
&lt;td&gt;
&lt;ul&gt;
&lt;li&gt;&lt;strong&gt;Area:&lt;/strong&gt; The method used to specified the cropping area, which can be one of the following: &lt;em&gt;Block, Oriented Block, Element, &lt;/em&gt;and&lt;em&gt; Shape&lt;/em&gt;.&lt;/li&gt;
&lt;li&gt;&lt;strong&gt;Warp to area:&lt;/strong&gt; The resulting cropped image will be warped to the smallest rectangular area enclosing the crop area.&amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;/li&gt;
&lt;li&gt;&lt;a href="#Work%20In%20Image%20Plane"&gt;Work in Image Plane&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;&lt;strong&gt;Use Fence:&lt;/strong&gt; Use the defined fence for cropping the image.&lt;/li&gt;
&lt;/ul&gt;
&lt;/td&gt;
&lt;/tr&gt;
&lt;/tbody&gt;
&lt;/table&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
&lt;h3&gt;Warp to Area&lt;/h3&gt;
&lt;p&gt;This section demonstrates the use of the W&lt;em&gt;arp to Area&lt;/em&gt; option. The original image with the element defining the crop area is shown below.&lt;/p&gt;
&lt;p&gt;&lt;img title="Bentley Descartes - Crop Image Example" alt="Bentley Descartes - Crop Image Example" src="/photos/mathieu_st-pierres_images/images/88862/original.aspx" border="0" /&gt;&lt;/p&gt;
&lt;p&gt;When the &lt;em&gt;Warp to Area&lt;/em&gt; option is off, the resulting image&amp;nbsp;is created by&amp;nbsp;placing a rectangular non-oriented block around the crop area and copying the pixels found in that block in the source image to the destination image. The pixels in the block, but not in the cropped area, are set to black. The image below shows the resulting image and its border in magenta.&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;img title="Bentley Descartes - Crop Image With Warp Off" alt="Bentley Descartes - Crop Image With Warp Off" src="/photos/mathieu_st-pierres_images/images/88863/original.aspx" border="0" /&gt;&lt;/p&gt;
&lt;p&gt;When the &lt;em&gt;Warp to Area&lt;/em&gt; option is on, the resulting image is created by placing a rectangular oriented block around the crop area that minimize the size of the resulting image and warping the pixels found in that block in the source image to the destination image. The image below shows the resulting image and its border in magenta.&lt;/p&gt;
&lt;p&gt;As you can see, the resulting image in this example is much smaller when the area option is on then off (i.e. : 82&amp;nbsp;kB compared to 152 kB, almost twice as&amp;nbsp;small).&lt;/p&gt;
&lt;p&gt;&lt;img title="Bentley Descartes - Crop Example With Warp" alt="Bentley Descartes - Crop Example With Warp" src="/photos/mathieu_st-pierres_images/images/88864/original.aspx" border="0" /&gt;&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
&lt;blockquote&gt;
&lt;p&gt;&lt;em&gt;Productivity Tip : &lt;/em&gt;Use the Warp to Area option for diminishing the size of the file resulting from a crop operation. The more the crop area is diagonal in shape, the more the saving in space.&lt;/p&gt;
&lt;/blockquote&gt;
&lt;p&gt;&amp;nbsp;&amp;nbsp;&lt;/p&gt;
&lt;h2&gt;Resize Canvas&lt;/h2&gt;
&lt;p&gt;The &lt;em&gt;Resize Canvas &lt;/em&gt;tool is used to&amp;nbsp;enlarge or reduce the size of a raster.&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&amp;nbsp;&lt;/p&gt;
&lt;h2&gt;Merge&lt;a name="Merge Tool" title="Merge Tool"&gt;&lt;/a&gt;&amp;nbsp;&lt;/h2&gt;
&lt;p&gt;The &lt;em&gt;Merge&lt;/em&gt;&amp;nbsp;tools is used to&amp;nbsp;merge several rasters and vectors element together so as to form only one raster.&lt;/p&gt;
&lt;p&gt;&lt;img title="Bentley Descartes - Merge Options Dialog" alt="Bentley Descartes - Merge Options Dialog" src="/photos/mathieu_st-pierres_images/images/72274/original.aspx" border="0" /&gt;&amp;nbsp;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&amp;nbsp;&lt;/p&gt;
&lt;h3&gt;Options Group Pane&lt;/h3&gt;
&lt;p&gt;In this pane you can set all special options related to the merge operation.&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;&lt;strong&gt;Element to process:&lt;/strong&gt;&amp;nbsp; Select if rasters, vectors or both rasters and vectors found in the merge area will be merge. Vectors are merge using the &lt;a title="Bentley Descartes - Rasterize" href="/Wiki/view.aspx/Bentley_Descartes_-_Raster_Edition#Rasterize" target="_blank"&gt;rasterize&lt;/a&gt;&amp;nbsp;technology of Descartes.&lt;/li&gt;
&lt;li&gt;&lt;a title="Bentley Descartes - Use Line Mapping" href="/Wiki/view.aspx/Bentley_Descartes_-_Raster_Edition#Line%20Mapping%20Settings" target="_blank"&gt;Use Line Mapping&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;&lt;strong&gt;Create New Attachment(s):&amp;nbsp; &lt;/strong&gt;Automatically attach the raster resulting from the merge operation.&lt;/li&gt;
&lt;li&gt;&lt;strong&gt;Fill Clipped Area:&lt;/strong&gt;&amp;nbsp; If On, the clipped area will be filled with the MicroStation background color, otherwise the extents of the merged area will be rasterized.&lt;/li&gt;
&lt;/ul&gt;
&lt;p&gt;&amp;nbsp;&amp;nbsp;&lt;/p&gt;
&lt;h3&gt;Resolution Group Pane&lt;/h3&gt;
&lt;p&gt;In this pane you can set the resolution of the resulting raster. This settings is important because the rasters merged together can have different resolutions. Usually choosing a resolution twice as high as the highest resolution of all merged rasters will ensure that there is no loss in quality for all merged rasters.&lt;/p&gt;
&lt;h3&gt;Output Group Pane&lt;/h3&gt;
&lt;p&gt;In this pane you can set the options related to the raster created for the merge operation.&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;&lt;strong&gt;Output&amp;nbsp;type:&lt;/strong&gt;&amp;nbsp; Select if the merged elements will be written in one single raster file or multiple raster files, and the file format.&lt;/li&gt;
&lt;li&gt;&lt;strong&gt;Output Options:&lt;/strong&gt;&amp;nbsp; Set standard output options like compression, color space, etc...&lt;/li&gt;
&lt;li&gt;&lt;strong&gt;Grid Definition:&lt;/strong&gt;&amp;nbsp; Defines the DGN file of the&amp;nbsp;grid definition that should be used for determining the multiple raster files&amp;#39; boundaries.&lt;/li&gt;
&lt;li&gt;&lt;strong&gt;Model:&lt;/strong&gt;&amp;nbsp; Defines the specific model in the DGN file&amp;nbsp;containing the grid definition to use.&lt;/li&gt;
&lt;/ul&gt;
&lt;p&gt;&amp;nbsp;&amp;nbsp;&lt;/p&gt;
&lt;h2&gt;Corridor&lt;/h2&gt;
&lt;p&gt;The &lt;em&gt;Corridor&lt;/em&gt; tool allows user to copy all the rasters or parts of rasters from an area to another area. This destination and source areas are defined with standard MicroStation elements.&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&amp;nbsp;&lt;/p&gt;
&lt;table border="0"&gt;
&lt;tbody&gt;
&lt;tr&gt;
&lt;td&gt;&lt;img width="384" height="316" title="Bentley Descartes - Corridor Options" style="width:441px;height:316px;" alt="Bentley Descartes - Corridor Options" src="/photos/mathieu_st-pierres_images/images/89059/original.aspx" border="0" /&gt;&lt;/td&gt;
&lt;td&gt;
&lt;ul&gt;
&lt;li&gt;&lt;strong&gt;Options:&lt;/strong&gt; Select if the clip and transparent options in Raster Manager will be turn on or off for the newly created raster.&lt;/li&gt;
&lt;li&gt;&lt;strong&gt;Output Image Parameters:&lt;/strong&gt; Select the pixel size of the destination image and the transformation model used to resample the source data to the destination area.&lt;/li&gt;
&lt;li&gt;&lt;strong&gt;DGN Elements: &lt;/strong&gt;Select if the DGN elements in the source area will be copy to the destination area depending on if those elements are inside or overlap the area, and if overlap, if they are going to be clipped to the destination area or not.&lt;/li&gt;
&lt;/ul&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
&lt;/td&gt;
&lt;/tr&gt;
&lt;/tbody&gt;
&lt;/table&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;

&lt;div style="font-size: 90%;"&gt;Tags: Descartes, Database Interface&lt;/div&gt;
</description></item></channel></rss>