<?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 Editing</title><link>https://communities.bentley.com/products/3d_imaging_and_point_cloud_software/w/wiki/24915/bentley-descartes---raster-editing</link><description /><dc:language>en-US</dc:language><generator>Telligent Community 12</generator><item><title>Bentley Descartes - Raster Editing</title><link>https://communities.bentley.com/products/3d_imaging_and_point_cloud_software/w/wiki/24915/bentley-descartes---raster-editing</link><pubDate>Thu, 19 Mar 2020 12:41:02 GMT</pubDate><guid isPermaLink="false">6dad98f5-dbc9-4c4d-a9ba-e9da8dc6aa8e:1941acf5-0131-44f5-b4c8-d878c84309ee</guid><dc:creator>Pascal Cloutier</dc:creator><comments>https://communities.bentley.com/products/3d_imaging_and_point_cloud_software/w/wiki/24915/bentley-descartes---raster-editing#comments</comments><description>Current Revision posted to ContextCapture | Descartes | Pointools | Orbit Wiki by Pascal Cloutier on 3/19/2020 12:41:02 PM&lt;br /&gt;
&lt;h1&gt;Raster Editing&lt;/h1&gt;
&lt;p&gt;Bentley Descartes provides many functions for modifying the pixels&amp;#39; value of a raster, of any pixel type, provided that the file format used to store the raster is supported in write mode.&lt;/p&gt;
&lt;h2&gt;Touch-up&lt;/h2&gt;
&lt;p&gt;The Touch-up tools are use to modify the content of pixels with tools which emulate physical brushes and erasers.&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;&lt;img title="Touch-up toolbox" alt="Touch-up toolbox" border="0" src="/photos/mathieu_st-pierres_images/images/56796/original.aspx" /&gt;&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
&lt;h3&gt;Paint&lt;/h3&gt;
&lt;p&gt;The Paint tool allows the user to paint on the image as if was painting with a brush on a physical canvas.&lt;/p&gt;
&lt;table border="0"&gt;
&lt;tbody&gt;
&lt;tr&gt;
&lt;td&gt;
&lt;p&gt;&lt;img title="Paint Settings" alt="Paint Settings" border="0" src="/photos/mathieu_st-pierres_images/images/57752/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;: Allow the user to chose the methods, area or one of the&amp;nbsp;&amp;nbsp; three&amp;nbsp;types of brush.&lt;/li&gt;
&lt;li&gt;&lt;strong&gt;Area&lt;/strong&gt;: Only available when the method chosen is area, it lets the user specify the type of area to use.&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;Red, Green, Blue&lt;/strong&gt;: For choosing the color of the paint.&lt;/li&gt;
&lt;li&gt;&lt;strong&gt;Paint Mask&lt;/strong&gt;: For choosing a mask that will work has a stencil when painting. This is only available when using the method &lt;em&gt;Area&lt;/em&gt;.&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;p&gt;&amp;nbsp;&lt;/p&gt;
&lt;h4&gt;Which&amp;nbsp;Paint Method?&lt;/h4&gt;
&lt;p&gt;&lt;strong&gt;The brush method&lt;/strong&gt;, also known as &amp;quot;interactive&amp;nbsp;painting&amp;quot;&amp;nbsp;requires much dexterity and&amp;nbsp;can lead to the coloring of undesired area.&amp;nbsp;&lt;/p&gt;
&lt;p&gt;The basic shape of the three types of brush are shown below.&lt;/p&gt;
&lt;p&gt;&lt;img alt=" " border="0" src="/photos/mathieu_st-pierres_images/images/57758/original.aspx" /&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;&lt;strong&gt;The area method&lt;/strong&gt; is different from using&amp;nbsp;brushes in that the area to be painted is selected and the brushing of this area is done instantly instead of brushing the area manually with one of the brushes. The different ways of choosing the area is shown in the picture below. Note that it is possible to choose a color mask which will work has a stencil and impedes the modification of all pixels in the area that are masked. It is also possible to choose the whole image as the area. &lt;em&gt;Beware &lt;/em&gt;that when using image as the area all the pixels of the image are going to be painted unless some of them are masked. In other words, the contents of your image will be loss if no mask has been set.&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;&lt;img title="Paint Area Types" alt="Paint Area Types" border="0" src="/photos/mathieu_st-pierres_images/images/58046/original.aspx" /&gt;&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;&lt;strong&gt;&lt;span style="text-decoration:underline;"&gt;Brush Method vs Area method&lt;/span&gt;&lt;/strong&gt;&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;The brush method is useful when you have to do small touch-up to complex&amp;nbsp;area while the area method is more useful when painting big area of simple shape.&lt;/li&gt;
&lt;li&gt;The brush method required more dexterity than the area method and it is advised when using the brush method to divide a long brushing operation to many small ones to ensure that if you have to undo your last brush operation you will have only a small area to re-brush.&lt;/li&gt;
&lt;li&gt;You cannot use mask with the brush method.&lt;/li&gt;
&lt;/ul&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
&lt;blockquote&gt;
&lt;p&gt;&lt;em&gt;Productivity&amp;nbsp;Tip : &lt;/em&gt;If you want to paint basic geometric form on the raster, use the &lt;a title="stamp vector tool" href="#Stamp%20Vector%20Tool"&gt;stamp vector tool&lt;/a&gt;.&lt;/p&gt;
&lt;/blockquote&gt;
&lt;p&gt;&amp;nbsp;&amp;nbsp;&lt;/p&gt;
&lt;h3&gt;Erase&lt;/h3&gt;
&lt;p&gt;The Erase tool is quite similar the to Paint tool except that the color is always fix to black and no color mask can be chosen.&lt;/p&gt;
&lt;p&gt;&lt;img title="Erase settings" alt="Erase settings" border="0" src="/photos/mathieu_st-pierres_images/images/57750/original.aspx" /&gt;&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&amp;nbsp;&lt;/p&gt;
&lt;h3&gt;Cleanup&lt;/h3&gt;
&lt;p&gt;The Cleanup tool allows the user to remove small aggregate of pixels of different color than the surrounding pixels. Such speckles often&amp;nbsp;occurs on image created from scanned document.&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
&lt;table style="height:237px;width:735px;" border="0"&gt;
&lt;tbody&gt;
&lt;tr&gt;
&lt;td&gt;
&lt;p&gt;&lt;img title="Cleanup settings" alt="Cleanup settings" border="0" src="/photos/mathieu_st-pierres_images/images/57751/original.aspx" /&gt;&lt;/p&gt;
&lt;/td&gt;
&lt;td&gt;
&lt;ul&gt;
&lt;li&gt;&lt;strong&gt;Size&lt;/strong&gt;: Specify the size of the speckle (or hole) size to be removed in working units. &lt;br /&gt;&lt;br /&gt;&lt;em&gt;Productivity&amp;nbsp;Tip&lt;/em&gt;: Use the yellow ruler to measure directly on the screen the size of the speckle you want to remove.&lt;/li&gt;
&lt;/ul&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;&lt;strong&gt;Method&lt;/strong&gt;: Use to determine if you want to remove speckle or hole.&lt;/li&gt;
&lt;li&gt;&lt;strong&gt;Area&lt;/strong&gt;: Specify the area that needs to be cleanup.&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;Red, Green, Blue&lt;/strong&gt;:&amp;nbsp;Specify the color to use to paint over the speckles or to fill the holes. &lt;br /&gt;&lt;br /&gt;&lt;em&gt;Binary Tip&lt;/em&gt;: For binary images, the image&amp;#39;s background color is automatically used to remove the speckles and the foreground color for filling the hole.&lt;/li&gt;
&lt;li&gt;&lt;strong&gt;Paint Mask:&lt;/strong&gt; For choosing a mask that will work has a stencil when painting. This is only available when using the method Area.&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;Flood&lt;/h3&gt;
&lt;p&gt;The flood tool allows use to fill an empty area with just one click. The flood tool is similar to the famous paint bucket tool found in many image editing software, but it works only on binary raster (i.e. : black and white or two colors).&lt;/p&gt;
&lt;p&gt;Below is a small example of using the flood tool to fill with green a small area on the binary raster, the left picture representing the image before the flood operation, and the right, the image after the flood operation.&lt;/p&gt;
&lt;p&gt;&lt;img title="Bentley Descartes - Flood Example" alt="Bentley Descartes - Flood Example" border="0" src="/photos/mathieu_st-pierres_images/images/117680/original.aspx" /&gt;&lt;/p&gt;
&lt;h2&gt;Combine&lt;/h2&gt;
&lt;p&gt;The combine tool can be used to combine the foreground&amp;nbsp;data of two binary images together and save the result in a destination binary image.&amp;nbsp;&amp;nbsp;&lt;/p&gt;
&lt;table border="0"&gt;
&lt;tbody&gt;
&lt;tr&gt;
&lt;td&gt;&lt;img align="top" title="Bentley Descartes - Combine Images Dialog" alt="Bentley Descartes - Combine Images Dialog" border="0" src="/photos/mathieu_st-pierres_images/images/122175/original.aspx" /&gt;&lt;/td&gt;
&lt;td&gt;
&lt;ul&gt;
&lt;li&gt;&lt;strong&gt;Type (four icons&amp;nbsp;at the top)&amp;nbsp;:&amp;nbsp;&lt;/strong&gt;The combine operation type, which can be Or, And, Xor or Compare.&lt;/li&gt;
&lt;li&gt;&lt;strong&gt;Area :&lt;/strong&gt; The type of area to be used for selecting the overlapping region to be combined.&lt;/li&gt;
&lt;li&gt;&lt;strong&gt;Source 1 :&lt;/strong&gt; The first binary image used for the combine operation.&lt;/li&gt;
&lt;li&gt;&lt;strong&gt;Source 2 :&lt;/strong&gt; The second binary image used for the combine operation.&lt;/li&gt;
&lt;li&gt;&lt;strong&gt;Destination :&lt;/strong&gt; The destination binary image that is going to contain the combine operation result.&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;/ul&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;&lt;strong&gt;&amp;nbsp;&lt;/strong&gt;&amp;nbsp;&lt;/p&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;&lt;/p&gt;
&lt;h3&gt;Examples&lt;/h3&gt;
&lt;p&gt;This section presents an example for each different combine type available. The two binary rasters used as the sources are presented below. Note that&amp;nbsp;the source 1&amp;#39;s foreground color is white while the source 2&amp;#39;s foreground color is green and that some foreground pixels from both binary raster are overlapping in two distinct areas.&lt;/p&gt;
&lt;table border="0"&gt;
&lt;tbody&gt;
&lt;tr&gt;
&lt;td&gt;
&lt;p&gt;&lt;strong&gt;Source 1 In Front Of Source 2&lt;/strong&gt;&lt;/p&gt;
&lt;p&gt;&lt;img title="Bentley Descartes - Combine Example - Sources Images" alt="Bentley Descartes - Combine Example - Sources Images " border="0" src="/photos/mathieu_st-pierres_images/images/122304/original.aspx" /&gt; &amp;nbsp;&amp;nbsp;&lt;/p&gt;
&lt;/td&gt;
&lt;td&gt;
&lt;p&gt;&lt;strong&gt;Source 2 In Front Of Source&lt;/strong&gt; &lt;strong&gt;1&lt;/strong&gt;&lt;/p&gt;
&lt;p&gt;&lt;img title="Bentley Descartes - Combine Example Sources 2" alt="Bentley Descartes - Combine Example Sources 2" border="0" src="/photos/mathieu_st-pierres_images/images/122316/original.aspx" /&gt;&lt;/p&gt;
&lt;/td&gt;
&lt;/tr&gt;
&lt;/tbody&gt;
&lt;/table&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
&lt;h4&gt;AND&lt;/h4&gt;
&lt;p&gt;When the&amp;nbsp;AND combine type is chosen the overlapping pixels of both source rasters at one location are AND together. If both pixels have a value of 1 (i.e. : foreground color), the destination raster will have its corresponding pixel set to 1. In all other case, the destination raster&amp;#39;s corresponding pixel will be set to 0.&lt;/p&gt;
&lt;table border="0"&gt;
&lt;tbody&gt;
&lt;tr&gt;
&lt;td&gt;
&lt;p&gt;&lt;strong&gt;Destination With Sources&lt;/strong&gt;&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;img title="Bentley Descartes - Combine AND Example" alt="Bentley Descartes - Combine AND Example" border="0" src="/photos/mathieu_st-pierres_images/images/122305/original.aspx" /&gt;&amp;nbsp;&amp;nbsp;&lt;/p&gt;
&lt;/td&gt;
&lt;td&gt;
&lt;p&gt;&lt;strong&gt;Destination Only&lt;/strong&gt;&lt;/p&gt;
&lt;p&gt;&lt;img title="Bentley Descartes - Combine AND No Sources Example" alt="Bentley Descartes - Combine AND No Sources Example" border="0" src="/photos/mathieu_st-pierres_images/images/122306/original.aspx" /&gt;&amp;nbsp;&lt;/p&gt;
&lt;/td&gt;
&lt;/tr&gt;
&lt;/tbody&gt;
&lt;/table&gt;
&lt;blockquote&gt;
&lt;p&gt;&lt;em&gt;Usage Tip :&lt;/em&gt; The AND combine type is useful for finding overlapping foreground areas in both source rasters.&lt;/p&gt;
&lt;/blockquote&gt;
&lt;h4&gt;OR&lt;/h4&gt;
&lt;p&gt;When the&amp;nbsp;OR combine type is chosen the overlapping pixels of both source rasters at one location are OR together. If at least one of the source pixels has a value of 1 (i.e. : foreground color), the destination raster will have its corresponding pixel set to 1. The destination raster&amp;#39;s corresponding pixel will be set to 0 only if the overlapping pixels in both raster are set to 0.&lt;/p&gt;
&lt;p&gt;&lt;img title="Bentley Descartes - Combine OR Example" alt="Bentley Descartes - Combine OR Example" border="0" src="/photos/mathieu_st-pierres_images/images/122307/original.aspx" /&gt;&lt;/p&gt;
&lt;blockquote&gt;
&lt;p&gt;&lt;em&gt;Usage Tip :&lt;/em&gt; The OR combine type is useful for mergin together two binary rasters or part of two binary rasters.&lt;/p&gt;
&lt;/blockquote&gt;
&lt;h4&gt;XOR&lt;/h4&gt;
&lt;p&gt;When the XOR combine type is chosen the overlapping pixels of both source rasters at one location are XOR together. If one and only one source pixels has a value of 1 (i.e. : foreground color), the destination raster will have its corresponding pixel set to 1. The destination raster&amp;#39;s corresponding pixel will be set to 0 if both overlapping source pixels have the same value, being 0 or 1.&lt;/p&gt;
&lt;table border="0"&gt;
&lt;tbody&gt;
&lt;tr&gt;
&lt;td&gt;
&lt;p&gt;&lt;strong&gt;Destination With Sources&lt;/strong&gt;&lt;/p&gt;
&lt;p&gt;&lt;img title="Bentley Descartes - Combine XOR Example" alt="Bentley Descartes - Combine XOR Example" border="0" src="/photos/mathieu_st-pierres_images/images/122308/original.aspx" /&gt;&amp;nbsp;&amp;nbsp;&lt;/p&gt;
&lt;/td&gt;
&lt;td&gt;
&lt;p&gt;&lt;strong&gt;Destination Only&lt;/strong&gt;&lt;/p&gt;
&lt;p&gt;&lt;img title="Bentley Descartes - Combine XOR No Source Example " alt="Bentley Descartes - Combine XOR No Source Example " border="0" src="/photos/mathieu_st-pierres_images/images/122309/original.aspx" /&gt;&lt;/p&gt;
&lt;/td&gt;
&lt;/tr&gt;
&lt;/tbody&gt;
&lt;/table&gt;
&lt;blockquote&gt;
&lt;p&gt;&lt;em&gt;Usage Tip :&lt;/em&gt; The XOR combine type is useful for finding all foreground data that are not overlapping. In that regard, the XOR type is the opposite of the AND type.&lt;/p&gt;
&lt;/blockquote&gt;
&lt;h4&gt;Compare&lt;/h4&gt;
&lt;p&gt;When the&amp;nbsp;&lt;em&gt;compare&lt;/em&gt; combine type is chosen the pixel value of the first source is compared with the second source. The foreground pixel of the first source raster will be written to the destination raster only if the second source raster&amp;#39;s overlapping pixel is not set to 1. Otherwise the 0 will be written to the destination raster.&lt;/p&gt;
&lt;table border="0"&gt;
&lt;tbody&gt;
&lt;tr&gt;
&lt;td&gt;
&lt;p&gt;&lt;strong&gt;Destination With Sources&lt;/strong&gt;&lt;/p&gt;
&lt;p&gt;&lt;img title="Bentley Descartes - Combine Compare Example " alt="Bentley Descartes - Combine Compare Example " border="0" src="/photos/mathieu_st-pierres_images/images/122310/original.aspx" /&gt; &amp;nbsp;&amp;nbsp;&lt;/p&gt;
&lt;/td&gt;
&lt;td&gt;
&lt;p&gt;&lt;strong&gt;Destination Only&lt;/strong&gt;&lt;/p&gt;
&lt;p&gt;&lt;img title="Bentley Descartes - Combine No Source Compare Example " alt="Bentley Descartes - Combine Compare No Source Example " border="0" src="/photos/mathieu_st-pierres_images/images/122311/original.aspx" /&gt;&lt;/p&gt;
&lt;/td&gt;
&lt;/tr&gt;
&lt;/tbody&gt;
&lt;/table&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
&lt;blockquote&gt;
&lt;p&gt;&lt;em&gt;Usage Tip :&lt;/em&gt; The&amp;nbsp;compare&amp;nbsp;combine type can be used to determine the pixels in the first source raster that are equal to 1 and for which the corresponding pixels in the second source raster are not equal to 1.&lt;/p&gt;
&lt;/blockquote&gt;
&lt;h2&gt;Rasterize&lt;/h2&gt;
&lt;p&gt;The&amp;nbsp;rasterize tools&amp;nbsp;give&amp;nbsp;the user different&amp;nbsp;possibilities to rasterized vectors hovering on a raster. The process of rasterizing consists to convert vector element hovering a raster to a series of pixels in the destination raster representing the vector element.&lt;/p&gt;
&lt;p&gt;&lt;img title="Rasterize Toolbox" alt="Rasterize Toolbox" border="0" src="/photos/mathieu_st-pierres_images/images/59445/original.aspx" /&gt;&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&amp;nbsp;&lt;/p&gt;
&lt;h3&gt;Stamp Vector &lt;a title="Stamp Vector Tool" name="Stamp Vector Tool"&gt;&lt;/a&gt;&lt;/h3&gt;
&lt;p&gt;The Stamp Vector tool can be use to stamp selected vectors directly to an attached raster. Stamping vectors can be very useful when basic geometric needs to be painted on a raster.&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
&lt;table border="0"&gt;
&lt;tbody&gt;
&lt;tr&gt;
&lt;td&gt;
&lt;p&gt;&lt;img title="Stamp Vector Settings" alt="Stamp Vector Settings" border="0" src="/photos/mathieu_st-pierres_images/images/59446/original.aspx" /&gt;&lt;/p&gt;
&lt;/td&gt;
&lt;td&gt;
&lt;ul&gt;
&lt;li&gt;&lt;strong&gt;Use Fence:&lt;/strong&gt; Select this checkbox if you want to use a fence as selector of vector elements to be stamped.&lt;/li&gt;
&lt;li&gt;&lt;strong&gt;Use this View:&lt;/strong&gt; This setting allows the user to select a view that is going to be used for all stamping operation.&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;p&gt;&amp;nbsp;&lt;/p&gt;
&lt;h4&gt;An Example - Drawing&amp;nbsp;A Circle On A Raster&lt;/h4&gt;
&lt;p&gt;Drawing a simple red circle of a given radius and its the radius dimension can be tremendously complicated and time consuming to do with the touch-up tools.&amp;nbsp;Combining&amp;nbsp;the vector drawing capabilities of MicroStation with the rasterizing capabilities of Bentley Descartes makes this task very easy to accomplished. To prove that this task is quite&lt;/p&gt;
&lt;ol&gt;
&lt;li&gt;
&lt;div&gt;First, you draw the circle with a certain radius, for example 5 units, over the given place on the raster that you want the circle to be stamped. Add the dimension of the circle with the MicroStation&amp;#39;s Radial Dimensions tool. &lt;br /&gt;&lt;img title="Stamp Vector Example - Step 1" alt="Stamp Vector Example - Step 1" border="0" src="/photos/mathieu_st-pierres_images/images/59740/original.aspx" /&gt;&lt;/div&gt;
&lt;/li&gt;
&lt;li&gt;
&lt;div&gt;Then, place a fence around the circle and dimension elements that you have drawn. &lt;br /&gt;&lt;img title="Stamp Vector Example - Step 2" alt="Stamp Vector Example - Step 2" border="0" src="/photos/mathieu_st-pierres_images/images/59741/original.aspx" /&gt;&lt;/div&gt;
&lt;/li&gt;
&lt;li&gt;
&lt;div&gt;Select the stamp vector tool, check the Use Fence setting on the Stamp Vector setting dialog box and click on the view that you want to use for the stamping. In the picture below, the original circle and dimension elements have been set to green and offset from their original locations to show the result of the stamp operation : the pixels painted in red on the raster.&lt;br /&gt;&lt;img title="Stamp Vector Example - Step 3" alt="Stamp Vector Example - Step 3" border="0" src="/photos/mathieu_st-pierres_images/images/59745/original.aspx" /&gt;&amp;nbsp;&lt;/div&gt;
&lt;/li&gt;
&lt;/ol&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
&lt;blockquote&gt;
&lt;p&gt;&lt;em&gt;&lt;strong&gt;&amp;nbsp;&lt;/strong&gt;&lt;/em&gt;&lt;em&gt;Productivity&amp;nbsp;Tip :&lt;/em&gt; Check the Use this View setting so you don&amp;#39;t have to select the view each time of want to stamp a vector.&lt;/p&gt;
&lt;/blockquote&gt;
&lt;p&gt;&amp;nbsp;&amp;nbsp;&lt;/p&gt;
&lt;h3&gt;Merge&lt;/h3&gt;
&lt;p&gt;Sometime you have many vector elements that you don&amp;#39;t want to stamp directly on the raster under the vectors. In that case you may use the &lt;a title="Merge" href="/Products/Geospatial/Desktop/w/Geospatial_Desktop__Wiki/bentley-descartes-_2D00_-raster-transformation.aspx#Merge%20Tool" target="Merge Tool"&gt;merge tool&lt;/a&gt; to rasterize all the vector elements and merge them with the raster under those vector elements to form a new raster.&lt;/p&gt;
&lt;h3&gt;Match Line Mapping Settings&lt;/h3&gt;
&lt;p&gt;Since line weights and styles always display at the same ratio regardless of the zoom factor, for each level of zoom the element covers more or less pixels. For example, when zoomed out really far, the element covers more pixels than when zoomed in very close. It is this coverage, in Working Units, that is used to modify the Line Mapping Settings.&lt;/p&gt;
&lt;h3&gt;Line Mapping Settings&lt;/h3&gt;
&lt;p&gt;The Line Mapping Settings dialog box is used to set the mapping between the vector&amp;nbsp;element&amp;#39;s line weight and line style parameters and the resulting line weight and line style of the rasterized vector&amp;nbsp;elements (i.e. : pixels representation of the vector element).&lt;/p&gt;
&lt;p&gt;&lt;img alt=" " border="0" src="/photos/mathieu_st-pierres_images/images/59444/615x480.aspx" /&gt;&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;
&lt;div&gt;&lt;strong&gt;Scale&lt;/strong&gt;: Apply a scale factor on all the line weights and line style parameters.&lt;/div&gt;
&lt;/li&gt;
&lt;li&gt;
&lt;div&gt;&lt;strong&gt;Line Weight&lt;/strong&gt;: Allow the user to define the width, in working units, of the&amp;nbsp;resulting stamped vector&amp;nbsp;given its standard line weights (0-15). Note that the line weight of custom line style is determined automatically by the Line Mapping tool.&lt;/div&gt;
&lt;/li&gt;
&lt;li&gt;
&lt;div&gt;&lt;strong&gt;Line Style&lt;/strong&gt;: Allow the user to specify a sequence of dashes and gaps that is going to be used when stamping a vector whose style is one of the eight standard styles (0 to 7). All the dashes and gaps are specified in working units.&amp;nbsp;The sequence of dashes and gaps is drawn repeatedly if the length of the linear vector element is longer than the defined sequence.&lt;/div&gt;
&lt;/li&gt;
&lt;li&gt;
&lt;div&gt;&lt;strong&gt;Automatic Vector Stamping&lt;/strong&gt;: When this option is turn on all the elements drawn on the model will be stamped automatically on the raster below, if any. Note that when this option is check, it is impossible to draw element as vector (i.e.&amp;nbsp;: the element can only be&amp;nbsp;stamped on a raster).&lt;/div&gt;
&lt;/li&gt;
&lt;/ul&gt;
&lt;p&gt;&amp;nbsp;&amp;nbsp;&lt;/p&gt;
&lt;h2&gt;Cut / Copy / Paste&lt;/h2&gt;
&lt;p&gt;The cut / copy / paste functionalities are similar to the standard cut / copy / paste functionalities found in numerous applications like text editor. In Descartes, the cut / copy / paste functionalities work on the pixels composing one or many rasters.&lt;/p&gt;
&lt;h2&gt;Local Transform&lt;/h2&gt;
&lt;p&gt;The Local Transform tools are used to do basic&amp;nbsp;editing operations within the&amp;nbsp;boundary of the active image. The basic&amp;nbsp;editing operation are : copy, move, scale, rotate, mirror and warp.&lt;/p&gt;
&lt;p&gt;&lt;img title="Bentley Descartes - Local Transform Toolbox" alt="Bentley Descartes - Local Transform Toolbox" border="0" src="/photos/mathieu_st-pierres_images/images/79169/original.aspx" /&gt;&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&amp;nbsp;&lt;/p&gt;
&lt;h3&gt;Cover Up Area / Clone Area&lt;/h3&gt;
&lt;p&gt;In Descartes V8i two more complex and complementary editing tools have been added to the local transform toolbox.&amp;nbsp;These tools allow the user to cover-up or clone a specified area with another area in the same image. Both tools&amp;#39; setting dialog are identical.&lt;/p&gt;
&lt;table style="width:650px;" border="0"&gt;
&lt;tbody&gt;
&lt;tr&gt;
&lt;td&gt;
&lt;p&gt;&lt;img title="Descartes - Cover Up Area Settings" alt="Descartes - Cover Up Area Settings" border="0" src="/photos/mathieu_st-pierres_images/images/77492/original.aspx" /&gt;&lt;/p&gt;
&lt;/td&gt;
&lt;td valign="top"&gt;
&lt;ul&gt;
&lt;li&gt;&lt;strong&gt;Area&lt;/strong&gt;:&amp;nbsp;Allow the user to specify the type of area to&amp;nbsp; cover&amp;nbsp;up&amp;nbsp;or&amp;nbsp;clone.&lt;/li&gt;
&lt;li&gt;&lt;strong&gt;Feathering&lt;/strong&gt;:&amp;nbsp;Specified&amp;nbsp;if feathering around the area border should be applied during the cover up or clone area operation. Note that the feathering is not available for certain color more like binary or 8 bit color palette.&lt;/li&gt;
&lt;li&gt;&lt;strong&gt;Show&amp;nbsp; destination:&lt;/strong&gt; When selected the destination area is show during the selection of the cover up or cloned area.&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;h4&gt;An Example - Covering-up a boat or cloning it&lt;/h4&gt;
&lt;p&gt;This section shows what can be achieved with the Clone Area and Cover Up Area&amp;nbsp;tools. The goal here is to cover-up / clone the boat at the top of the following image.&lt;/p&gt;
&lt;p&gt;&lt;img title="Descartes - Clone Area/Cover-up Example - Before" alt="Descartes - Clone Area/Cover-up Example - Before" border="0" src="/photos/mathieu_st-pierres_images/images/77493/original.aspx" /&gt;&lt;/p&gt;
&lt;p&gt;- &lt;strong&gt;Covering-up the boat&lt;/strong&gt;&lt;/p&gt;
&lt;p&gt;The image below show the image after the boat at the top of the original image has been covered-up. The power of the Cover Up Area tool is based on the fact that, in an image, the neighborhood of an area&amp;nbsp;containing&amp;nbsp;background image data (in that example, water) can be copied over this area to cover up some object (in that example, the boat) with background image data. Note that the selection of the &lt;strong&gt;Show destination&lt;/strong&gt; option results in the drawing of the left double rectangle in the image below. This rectangle is deleted once the operation is terminated.&lt;/p&gt;
&lt;blockquote&gt;
&lt;p&gt;&lt;em&gt;Productivity Tip&lt;/em&gt;: Turn on the feathering to ensure that the border of the Cover Up Area or Clone Area doesn&amp;#39;t appear in the resulting image.&lt;/p&gt;
&lt;/blockquote&gt;
&lt;p&gt;&lt;img title="Descartes - Covering-up Example" alt="Descartes - Covering-up Example" border="0" src="/photos/mathieu_st-pierres_images/images/77494/original.aspx" /&gt;&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;&lt;strong&gt;- Cloning the boat&lt;/strong&gt;&lt;/p&gt;
&lt;p&gt;The Clone Area tool is very similar to the Cover Up Area except that now&amp;nbsp;this is the selected area that is used to cover up&amp;nbsp;another area instead of being covered up.&amp;nbsp;The example below shows the boat at the top of the original image being cloned.&lt;/p&gt;
&lt;p&gt;&lt;img title="Bentley Descartes - Clone Area - Example" alt="Bentley Descartes - Clone Area - Example" border="0" src="/photos/mathieu_st-pierres_images/images/77495/original.aspx" /&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&amp;nbsp;&lt;/p&gt;
&lt;h4&gt;Cover Up Area / Clone Area&lt;/h4&gt;
&lt;p&gt;The Cover Up Area or Clone Area tools can be used interchangeably. In the cover-up example above, the Clone Area tool could have been used to clone the water body on the boat. The&amp;nbsp;major drawbacks of using the Clone Area tool to cover-up some object is that you need to estimate the size of the object to cover when selecting the clone area and that the clone area chosen might not give the&amp;nbsp;anticipated result.&amp;nbsp;Using the&amp;nbsp;Cover Up Area tool have none of those drawbacks when having to cover-up an area.&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;: If you have to cover-up (i.e. : erase) a foreground object with the background image data, use the Cover Up Area tool. If you have to clone a foreground object on the background image data, use the Clone Area tool.&lt;/p&gt;
&lt;/blockquote&gt;
&lt;p&gt;&amp;nbsp;&amp;nbsp;&lt;/p&gt;
&lt;h2&gt;Color Mask&lt;/h2&gt;
&lt;p&gt;The color mask can be used as a stencil for ensuring that only some determined regions are modified while other remains unchanged when using the standard raster&amp;nbsp;editing tools. The stencil is described in term of the different colors than must not be modified, thus the name color mask.&lt;/p&gt;
&lt;p&gt;&lt;img title="Bentley Descartes - Color Mask" alt="Bentley Descartes - Color Mask" border="0" src="/photos/mathieu_st-pierres_images/images/79170/original.aspx" /&gt;&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&amp;nbsp;&lt;/p&gt;
&lt;h3&gt;Add to Mask / Substract from Mask&lt;/h3&gt;
&lt;p&gt;Colors can be easily added to or subtracted from a given mask by using the tools Add to Mask / Subtract from Mask. These tools allow the user to select an image&amp;#39;s area containing pixels whose colors need to be added to or subtracted from a given color mask. Note that the Subtract from Mask tool&amp;#39;s settings dialog is the same as the Add to Mask tool&amp;#39;s settings dialog shown below.&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 - Add to Mask - Tool Settings" alt="Bentley Descartes - Add to Mask - Tool Settings" border="0" src="/photos/mathieu_st-pierres_images/images/77684/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;:&amp;nbsp;Allow the user to specify the type of area to be used when selecting image&amp;#39;s pixels&amp;nbsp;whose colors needed to be added to a color mask.&lt;/li&gt;
&lt;li&gt;&lt;strong&gt;Mask&lt;/strong&gt;: The name of the color mask to which the selected pixels&amp;#39; colors will be added.&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;Hilite&lt;/strong&gt;:&amp;nbsp;When turn on, all the pixels whose color are present in the selected color mask will be highlighted (i.e. : their display color will be the same as the hilite color).&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;h3&gt;Hilite Mask&lt;/h3&gt;
&lt;p&gt;The hilite mask tool allows the user to turn the hilite on for the selected color mask.&lt;/p&gt;
&lt;p&gt;&lt;img title="Bentley Descartes - Hilite Mask Tool Settings" alt="Bentley Descartes - Hilite Mask Tool Settings" border="0" src="/photos/mathieu_st-pierres_images/images/77686/original.aspx" /&gt;&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&amp;nbsp;&lt;/p&gt;
&lt;h3&gt;Color Mask Dialog&lt;/h3&gt;
&lt;p&gt;The color mask dialog can be used to manage (create, delete, add colors, remove colors, etc...) color masks. A mask can be used with any image of any pixel type. Color mask cannot be used with binary image.&lt;/p&gt;
&lt;p&gt;&lt;img title="Bentley Descartes - Color Mask Dialog" alt="Bentley Descartes - Color Mask Dialog" border="0" src="/photos/mathieu_st-pierres_images/images/77685/original.aspx" /&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&amp;nbsp;&lt;/p&gt;
&lt;h2&gt;Raster&amp;nbsp;Editing In 3D Model&lt;/h2&gt;
&lt;p&gt;With Bentley Descartes it is possible to edit 2D raster not only in 2D model but also directly in a 3D model.&lt;/p&gt;
&lt;h3&gt;Work In Image Plane &lt;a title="Work In Image Plane" name="Work In Image Plane"&gt;&lt;/a&gt;&lt;/h3&gt;
&lt;p&gt;When working on an&amp;nbsp;2D&amp;nbsp;image in a 3D model it is important to consider the visual deformation of the raster when viewed through a view that is not on the same plane as the raster. This visual deformation is the result of the raster&amp;#39;s pixel&amp;nbsp;being reprojected from the raster plane to the view plane.&amp;nbsp; When dealing with images that have a 3D orientation, several tools provide the &lt;em&gt;Work in Image Plane&lt;/em&gt; option which projects all data points perpendicular to the image coordinate system.&lt;/p&gt;
&lt;p&gt;When this setting is off, the data points are parallel to the view.&amp;nbsp;However, when it&amp;#39;s&amp;nbsp;turned on, the data points lie on the same plane as the 3D oriented image.&amp;nbsp; The image on the left shows the setting off, while the right image shows the datapoint placement when the setting is on.&lt;/p&gt;
&lt;p&gt;&lt;img alt=" " border="0" src="/photos/inga_morozoff_bentleys_photos/images/108598/500x290.aspx" /&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;

