|
Bsoft
1.9
Bernard's software package
|
Header file for functions to find a template in an image. More...
Go to the source code of this file.
Functions | |
| double | img_find_density (Bimage *p, Bimage *ptemp, View *view, double hires, double lores, double search_radius, Bimage *pmask, View *currview, Vector3< float > *currshift) |
| Searches a 2D/3D density map for a template. More... | |
| double | img_fcc_search (Bimage *p, Bimage *ptemp, View *view, FSI_Kernel *kernel, double hires, double lores, Bimage *pmask) |
| Fast cross-correlation searches a 2D/3D density map for a template. More... | |
| double | img_cc_for_view (Bimage *p, Bimage *ptemp, View view, FSI_Kernel *kernel, double hires, double lores, double searchrad, Bimage *pmask) |
Header file for functions to find a template in an image.
Definition in file img_find.h.
| double img_cc_for_view | ( | Bimage * | p, |
| Bimage * | ptemp, | ||
| View | view, | ||
| FSI_Kernel * | kernel, | ||
| double | hires, | ||
| double | lores, | ||
| double | searchrad, | ||
| Bimage * | pmask | ||
| ) |
Definition at line 364 of file img_find.cpp.
| double img_fcc_search | ( | Bimage * | p, |
| Bimage * | ptemp, | ||
| View * | view, | ||
| FSI_Kernel * | kernel, | ||
| double | hires, | ||
| double | lores, | ||
| Bimage * | pmask | ||
| ) |
Fast cross-correlation searches a 2D/3D density map for a template.
| *p | the Fourier transformed image. |
| *ptemp | the Fourier transformed template to be searched for. |
| view | view. |
| *kernel | interpolation kernel. |
| hires | high resolution limit. |
| lores | low resolution limit. |
| *pmask | mask for cross-correlation (ignored if NULL). |
The template is rotated to the view and cross-correlated to find a set of high-scoring fits. The views must be calculated externally to allow for custom sets. The best view is returned in the image view record.
Definition at line 217 of file img_find.cpp.
| double img_find_density | ( | Bimage * | p, |
| Bimage * | ptemp, | ||
| View * | view, | ||
| double | hires, | ||
| double | lores, | ||
| double | search_radius, | ||
| Bimage * | pmask, | ||
| View * | currview, | ||
| Vector3< float > * | currshift | ||
| ) |
Searches a 2D/3D density map for a template.
| *p | the image. |
| *ptemp | the template to be searched for. |
| *view | views. |
| hires | high resolution limit. |
| lores | low resolution limit. |
| search_radius | radius for shift search. |
| *pmask | mask for cross-correlation (ignored if NULL). |
| *currview | best current view to return. |
| *currshift | best current shift to return. |
The template is rotated and cross-correlated to find the best fit. The views must be calculated externally to allow for custom sets.
Definition at line 44 of file img_find.cpp.