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:boxmanipulation [2017/06/07 17:22]
bgraf
eyes:logics:boxmanipulation [2017/06/12 19:08] (current)
jschlie1
Line 1: Line 1:
-====== ​Box Manipulation ​======+====== ​BoxManipulation ​====== 
 +This logic provides functionalities,​ to change/​enlarge/​scale etc. the box of a stack of images.
  
 ===== Usage ===== ===== Usage =====
- +The input of this logic will be subjected to the selected process.
-===== Example ====+
  
 ===== Processes ===== ===== Processes =====
- 
 ==== Canvas Resize ==== ==== Canvas Resize ====
 Resizes images to the side length specified by the input value. This is carried out by either cropping or padding the images, depending on whether the image size is supposed to be reduced or enlarged. Resizes images to the side length specified by the input value. This is carried out by either cropping or padding the images, depending on whether the image size is supposed to be reduced or enlarged.
Line 13: Line 12:
 ^ Parameters ​                ^ Description ​    ^ ^ Parameters ​                ^ Description ​    ^
 | New Size (X=Y) | Final image side length in pixel  | | New Size (X=Y) | Final image side length in pixel  |
- 
-=== Example Usage === 
- 
-Changing image size without changing the magnification (or Angstrom/​pixel ratio) 
  
 ==== Coarse ==== ==== Coarse ====
Line 29: Line 24:
  
 ==== Crop Image ==== ==== Crop Image ====
- 
- 
 |< 100% 30% >| |< 100% 30% >|
 ^ Parameters ​                ^ Description ​    ^ ^ Parameters ​                ^ Description ​    ^
Line 39: Line 32:
 | Right | | | Right | |
 | Top | |  | Top | | 
- 
- 
-==== FFT Resize ==== 
-|< 100% 30% >| 
-^ Parameters ​                ^ Description ​    ^ 
-| Pad Size | |  
- 
  
 ==== Fourier Coarse ==== ==== Fourier Coarse ====
Line 53: Line 39:
 ^ Parameters ​                ^ Description ​    ^ ^ Parameters ​                ^ Description ​    ^
 | Coarse factor | The coarse factor used to calculate the new image size (oldSize / coarseFactor = newSize). |  | Coarse factor | The coarse factor used to calculate the new image size (oldSize / coarseFactor = newSize). | 
- 
- ​**Inputs** ​ 
- 
-io:input: Any stack of images in real space, up to 3D 
- 
- ​**Outputs** ​ 
- 
-io:output: Cropped images ​ 
  
 ==== Noise Padding ==== ==== Noise Padding ====
Line 68: Line 46:
 | Pad Size | |  | Pad Size | | 
  
-        ​ 
 ==== Scale ==== ==== Scale ====
 Scales images by the given value n Scales images by the given value n
Line 76: Line 53:
 | Scale Factor| represents the factor n the input images are scaled with |  | Scale Factor| represents the factor n the input images are scaled with | 
  
-**Written Header Values** +|< 100% 30% >| 
-  * **pixelSize:** Pixel size after scaling +Written Header Values ​                ^ Description ​    ^ 
 +pixelSize ​Pixel size after scaling ​|
  
 ==== Zero Padding ==== ==== Zero Padding ====
- 
 |< 100% 30% >| |< 100% 30% >|
 ^ Parameters ​                ^ Description ​    ^ ^ Parameters ​                ^ Description ​    ^
 | Padding Factor | |  | Padding Factor | | 
  
- 
- 
-===== 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.