&lt;div style="font-size: 90%;"&gt;Tags: Descartes, Unit Lock&lt;/div&gt;
</description></item><item><title>Bentley Descartes - Raster Editing</title><link>https://communities.bentley.com/products/3d_imaging_and_point_cloud_software/w/wiki/24915/bentley-descartes---raster-editing/revision/2</link><pubDate>Fri, 30 Oct 2015 16:27:22 GMT</pubDate><guid isPermaLink="false">6dad98f5-dbc9-4c4d-a9ba-e9da8dc6aa8e:1941acf5-0131-44f5-b4c8-d878c84309ee</guid><dc:creator>Felix James</dc:creator><comments>https://communities.bentley.com/products/3d_imaging_and_point_cloud_software/w/wiki/24915/bentley-descartes---raster-editing#comments</comments><description>Revision 2 posted to ContextCapture | Descartes | Pointools | Orbit Wiki by Felix James on 10/30/2015 4:27:22 PM&lt;br /&gt;
&lt;h1&gt;Raster Editing&lt;/h1&gt;
&lt;p&gt;Bentley Descartes provides many functions for modifying the pixels&amp;#39; value of a raster, of any pixel type, provided that the file format used to store the raster is supported in write mode.&lt;/p&gt;
&lt;h2&gt;Touch-up&lt;/h2&gt;
&lt;p&gt;The Touch-up tools are use to modify the content of pixels with tools which emulate physical brushes and erasers.&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;&lt;img title="Touch-up toolbox" alt="Touch-up toolbox" src="/photos/mathieu_st-pierres_images/images/56796/original.aspx" border="0" /&gt;&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
&lt;h3&gt;Paint&lt;/h3&gt;
&lt;p&gt;The Paint tool allows the user to paint on the image as if was painting with a brush on a physical canvas.&lt;/p&gt;
&lt;table border="0"&gt;
&lt;tbody&gt;
&lt;tr&gt;
&lt;td&gt;
&lt;p&gt;&lt;img title="Paint Settings" alt="Paint Settings" src="/photos/mathieu_st-pierres_images/images/57752/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;: Allow the user to chose the methods, area or one of the&amp;nbsp;&amp;nbsp; three&amp;nbsp;types of brush.&lt;/li&gt;
&lt;li&gt;&lt;strong&gt;Area&lt;/strong&gt;: Only available when the method chosen is area, it lets the user specify the type of area to use.&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;Red, Green, Blue&lt;/strong&gt;: For choosing the color of the paint.&lt;/li&gt;
&lt;li&gt;&lt;strong&gt;Paint Mask&lt;/strong&gt;: For choosing a mask that will work has a stencil when painting. This is only available when using the method &lt;em&gt;Area&lt;/em&gt;.&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;p&gt;&amp;nbsp;&lt;/p&gt;
&lt;h4&gt;Which&amp;nbsp;Paint Method?&lt;/h4&gt;
&lt;p&gt;&lt;strong&gt;The brush method&lt;/strong&gt;, also known as &amp;quot;interactive&amp;nbsp;painting&amp;quot;&amp;nbsp;requires much dexterity and&amp;nbsp;can lead to the coloring of undesired area.&amp;nbsp;&lt;/p&gt;
&lt;p&gt;The basic shape of the three types of brush are shown below.&lt;/p&gt;
&lt;p&gt;&lt;img alt=" " src="/photos/mathieu_st-pierres_images/images/57758/original.aspx" border="0" /&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;&lt;strong&gt;The area method&lt;/strong&gt; is different from using&amp;nbsp;brushes in that the area to be painted is selected and the brushing of this area is done instantly instead of brushing the area manually with one of the brushes. The different ways of choosing the area is shown in the picture below. Note that it is possible to choose a color mask which will work has a stencil and impedes the modification of all pixels in the area that are masked. It is also possible to choose the whole image as the area. &lt;em&gt;Beware &lt;/em&gt;that when using image as the area all the pixels of the image are going to be painted unless some of them are masked. In other words, the contents of your image will be loss if no mask has been set.&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;&lt;img title="Paint Area Types" alt="Paint Area Types" src="/photos/mathieu_st-pierres_images/images/58046/original.aspx" border="0" /&gt;&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;&lt;strong&gt;&lt;span style="text-decoration:underline;"&gt;Brush Method vs Area method&lt;/span&gt;&lt;/strong&gt;&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;The brush method is useful when you have to do small touch-up to complex&amp;nbsp;area while the area method is more useful when painting big area of simple shape.&lt;/li&gt;
&lt;li&gt;The brush method required more dexterity than the area method and it is advised when using the brush method to divide a long brushing operation to many small ones to ensure that if you have to undo your last brush operation you will have only a small area to re-brush.&lt;/li&gt;
&lt;li&gt;You cannot use mask with the brush method.&lt;/li&gt;
&lt;/ul&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
&lt;blockquote&gt;
&lt;p&gt;&lt;em&gt;Productivity&amp;nbsp;Tip : &lt;/em&gt;If you want to paint basic geometric form on the raster, use the &lt;a title="stamp vector tool" href="#Stamp%20Vector%20Tool"&gt;stamp vector tool&lt;/a&gt;.&lt;/p&gt;
&lt;/blockquote&gt;
&lt;p&gt;&amp;nbsp;&amp;nbsp;&lt;/p&gt;
&lt;h3&gt;Erase&lt;/h3&gt;
&lt;p&gt;The Erase tool is quite similar the to Paint tool except that the color is always fix to black and no color mask can be chosen.&lt;/p&gt;
&lt;p&gt;&lt;img title="Erase settings" alt="Erase settings" src="/photos/mathieu_st-pierres_images/images/57750/original.aspx" border="0" /&gt;&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&amp;nbsp;&lt;/p&gt;
&lt;h3&gt;Cleanup&lt;/h3&gt;
&lt;p&gt;The Cleanup tool allows the user to remove small aggregate of pixels of different color than the surrounding pixels. Such speckles often&amp;nbsp;occurs on image created from scanned document.&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
&lt;table style="width:735px;height:237px;" border="0"&gt;
&lt;tbody&gt;
&lt;tr&gt;
&lt;td&gt;
&lt;p&gt;&lt;img title="Cleanup settings" alt="Cleanup settings" src="/photos/mathieu_st-pierres_images/images/57751/original.aspx" border="0" /&gt;&lt;/p&gt;
&lt;/td&gt;
&lt;td&gt;
&lt;ul&gt;
&lt;li&gt;&lt;strong&gt;Size&lt;/strong&gt;: Specify the size of the speckle (or hole) size to be removed in working units. &lt;br /&gt;&lt;br /&gt;&lt;em&gt;Productivity&amp;nbsp;Tip&lt;/em&gt;: Use the yellow ruler to measure directly on the screen the size of the speckle you want to remove.&lt;/li&gt;
&lt;/ul&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;&lt;strong&gt;Method&lt;/strong&gt;: Use to determine if you want to remove speckle or hole.&lt;/li&gt;
&lt;li&gt;&lt;strong&gt;Area&lt;/strong&gt;: Specify the area that needs to be cleanup.&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;Red, Green, Blue&lt;/strong&gt;:&amp;nbsp;Specify the color to use to paint over the speckles or to fill the holes. &lt;br /&gt;&lt;br /&gt;&lt;em&gt;Binary Tip&lt;/em&gt;: For binary images, the image&amp;#39;s background color is automatically used to remove the speckles and the foreground color for filling the hole.&lt;/li&gt;
&lt;li&gt;&lt;strong&gt;Paint Mask:&lt;/strong&gt; For choosing a mask that will work has a stencil when painting. This is only available when using the method Area.&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;Flood&lt;/h3&gt;
&lt;p&gt;The flood tool allows use to fill an empty area with just one click. The flood tool is similar to the famous paint bucket tool found in many image editing software, but it works only on binary raster (i.e. : black and white or two colors).&lt;/p&gt;
&lt;p&gt;Below is a small example of using the flood tool to fill with green a small area on the binary raster, the left picture representing the image before the flood operation, and the right, the image after the flood operation.&lt;/p&gt;
&lt;p&gt;&lt;img title="Bentley Descartes - Flood Example" alt="Bentley Descartes - Flood Example" src="/photos/mathieu_st-pierres_images/images/117680/original.aspx" border="0" /&gt;&lt;/p&gt;
&lt;h2&gt;Combine&lt;/h2&gt;
&lt;p&gt;The combine tool can be used to combine the foreground&amp;nbsp;data of two binary images together and save the result in a destination binary image.&amp;nbsp;&amp;nbsp;&lt;/p&gt;
&lt;table border="0"&gt;
&lt;tbody&gt;
&lt;tr&gt;
&lt;td&gt;&lt;img title="Bentley Descartes - Combine Images Dialog" align="top" alt="Bentley Descartes - Combine Images Dialog" src="/photos/mathieu_st-pierres_images/images/122175/original.aspx" border="0" /&gt;&lt;/td&gt;
&lt;td&gt;
&lt;ul&gt;
&lt;li&gt;&lt;strong&gt;Type (four icons&amp;nbsp;at the top)&amp;nbsp;:&amp;nbsp;&lt;/strong&gt;The combine operation type, which can be Or, And, Xor or Compare.&lt;/li&gt;
&lt;li&gt;&lt;strong&gt;Area :&lt;/strong&gt; The type of area to be used for selecting the overlapping region to be combined.&lt;/li&gt;
&lt;li&gt;&lt;strong&gt;Source 1 :&lt;/strong&gt; The first binary image used for the combine operation.&lt;/li&gt;
&lt;li&gt;&lt;strong&gt;Source 2 :&lt;/strong&gt; The second binary image used for the combine operation.&lt;/li&gt;
&lt;li&gt;&lt;strong&gt;Destination :&lt;/strong&gt; The destination binary image that is going to contain the combine operation result.&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;/ul&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;&lt;strong&gt;&amp;nbsp;&lt;/strong&gt;&amp;nbsp;&lt;/p&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;&lt;/p&gt;
&lt;h3&gt;Examples&lt;/h3&gt;
&lt;p&gt;This section presents an example for each different combine type available. The two binary rasters used as the sources are presented below. Note that&amp;nbsp;the source 1&amp;#39;s foreground color is white while the source 2&amp;#39;s foreground color is green and that some foreground pixels from both binary raster are overlapping in two distinct areas.&lt;/p&gt;
&lt;table border="0"&gt;
&lt;tbody&gt;
&lt;tr&gt;
&lt;td&gt;
&lt;p&gt;&lt;strong&gt;Source 1 In Front Of Source 2&lt;/strong&gt;&lt;/p&gt;
&lt;p&gt;&lt;img title="Bentley Descartes - Combine Example - Sources Images" alt="Bentley Descartes - Combine Example - Sources Images " src="/photos/mathieu_st-pierres_images/images/122304/original.aspx" border="0" /&gt; &amp;nbsp;&amp;nbsp;&lt;/p&gt;
&lt;/td&gt;
&lt;td&gt;
&lt;p&gt;&lt;strong&gt;Source 2 In Front Of Source&lt;/strong&gt; &lt;strong&gt;1&lt;/strong&gt;&lt;/p&gt;
&lt;p&gt;&lt;img title="Bentley Descartes - Combine Example Sources 2" alt="Bentley Descartes - Combine Example Sources 2" src="/photos/mathieu_st-pierres_images/images/122316/original.aspx" border="0" /&gt;&lt;/p&gt;
&lt;/td&gt;
&lt;/tr&gt;
&lt;/tbody&gt;
&lt;/table&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
&lt;h4&gt;AND&lt;/h4&gt;
&lt;p&gt;When the&amp;nbsp;AND combine type is chosen the overlapping pixels of both source rasters at one location are AND together. If both pixels have a value of 1 (i.e. : foreground color), the destination raster will have its corresponding pixel set to 1. In all other case, the destination raster&amp;#39;s corresponding pixel will be set to 0.&lt;/p&gt;
&lt;table border="0"&gt;
&lt;tbody&gt;
&lt;tr&gt;
&lt;td&gt;
&lt;p&gt;&lt;strong&gt;Destination With Sources&lt;/strong&gt;&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;img title="Bentley Descartes - Combine AND Example" alt="Bentley Descartes - Combine AND Example" src="/photos/mathieu_st-pierres_images/images/122305/original.aspx" border="0" /&gt;&amp;nbsp;&amp;nbsp;&lt;/p&gt;
&lt;/td&gt;
&lt;td&gt;
&lt;p&gt;&lt;strong&gt;Destination Only&lt;/strong&gt;&lt;/p&gt;
&lt;p&gt;&lt;img title="Bentley Descartes - Combine AND No Sources Example" alt="Bentley Descartes - Combine AND No Sources Example" src="/photos/mathieu_st-pierres_images/images/122306/original.aspx" border="0" /&gt;&amp;nbsp;&lt;/p&gt;
&lt;/td&gt;
&lt;/tr&gt;
&lt;/tbody&gt;
&lt;/table&gt;
&lt;blockquote&gt;
&lt;p&gt;&lt;em&gt;Usage Tip :&lt;/em&gt; The AND combine type is useful for finding overlapping foreground areas in both source rasters.&lt;/p&gt;
&lt;/blockquote&gt;
&lt;h4&gt;OR&lt;/h4&gt;
&lt;p&gt;When the&amp;nbsp;OR combine type is chosen the overlapping pixels of both source rasters at one location are OR together. If at least one of the source pixels has a value of 1 (i.e. : foreground color), the destination raster will have its corresponding pixel set to 1. The destination raster&amp;#39;s corresponding pixel will be set to 0 only if the overlapping pixels in both raster are set to 0.&lt;/p&gt;
&lt;p&gt;&lt;img title="Bentley Descartes - Combine OR Example" alt="Bentley Descartes - Combine OR Example" src="/photos/mathieu_st-pierres_images/images/122307/original.aspx" border="0" /&gt;&lt;/p&gt;
&lt;blockquote&gt;
&lt;p&gt;&lt;em&gt;Usage Tip :&lt;/em&gt; The OR combine type is useful for mergin together two binary rasters or part of two binary rasters.&lt;/p&gt;
&lt;/blockquote&gt;
&lt;h4&gt;XOR&lt;/h4&gt;
&lt;p&gt;When the XOR combine type is chosen the overlapping pixels of both source rasters at one location are XOR together. If one and only one source pixels has a value of 1 (i.e. : foreground color), the destination raster will have its corresponding pixel set to 1. The destination raster&amp;#39;s corresponding pixel will be set to 0 if both overlapping source pixels have the same value, being 0 or 1.&lt;/p&gt;
&lt;table border="0"&gt;
&lt;tbody&gt;
&lt;tr&gt;
&lt;td&gt;
&lt;p&gt;&lt;strong&gt;Destination With Sources&lt;/strong&gt;&lt;/p&gt;
&lt;p&gt;&lt;img title="Bentley Descartes - Combine XOR Example" alt="Bentley Descartes - Combine XOR Example" src="/photos/mathieu_st-pierres_images/images/122308/original.aspx" border="0" /&gt;&amp;nbsp;&amp;nbsp;&lt;/p&gt;
&lt;/td&gt;
&lt;td&gt;
&lt;p&gt;&lt;strong&gt;Destination Only&lt;/strong&gt;&lt;/p&gt;
&lt;p&gt;&lt;img title="Bentley Descartes - Combine XOR No Source Example " alt="Bentley Descartes - Combine XOR No Source Example " src="/photos/mathieu_st-pierres_images/images/122309/original.aspx" border="0" /&gt;&lt;/p&gt;
&lt;/td&gt;
&lt;/tr&gt;
&lt;/tbody&gt;
&lt;/table&gt;
&lt;blockquote&gt;
&lt;p&gt;&lt;em&gt;Usage Tip :&lt;/em&gt; The XOR combine type is useful for finding all foreground data that are not overlapping. In that regard, the XOR type is the opposite of the AND type.&lt;/p&gt;
&lt;/blockquote&gt;
&lt;h4&gt;Compare&lt;/h4&gt;
&lt;p&gt;When the&amp;nbsp;&lt;em&gt;compare&lt;/em&gt; combine type is chosen the pixel value of the first source is compared with the second source. The foreground pixel of the first source raster will be written to the destination raster only if the second source raster&amp;#39;s overlapping pixel is not set to 1. Otherwise the 0 will be written to the destination raster.&lt;/p&gt;
&lt;table border="0"&gt;
&lt;tbody&gt;
&lt;tr&gt;
&lt;td&gt;
&lt;p&gt;&lt;strong&gt;Destination With Sources&lt;/strong&gt;&lt;/p&gt;
&lt;p&gt;&lt;img title="Bentley Descartes - Combine Compare Example " alt="Bentley Descartes - Combine Compare Example " src="/photos/mathieu_st-pierres_images/images/122310/original.aspx" border="0" /&gt; &amp;nbsp;&amp;nbsp;&lt;/p&gt;
&lt;/td&gt;
&lt;td&gt;
&lt;p&gt;&lt;strong&gt;Destination Only&lt;/strong&gt;&lt;/p&gt;
&lt;p&gt;&lt;img title="Bentley Descartes - Combine No Source Compare Example " alt="Bentley Descartes - Combine Compare No Source Example " src="/photos/mathieu_st-pierres_images/images/122311/original.aspx" border="0" /&gt;&lt;/p&gt;
&lt;/td&gt;
&lt;/tr&gt;
&lt;/tbody&gt;
&lt;/table&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
&lt;blockquote&gt;
&lt;p&gt;&lt;em&gt;Usage Tip :&lt;/em&gt; The&amp;nbsp;compare&amp;nbsp;combine type can be used to determine the pixels in the first source raster that are equal to 1 and for which the corresponding pixels in the second source raster are not equal to 1.&lt;/p&gt;
&lt;/blockquote&gt;
&lt;h2&gt;Rasterize&lt;/h2&gt;
&lt;p&gt;The&amp;nbsp;rasterize tools&amp;nbsp;give&amp;nbsp;the user different&amp;nbsp;possibilities to rasterized vectors hovering on a raster. The process of rasterizing consists to convert vector element hovering a raster to a series of pixels in the destination raster representing the vector element.&lt;/p&gt;
&lt;p&gt;&lt;img title="Rasterize Toolbox" alt="Rasterize Toolbox" src="/photos/mathieu_st-pierres_images/images/59445/original.aspx" border="0" /&gt;&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&amp;nbsp;&lt;/p&gt;
&lt;h3&gt;Stamp Vector &lt;a name="Stamp Vector Tool" title="Stamp Vector Tool"&gt;&lt;/a&gt;&lt;/h3&gt;
&lt;p&gt;The Stamp Vector tool can be use to stamp selected vectors directly to an attached raster. Stamping vectors can be very useful when basic geometric needs to be painted on a raster.&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
&lt;table border="0"&gt;
&lt;tbody&gt;
&lt;tr&gt;
&lt;td&gt;
&lt;p&gt;&lt;img title="Stamp Vector Settings" alt="Stamp Vector Settings" src="/photos/mathieu_st-pierres_images/images/59446/original.aspx" border="0" /&gt;&lt;/p&gt;
&lt;/td&gt;
&lt;td&gt;
&lt;ul&gt;
&lt;li&gt;&lt;strong&gt;Use Fence:&lt;/strong&gt; Select this checkbox if you want to use a fence as selector of vector elements to be stamped.&lt;/li&gt;
&lt;li&gt;&lt;strong&gt;Use this View:&lt;/strong&gt; This setting allows the user to select a view that is going to be used for all stamping operation.&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;p&gt;&amp;nbsp;&lt;/p&gt;
&lt;h4&gt;An Example - Drawing&amp;nbsp;A Circle On A Raster&lt;/h4&gt;
&lt;p&gt;Drawing a simple red circle of a given radius and its the radius dimension can be tremendously complicated and time consuming to do with the touch-up tools.&amp;nbsp;Combining&amp;nbsp;the vector drawing capabilities of MicroStation with the rasterizing capabilities of Bentley Descartes makes this task very easy to accomplished. To prove that this task is quite&lt;/p&gt;
&lt;ol&gt;
&lt;li&gt;
&lt;div&gt;First, you draw the circle with a certain radius, for example 5 units, over the given place on the raster that you want the circle to be stamped. Add the dimension of the circle with the MicroStation&amp;#39;s Radial Dimensions tool. &lt;br /&gt;&lt;img title="Stamp Vector Example - Step 1" alt="Stamp Vector Example - Step 1" src="/photos/mathieu_st-pierres_images/images/59740/original.aspx" border="0" /&gt;&lt;/div&gt;
&lt;/li&gt;
&lt;li&gt;
&lt;div&gt;Then, place a fence around the circle and dimension elements that you have drawn. &lt;br /&gt;&lt;img title="Stamp Vector Example - Step 2" alt="Stamp Vector Example - Step 2" src="/photos/mathieu_st-pierres_images/images/59741/original.aspx" border="0" /&gt;&lt;/div&gt;
&lt;/li&gt;
&lt;li&gt;
&lt;div&gt;Select the stamp vector tool, check the Use Fence setting on the Stamp Vector setting dialog box and click on the view that you want to use for the stamping. In the picture below, the original circle and dimension elements have been set to green and offset from their original locations to show the result of the stamp operation : the pixels painted in red on the raster.&lt;br /&gt;&lt;img title="Stamp Vector Example - Step 3" alt="Stamp Vector Example - Step 3" src="/photos/mathieu_st-pierres_images/images/59745/original.aspx" border="0" /&gt;&amp;nbsp;&lt;/div&gt;
&lt;/li&gt;
&lt;/ol&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
&lt;blockquote&gt;
&lt;p&gt;&lt;em&gt;&lt;strong&gt;&amp;nbsp;&lt;/strong&gt;&lt;/em&gt;&lt;em&gt;Productivity&amp;nbsp;Tip :&lt;/em&gt; Check the Use this View setting so you don&amp;#39;t have to select the view each time of want to stamp a vector.&lt;/p&gt;
&lt;/blockquote&gt;
&lt;p&gt;&amp;nbsp;&amp;nbsp;&lt;/p&gt;
&lt;h3&gt;Merge&lt;/h3&gt;
&lt;p&gt;Sometime you have many vector elements that you don&amp;#39;t want to stamp directly on the raster under the vectors. In that case you may use the &lt;a title="Merge" href="/Products/Geospatial/Desktop/w/Geospatial_Desktop__Wiki/bentley-descartes-_2D00_-raster-transformation.aspx#Merge%20Tool" target="Merge Tool"&gt;merge tool&lt;/a&gt; to rasterize all the vector elements and merge them with the raster under those vector elements to form a new raster.&lt;/p&gt;
&lt;h3&gt;Match Line Mapping Settings&lt;/h3&gt;
&lt;p&gt;Since line weights and styles always display at the same ratio regardless of the zoom factor, for each level of zoom the element covers more or less pixels. For example, when zoomed out really far, the element covers more pixels than when zoomed in very close. It is this coverage, in Working Units, that is used to modify the Line Mapping Settings.&lt;/p&gt;
&lt;h3&gt;Line Mapping Settings&lt;/h3&gt;
&lt;p&gt;The Line Mapping Settings dialog box is used to set the mapping between the vector&amp;nbsp;element&amp;#39;s line weight and line style parameters and the resulting line weight and line style of the rasterized vector&amp;nbsp;elements (i.e. : pixels representation of the vector element).&lt;/p&gt;
&lt;p&gt;&lt;img alt=" " src="/photos/mathieu_st-pierres_images/images/59444/615x480.aspx" border="0" /&gt;&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;
&lt;div&gt;&lt;strong&gt;Scale&lt;/strong&gt;: Apply a scale factor on all the line weights and line style parameters.&lt;/div&gt;
&lt;/li&gt;
&lt;li&gt;
&lt;div&gt;&lt;strong&gt;Line Weight&lt;/strong&gt;: Allow the user to define the width, in working units, of the&amp;nbsp;resulting stamped vector&amp;nbsp;given its standard line weights (0-15). Note that the line weight of custom line style is determined automatically by the Line Mapping tool.&lt;/div&gt;
&lt;/li&gt;
&lt;li&gt;
&lt;div&gt;&lt;strong&gt;Line Style&lt;/strong&gt;: Allow the user to specify a sequence of dashes and gaps that is going to be used when stamping a vector whose style is one of the eight standard styles (0 to 7). All the dashes and gaps are specified in working units.&amp;nbsp;The sequence of dashes and gaps is drawn repeatedly if the length of the linear vector element is longer than the defined sequence.&lt;/div&gt;
&lt;/li&gt;
&lt;li&gt;
&lt;div&gt;&lt;strong&gt;Automatic Vector Stamping&lt;/strong&gt;: When this option is turn on all the elements drawn on the model will be stamped automatically on the raster below, if any. Note that when this option is check, it is impossible to draw element as vector (i.e.&amp;nbsp;: the element can only be&amp;nbsp;stamped on a raster).&lt;/div&gt;
&lt;/li&gt;
&lt;/ul&gt;
&lt;p&gt;&amp;nbsp;&amp;nbsp;&lt;/p&gt;
&lt;h2&gt;Cut / Copy / Paste&lt;/h2&gt;
&lt;p&gt;The cut / copy / paste functionalities are similar to the standard cut / copy / paste functionalities found in numerous applications like text editor. In Descartes, the cut / copy / paste functionalities work on the pixels composing one or many rasters.&lt;/p&gt;
&lt;h2&gt;Local Transform&lt;/h2&gt;
&lt;p&gt;The Local Transform tools are used to do basic&amp;nbsp;editing operations within the&amp;nbsp;boundary of the active image. The basic&amp;nbsp;editing operation are : copy, move, scale, rotate, mirror and warp.&lt;/p&gt;
&lt;p&gt;&lt;img title="Bentley Descartes - Local Transform Toolbox" alt="Bentley Descartes - Local Transform Toolbox" src="/photos/mathieu_st-pierres_images/images/79169/original.aspx" border="0" /&gt;&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&amp;nbsp;&lt;/p&gt;
&lt;h3&gt;Cover Up Area / Clone Area&lt;/h3&gt;
&lt;p&gt;In Descartes V8i two more complex and complementary editing tools have been added to the local transform toolbox.&amp;nbsp;These tools allow the user to cover-up or clone a specified area with another area in the same image. Both tools&amp;#39; setting dialog are identical.&lt;/p&gt;
&lt;table style="width:650px;" border="0"&gt;
&lt;tbody&gt;
&lt;tr&gt;
&lt;td&gt;
&lt;p&gt;&lt;img title="Descartes - Cover Up Area Settings" alt="Descartes - Cover Up Area Settings" src="/photos/mathieu_st-pierres_images/images/77492/original.aspx" border="0" /&gt;&lt;/p&gt;
&lt;/td&gt;
&lt;td valign="top"&gt;
&lt;ul&gt;
&lt;li&gt;&lt;strong&gt;Area&lt;/strong&gt;:&amp;nbsp;Allow the user to specify the type of area to&amp;nbsp; cover&amp;nbsp;up&amp;nbsp;or&amp;nbsp;clone.&lt;/li&gt;
&lt;li&gt;&lt;strong&gt;Feathering&lt;/strong&gt;:&amp;nbsp;Specified&amp;nbsp;if feathering around the area border should be applied during the cover up or clone area operation. Note that the feathering is not available for certain color more like binary or 8 bit color palette.&lt;/li&gt;
&lt;li&gt;&lt;strong&gt;Show&amp;nbsp; destination:&lt;/strong&gt; When selected the destination area is show during the selection of the cover up or cloned area.&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;h4&gt;An Example - Covering-up a boat or cloning it&lt;/h4&gt;
&lt;p&gt;This section shows what can be achieved with the Clone Area and Cover Up Area&amp;nbsp;tools. The goal here is to cover-up / clone the boat at the top of the following image.&lt;/p&gt;
&lt;p&gt;&lt;img title="Descartes - Clone Area/Cover-up Example - Before" alt="Descartes - Clone Area/Cover-up Example - Before" src="/photos/mathieu_st-pierres_images/images/77493/original.aspx" border="0" /&gt;&lt;/p&gt;
&lt;p&gt;- &lt;strong&gt;Covering-up the boat&lt;/strong&gt;&lt;/p&gt;
&lt;p&gt;The image below show the image after the boat at the top of the original image has been covered-up. The power of the Cover Up Area tool is based on the fact that, in an image, the neighborhood of an area&amp;nbsp;containing&amp;nbsp;background image data (in that example, water) can be copied over this area to cover up some object (in that example, the boat) with background image data. Note that the selection of the &lt;strong&gt;Show destination&lt;/strong&gt; option results in the drawing of the left double rectangle in the image below. This rectangle is deleted once the operation is terminated.&lt;/p&gt;
&lt;blockquote&gt;
&lt;p&gt;&lt;em&gt;Productivity Tip&lt;/em&gt;: Turn on the feathering to ensure that the border of the Cover Up Area or Clone Area doesn&amp;#39;t appear in the resulting image.&lt;/p&gt;
&lt;/blockquote&gt;
&lt;p&gt;&lt;img title="Descartes - Covering-up Example" alt="Descartes - Covering-up Example" src="/photos/mathieu_st-pierres_images/images/77494/original.aspx" border="0" /&gt;&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;&lt;strong&gt;- Cloning the boat&lt;/strong&gt;&lt;/p&gt;
&lt;p&gt;The Clone Area tool is very similar to the Cover Up Area except that now&amp;nbsp;this is the selected area that is used to cover up&amp;nbsp;another area instead of being covered up.&amp;nbsp;The example below shows the boat at the top of the original image being cloned.&lt;/p&gt;
&lt;p&gt;&lt;img title="Bentley Descartes - Clone Area - Example" alt="Bentley Descartes - Clone Area - Example" src="/photos/mathieu_st-pierres_images/images/77495/original.aspx" border="0" /&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&amp;nbsp;&lt;/p&gt;
&lt;h4&gt;Cover Up Area / Clone Area&lt;/h4&gt;
&lt;p&gt;The Cover Up Area or Clone Area tools can be used interchangeably. In the cover-up example above, the Clone Area tool could have been used to clone the water body on the boat. The&amp;nbsp;major drawbacks of using the Clone Area tool to cover-up some object is that you need to estimate the size of the object to cover when selecting the clone area and that the clone area chosen might not give the&amp;nbsp;anticipated result.&amp;nbsp;Using the&amp;nbsp;Cover Up Area tool have none of those drawbacks when having to cover-up an area.&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;: If you have to cover-up (i.e. : erase) a foreground object with the background image data, use the Cover Up Area tool. If you have to clone a foreground object on the background image data, use the Clone Area tool.&lt;/p&gt;
&lt;/blockquote&gt;
&lt;p&gt;&amp;nbsp;&amp;nbsp;&lt;/p&gt;
&lt;h2&gt;Color Mask&lt;/h2&gt;
&lt;p&gt;The color mask can be used as a stencil for ensuring that only some determined regions are modified while other remains unchanged when using the standard raster&amp;nbsp;editing tools. The stencil is described in term of the different colors than must not be modified, thus the name color mask.&lt;/p&gt;
&lt;p&gt;&lt;img title="Bentley Descartes - Color Mask" alt="Bentley Descartes - Color Mask" src="/photos/mathieu_st-pierres_images/images/79170/original.aspx" border="0" /&gt;&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&amp;nbsp;&lt;/p&gt;
&lt;h3&gt;Add to Mask / Substract from Mask&lt;/h3&gt;
&lt;p&gt;Colors can be easily added to or subtracted from a given mask by using the tools Add to Mask / Subtract from Mask. These tools allow the user to select an image&amp;#39;s area containing pixels whose colors need to be added to or subtracted from a given color mask. Note that the Subtract from Mask tool&amp;#39;s settings dialog is the same as the Add to Mask tool&amp;#39;s settings dialog shown below.&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 - Add to Mask - Tool Settings" alt="Bentley Descartes - Add to Mask - Tool Settings" src="/photos/mathieu_st-pierres_images/images/77684/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;:&amp;nbsp;Allow the user to specify the type of area to be used when selecting image&amp;#39;s pixels&amp;nbsp;whose colors needed to be added to a color mask.&lt;/li&gt;
&lt;li&gt;&lt;strong&gt;Mask&lt;/strong&gt;: The name of the color mask to which the selected pixels&amp;#39; colors will be added.&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;Hilite&lt;/strong&gt;:&amp;nbsp;When turn on, all the pixels whose color are present in the selected color mask will be highlighted (i.e. : their display color will be the same as the hilite color).&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;h3&gt;Hilite Mask&lt;/h3&gt;
&lt;p&gt;The hilite mask tool allows the user to turn the hilite on for the selected color mask.&lt;/p&gt;
&lt;p&gt;&lt;img title="Bentley Descartes - Hilite Mask Tool Settings" alt="Bentley Descartes - Hilite Mask Tool Settings" src="/photos/mathieu_st-pierres_images/images/77686/original.aspx" border="0" /&gt;&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&amp;nbsp;&lt;/p&gt;
&lt;h3&gt;Color Mask Dialog&lt;/h3&gt;
&lt;p&gt;The color mask dialog can be used to manage (create, delete, add colors, remove colors, etc...) color masks. A mask can be used with any image of any pixel type. Color mask cannot be used with binary image.&lt;/p&gt;
&lt;p&gt;&lt;img title="Bentley Descartes - Color Mask Dialog" alt="Bentley Descartes - Color Mask Dialog" src="/photos/mathieu_st-pierres_images/images/77685/original.aspx" border="0" /&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&amp;nbsp;&lt;/p&gt;
&lt;h2&gt;Raster&amp;nbsp;Editing In 3D Model&lt;/h2&gt;
&lt;p&gt;With Bentley Descartes it is possible to edit 2D raster not only in 2D model but also directly in a 3D model.&lt;/p&gt;
&lt;h3&gt;Work In Image Plane &lt;a name="Work In Image Plane" title="Work In Image Plane"&gt;&lt;/a&gt;&lt;/h3&gt;
&lt;p&gt;When working on an&amp;nbsp;2D&amp;nbsp;image in a 3D model it is important to consider the visual deformation of the raster when viewed through a view that is not on the same plane as the raster. This visual deformation is the result of the raster&amp;#39;s pixel&amp;nbsp;being reprojected from the raster plane to the view plane.&amp;nbsp; When dealing with images that have a 3D orientation, several tools provide the &lt;em&gt;Work in Image Plane&lt;/em&gt; option which projects all data points perpendicular to the image coordinate system.&lt;/p&gt;
&lt;p&gt;When this setting is off, the data points are parallel to the view.&amp;nbsp;However, when it&amp;#39;s&amp;nbsp;turned on, the data points lie on the same plane as the 3D oriented image.&amp;nbsp; The image on the left shows the setting off, while the right image shows the datapoint placement when the setting is on.&lt;/p&gt;
&lt;p&gt;&lt;img alt=" " src="/photos/inga_morozoff_bentleys_photos/images/108598/500x290.aspx" border="0" /&gt;&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;

