Lazy ACF Tiling |
> |
||||
|
|
|
INTRODUCTIONThe commands of the Lazy ACF Tiling macro permit
Using the Lazy ACF Tiling macro, it is possible to calculate:
|
||
|
|
|
References:
|
||
|
|
|
GETTING STARTEDThe object of this set of macros is to prepare
ACF tilings: a given image is
subdivided into a number of squares for
which the ACFs (grayvalue images and
thresholded versions) are calculated.
Using thresholded ACFs, "local" shape
analysis is made possible.
|
||
|
|
|
MAKE GRID
[G] draws grid lines in the desired spacing
Here: Grid spacing = 128 |
||
|
|
|
SELECT AREA
[1] creates a square selection box of desired size
(2n · 2n, where n = 2, 3, 4
. etc. = integer number)
Here: Selected size = 128 · 128 Selection box can be moved |
||
|
|
|
SINGLE ACF[2] calculates the ACF of the selected area; the ACF is copied into the second slice of
the two-layer stack
Here: |
||
|
|
|
SINGLE ACF CENTER[3] calculates the ACF of the selected area;
the ACF center is copied into the second slice of the two-layer stack
Here: |
||
|
|
|
STRIP OF ACFS[4] calculates a horizontal strip of ACFs; the ACFs are copied into the second slice of the two-layer stack
Here: The upper left corner = (20,80)
|
||
|
|
|
STRIP OF ACF CENTERS[5] calculates a horizontal strip of ACF centers; the ACF centers are copied
into the second slice of the two-layer stack
Here: Image size = 256 · 256, ACF size = 128 · 128
|
||
|
|
|
TILING OF ACF CENTERS[6] calculates a tiling of ACF centers; the ACF centers are copied into the second slice of the TWO-LAYER STACK
Here: Image size = 256 · 256, ACF size = 128 · 128 ⇒ ACF center size = 64 · 64. For ACF centers, shift between ACFs = 1/2 ACF size (= ACF center size) ⇒ matrix of 3 · 3 ACFs |
||
|
|
|
TILING OF ACF CENTERS[7] calculates a tiling of ACF centers; the ACF centers are copied into the second slice of the THREE-LAYER STACK
Here: Image size = 256 · 256, ACF size = 128 · 128
On the third slice, the ACFs are thresholded.
Here: |
||
|
|
|
TILING OF ACFS[8] calculates a tiling of ACFs;
the thresholded ACF centers are copied into the second slice of the TWO-LAYER STACK
Here: Image size = 256 · 256, ACF size = 128 · 128 |
||
|
|
|
TILING OF ACFS[9] calculates a set of individual ACFs (corresponding to a
tiling of ACFs). The resulting
ACFs (slices) are numbered and labeled by
rows and columns; they can be combined to
ACF stack.
Here: |
||
|
|
|
ANALYSIS OF ACFS[0] calculates the bulk ACF from a set of individual ACFs (of equal size). The ACF stack created by the previous macro
([9]) is thresholded and the
thresholded areas are
analyzed.
Here: | ||
|
|
|
DERIVING BULK ACFSThe ACF stack created by the previous macro
([9]) is averaged (sing the SXM
Image Stack menu).
For comparison, the ACF of the entire image is also shown. The center parts are the same. |
||
|
|
|
CALIBRATE AND THRESHOLD[T] is used to calibrate the ACF to 100%.
[A] can be used to set the minimum to 0%,
[B] sets the threshold at 30% (estimated grain size in aggregate), [C] sets the threshold at 39% (estimated grain size for diluted particles) |
||
|
|
|
ANALYZE ACFS[D] calculates perimeter, best fit ellipse (axial ratio and orientation) and equivalent radius of thresholded ACFs.
|
||
|
|
|
[E] same as [D], adding the results in the image.
[F] performs thresholding of ACFs in stack such that a desired size is obtained.
|
||