Skip to content

Commit

Permalink
doc: Use lowercase for mask (#4529)
Browse files Browse the repository at this point in the history
Again, use lowercase mask and other wording instead of MASK when talking about masking, similar to #4401 and #4495.

It also adjusts the wording in r.topidx and i.segment.
  • Loading branch information
wenzeslaus authored Oct 15, 2024
1 parent 9a79aa4 commit bc9cb2a
Show file tree
Hide file tree
Showing 5 changed files with 9 additions and 7 deletions.
2 changes: 1 addition & 1 deletion imagery/i.segment/i.segment.html
Original file line number Diff line number Diff line change
Expand Up @@ -118,7 +118,7 @@ <h3>Mean shift</h3>
<h3>Boundary Constraints</h3>
Boundary constraints limit the adjacency of pixels and segments.
Each unique value present in the <b>bounds</b> raster are
considered as a MASK. Thus no segments in the final segmentated map
considered as a mask. Thus, no segments in the final segmented map
will cross a boundary, even if their spectral data is very similar.

<h3>Minimum Segment Size</h3>
Expand Down
2 changes: 1 addition & 1 deletion imagery/i.segment/iseg.h
Original file line number Diff line number Diff line change
Expand Up @@ -118,7 +118,7 @@ struct globals {

/* processing flags */
FLAG *candidate_flag,
*null_flag; /*TODO, need some way to remember MASK/NULL values. Was
*null_flag; /*TODO, need some way to remember mask/NULL values. Was
using -1, 0, 1 in int array. Better to use 2 FLAG
structures, better readability? */

Expand Down
2 changes: 1 addition & 1 deletion ps/ps.map/r_instructions.c
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ static char *help[] = {
"read unix-file eps Encapsulated PostScript file",
"border [y|n] mapinfo map information",
"window region definition region region definition",
"maskcolor MASK color",
"maskcolor mask color",
"rectangle east north east north",
"scale 1:#|# inches|# panels|1 inch = # miles",
"outline map composition outline",
Expand Down
2 changes: 1 addition & 1 deletion raster/r.resamp.interp/r.resamp.interp.html
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ <h2>NOTES</h2>
<p>Note that for bilinear, bicubic and lanczos interpolation,
cells of the output raster that cannot be bounded by the appropriate number
of input cell centers are set to NULL (NULL propagation). This could occur
due to the input cells being outside the current region, being NULL or MASKed.
due to the input cells being outside the current region, being NULL or masked.


<p>For longitude-latitude coordinate reference systems,
Expand Down
8 changes: 5 additions & 3 deletions raster/r.topidx/r.topidx.html
Original file line number Diff line number Diff line change
Expand Up @@ -10,12 +10,14 @@ <h2>DESCRIPTION</h2>
<dd>the local surface topographic slope (delta vertical) / (delta
horizontal).</dd>
</dl>
<p>Input maps may have NULL values. For example, if you have a MASK for a
watershed (basin map from <em>r.water.outlet</em>), the following command will
create a masked elevation map (belev):
<p>Input maps may have NULL values. For example, if you have a raster mask set
for a watershed (using basin map from <em>r.water.outlet</em>), the following
command will create a masked elevation map (belev):

<div class="code"><pre>
r.mapcalc "belev = if(isnull(basin), basin, elev)"
</pre></div>

<p>
<em>r.stats -Anc</em> prints out averaged statistics for topographic index.

Expand Down

0 comments on commit bc9cb2a

Please sign in to comment.