&lt;div style="font-size: 90%;"&gt;Tags: Descartes, Unit Lock&lt;/div&gt;
</description></item><item><title>Bentley Descartes - Raster Editing</title><link>https://communities.bentley.com/products/3d_imaging_and_point_cloud_software/w/wiki/24915/bentley-descartes---raster-editing/revision/1</link><pubDate>Fri, 30 Oct 2015 16:26:32 GMT</pubDate><guid isPermaLink="false">6dad98f5-dbc9-4c4d-a9ba-e9da8dc6aa8e:1941acf5-0131-44f5-b4c8-d878c84309ee</guid><dc:creator>Felix James</dc:creator><comments>https://communities.bentley.com/products/3d_imaging_and_point_cloud_software/w/wiki/24915/bentley-descartes---raster-editing#comments</comments><description>Revision 1 posted to ContextCapture | Descartes | Pointools | Orbit Wiki by Felix James on 10/30/2015 4:26:32 PM&lt;br /&gt;
&lt;h1&gt;Raster Editing&lt;/h1&gt;
&lt;p&gt;Bentley Descartes provides many functions for modifying the pixels&amp;#39; value of a raster, of any pixel type, provided that the file format used to store the raster is supported in write mode.&lt;/p&gt;
&lt;h2&gt;Touch-up&lt;/h2&gt;
&lt;p&gt;The Touch-up tools are use to modify the content of pixels with tools which emulate physical brushes and erasers.&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;&lt;img title="Touch-up toolbox" alt="Touch-up toolbox" src="/photos/mathieu_st-pierres_images/images/56796/original.aspx" border="0" /&gt;&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
&lt;h3&gt;Paint&lt;/h3&gt;
&lt;p&gt;The Paint tool allows the user to paint on the image as if was painting with a brush on a physical canvas.&lt;/p&gt;
&lt;table border="0"&gt;
&lt;tbody&gt;
&lt;tr&gt;
&lt;td&gt;
&lt;p&gt;&lt;img title="Paint Settings" alt="Paint Settings" src="/photos/mathieu_st-pierres_images/images/57752/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;: Allow the user to chose the methods, area or one of the&amp;nbsp;&amp;nbsp; three&amp;nbsp;types of brush.&lt;/li&gt;
&lt;li&gt;&lt;strong&gt;Area&lt;/strong&gt;: Only available when the method chosen is area, it lets the user specify the type of area to use.&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;Red, Green, Blue&lt;/strong&gt;: For choosing the color of the paint.&lt;/li&gt;
&lt;li&gt;&lt;strong&gt;Paint Mask&lt;/strong&gt;: For choosing a mask that will work has a stencil when painting. This is only available when using the method &lt;em&gt;Area&lt;/em&gt;.&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;p&gt;&amp;nbsp;&lt;/p&gt;
&lt;h4&gt;Which&amp;nbsp;Paint Method?&lt;/h4&gt;
&lt;p&gt;&lt;strong&gt;The brush method&lt;/strong&gt;, also known as &amp;quot;interactive&amp;nbsp;painting&amp;quot;&amp;nbsp;requires much dexterity and&amp;nbsp;can lead to the coloring of undesired area.&amp;nbsp;&lt;/p&gt;
&lt;p&gt;The basic shape of the three types of brush are shown below.&lt;/p&gt;
&lt;p&gt;&lt;img alt=" " src="/photos/mathieu_st-pierres_images/images/57758/original.aspx" border="0" /&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;&lt;strong&gt;The area method&lt;/strong&gt; is different from using&amp;nbsp;brushes in that the area to be painted is selected and the brushing of this area is done instantly instead of brushing the area manually with one of the brushes. The different ways of choosing the area is shown in the picture below. Note that it is possible to choose a color mask which will work has a stencil and impedes the modification of all pixels in the area that are masked. It is also possible to choose the whole image as the area. &lt;em&gt;Beware &lt;/em&gt;that when using image as the area all the pixels of the image are going to be painted unless some of them are masked. In other words, the contents of your image will be loss if no mask has been set.&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;&lt;img title="Paint Area Types" alt="Paint Area Types" src="/photos/mathieu_st-pierres_images/images/58046/original.aspx" border="0" /&gt;&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;&lt;strong&gt;&lt;span style="text-decoration:underline;"&gt;Brush Method vs Area method&lt;/span&gt;&lt;/strong&gt;&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;The brush method is useful when you have to do small touch-up to complex&amp;nbsp;area while the area method is more useful when painting big area of simple shape.&lt;/li&gt;
&lt;li&gt;The brush method required more dexterity than the area method and it is advised when using the brush method to divide a long brushing operation to many small ones to ensure that if you have to undo your last brush operation you will have only a small area to re-brush.&lt;/li&gt;
&lt;li&gt;You cannot use mask with the brush method.&lt;/li&gt;
&lt;/ul&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
&lt;blockquote&gt;
&lt;p&gt;&lt;em&gt;Productivity&amp;nbsp;Tip : &lt;/em&gt;If you want to paint basic geometric form on the raster, use the &lt;a title="stamp vector tool" href="#Stamp%20Vector%20Tool"&gt;stamp vector tool&lt;/a&gt;.&lt;/p&gt;
&lt;/blockquote&gt;
&lt;p&gt;&amp;nbsp;&amp;nbsp;&lt;/p&gt;
&lt;h3&gt;Erase&lt;/h3&gt;
&lt;p&gt;The Erase tool is quite similar the to Paint tool except that the color is always fix to black and no color mask can be chosen.&lt;/p&gt;
&lt;p&gt;&lt;img title="Erase settings" alt="Erase settings" src="/photos/mathieu_st-pierres_images/images/57750/original.aspx" border="0" /&gt;&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&amp;nbsp;&lt;/p&gt;
&lt;h3&gt;Cleanup&lt;/h3&gt;
&lt;p&gt;The Cleanup tool allows the user to remove small aggregate of pixels of different color than the surrounding pixels. Such speckles often&amp;nbsp;occurs on image created from scanned document.&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
&lt;table style="width:735px;height:237px;" border="0"&gt;
&lt;tbody&gt;
&lt;tr&gt;
&lt;td&gt;
&lt;p&gt;&lt;img title="Cleanup settings" alt="Cleanup settings" src="/photos/mathieu_st-pierres_images/images/57751/original.aspx" border="0" /&gt;&lt;/p&gt;
&lt;/td&gt;
&lt;td&gt;
&lt;ul&gt;
&lt;li&gt;&lt;strong&gt;Size&lt;/strong&gt;: Specify the size of the speckle (or hole) size to be removed in working units. &lt;br /&gt;&lt;br /&gt;&lt;em&gt;Productivity&amp;nbsp;Tip&lt;/em&gt;: Use the yellow ruler to measure directly on the screen the size of the speckle you want to remove.&lt;/li&gt;
&lt;/ul&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;&lt;strong&gt;Method&lt;/strong&gt;: Use to determine if you want to remove speckle or hole.&lt;/li&gt;
&lt;li&gt;&lt;strong&gt;Area&lt;/strong&gt;: Specify the area that needs to be cleanup.&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;Red, Green, Blue&lt;/strong&gt;:&amp;nbsp;Specify the color to use to paint over the speckles or to fill the holes. &lt;br /&gt;&lt;br /&gt;&lt;em&gt;Binary Tip&lt;/em&gt;: For binary images, the image&amp;#39;s background color is automatically used to remove the speckles and the foreground color for filling the hole.&lt;/li&gt;
&lt;li&gt;&lt;strong&gt;Paint Mask:&lt;/strong&gt; For choosing a mask that will work has a stencil when painting. This is only available when using the method Area.&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;Flood&lt;/h3&gt;
&lt;p&gt;The flood tool allows use to fill an empty area with just one click. The flood tool is similar to the famous paint bucket tool found in many image editing software, but it works only on binary raster (i.e. : black and white or two colors).&lt;/p&gt;
&lt;p&gt;Below is a small example of using the flood tool to fill with green a small area on the binary raster, the left picture representing the image before the flood operation, and the right, the image after the flood operation.&lt;/p&gt;
&lt;p&gt;&lt;img title="Bentley Descartes - Flood Example" alt="Bentley Descartes - Flood Example" src="/photos/mathieu_st-pierres_images/images/117680/original.aspx" border="0" /&gt;&lt;/p&gt;
&lt;h2&gt;Combine&lt;/h2&gt;
&lt;p&gt;The combine tool can be used to combine the foreground&amp;nbsp;data of two binary images together and save the result in a destination binary image.&amp;nbsp;&amp;nbsp;&lt;/p&gt;
&lt;table border="0"&gt;
&lt;tbody&gt;
&lt;tr&gt;
&lt;td&gt;&lt;img title="Bentley Descartes - Combine Images Dialog" align="top" alt="Bentley Descartes - Combine Images Dialog" src="/photos/mathieu_st-pierres_images/images/122175/original.aspx" border="0" /&gt;&lt;/td&gt;
&lt;td&gt;
&lt;ul&gt;
&lt;li&gt;&lt;strong&gt;Type (four icons&amp;nbsp;at the top)&amp;nbsp;:&amp;nbsp;&lt;/strong&gt;The combine operation type, which can be Or, And, Xor or Compare.&lt;/li&gt;
&lt;li&gt;&lt;strong&gt;Area :&lt;/strong&gt; The type of area to be used for selecting the overlapping region to be combined.&lt;/li&gt;
&lt;li&gt;&lt;strong&gt;Source 1 :&lt;/strong&gt; The first binary image used for the combine operation.&lt;/li&gt;
&lt;li&gt;&lt;strong&gt;Source 2 :&lt;/strong&gt; The second binary image used for the combine operation.&lt;/li&gt;
&lt;li&gt;&lt;strong&gt;Destination :&lt;/strong&gt; The destination binary image that is going to contain the combine operation result.&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;/ul&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;&lt;strong&gt;&amp;nbsp;&lt;/strong&gt;&amp;nbsp;&lt;/p&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;&lt;/p&gt;
&lt;h3&gt;Examples&lt;/h3&gt;
&lt;p&gt;This section presents an example for each different combine type available. The two binary rasters used as the sources are presented below. Note that&amp;nbsp;the source 1&amp;#39;s foreground color is white while the source 2&amp;#39;s foreground color is green and that some foreground pixels from both binary raster are overlapping in two distinct areas.&lt;/p&gt;
&lt;table border="0"&gt;
&lt;tbody&gt;
&lt;tr&gt;
&lt;td&gt;
&lt;p&gt;&lt;strong&gt;Source 1 In Front Of Source 2&lt;/strong&gt;&lt;/p&gt;
&lt;p&gt;&lt;img title="Bentley Descartes - Combine Example - Sources Images" alt="Bentley Descartes - Combine Example - Sources Images " src="/photos/mathieu_st-pierres_images/images/122304/original.aspx" border="0" /&gt; &amp;nbsp;&amp;nbsp;&lt;/p&gt;
&lt;/td&gt;
&lt;td&gt;
&lt;p&gt;&lt;strong&gt;Source 2 In Front Of Source&lt;/strong&gt; &lt;strong&gt;1&lt;/strong&gt;&lt;/p&gt;
&lt;p&gt;&lt;img title="Bentley Descartes - Combine Example Sources 2" alt="Bentley Descartes - Combine Example Sources 2" src="/photos/mathieu_st-pierres_images/images/122316/original.aspx" border="0" /&gt;&lt;/p&gt;
&lt;/td&gt;
&lt;/tr&gt;
&lt;/tbody&gt;
&lt;/table&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
&lt;h4&gt;AND&lt;/h4&gt;
&lt;p&gt;When the&amp;nbsp;AND combine type is chosen the overlapping pixels of both source rasters at one location are AND together. If both pixels have a value of 1 (i.e. : foreground color), the destination raster will have its corresponding pixel set to 1. In all other case, the destination raster&amp;#39;s corresponding pixel will be set to 0.&lt;/p&gt;
&lt;table border="0"&gt;
&lt;tbody&gt;
&lt;tr&gt;
&lt;td&gt;
&lt;p&gt;&lt;strong&gt;Destination With Sources&lt;/strong&gt;&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;img title="Bentley Descartes - Combine AND Example" alt="Bentley Descartes - Combine AND Example" src="/photos/mathieu_st-pierres_images/images/122305/original.aspx" border="0" /&gt;&amp;nbsp;&amp;nbsp;&lt;/p&gt;
&lt;/td&gt;
&lt;td&gt;
&lt;p&gt;&lt;strong&gt;Destination Only&lt;/strong&gt;&lt;/p&gt;
&lt;p&gt;&lt;img title="Bentley Descartes - Combine AND No Sources Example" alt="Bentley Descartes - Combine AND No Sources Example" src="/photos/mathieu_st-pierres_images/images/122306/original.aspx" border="0" /&gt;&amp;nbsp;&lt;/p&gt;
&lt;/td&gt;
&lt;/tr&gt;
&lt;/tbody&gt;
&lt;/table&gt;
&lt;blockquote&gt;
&lt;p&gt;&lt;em&gt;Usage Tip :&lt;/em&gt; The AND combine type is useful for finding overlapping foreground areas in both source rasters.&lt;/p&gt;
&lt;/blockquote&gt;
&lt;h4&gt;OR&lt;/h4&gt;
&lt;p&gt;When the&amp;nbsp;OR combine type is chosen the overlapping pixels of both source rasters at one location are OR together. If at least one of the source pixels has a value of 1 (i.e. : foreground color), the destination raster will have its corresponding pixel set to 1. The destination raster&amp;#39;s corresponding pixel will be set to 0 only if the overlapping pixels in both raster are set to 0.&lt;/p&gt;
&lt;p&gt;&lt;img title="Bentley Descartes - Combine OR Example" alt="Bentley Descartes - Combine OR Example" src="/photos/mathieu_st-pierres_images/images/122307/original.aspx" border="0" /&gt;&lt;/p&gt;
&lt;blockquote&gt;
&lt;p&gt;&lt;em&gt;Usage Tip :&lt;/em&gt; The OR combine type is useful for mergin together two binary rasters or part of two binary rasters.&lt;/p&gt;
&lt;/blockquote&gt;
&lt;h4&gt;XOR&lt;/h4&gt;
&lt;p&gt;When the XOR combine type is chosen the overlapping pixels of both source rasters at one location are XOR together. If one and only one source pixels has a value of 1 (i.e. : foreground color), the destination raster will have its corresponding pixel set to 1. The destination raster&amp;#39;s corresponding pixel will be set to 0 if both overlapping source pixels have the same value, being 0 or 1.&lt;/p&gt;
&lt;table border="0"&gt;
&lt;tbody&gt;
&lt;tr&gt;
&lt;td&gt;
&lt;p&gt;&lt;strong&gt;Destination With Sources&lt;/strong&gt;&lt;/p&gt;
&lt;p&gt;&lt;img title="Bentley Descartes - Combine XOR Example" alt="Bentley Descartes - Combine XOR Example" src="/photos/mathieu_st-pierres_images/images/122308/original.aspx" border="0" /&gt;&amp;nbsp;&amp;nbsp;&lt;/p&gt;
&lt;/td&gt;
&lt;td&gt;
&lt;p&gt;&lt;strong&gt;Destination Only&lt;/strong&gt;&lt;/p&gt;
&lt;p&gt;&lt;img title="Bentley Descartes - Combine XOR No Source Example " alt="Bentley Descartes - Combine XOR No Source Example " src="/photos/mathieu_st-pierres_images/images/122309/original.aspx" border="0" /&gt;&lt;/p&gt;
&lt;/td&gt;
&lt;/tr&gt;
&lt;/tbody&gt;
&lt;/table&gt;
&lt;blockquote&gt;
&lt;p&gt;&lt;em&gt;Usage Tip :&lt;/em&gt; The XOR combine type is useful for finding all foreground data that are not overlapping. In that regard, the XOR type is the opposite of the AND type.&lt;/p&gt;
&lt;/blockquote&gt;
&lt;h4&gt;Compare&lt;/h4&gt;
&lt;p&gt;When the&amp;nbsp;&lt;em&gt;compare&lt;/em&gt; combine type is chosen the pixel value of the first source is compared with the second source. The foreground pixel of the first source raster will be written to the destination raster only if the second source raster&amp;#39;s overlapping pixel is not set to 1. Otherwise the 0 will be written to the destination raster.&lt;/p&gt;
&lt;table border="0"&gt;
&lt;tbody&gt;
&lt;tr&gt;
&lt;td&gt;
&lt;p&gt;&lt;strong&gt;Destination With Sources&lt;/strong&gt;&lt;/p&gt;
&lt;p&gt;&lt;img title="Bentley Descartes - Combine Compare Example " alt="Bentley Descartes - Combine Compare Example " src="/photos/mathieu_st-pierres_images/images/122310/original.aspx" border="0" /&gt; &amp;nbsp;&amp;nbsp;&lt;/p&gt;
&lt;/td&gt;
&lt;td&gt;
&lt;p&gt;&lt;strong&gt;Destination Only&lt;/strong&gt;&lt;/p&gt;
&lt;p&gt;&lt;img title="Bentley Descartes - Combine No Source Compare Example " alt="Bentley Descartes - Combine Compare No Source Example " src="/photos/mathieu_st-pierres_images/images/122311/original.aspx" border="0" /&gt;&lt;/p&gt;
&lt;/td&gt;
&lt;/tr&gt;
&lt;/tbody&gt;
&lt;/table&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
&lt;blockquote&gt;
&lt;p&gt;&lt;em&gt;Usage Tip :&lt;/em&gt; The&amp;nbsp;compare&amp;nbsp;combine type can be used to determine the pixels in the first source raster that are equal to 1 and for which the corresponding pixels in the second source raster are not equal to 1.&lt;/p&gt;
&lt;/blockquote&gt;
&lt;h2&gt;Rasterize&lt;/h2&gt;
&lt;p&gt;The&amp;nbsp;rasterize tools&amp;nbsp;give&amp;nbsp;the user different&amp;nbsp;possibilities to rasterized vectors hovering on a raster. The process of rasterizing consists to convert vector element hovering a raster to a series of pixels in the destination raster representing the vector element.&lt;/p&gt;
&lt;p&gt;&lt;img title="Rasterize Toolbox" alt="Rasterize Toolbox" src="/photos/mathieu_st-pierres_images/images/59445/original.aspx" border="0" /&gt;&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&amp;nbsp;&lt;/p&gt;
&lt;h3&gt;Stamp Vector &lt;a name="Stamp Vector Tool" title="Stamp Vector Tool"&gt;&lt;/a&gt;&lt;/h3&gt;
&lt;p&gt;The Stamp Vector tool can be use to stamp selected vectors directly to an attached raster. Stamping vectors can be very useful when basic geometric needs to be painted on a raster.&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
&lt;table border="0"&gt;
&lt;tbody&gt;
&lt;tr&gt;
&lt;td&gt;
&lt;p&gt;&lt;img title="Stamp Vector Settings" alt="Stamp Vector Settings" src="/photos/mathieu_st-pierres_images/images/59446/original.aspx" border="0" /&gt;&lt;/p&gt;
&lt;/td&gt;
&lt;td&gt;
&lt;ul&gt;
&lt;li&gt;&lt;strong&gt;Use Fence:&lt;/strong&gt; Select this checkbox if you want to use a fence as selector of vector elements to be stamped.&lt;/li&gt;
&lt;li&gt;&lt;strong&gt;Use this View:&lt;/strong&gt; This setting allows the user to select a view that is going to be used for all stamping operation.&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;p&gt;&amp;nbsp;&lt;/p&gt;
&lt;h4&gt;An Example - Drawing&amp;nbsp;A Circle On A Raster&lt;/h4&gt;
&lt;p&gt;Drawing a simple red circle of a given radius and its the radius dimension can be tremendously complicated and time consuming to do with the touch-up tools.&amp;nbsp;Combining&amp;nbsp;the vector drawing capabilities of MicroStation with the rasterizing capabilities of Bentley Descartes makes this task very easy to accomplished. To prove that this task is quite&lt;/p&gt;
&lt;ol&gt;
&lt;li&gt;
&lt;div&gt;First, you draw the circle with a certain radius, for example 5 units, over the given place on the raster that you want the circle to be stamped. Add the dimension of the circle with the MicroStation&amp;#39;s Radial Dimensions tool. &lt;br /&gt;&lt;img title="Stamp Vector Example - Step 1" alt="Stamp Vector Example - Step 1" src="/photos/mathieu_st-pierres_images/images/59740/original.aspx" border="0" /&gt;&lt;/div&gt;
&lt;/li&gt;
&lt;li&gt;
&lt;div&gt;Then, place a fence around the circle and dimension elements that you have drawn. &lt;br /&gt;&lt;img title="Stamp Vector Example - Step 2" alt="Stamp Vector Example - Step 2" src="/photos/mathieu_st-pierres_images/images/59741/original.aspx" border="0" /&gt;&lt;/div&gt;
&lt;/li&gt;
&lt;li&gt;
&lt;div&gt;Select the stamp vector tool, check the Use Fence setting on the Stamp Vector setting dialog box and click on the view that you want to use for the stamping. In the picture below, the original circle and dimension elements have been set to green and offset from their original locations to show the result of the stamp operation : the pixels painted in red on the raster.&lt;br /&gt;&lt;img title="Stamp Vector Example - Step 3" alt="Stamp Vector Example - Step 3" src="/photos/mathieu_st-pierres_images/images/59745/original.aspx" border="0" /&gt;&amp;nbsp;&lt;/div&gt;
&lt;/li&gt;
&lt;/ol&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
&lt;blockquote&gt;
&lt;p&gt;&lt;em&gt;&lt;strong&gt;&amp;nbsp;&lt;/strong&gt;&lt;/em&gt;&lt;em&gt;Productivity&amp;nbsp;Tip :&lt;/em&gt; Check the Use this View setting so you don&amp;#39;t have to select the view each time of want to stamp a vector.&lt;/p&gt;
&lt;/blockquote&gt;
&lt;p&gt;&amp;nbsp;&amp;nbsp;&lt;/p&gt;
&lt;h3&gt;Merge&lt;/h3&gt;
&lt;p&gt;Sometime you have many vector elements that you don&amp;#39;t want to stamp directly on the raster under the vectors. In that case you may use the &lt;a title="Merge" href="/Products/Geospatial/Desktop/w/Geospatial_Desktop__Wiki/bentley-descartes-_2D00_-raster-transformation.aspx#Merge%20Tool" target="Merge Tool"&gt;merge tool&lt;/a&gt; to rasterize all the vector elements and merge them with the raster under those vector elements to form a new raster.&lt;/p&gt;
&lt;h3&gt;Match Line Mapping Settings&lt;/h3&gt;
&lt;p&gt;Since line weights and styles always display at the same ratio regardless of the zoom factor, for each level of zoom the element covers more or less pixels. For example, when zoomed out really far, the element covers more pixels than when zoomed in very close. It is this coverage, in Working Units, that is used to modify the Line Mapping Settings.&lt;/p&gt;
&lt;h3&gt;Line Mapping Settings&lt;/h3&gt;
&lt;p&gt;The Line Mapping Settings dialog box is used to set the mapping between the vector&amp;nbsp;element&amp;#39;s line weight and line style parameters and the resulting line weight and line style of the rasterized vector&amp;nbsp;elements (i.e. : pixels representation of the vector element).&lt;/p&gt;
&lt;p&gt;&lt;img alt=" " src="/photos/mathieu_st-pierres_images/images/59444/615x480.aspx" border="0" /&gt;&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;
&lt;div&gt;&lt;strong&gt;Scale&lt;/strong&gt;: Apply a scale factor on all the line weights and line style parameters.&lt;/div&gt;
&lt;/li&gt;
&lt;li&gt;
&lt;div&gt;&lt;strong&gt;Line Weight&lt;/strong&gt;: Allow the user to define the width, in working units, of the&amp;nbsp;resulting stamped vector&amp;nbsp;given its standard line weights (0-15). Note that the line weight of custom line style is determined automatically by the Line Mapping tool.&lt;/div&gt;
&lt;/li&gt;
&lt;li&gt;
&lt;div&gt;&lt;strong&gt;Line Style&lt;/strong&gt;: Allow the user to specify a sequence of dashes and gaps that is going to be used when stamping a vector whose style is one of the eight standard styles (0 to 7). All the dashes and gaps are specified in working units.&amp;nbsp;The sequence of dashes and gaps is drawn repeatedly if the length of the linear vector element is longer than the defined sequence.&lt;/div&gt;
&lt;/li&gt;
&lt;li&gt;
&lt;div&gt;&lt;strong&gt;Automatic Vector Stamping&lt;/strong&gt;: When this option is turn on all the elements drawn on the model will be stamped automatically on the raster below, if any. Note that when this option is check, it is impossible to draw element as vector (i.e.&amp;nbsp;: the element can only be&amp;nbsp;stamped on a raster).&lt;/div&gt;
&lt;/li&gt;
&lt;/ul&gt;
&lt;p&gt;&amp;nbsp;&amp;nbsp;&lt;/p&gt;
&lt;h2&gt;Cut / Copy / Paste&lt;/h2&gt;
&lt;p&gt;The cut / copy / paste functionalities are similar to the standard cut / copy / paste functionalities found in numerous applications like text editor. In Descartes, the cut / copy / paste functionalities work on the pixels composing one or many rasters.&lt;/p&gt;
&lt;h2&gt;Local Transform&lt;/h2&gt;
&lt;p&gt;The Local Transform tools are used to do basic&amp;nbsp;editing operations within the&amp;nbsp;boundary of the active image. The basic&amp;nbsp;editing operation are : copy, move, scale, rotate, mirror and warp.&lt;/p&gt;
&lt;p&gt;&lt;img title="Bentley Descartes - Local Transform Toolbox" alt="Bentley Descartes - Local Transform Toolbox" src="/photos/mathieu_st-pierres_images/images/79169/original.aspx" border="0" /&gt;&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&amp;nbsp;&lt;/p&gt;
&lt;h3&gt;Cover Up Area / Clone Area&lt;/h3&gt;
&lt;p&gt;In Descartes V8i two more complex and complementary editing tools have been added to the local transform toolbox.&amp;nbsp;These tools allow the user to cover-up or clone a specified area with another area in the same image. Both tools&amp;#39; setting dialog are identical.&lt;/p&gt;
&lt;table style="width:650px;" border="0"&gt;
&lt;tbody&gt;
&lt;tr&gt;
&lt;td&gt;
&lt;p&gt;&lt;img title="Descartes - Cover Up Area Settings" alt="Descartes - Cover Up Area Settings" src="/photos/mathieu_st-pierres_images/images/77492/original.aspx" border="0" /&gt;&lt;/p&gt;
&lt;/td&gt;
&lt;td valign="top"&gt;
&lt;ul&gt;
&lt;li&gt;&lt;strong&gt;Area&lt;/strong&gt;:&amp;nbsp;Allow the user to specify the type of area to&amp;nbsp; cover&amp;nbsp;up&amp;nbsp;or&amp;nbsp;clone.&lt;/li&gt;
&lt;li&gt;&lt;strong&gt;Feathering&lt;/strong&gt;:&amp;nbsp;Specified&amp;nbsp;if feathering around the area border should be applied during the cover up or clone area operation. Note that the feathering is not available for certain color more like binary or 8 bit color palette.&lt;/li&gt;
&lt;li&gt;&lt;strong&gt;Show&amp;nbsp; destination:&lt;/strong&gt; When selected the destination area is show during the selection of the cover up or cloned area.&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;h4&gt;An Example - Covering-up a boat or cloning it&lt;/h4&gt;
&lt;p&gt;This section shows what can be achieved with the Clone Area and Cover Up Area&amp;nbsp;tools. The goal here is to cover-up / clone the boat at the top of the following image.&lt;/p&gt;
&lt;p&gt;&lt;img title="Descartes - Clone Area/Cover-up Example - Before" alt="Descartes - Clone Area/Cover-up Example - Before" src="/photos/mathieu_st-pierres_images/images/77493/original.aspx" border="0" /&gt;&lt;/p&gt;
&lt;p&gt;- &lt;strong&gt;Covering-up the boat&lt;/strong&gt;&lt;/p&gt;
&lt;p&gt;The image below show the image after the boat at the top of the original image has been covered-up. The power of the Cover Up Area tool is based on the fact that, in an image, the neighborhood of an area&amp;nbsp;containing&amp;nbsp;background image data (in that example, water) can be copied over this area to cover up some object (in that example, the boat) with background image data. Note that the selection of the &lt;strong&gt;Show destination&lt;/strong&gt; option results in the drawing of the left double rectangle in the image below. This rectangle is deleted once the operation is terminated.&lt;/p&gt;
&lt;blockquote&gt;
&lt;p&gt;&lt;em&gt;Productivity Tip&lt;/em&gt;: Turn on the feathering to ensure that the border of the Cover Up Area or Clone Area doesn&amp;#39;t appear in the resulting image.&lt;/p&gt;
&lt;/blockquote&gt;
&lt;p&gt;&lt;img title="Descartes - Covering-up Example" alt="Descartes - Covering-up Example" src="/photos/mathieu_st-pierres_images/images/77494/original.aspx" border="0" /&gt;&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;&lt;strong&gt;- Cloning the boat&lt;/strong&gt;&lt;/p&gt;
&lt;p&gt;The Clone Area tool is very similar to the Cover Up Area except that now&amp;nbsp;this is the selected area that is used to cover up&amp;nbsp;another area instead of being covered up.&amp;nbsp;The example below shows the boat at the top of the original image being cloned.&lt;/p&gt;
&lt;p&gt;&lt;img title="Bentley Descartes - Clone Area - Example" alt="Bentley Descartes - Clone Area - Example" src="/photos/mathieu_st-pierres_images/images/77495/original.aspx" border="0" /&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&amp;nbsp;&lt;/p&gt;
&lt;h4&gt;Cover Up Area / Clone Area&lt;/h4&gt;
&lt;p&gt;The Cover Up Area or Clone Area tools can be used interchangeably. In the cover-up example above, the Clone Area tool could have been used to clone the water body on the boat. The&amp;nbsp;major drawbacks of using the Clone Area tool to cover-up some object is that you need to estimate the size of the object to cover when selecting the clone area and that the clone area chosen might not give the&amp;nbsp;anticipated result.&amp;nbsp;Using the&amp;nbsp;Cover Up Area tool have none of those drawbacks when having to cover-up an area.&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;: If you have to cover-up (i.e. : erase) a foreground object with the background image data, use the Cover Up Area tool. If you have to clone a foreground object on the background image data, use the Clone Area tool.&lt;/p&gt;
&lt;/blockquote&gt;
&lt;p&gt;&amp;nbsp;&amp;nbsp;&lt;/p&gt;
&lt;h2&gt;Color Mask&lt;/h2&gt;
&lt;p&gt;The color mask can be used as a stencil for ensuring that only some determined regions are modified while other remains unchanged when using the standard raster&amp;nbsp;editing tools. The stencil is described in term of the different colors than must not be modified, thus the name color mask.&lt;/p&gt;
&lt;p&gt;&lt;img title="Bentley Descartes - Color Mask" alt="Bentley Descartes - Color Mask" src="/photos/mathieu_st-pierres_images/images/79170/original.aspx" border="0" /&gt;&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&amp;nbsp;&lt;/p&gt;
&lt;h3&gt;Add to Mask / Substract from Mask&lt;/h3&gt;
&lt;p&gt;Colors can be easily added to or subtracted from a given mask by using the tools Add to Mask / Subtract from Mask. These tools allow the user to select an image&amp;#39;s area containing pixels whose colors need to be added to or subtracted from a given color mask. Note that the Subtract from Mask tool&amp;#39;s settings dialog is the same as the Add to Mask tool&amp;#39;s settings dialog shown below.&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 - Add to Mask - Tool Settings" alt="Bentley Descartes - Add to Mask - Tool Settings" src="/photos/mathieu_st-pierres_images/images/77684/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;:&amp;nbsp;Allow the user to specify the type of area to be used when selecting image&amp;#39;s pixels&amp;nbsp;whose colors needed to be added to a color mask.&lt;/li&gt;
&lt;li&gt;&lt;strong&gt;Mask&lt;/strong&gt;: The name of the color mask to which the selected pixels&amp;#39; colors will be added.&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;Hilite&lt;/strong&gt;:&amp;nbsp;When turn on, all the pixels whose color are present in the selected color mask will be highlighted (i.e. : their display color will be the same as the hilite color).&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;h3&gt;Hilite Mask&lt;/h3&gt;
&lt;p&gt;The hilite mask tool allows the user to turn the hilite on for the selected color mask.&lt;/p&gt;
&lt;p&gt;&lt;img title="Bentley Descartes - Hilite Mask Tool Settings" alt="Bentley Descartes - Hilite Mask Tool Settings" src="/photos/mathieu_st-pierres_images/images/77686/original.aspx" border="0" /&gt;&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&amp;nbsp;&lt;/p&gt;
&lt;h3&gt;Color Mask Dialog&lt;/h3&gt;
&lt;p&gt;The color mask dialog can be used to manage (create, delete, add colors, remove colors, etc...) color masks. A mask can be used with any image of any pixel type. Color mask cannot be used with binary image.&lt;/p&gt;
&lt;p&gt;&lt;img title="Bentley Descartes - Color Mask Dialog" alt="Bentley Descartes - Color Mask Dialog" src="/photos/mathieu_st-pierres_images/images/77685/original.aspx" border="0" /&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&amp;nbsp;&lt;/p&gt;
&lt;h2&gt;Raster&amp;nbsp;Editing In 3D Model&lt;/h2&gt;
&lt;p&gt;With Bentley Descartes it is possible to edit 2D raster not only in 2D model but also directly in a 3D model.&lt;/p&gt;
&lt;h3&gt;Work In Image Plane &lt;a name="Work In Image Plane" title="Work In Image Plane"&gt;&lt;/a&gt;&lt;/h3&gt;
&lt;p&gt;When working on an&amp;nbsp;2D&amp;nbsp;image in a 3D model it is important to consider the visual deformation of the raster when viewed through a view that is not on the same plane as the raster. This visual deformation is the result of the raster&amp;#39;s pixel&amp;nbsp;being reprojected from the raster plane to the view plane.&amp;nbsp; When dealing with images that have a 3D orientation, several tools provide the &lt;em&gt;Work in Image Plane&lt;/em&gt; option which projects all data points perpendicular to the image coordinate system.&lt;/p&gt;
&lt;p&gt;When this setting is off, the data points are parallel to the view.&amp;nbsp;However, when it&amp;#39;s&amp;nbsp;turned on, the data points lie on the same plane as the 3D oriented image.&amp;nbsp; The image on the left shows the setting off, while the right image shows the datapoint placement when the setting is on.&lt;/p&gt;
&lt;p&gt;&lt;img alt=" " src="/photos/inga_morozoff_bentleys_photos/images/108598/500x290.aspx" border="0" /&gt;&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;
</description></item></channel></rss>