Home
last modified time | relevance | path

Searched refs:s_star (Results 1 – 25 of 58) sorted by relevance

123

/dports/astro/siril/siril/src/registration/matching/
H A Datpmatch.h179 typedef struct s_star { struct
187 struct s_star *next; /* we use linked lists internally */ argument
188 } s_star; typedef
221 int atFindTrans(int numA, s_star *listA, int numB, s_star *listB,
226 int atApplyTrans(int num, s_star *list, TRANS *trans);
228 int atMatchLists(int numA, s_star *listA, int numB, s_star *listB,
230 struct s_star **matched_list_B);
233 atRecalcTrans(int numA, struct s_star *listA,
234 int numB, struct s_star *listB,
241 atCalcRMS(int num_A, struct s_star *mlistA,
[all …]
H A Datpmatch.c190 static void copy_star(s_star *from_ptr, s_star *to_ptr);
210 static int compare_star_by_mag(s_star *star1, s_star *star2);
212 static int compare_star_by_x(s_star *star1, s_star *star2);
234 static s_star *list_to_array(int num_stars, struct s_star *list);
284 s_star **list);
1177 s_star *star; in print_star_array()
2871 a_prime = (s_star *) shMalloc(nbright * sizeof(s_star)); in iter_trans()
3319 s_star *sp; in apply_trans()
3916 new_array = (s_star *) shMalloc(num * sizeof(s_star)); in add_element()
4139 s_star *
[all …]
H A Dmatch.c115 struct s_star *star_list_A_copy);
117 static int reset_A_coords(int numA, struct s_star *post_list_A,
118 struct s_star *pre_list_A);
120 struct s_star *matched_list_A, int num_matched_B,
121 struct s_star *matched_list_B, struct s_star *star_list_A_copy,
143 struct s_star *star_list_A, *star_list_B; in new_star_match()
144 struct s_star *star_list_A_copy; in new_star_match()
145 struct s_star *matched_list_A, *matched_list_B; in new_star_match()
467 struct s_star *star_list_A, /* I: original star A list */ in reset_copy_ids()
471 struct s_star *star, *star_copy; in reset_copy_ids()
[all …]
H A Dmisc.c312 struct s_star *
318 struct s_star *new; in atStarNew()
321 new = (struct s_star *) shMalloc(sizeof(struct s_star)); in atStarNew()
329 new->next = (struct s_star *) NULL; in atStarNew()
394 int get_stars(fitted_PSF **s, int n, int *num_stars, struct s_star **list) { in get_stars()
396 struct s_star *head, *last, *new; in get_stars()
398 head = (struct s_star *) NULL; in get_stars()
421 void free_stars(struct s_star *head) { in free_stars()
423 struct s_star* tmp = head; in free_stars()
H A Dmisc.h155 struct s_star *
165 struct s_star **list);
173 get_stars(fitted_PSF **s, int n, int *num_stars, struct s_star **list);
176 free_stars(struct s_star *head);
/dports/astro/match/match-1.0/
H A Datpmatch.h162 typedef struct s_star { struct
170 } s_star; typedef
203 int atFindTrans(int numA, s_star *listA, int numB, s_star *listB,
210 int atMatchLists(int numA, s_star *listA, int numB, s_star *listB,
218 atSmallTrans(int numA, struct s_star *listA,
227 atRecalcTrans(int numA, struct s_star *listA,
228 int numB, struct s_star *listB,
231 int atFindMedtf(int num_matched_A, s_star *listA,
232 int num_matched_B, s_star *listB,
236 atCalcRMS(int num_A, struct s_star *mlistA,
[all …]
H A Datpmatch.c190 static void copy_star(s_star *from_ptr, s_star *to_ptr);
210 static int compare_star_by_mag(s_star *star1, s_star *star2);
212 static int compare_star_by_x(s_star *star1, s_star *star2);
214 static int compare_star_by_match_id(s_star *star1, s_star *star2);
239 static s_star *list_to_array(int num_stars, struct s_star *list);
1612 s_star *star; in print_star_array()
3448 a_prime = (s_star *) shMalloc(nbright*sizeof(s_star)); in iter_trans()
3916 s_star *sp; in apply_trans()
4549 new_array = (s_star *) shMalloc(num*sizeof(s_star)); in add_element()
4796 static s_star *
[all …]
H A Dmatch.c111 static void reset_copy_ids(int numA, struct s_star *star_list_A,
112 struct s_star *star_list_A_copy);
114 static int reset_A_coords(int numA, struct s_star *post_list_A,
115 struct s_star *pre_list_A);
173 struct s_star *star_list_A, *star_list_B; in main()
174 struct s_star *star_list_A_copy; in main()
175 struct s_star *matched_list_A, *matched_list_B; in main()
785 struct s_star *star_list_A, /* I: original star A list */ in reset_copy_ids()
786 struct s_star *star_list_A_copy /* I/O: copy of star A list */ in reset_copy_ids()
790 struct s_star *star, *star_copy; in reset_copy_ids()
[all …]
H A Dmisc.c408 struct s_star *
416 struct s_star *new; in atStarNew()
419 new = (struct s_star *) shMalloc(sizeof(struct s_star)); in atStarNew()
426 new->next = (struct s_star *) NULL; in atStarNew()
479 struct s_star **list /* O: new star list will be placed here */ in read_star_file()
488 struct s_star *head, *last, *new; in read_star_file()
520 head = (struct s_star *) NULL; in read_star_file()
642 struct s_star **list /* O: new star list will be placed here */ in read_matched_file()
649 struct s_star *head, *last, *new; in read_matched_file()
658 head = (struct s_star *) NULL; in read_matched_file()
H A Dmisc.h181 struct s_star *
191 struct s_star **list);
198 read_matched_file(char *filename, int *num_stars, struct s_star **list);
/dports/science/py-PyFR/pyfr-1.12.3/pyfr/solvers/euler/kernels/rsolvers/
H A Dhllc.mako35 fpdtype_t s_star = (pr - pl + ul[0]*nvl*(sl - nvl) -
40 rcp_lstar = 1 / (sl - s_star);
41 rcp_rstar = 1 / (sr - s_star);
48 nf_flstar = s_star*(sl*ul[${i}] - nf_fl) * rcp_lstar;
49 nf_frstar = s_star*(sr*ur[${i}] - nf_fr) * rcp_rstar;
51 d_star = ${'s_star' if i == nvars - 1 else 'n[{0}]'.format(i - 1)};
52 nf_flstar = (s_star*(sl*ul[${i}] - nf_fl) +
53 sl*(pl + ul[0]*(sl - nvl)*(s_star - nvl))*d_star) *
55 nf_frstar = (s_star*(sr*ur[${i}] - nf_fr) +
56 sr*(pr + ur[0]*(sr - nvr)*(s_star - nvr))*d_star) *
[all …]
/dports/misc/vxl/vxl-3.3.2/contrib/brl/bbas/bil/algo/
H A Dbil_nms.cxx107 if (std::fabs(s_star)< 0.7) in apply()
110 x_(y,x) = x + s_star * direction.x(); in apply()
111 y_(y,x) = y + s_star * direction.y(); in apply()
262 double s_star = -B/(2*A); in subpixel_s() local
264 max_f = A*s_star*s_star + B*s_star + C; in subpixel_s()
277 return s_star; in subpixel_s()
280 return s_star; in subpixel_s()
285 return s_star; in subpixel_s()
325 double s_star = -P(1,0)/(2*P(0,0)); in subpixel_s() local
327 max_f = P(0,0)*s_star*s_star + P(1,0)*s_star + P(2,0); in subpixel_s()
[all …]
/dports/misc/vxl/vxl-3.3.2/contrib/brl/bseg/sdet/
H A Dsdet_nms.cxx110 double s_star = (parabola_fit_type_ == sdet_nms_params::PFIT_3_POINTS) ? in apply() local
113 if (std::fabs(s_star)< 0.7) in apply()
116 x_(y,x) = x + s_star * direction.x(); in apply()
117 y_(y,x) = y + s_star * direction.y(); in apply()
323 double s_star = -B/(2*A); in subpixel_s() local
325 max_f = A*s_star*s_star + B*s_star + C; in subpixel_s()
340 return s_star; in subpixel_s()
345 return s_star; in subpixel_s()
398 double s_star = -P(1,0)/(2*P(0,0)); in subpixel_s() local
401 max_f = P(0,0)*s_star*s_star + P(1,0)*s_star + P(2,0); in subpixel_s()
[all …]
H A Dsdet_nonmax_suppression.cxx244 double s_star = (parabola_fit_type_ == PFIT_3_POINTS) in apply() local
247 if (-1.5 < s_star && s_star < 1.5) in apply()
249 vgl_point_2d<double> subpix(x + s_star * direction.x(), y + s_star * direction.y()); in apply()
410 double s_star = ((A+B)*s[0] + (A+C)*s[1] + (B+C)*s[2]) / (2*(A+B+C)); in subpixel_s() local
411 return s_star; in subpixel_s()
447 double s_star = -P(1,0)/(2*P(0,0)); in subpixel_s() local
448 return s_star; in subpixel_s()
/dports/misc/visp/visp-3.4.0/modules/visual_features/src/visual-feature/
H A DvpFeatureVanishingPoint.cpp274 vpColVector vpFeatureVanishingPoint::error(const vpBasicFeature &s_star, unsigned int select) in error() argument
280 ex[0] = s[0] - s_star[0]; in error()
287 ey[0] = s[1] - s_star[1]; in error()
293 e_one_over_rho[0] = s[2] - s_star[2]; in error()
300 e_atan_one_over_rho[0] = s[3] - s_star[3]; in error()
307 double err = s[4] - s_star[4]; in error()
H A DvpFeatureEllipse.cpp219 vpColVector vpFeatureEllipse::error(const vpBasicFeature &s_star, unsigned int select) in error() argument
226 ex[0] = s[0] - s_star[0]; in error()
233 ey[0] = s[1] - s_star[1]; in error()
239 ex[0] = s[2] - s_star[2]; in error()
246 ey[0] = s[3] - s_star[3]; in error()
252 ey[0] = s[4] - s_star[4]; in error()
H A DvpFeatureTranslation.cpp509 vpColVector vpFeatureTranslation::error(const vpBasicFeature &s_star, unsigned int select) in error() argument
514 if (s_star.get_s().sumSquare() > 1e-6) { in error()
522 ex[0] = s[0] - s_star[0]; in error()
528 ey[0] = s[1] - s_star[1]; in error()
534 ez[0] = s[2] - s_star[2]; in error()
H A DvpBasicFeature.cpp151 vpColVector vpBasicFeature::error(const vpBasicFeature &s_star, unsigned int select) in error() argument
157 eLine[0] = s[i] - s_star[i]; in error()
164 vpColVector sd = s_star.get_s(); in error()
H A DvpFeaturePoint3D.cpp358 vpColVector vpFeaturePoint3D::error(const vpBasicFeature &s_star, unsigned int select) in error() argument
365 ex[0] = s[0] - s_star[0]; in error()
372 ey[0] = s[1] - s_star[1]; in error()
378 ez[0] = s[2] - s_star[2]; in error()
H A DvpFeatureLuminance.cpp268 void vpFeatureLuminance::error(const vpBasicFeature &s_star, vpColVector &e) in error() argument
273 e[i] = s[i] - s_star[i]; in error()
284 vpColVector vpFeatureLuminance::error(const vpBasicFeature &s_star, const unsigned int /* select */) in error() argument
289 error(s_star, e); in error()
H A DvpFeatureLine.cpp310 vpColVector vpFeatureLine::error(const vpBasicFeature &s_star, unsigned int select) in error() argument
317 erho[0] = s[0] - s_star[0]; in error()
324 double err = s[1] - s_star[1]; in error()
H A DvpFeaturePoint.cpp329 vpColVector vpFeaturePoint::error(const vpBasicFeature &s_star, unsigned int select) in error() argument
336 ex[0] = s[0] - s_star[0]; in error()
343 ey[0] = s[1] - s_star[1]; in error()
/dports/astro/siril/siril/src/opencv/
H A Dopencv.h24 unsigned char *cvCalculH(s_star *star_array_img,
25 struct s_star *star_array_ref, int n, Homography *H);
/dports/misc/visp/visp-3.4.0/modules/vs/test/visual-feature/
H A DtestFeature.cpp80 vpFeatureThetaU s_star(vpFeatureThetaU::cdRc); // init to zero in main() local
85 s.error(s_star, vpFeatureThetaU::selectTUz()); in main()
/dports/misc/visp/visp-3.4.0/modules/visual_features/include/visp3/visual_features/
H A DvpFeatureLuminance.h112 vpColVector error(const vpBasicFeature &s_star, unsigned int select = FEATURE_ALL);
113 void error(const vpBasicFeature &s_star, vpColVector &e);

123