/dports/misc/orange3/orange3-3.29.1/Orange/widgets/visualize/utils/ |
H A D | component.py | 86 def show_indicator(self, anchor_idx): argument 87 self._update_indicator_item(anchor_idx) 97 anchor_idx = self.closest_draggable_item(pos) 98 if anchor_idx is not None: 99 self._update_indicator_item(anchor_idx) 109 def _update_indicator_item(self, anchor_idx): argument 112 self._add_indicator_item(anchor_idx) 114 def _add_indicator_item(self, anchor_idx): argument
|
H A D | widget.py | 722 def _manual_move(self, anchor_idx, x, y): argument 723 self.projection.components_[:, anchor_idx] = [x, y] 726 def _manual_move_finish(self, anchor_idx, x, y): argument 727 self._manual_move(anchor_idx, x, y)
|
/dports/graphics/digikam/digikam-7.4.0/core/libs/facesengine/preprocessing/shape-predictor/ |
H A D | shapepredictor.cpp | 171 std::vector<unsigned long>& anchor_idx, in createShapeRelativeEncoding() argument 174 anchor_idx.resize(pixel_coordinates.size()); in createShapeRelativeEncoding() 179 anchor_idx[i] = nearestShapePoint(shape, pixel_coordinates[i]); in createShapeRelativeEncoding() 414 dataStream << (unsigned int)shape.anchor_idx.size(); in operator <<() 415 dataStream << (unsigned int)shape.anchor_idx[0].size(); in operator <<() 417 for (unsigned int i = 0 ; i < shape.anchor_idx.size() ; ++i) in operator <<() 421 dataStream << shape.anchor_idx[i][j]; in operator <<() 467 shape.anchor_idx.resize(size); in operator >>() 470 for (unsigned int i = 0 ; i < shape.anchor_idx.size() ; ++i) in operator >>() 472 shape.anchor_idx[i].resize(size); in operator >>() [all …]
|
H A D | shapepredictor.h | 138 std::vector<unsigned long>& anchor_idx, 205 std::vector<std::vector<unsigned long> > anchor_idx; variable
|
/dports/graphics/opencv/opencv-4.5.3/contrib/modules/dnn_objdetect/src/ |
H A D | core_detect.cpp | 139 const int anchor_idx = (h * W + w) * anchors_per_grid + anchor; in transform_bboxes() local 145 (*bboxes)[anchor_idx][0] = this->anchors_values[anchor_idx][0] + in transform_bboxes() 146 this->anchors_values[anchor_idx][3] * delta_x; in transform_bboxes() 147 (*bboxes)[anchor_idx][1] = this->anchors_values[anchor_idx][1] + in transform_bboxes() 148 this->anchors_values[anchor_idx][2] * delta_y;; in transform_bboxes() 149 (*bboxes)[anchor_idx][2] = in transform_bboxes() 150 this->anchors_values[anchor_idx][2] * exp(delta_h); in transform_bboxes() 151 (*bboxes)[anchor_idx][3] = in transform_bboxes() 167 const int anchor_idx = in final_probability_dist() local 172 class_scores.at<float>(anchor_idx, ch % num_classes); in final_probability_dist() [all …]
|
/dports/biology/ncbi-cxx-toolkit/ncbi_cxx--25_2_0/src/objtools/alnmgr/unit_test/ |
H A D | unit_test_alnmgr.cpp | 765 for (size_t anchor_idx = 0; anchor_idx < aln_ids.size(); anchor_idx++) { in BOOST_AUTO_TEST_CASE() local 766 TAlnSeqIdIRef anchor_id = aln_ids[anchor_idx]; in BOOST_AUTO_TEST_CASE() 774 cout << anchor_idx << " " in BOOST_AUTO_TEST_CASE() 841 for (size_t anchor_idx = 0; anchor_idx < aln_ids.size(); anchor_idx++) { in BOOST_AUTO_TEST_CASE() local 842 TAlnSeqIdIRef anchor_id = aln_ids[anchor_idx]; in BOOST_AUTO_TEST_CASE() 848 cout << anchor_idx << " " in BOOST_AUTO_TEST_CASE() 861 BOOST_CHECK(anchor_idx == expected_anchor_idx); in BOOST_AUTO_TEST_CASE() 912 for (size_t anchor_idx = 0; anchor_idx < aln_ids.size(); anchor_idx++) { in BOOST_AUTO_TEST_CASE() local 913 TAlnSeqIdIRef anchor_id = aln_ids[anchor_idx]; in BOOST_AUTO_TEST_CASE() 919 cout << anchor_idx << " " in BOOST_AUTO_TEST_CASE() [all …]
|
/dports/science/py-dlib/dlib-19.22/dlib/image_processing/ |
H A D | shape_predictor.h | 148 std::vector<unsigned long>& anchor_idx, in create_shape_relative_encoding() argument 162 anchor_idx.resize(pixel_coordinates.size()); in create_shape_relative_encoding() 168 anchor_idx[i] = nearest_shape_point(shape, pixel_coordinates[i]); in create_shape_relative_encoding() 169 deltas[i] = pixel_coordinates[i] - location(shape,anchor_idx[i]); in create_shape_relative_encoding() 314 anchor_idx.resize(pixel_coordinates.size()); in shape_predictor() 319 …mpl::create_shape_relative_encoding(initial_shape, pixel_coordinates[i], anchor_idx[i], deltas[i]); in shape_predictor() 350 anchor_idx[iter], deltas[iter], feature_pixel_values); in operator() 380 anchor_idx[iter], deltas[iter], feature_pixel_values); in operator() 407 std::vector<std::vector<unsigned long> > anchor_idx; variable 417 dlib::serialize(item.anchor_idx, out); in serialize() [all …]
|
H A D | shape_predictor_trainer.h | 322 std::vector<unsigned long> anchor_idx; in train() local 324 … create_shape_relative_encoding(initial_shape, pixel_coordinates[cascade], anchor_idx, deltas); in train() 331 … samples[i].current_shape, initial_shape, anchor_idx, in train()
|
/dports/science/dlib-cpp/dlib-19.22/dlib/image_processing/ |
H A D | shape_predictor.h | 148 std::vector<unsigned long>& anchor_idx, in create_shape_relative_encoding() argument 162 anchor_idx.resize(pixel_coordinates.size()); in create_shape_relative_encoding() 168 anchor_idx[i] = nearest_shape_point(shape, pixel_coordinates[i]); in create_shape_relative_encoding() 169 deltas[i] = pixel_coordinates[i] - location(shape,anchor_idx[i]); in create_shape_relative_encoding() 314 anchor_idx.resize(pixel_coordinates.size()); in shape_predictor() 319 …mpl::create_shape_relative_encoding(initial_shape, pixel_coordinates[i], anchor_idx[i], deltas[i]); in shape_predictor() 350 anchor_idx[iter], deltas[iter], feature_pixel_values); in operator() 380 anchor_idx[iter], deltas[iter], feature_pixel_values); in operator() 407 std::vector<std::vector<unsigned long> > anchor_idx; variable 417 dlib::serialize(item.anchor_idx, out); in serialize() [all …]
|
H A D | shape_predictor_trainer.h | 322 std::vector<unsigned long> anchor_idx; in train() local 324 … create_shape_relative_encoding(initial_shape, pixel_coordinates[cascade], anchor_idx, deltas); in train() 331 … samples[i].current_shape, initial_shape, anchor_idx, in train()
|
/dports/science/p5-PerlMol/PerlMol-0.3500/inc/BUNDLES/Chemistry-Pattern-0.26/t/ |
H A D | Pattern.t | 17 my ($patt_str, $options, $anchor_idx, $mol_str, @expected_matches) 24 my $anchor_atom = $anchor_idx ? $mol->atoms($anchor_idx) : undef;
|
/dports/science/p5-Chemistry-Pattern/Chemistry-Pattern-0.27/t/ |
H A D | Pattern.t | 17 my ($patt_str, $options, $anchor_idx, $mol_str, @expected_matches) 24 my $anchor_atom = $anchor_idx ? $mol->atoms($anchor_idx) : undef;
|
/dports/misc/ncnn/ncnn-20211208/examples/ |
H A D | yolox.cpp | 209 for (int anchor_idx = 0; anchor_idx < num_anchors; anchor_idx++) in generate_yolox_proposals() local 211 const int grid0 = grid_strides[anchor_idx].grid0; in generate_yolox_proposals() 212 const int grid1 = grid_strides[anchor_idx].grid1; in generate_yolox_proposals() 213 const int stride = grid_strides[anchor_idx].stride; in generate_yolox_proposals()
|
/dports/x11-toolkits/gtk40/gtk-4.4.1/gtk/ |
H A D | gtkimcontextwayland.c | 81 int anchor_idx; member 294 anchor = context->surrounding.anchor_idx; in notify_surrounding_text() 303 context->surrounding.anchor_idx < MAX_LEN) in notify_surrounding_text() 309 context->surrounding.anchor_idx > len - MAX_LEN) in notify_surrounding_text() 318 context->surrounding.anchor_idx); in notify_surrounding_text() 327 context->surrounding.anchor_idx) + (cursor_len / 2); in notify_surrounding_text() 923 context_wayland->surrounding.anchor_idx = selection_bound; in gtk_im_context_wayland_set_surrounding() 948 *selection_bound = context_wayland->surrounding.anchor_idx; in gtk_im_context_wayland_get_surrounding()
|
/dports/misc/orange3/orange3-3.29.1/Orange/widgets/visualize/ |
H A D | owfreeviz.py | 111 def _add_indicator_item(self, anchor_idx): argument 112 x, y = self.anchor_items[anchor_idx].get_xy() 293 def _manual_move(self, anchor_idx, x, y): argument 294 self.projector.initial[anchor_idx] = [x, y] 295 super()._manual_move(anchor_idx, x, y)
|
H A D | owradviz.py | 301 def _add_indicator_item(self, anchor_idx): argument 302 if anchor_idx is None: 304 x, y = self.anchor_items[anchor_idx].get_xy() 416 def _manual_move(self, anchor_idx, x, y): argument 418 super()._manual_move(anchor_idx, np.cos(angle), np.sin(angle))
|
/dports/cad/PrusaSlicer/PrusaSlicer-version_2.3.3/src/libslic3r/ |
H A D | MultiPoint.cpp | 153 size_t anchor_idx = 0; in _douglas_peucker() local 158 if (anchor_idx != floater_idx) { in _douglas_peucker() 165 size_t furthest_idx = anchor_idx; in _douglas_peucker() 167 for (size_t i = anchor_idx + 1; i < floater_idx; ++ i) { in _douglas_peucker() 177 anchor_idx = floater_idx; in _douglas_peucker()
|
/dports/biology/ncbi-cxx-toolkit/ncbi_cxx--25_2_0/src/objtools/alnmgr/ |
H A D | alnmap.cpp | 252 int anchor_idx = -1; in x_SetRawSegTypes() local 261 anchor_idx = m_Anchor; in x_SetRawSegTypes() 274 idx += m_NumRows, anchor_idx += m_NumRows, ++seg) { in x_SetRawSegTypes() 277 _ASSERT(anchor_idx == seg * m_NumRows + m_Anchor); in x_SetRawSegTypes() 317 anchor_idx -= m_NumRows; // this relies on value from previous loop in x_SetRawSegTypes() 318 _ASSERT(anchor_idx == (m_NumSegs - 1) * m_NumRows + m_Anchor); in x_SetRawSegTypes() 321 idx -= m_NumRows, anchor_idx -= m_NumRows, --seg) { in x_SetRawSegTypes() 324 _ASSERT(anchor_idx == seg * m_NumRows + m_Anchor); in x_SetRawSegTypes() 356 if ( ! (types[anchor_idx] & fSeq) ) { in x_SetRawSegTypes() 359 if (types[anchor_idx] & fUnalignedOnRight) { in x_SetRawSegTypes() [all …]
|
/dports/biology/ncbi-blast+/ncbi-blast-2.12.0+-src/c++/src/objtools/alnmgr/ |
H A D | alnmap.cpp | 252 int anchor_idx = -1; in x_SetRawSegTypes() local 261 anchor_idx = m_Anchor; in x_SetRawSegTypes() 274 idx += m_NumRows, anchor_idx += m_NumRows, ++seg) { in x_SetRawSegTypes() 277 _ASSERT(anchor_idx == seg * m_NumRows + m_Anchor); in x_SetRawSegTypes() 317 anchor_idx -= m_NumRows; // this relies on value from previous loop in x_SetRawSegTypes() 318 _ASSERT(anchor_idx == (m_NumSegs - 1) * m_NumRows + m_Anchor); in x_SetRawSegTypes() 321 idx -= m_NumRows, anchor_idx -= m_NumRows, --seg) { in x_SetRawSegTypes() 324 _ASSERT(anchor_idx == seg * m_NumRows + m_Anchor); in x_SetRawSegTypes() 356 if ( ! (types[anchor_idx] & fSeq) ) { in x_SetRawSegTypes() 359 if (types[anchor_idx] & fUnalignedOnRight) { in x_SetRawSegTypes() [all …]
|
/dports/x11-toolkits/gtk30/gtk+-3.24.31/modules/input/ |
H A D | imwayland.c | 81 gint anchor_idx; member 292 anchor = context->surrounding.anchor_idx; in notify_surrounding_text() 301 context->surrounding.anchor_idx < MAX_LEN) in notify_surrounding_text() 307 context->surrounding.anchor_idx > len - MAX_LEN) in notify_surrounding_text() 316 context->surrounding.anchor_idx); in notify_surrounding_text() 325 context->surrounding.anchor_idx) + (cursor_len / 2); in notify_surrounding_text() 877 context_wayland->surrounding.anchor_idx = cursor_index; in gtk_im_context_wayland_set_surrounding()
|
/dports/textproc/libcyaml/libcyaml-1.3.0/src/ |
H A D | load.c | 131 uint32_t anchor_idx; /**< The recorded anchor data to replay. */ member 248 uint32_t anchor_idx; in cyaml__handle_alias() local 256 anchor_idx = 0; in cyaml__handle_alias() 262 anchor_idx = i; in cyaml__handle_alias() 267 if (anchor_idx == 0) { in cyaml__handle_alias() 274 anchor_idx -= 1; in cyaml__handle_alias() 280 replay->anchor_idx = anchor_idx; in cyaml__handle_alias() 281 replay->event_idx = record->complete[anchor_idx].start; in cyaml__handle_alias() 617 replay->anchor_idx; in cyaml__handle_replay()
|
/dports/www/zola/zola-0.15.2/components/rendering/src/ |
H A D | markdown.rs | 411 let anchor_idx = match context.insert_anchor { in markdown_to_html() localVariable 428 anchors_to_insert.push((anchor_idx, Event::Html(anchor_link.into()))); in markdown_to_html()
|
/dports/lang/rust/rustc-1.58.1-src/src/librustdoc/passes/ |
H A D | collect_intra_doc_links.rs | 2031 let (msg, anchor_idx) = match failure { in anchor_failure() 2048 diag_info.ori_link.char_indices().filter(|(_, x)| *x == '#').nth(anchor_idx) in anchor_failure()
|