Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Next revision
Previous revision
insert_map_layer [2012/11/09 14:22]
bruno created
insert_map_layer [2015/10/12 16:48] (current)
admin
Line 7: Line 7:
 ===== Inputs ===== ===== Inputs =====
  
-^ Name ^ Type ^ Description ^ +^ Name  ^ Type  ^ Description ​ 
-Source ​ | [[Map Type|Map]] ​ | Map whose non-null cells correspond to an occurrence of a category.   |+Map  | [[Map Type]]  ​| Map where the layer will be inserted. ​  | 
 +| Layer  | [[Map Type]]  | Map whose first layer will be inserted in Map.   
 +| Layer Position ​ | [[Positive Integer Value Type]] ​ | Position where the layer will be inserted in the map. If the position is higher than the current number of layers in the map, the new layer will be placed in the last position. ​|
  
 ===== Optional Inputs ===== ===== Optional Inputs =====
  
-^ Name ^ Type ^ Description ^ Default Value ^ +^ Name  ^ Type  ^ Description ​ ^ Default Value  
-Initial Patch Label  | [[Int Type|Int]]  | Initial number used to label the first patch found on the map.  | 1  | +Layer Name  | [[Name Type]] ​ | Name the layer will have in the map. A unique name is required. ​If Nonean automatic unique name will be generated.  | None  | 
-| Only Orthogonals Are Allowed ​ | [[Bool Type|Bool]] ​ | If trueonly orthogonal cells will be considered first order neighbors.  | False  | +Replace Layer  | [[Boolean ​Value Type]] ​ | If true, replace ​the layer at the given position with the new layerOtherwise, ​the layer located at the given position (and all following layers) is shifted to the next position to accommodate the new layer.  | False  |
-Window Lines  | [[Positive Int Type|Positive Int]]  | Number of lines of the neighbor search window. ​ | 3  | +
-| Window Columns ​ | [[Positive Int Type|Positive Int]]  | Number of columns of the neighbor search window. ​ | 3  | +
-| Cell Type  | [[Cell Type Type|Cell Type]] ​ | Data cell type.  | Signed 32 Bit Integer ​ | +
-| Null Value  | [[Int Type|Int]] ​ | Null value. ​ | 3  | +
-| Patch Labels Are Sparse ​ | [[Bool Type|Bool]]  | If true, the map is loaded as a sparse imageSparse images have the advantage of storing only the cells containing non-null values, but they have diminished access time.  | False  |+
  
 ===== Output ===== ===== Output =====
  
-^ Name ^ Type ^ Description ^ +^ Name  ^ Type  ^ Description ​ 
-Patch Labels ​ | [[Categorical ​Map Type|Categorical Map]]  | Map showing each group of cells as a patch identified by a label. It has the same dimensions as the source map.  |+Map  | [[Map Type]] ​ | Map containing ​the new layer.  |
  
 ===== Group ===== ===== Group =====
  
 [[Functor List#Map Algebra|Map Algebra]] [[Functor List#Map Algebra|Map Algebra]]
- 
-===== Notes ===== 
- 
-The use of windows bigger than 3x3 allows disjoint cells to be considered as neighbors. 
  
 ===== Internal Name ===== ===== Internal Name =====
  
-CalcPatchLabelMap +InsertMapLayer