Differences

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

Link to this comparison view

Both sides previous revision Previous revision
Next revision
Previous revision
eyes:logics:createimage [2017/06/09 14:04]
jschlie1
eyes:logics:createimage [2017/06/09 14:37] (current)
jschlie1
Line 3: Line 3:
  
 ===== Usage ===== ===== Usage =====
-Will create an image of a geometrical object with pixel values of 1. The created shape or volume is either mass-centered or x/y/z shifted (in pixel) relative to the center of the canvas/​volume,​ if the respective parameters are set. +Will create an image of a geometrical object with pixel values of 1. The created shape or volume is either mass-centered or x/y/z shifted (in pixel) relative to the center of the canvas/​volume,​ if the respective parameters are set. To mask any image or volume with the created image/​volume,​ create a “mask” with this CreateImage logic, setting the same dimensions (DimX/Y/Z) as your original image(s) / volume(s) which is/are to be masked. Subject the output of this logic to the [[eyes:​logics:​arithmeticswithtwoimages]] logic to multiply (a stack of) image(s)/ volume(s) with your mask. Areas which are black (pixel value = 0) within the mask image/​volume will be erased from the original image(s) / volume(s)
  
 ===== Parameters and I/O ===== ===== Parameters and I/O =====
Line 9: Line 9:
  
 |< 100% 30% >| |< 100% 30% >|
-^ Shape                 ^ Dimensionality ​^ Description ​    ^+^ Shape                 ^ Dimensionality ^
 | disc                  | 2D             ​| ​ | disc                  | 2D             ​| ​
 | sphere ​               | 3D             ​| ​ | sphere ​               | 3D             ​| ​
Line 17: Line 17:
  
 |< 100% 30% >| |< 100% 30% >|
-^ Parameters ​                ​^ Description ​    ^ +^ Parameters ​             ^ Description ​    ^ 
-Some changeable parameter  ​Description ​of this parameter ​+Image size X            ​Size of canvas/​volume in x direction ​      
-| -> and its sub-parameter ​  | more description ​+Image size Y            | Size of canvas/​volume in y direction ​      | 
-Next main parameter ​       ​| and more more more +| Image size Z            | Size of canvas/​volume in z direction ​      | 
-| -and its sub-parameter ​  ... descriptions ​|+| Depth [percent/​pixel] ​  | Depth of created object in pixels or percent of the total canvas/​volume size (z-axis) | 
 +| Height [percent/​pixel] ​ | Height of created object in pixels or percent of the total canvas/​volume size (y-axis) | 
 +| Width [percent/​pixel] ​  | Width of created object in pixels or percent of the total canvas/​volume size (x-axis) ​
 +X shift from center ​    Shift on x-axis in pixel, can be positive ​and negative regarding the direction ​
 +Y shift from center ​    | Shift on y-axis in pixel, can be positive ​and negative regarding the direction ​| 
 +| Z shift from center ​    | Shift on y-axis in pixel, can be positive and negative regarding the direction ​|
  
-|< 100% 30% >| 
-^ Input   ^ Description ^ 
-| FirstInput ​ | Input Description 1 | 
-| SecondInput | Input Description 2 | 
-| //​ThirdInput// ​ | Input Description 3: Optional Input in Italic | 
- 
-|< 100% 30% >| 
-^ Output ​  ^ Description ^ 
-| FirstOutput | Output Description | 
- 
-|< 100% 30% >| 
-^ New/Changed Header Values ^ Description ^ 
-| headerValue1 | what does it say? how is it changed? | 
-| headerValue2 | what does it say? how is it changed? | 
-| headerValue3 | what does it say? how is it changed? | 
-| headerValue4 | what does it say? how is it changed? | 
- 
-==== thisIsTheNameOfMode2 ==== 
-Here, a short introduction for the given mode should be placed. Again, state WHAT and WHY this mode us useful in not more than 2 sentences. 
- 
-|< 100% 30% >| 
-^ Parameters ​                ^ Description ​    ^ 
-| Some changeable parameter ​ | Description of this parameter | 
-| -> and its sub-parameter ​  | more description | 
-| Next main parameter ​       | and more more more | 
-| -> and its sub-parameter ​  | ... descriptions | 
- 
-|< 100% 30% >| 
-^ Input   ^ Description ^ 
-| FirstInput ​ | Input Description 1 | 
-| SecondImput | Input Description 2 | 
-| ThridImput ​ | Input Description 1 | 
- 
-|< 100% 30% >| 
-^ Output ​  ^ Description ^ 
-| FirstOutput | Output Description | 
- 
-|< 100% 30% >| 
-^ New/Changed Header Values ^ Description ^ 
-| headerValue1 | what does it say? how is it changed? | 
-| headerValue2 | what does it say? how is it changed? | 
-| headerValue3 | what does it say? how is it changed? | 
-| headerValue4 | what does it say? how is it changed? | 
- 
-===== Concept ===== 
-In this paragraph, the "HOW a logic works under the hood" and WHY someone should use it can be elaborated with higher detail. Describes a scenario in an image processing workflow where this logic can be used to solve the resulting problem. Also, wikipages, publications or anything else describing the theory behind an algorithm should be linked here, if applicable.