Hole Depth » History » Version 4
Eric Hou, 06/25/2010 09:23 AM
1 | 1 | Amber Herold | h1. Hole Depth |
---|---|---|---|
2 | |||
3 | 3 | Eric Hou | The hole depth node, is a set of tools to measure parameters needed to correlate the intensity values of hole with (I) and without ice (I0) with the physical thickness of the ice. The two intensity values gives the image contrast , c=ln(I0/I), that is used in Hole Finder Node Class as the relative measurement of thickness. Since the actual calibration of contrast against physical thickness is not yet written, we do not advise using this node unless you plan to perform your own query and fit the values with the proper function outside Leginon. |
4 | 1 | Amber Herold | |
5 | Required bindings for recieving images: |
||
6 | |||
7 | 3 | Eric Hou | This node at the moment stands alone and is used in post session processing. |
8 | 1 | Amber Herold | |
9 | h2. Image Selection |
||
10 | |||
11 | Each selected image type are for different measurement required for the correlation. |
||
12 | |||
13 | 3 | Eric Hou | * I0= Image of the area after the ice is burned recorded at the magnification and defocus at which the contrast-thickness calibration is intended. |
14 | 1 | Amber Herold | |
15 | 3 | Eric Hou | Relevent Image Control Panel- |
16 | 1 | Amber Herold | |
17 | |||
18 | 4 | Eric Hou | ** PickHoles: Pick location and calculates mean intensity within given radius of the the Picked position. |
19 | 1 | Amber Herold | |
20 | 4 | Eric Hou | * I= Image of the area before the ice is burned recorded at the magnification and defocus at which the contrast-thickness calibration is intended. |
21 | 1 | Amber Herold | |
22 | 4 | Eric Hou | Relevent Image Control Panel- |
23 | 1 | Amber Herold | |
24 | 4 | Eric Hou | ** PickHoles: Pick location and calculates mean intensity within given radius of the the Picked position. |
25 | 1 | Amber Herold | |
26 | |||
27 | 4 | Eric Hou | * Hole Untilt= Image of the a small patch of ice burned away from carbob support at high magnification that is used to determine the radius of the burned cylindrical hole. |
28 | 1 | Amber Herold | |
29 | 4 | Eric Hou | Relevent Image Control Panel- |
30 | 1 | Amber Herold | |
31 | 4 | Eric Hou | ** Original: File Entry. |
32 | 1 | Amber Herold | |
33 | 4 | Eric Hou | ** Edge: Create Edge Image of the hole. |
34 | 1 | Amber Herold | |
35 | 4 | Eric Hou | ** Template: Create Ring Template and correlate with the edge image to obtain the radius of the cylindrical hole. |
36 | 1 | Amber Herold | |
37 | 4 | Eric Hou | * Hole Tilt= Image of the same area as "Hole Untilt" with the stage tilted to reveal some separation of the two cylinder end projection or partial ocluded path by one of the end projection. |
38 | 1 | Amber Herold | |
39 | 4 | Eric Hou | Relevent Image Control Panel- |
40 | 1 | Amber Herold | |
41 | 4 | Eric Hou | ** Original: File Entry. |
42 | 1 | Amber Herold | |
43 | 4 | Eric Hou | ** Edge: Create Edge Image of the tilted hole. |
44 | 1 | Amber Herold | |
45 | 4 | Eric Hou | ** Template: Using the tilt-projected ring template created from "Hole Untilt" and the microscopic stage alpha angle of the tilted image to correlate with the edge image to obtain the correlation peaks of the the two end of the |
46 | 1 | Amber Herold | cylinder. |
47 | |||
48 | 4 | Eric Hou | ** Threshold: Threshold the correlation image to reveal only the two main peaks. |
49 | 1 | Amber Herold | |
50 | 4 | Eric Hou | ** Blobs: Find the two thresholded peaks and calculates the depth of the hole from the separation. |
51 | 1 | Amber Herold | |
52 | h2. Image Control Panel |
||
53 | |||
54 | 4 | Eric Hou | NOTE: To see the effects of Testing the settings for a particular Hole Depth step in the Image Control Panel, the corresponding Hole Depth step Display must be enabled before using the Test feature in that step's Display Settings. |
55 | 1 | Amber Herold | |
56 | h2. Original |
||
57 | |||
58 | 4 | Eric Hou | h3. Display |
59 | 1 | Amber Herold | |
60 | 4 | Eric Hou | To view the original input image without any image processing done to it, enable this button. Enabling this button will disable/override the Edge, Template, and Threshold Displays. |
61 | 1 | Amber Herold | |
62 | 4 | Eric Hou | h3. Display Settings |
63 | 1 | Amber Herold | |
64 | 4 | Eric Hou | * Original Image: File Entry = Enter the path and name of an MRC image that matches the Image selection chosen in the node toolbar. The filename and path for each type are stored separately. Only the chosen type will be displayed. |
65 | 1 | Amber Herold | |
66 | h2. Edge |
||
67 | |||
68 | 4 | Eric Hou | The purpose of the Edge step is to convert the original image into an "edge" image where the edges of the holes in the image are enhanced against a black background. |
69 | 1 | Amber Herold | |
70 | 4 | Eric Hou | h3. Display |
71 | 1 | Amber Herold | |
72 | 4 | Eric Hou | To view the Edge image, enable this button. Enabling this button will disable/override the Original, Template, and Threshold Displays. |
73 | 1 | Amber Herold | |
74 | 4 | Eric Hou | h3. Display Settings |
75 | 1 | Amber Herold | |
76 | 4 | Eric Hou | * Low Pass Filter Sigma = Enter the sigma of the low pass filter applied to the edge image. A value of 0 will not apply a low pass filter to the edge image. |
77 | 1 | Amber Herold | |
78 | 4 | Eric Hou | * Edge Finding Threshold = Enter a reasonable intensity value that will enhance the edges of the hole(s) in the edge image. |
79 | 1 | Amber Herold | |
80 | 4 | Eric Hou | * Test = Press this button to test/apply the LP sigma and Edge Finding Threshold effects on the edge image. |
81 | 1 | Amber Herold | |
82 | h2. Template |
||
83 | |||
84 | 4 | Eric Hou | The purpose of the Template step is to cross correlate a template of the properly sized holes against the edge image where the edges of the holes have been enhanced in the previous step. Unlike in HoleFinder, this template is a tilt projection of the circularring. |
85 | 1 | Amber Herold | |
86 | 4 | Eric Hou | h3. Display |
87 | 1 | Amber Herold | |
88 | 4 | Eric Hou | To view the Template image, enable this button. Enabling this button will disable/override the Original, Edge, and Threshold Displays. |
89 | 1 | Amber Herold | |
90 | 4 | Eric Hou | h3. Display Settings |
91 | 1 | Amber Herold | |
92 | * Use "phase | cross" correlation = to do this calculation. |
||
93 | |||
94 | 4 | Eric Hou | * Rings (Add|Edit|Delete) = Add|Edit|Delete the inner and outer hole (ring) diameters in this section. Use the ruler tool while displaying the Edge image to measure the average inner and outer hole diameter. Enter the average inner and |
95 | 1 | Amber Herold | outer hole diameter in this section. |
96 | |||
97 | 4 | Eric Hou | * Low Pass Filter Sigma (for Phase Correlation only) = Enter a low pass filter sigma that is used only when phase correlation is used in this step. |
98 | 1 | Amber Herold | |
99 | 4 | Eric Hou | * Tilt Axis = Enter the angle in degree the tilt axis is measured from the y-axis of the image. Positive is counterclockwise. |
100 | 1 | Amber Herold | |
101 | 4 | Eric Hou | * Test = Press this button to test/apply the parameters that have been adjusted in this step. |
102 | 1 | Amber Herold | |
103 | h2. Threshold |
||
104 | |||
105 | 4 | Eric Hou | The purpose of the Threshold step is to apply a threshold to the previous Template image. It is in unit of correlation. The Threshold image should have dots that represent the center of all the found holes. |
106 | 1 | Amber Herold | |
107 | 4 | Eric Hou | h3. Display |
108 | 1 | Amber Herold | |
109 | 4 | Eric Hou | To view the Threshold image, enable this button. Enabling this button will disable/override the Original, Edge, and Template Displays. |
110 | 1 | Amber Herold | |
111 | 4 | Eric Hou | h3. Display Settings |
112 | 1 | Amber Herold | |
113 | 4 | Eric Hou | * Threshold = Enter the Threshold value of a dot that represents the center of a hole (relative to the value with the stdv shown for the correlation image). |
114 | 1 | Amber Herold | |
115 | 4 | Eric Hou | * Test = Press this button to test/apply the Threshold to the template correlation image. Only the dots hat represent the center of the holes should appear. It is highly likely that dots not representing the center of a hole will |
116 | 1 | Amber Herold | also appear. |
117 | |||
118 | h2. Blobs |
||
119 | |||
120 | 4 | Eric Hou | The purpose of the Blobs step in Hold Depth is not only to mark the center of the thresholded image but also to calculate the depth of the hole from the two marked locations. |
121 | 1 | Amber Herold | |
122 | 4 | Eric Hou | h3. Display |
123 | 1 | Amber Herold | |
124 | 4 | Eric Hou | To view Blobs, either the Original, Edge, Template, or Threshold Displays must be enabled. The Blobs that pass this step or manually picked will be shown with a turquoise crosshair. |
125 | 1 | Amber Herold | |
126 | 4 | Eric Hou | h3. Display Settings |
127 | 1 | Amber Herold | |
128 | 4 | Eric Hou | * Border = The pixel value distance from the edge of the image where all potential hole targets will be erased. |
129 | 1 | Amber Herold | |
130 | 4 | Eric Hou | * Max. blobs = The maximum number of hole targets or blobs at this point that are allowed. If the number of blobs exceeds this number, the extra blobs will be eliminated. |
131 | 1 | Amber Herold | |
132 | 4 | Eric Hou | * Max. blob size = The maximum size of a blob that is allowed to pass. This is roughly the square of an average blob diameter. Use the ruler tool on the Threshold image to determine the average diameter of a blob. |
133 | 1 | Amber Herold | |
134 | 4 | Eric Hou | * Find blobs / Calc depth= Press this button to test/apply the Blobs criteria to the Threshold image and calculate the depth of the hole if 2 blobs are found. If only 1 blob is found, the correlation peaks are considered unresolved and a separation of 1 pixel is assumed in the depth calculation. |
135 | 1 | Amber Herold | |
136 | 4 | Eric Hou | * Calc w/ selections= Press this button to calculate the depth of the hole using the two manually picked blobs.. |
137 | 1 | Amber Herold | |
138 | h2. Pick Holes |
||
139 | |||
140 | 4 | Eric Hou | The purpose of the step is to locate the burned position in either the images before or after the burning and to calculate the mean intensity within given radius. |
141 | 1 | Amber Herold | |
142 | 4 | Eric Hou | h3. Display |
143 | 1 | Amber Herold | |
144 | 4 | Eric Hou | To pick and calculate mean intensity of the Picked Holes, the Original Displays must be enabled. The acquisition targets that pass this step will be shown with a green crosshair. |
145 | 1 | Amber Herold | |
146 | 4 | Eric Hou | h3. Display Settings |
147 | 1 | Amber Herold | |
148 | 4 | Eric Hou | * Hole Statistics Radius = The radius in pixels of the holes (that pass the lattice criteria) that will be used to determine each hole's statistics. |
149 | 1 | Amber Herold | |
150 | 4 | Eric Hou | * Hole Statistics Zero Thickness = The intensity value of an empty hole, i.e. zero thickness intensity. |
151 | 2 | Amber Herold | |
152 | |||
153 | 4 | Eric Hou | * Shiftpicks = If a hole has been picked and tested from I0 image, pressing this button with a I image loaded causes the current picks shift by the offset of correlation peaks between I0 to I. |
154 | 2 | Amber Herold | |
155 | 4 | Eric Hou | * Test = Press this button to test/apply the zero thickness and radius criteria to calculate the mean intensity of the picked hole. |
156 | 2 | Amber Herold | |
157 | ______ |
||
158 | |||
159 | [[Hole Finder|< Hole Finder]] | [[JAHC Hole Finder (Template Hole Finder)|JAHC Hole Finder (Template Hole Finder) >]] |
||
160 | 1 | Amber Herold | |
161 | ______ |