Home
last modified time | relevance | path

Searched refs:current_shape (Results 1 – 25 of 59) sorted by relevance

123

/dports/games/exult/exult-snapshot-v1.7.0.20211128/
H A Dbrowser.cc36 current_shape = 0; in ShapeBrowser()
119 num_frames = shapes->get_num_frames(current_shape); in browse_shapes()
138 ShapeID::get_info(current_shape); in browse_shapes()
145 if (current_shape < get_num_item_names() && get_item_name(current_shape)) { in browse_shapes()
182 current_shape = 0; in browse_shapes()
202 handle_key(shift, current_shape, num_shapes); in browse_shapes()
207 handle_key(true, current_shape, num_shapes); in browse_shapes()
211 handle_key(false, current_shape, num_shapes); in browse_shapes()
215 handle_key(shift, current_shape, in browse_shapes()
220 handle_key(true, current_shape, num_shapes, 20); in browse_shapes()
[all …]
/dports/graphics/py-scikit-image/scikit-image-0.19.0/skimage/transform/
H A Dpyramids.py242 current_shape = image.shape
255 prev_shape = np.asarray(current_shape)
257 current_shape = np.asarray(layer_image.shape)
260 if np.all(current_shape == prev_shape):
342 current_shape = image.shape
350 max_layer = int(np.ceil(math.log(np.max(current_shape), downscale)))
355 [math.ceil(d / float(downscale)) for d in current_shape])
364 current_shape = np.asarray(resized_image.shape)
/dports/science/py-dlib/dlib-19.22/dlib/image_processing/
H A Dshape_predictor.h241 const matrix<float,0,1>& current_shape, in extract_feature_pixel_values() argument
345 matrix<float,0,1> current_shape = initial_shape; in operator() local
349 extract_feature_pixel_values(img, rect, current_shape, initial_shape, in operator()
354 current_shape += forests[iter][i](feature_pixel_values, leaf_idx); in operator()
359 std::vector<point> parts(current_shape.size()/2); in operator()
361 parts[i] = tform_to_img(location(current_shape, i)); in operator()
374 matrix<float,0,1> current_shape = initial_shape; in operator() local
379 extract_feature_pixel_values(img, rect, current_shape, initial_shape, in operator()
385 current_shape += forests[iter][i](feature_pixel_values, leaf_idx); in operator()
394 std::vector<point> parts(current_shape.size()/2); in operator()
[all …]
H A Dshape_predictor_trainer.h415 matrix<float,0,1> current_shape; member
425 current_shape.swap(item.current_shape); in swap()
521 samples[j].current_shape += tree.leaf_values[i]; in make_regression_tree()
530 samples[j].target_shape(k) = samples[j].current_shape(k); in make_regression_tree()
704 samples[i].current_shape = mean_shape; in populate_training_sample_shapes()
708 samples[i].current_shape.set_size(0); in populate_training_sample_shapes()
726 … samples[i].current_shape = pointwise_multiply(samples[i].current_shape, reciprocal(hits)); in populate_training_sample_shapes()
733 for (long j = 0; j < samples[i].current_shape.size()/2; ++j) in populate_training_sample_shapes()
735 samples[i].current_shape(2*j) += off.x(); in populate_training_sample_shapes()
736 samples[i].current_shape(2*j+1) += off.y(); in populate_training_sample_shapes()
[all …]
/dports/science/dlib-cpp/dlib-19.22/dlib/image_processing/
H A Dshape_predictor.h241 const matrix<float,0,1>& current_shape, in extract_feature_pixel_values() argument
345 matrix<float,0,1> current_shape = initial_shape; in operator() local
349 extract_feature_pixel_values(img, rect, current_shape, initial_shape, in operator()
354 current_shape += forests[iter][i](feature_pixel_values, leaf_idx); in operator()
359 std::vector<point> parts(current_shape.size()/2); in operator()
361 parts[i] = tform_to_img(location(current_shape, i)); in operator()
374 matrix<float,0,1> current_shape = initial_shape; in operator() local
379 extract_feature_pixel_values(img, rect, current_shape, initial_shape, in operator()
385 current_shape += forests[iter][i](feature_pixel_values, leaf_idx); in operator()
394 std::vector<point> parts(current_shape.size()/2); in operator()
[all …]
H A Dshape_predictor_trainer.h415 matrix<float,0,1> current_shape; member
425 current_shape.swap(item.current_shape); in swap()
521 samples[j].current_shape += tree.leaf_values[i]; in make_regression_tree()
530 samples[j].target_shape(k) = samples[j].current_shape(k); in make_regression_tree()
704 samples[i].current_shape = mean_shape; in populate_training_sample_shapes()
708 samples[i].current_shape.set_size(0); in populate_training_sample_shapes()
726 … samples[i].current_shape = pointwise_multiply(samples[i].current_shape, reciprocal(hits)); in populate_training_sample_shapes()
733 for (long j = 0; j < samples[i].current_shape.size()/2; ++j) in populate_training_sample_shapes()
735 samples[i].current_shape(2*j) += off.x(); in populate_training_sample_shapes()
736 samples[i].current_shape(2*j+1) += off.y(); in populate_training_sample_shapes()
[all …]
/dports/games/julius/julius-1.7.0/src/platform/
H A Dcursor.c16 cursor_shape current_shape; member
76 system_set_cursor(data.current_shape); in system_init_cursors()
81 data.current_shape = cursor_id; in system_set_cursor()
89 return data.current_shape; in platform_cursor_get_current_shape()
/dports/devel/godot/godot-3.2.3-stable/editor/plugins/
H A Dtile_set_editor_plugin.cpp1857 current_shape.resize(0); in _on_tool_clicked()
1942 current_shape.resize(0); in _on_tool_clicked()
2255 current_shape.resize(0); in _select_next_shape()
2317 current_shape.resize(0); in _select_previous_shape()
2900 …p_total += ((current_shape[i + 1].x - current_shape[i].x) * (-current_shape[i + 1].y + (-current_s… in close_shape()
2902 …p_total += ((current_shape[0].x - current_shape[i].x) * (-current_shape[0].y + (-current_shape[i].… in close_shape()
3008 current_shape.resize(0); in select_coord()
3015 current_shape.resize(0); in select_coord()
3022 current_shape.resize(0); in select_coord()
3057 current_shape.resize(0); in select_coord()
[all …]
/dports/devel/godot-tools/godot-3.2.3-stable/editor/plugins/
H A Dtile_set_editor_plugin.cpp1857 current_shape.resize(0); in _on_tool_clicked()
1942 current_shape.resize(0); in _on_tool_clicked()
2255 current_shape.resize(0); in _select_next_shape()
2317 current_shape.resize(0); in _select_previous_shape()
2900 …p_total += ((current_shape[i + 1].x - current_shape[i].x) * (-current_shape[i + 1].y + (-current_s… in close_shape()
2902 …p_total += ((current_shape[0].x - current_shape[i].x) * (-current_shape[0].y + (-current_shape[i].… in close_shape()
3008 current_shape.resize(0); in select_coord()
3015 current_shape.resize(0); in select_coord()
3022 current_shape.resize(0); in select_coord()
3057 current_shape.resize(0); in select_coord()
[all …]
/dports/games/augustus/augustus-3.1.0/src/platform/
H A Dcursor.c23 cursor_shape current_shape; member
87 system_set_cursor(data.current_shape); in system_init_cursors()
92 data.current_shape = cursor_id; in system_set_cursor()
100 return data.current_shape; in platform_cursor_get_current_shape()
/dports/graphics/digikam/digikam-7.4.0/core/libs/facesengine/preprocessing/shape-predictor/
H A Dshapepredictor.cpp304 const std::vector<float>& current_shape, in extractFeaturePixelValues() argument
310 …vector<std::vector<float> > tform = findTformBetweenShapes(reference_shape, current_shape).get_m(); in extractFeaturePixelValues()
321 …or<float> p = tform_to_img(tform*reference_pixel_deltas[i] + location(current_shape, reference_pix… in extractFeaturePixelValues()
362 std::vector<float> current_shape = initial_shape; in operator ()() local
367 extractFeaturePixelValues(img, rect, current_shape, initial_shape, in operator ()()
375 current_shape = current_shape + forests[iter][i](feature_pixel_values, leaf_idx); in operator ()()
382 std::vector<std::vector<float> > parts(current_shape.size() / 2); in operator ()()
386 parts[i] = tform_to_img(location(current_shape, i)); in operator ()()
/dports/math/eukleides/eukleides-1.5.4/src/euktopst/
H A Dcheck.c80 int current_shape = DOT; variable
86 if (global_shape != current_shape) { in check_shape()
89 current_shape = global_shape; in check_shape()
91 if (local_shape != current_shape) { in check_shape()
/dports/graphics/libgaiagraphics/libgaiagraphics-0.5/src/
H A Dgaiagraphics_svg_xml.c1961 gg_svg_parse_style (NULL, gg_svg_doc->current_shape, NULL, in gg_svg_parse_rect()
1965 gg_svg_parse_clip_path (NULL, gg_svg_doc->current_shape, NULL, in gg_svg_parse_rect()
2005 gg_svg_parse_style (NULL, gg_svg_doc->current_shape, NULL, in gg_svg_parse_circle()
2009 gg_svg_parse_clip_path (NULL, gg_svg_doc->current_shape, NULL, in gg_svg_parse_circle()
2052 gg_svg_parse_style (NULL, gg_svg_doc->current_shape, NULL, in gg_svg_parse_ellipse()
2056 gg_svg_parse_clip_path (NULL, gg_svg_doc->current_shape, NULL, in gg_svg_parse_ellipse()
2099 gg_svg_parse_style (NULL, gg_svg_doc->current_shape, NULL, in gg_svg_parse_line()
2103 gg_svg_parse_clip_path (NULL, gg_svg_doc->current_shape, NULL, in gg_svg_parse_line()
2139 gg_svg_parse_style (NULL, gg_svg_doc->current_shape, NULL, in gg_svg_parse_polyline()
2179 gg_svg_parse_style (NULL, gg_svg_doc->current_shape, NULL, in gg_svg_parse_polygon()
[all …]
/dports/graphics/librasterlite2/librasterlite2-1.0.0-rc0/src/
H A Drl2svgxml.c1982 svg_parse_id (NULL, NULL, svg_doc->current_shape, node->properties); in svg_parse_rect()
1984 svg_parse_transform (NULL, svg_doc->current_shape, NULL, NULL, in svg_parse_rect()
2024 svg_parse_id (NULL, NULL, svg_doc->current_shape, node->properties); in svg_parse_circle()
2026 svg_parse_transform (NULL, svg_doc->current_shape, NULL, NULL, in svg_parse_circle()
2069 svg_parse_id (NULL, NULL, svg_doc->current_shape, node->properties); in svg_parse_ellipse()
2071 svg_parse_transform (NULL, svg_doc->current_shape, NULL, NULL, in svg_parse_ellipse()
2114 svg_parse_id (NULL, NULL, svg_doc->current_shape, node->properties); in svg_parse_line()
2116 svg_parse_transform (NULL, svg_doc->current_shape, NULL, NULL, in svg_parse_line()
2154 svg_parse_transform (NULL, svg_doc->current_shape, NULL, NULL, in svg_parse_polyline()
2192 svg_parse_transform (NULL, svg_doc->current_shape, NULL, NULL, in svg_parse_polygon()
[all …]
/dports/math/vtk9/VTK-9.1.0/ThirdParty/verdict/vtkverdict/
H A DV_WedgeMetric.cpp777 double current_jacobian = 0, current_shape, norm_jacobi = 0; in v_wedge_shape() local
797current_shape = 3*pow(norm_jacobi,two_thirds)/(vec1.length_squared() + vec2.length_squared() + vec… in v_wedge_shape()
798 min_shape = VERDICT_MIN(current_shape,min_shape); in v_wedge_shape()
815current_shape = 3*pow(norm_jacobi,two_thirds)/(vec1.length_squared() + vec2.length_squared() + vec… in v_wedge_shape()
816 min_shape = VERDICT_MIN(current_shape,min_shape); in v_wedge_shape()
833current_shape = 3*pow(norm_jacobi,two_thirds)/(vec1.length_squared() + vec2.length_squared() + vec… in v_wedge_shape()
834 min_shape = VERDICT_MIN(current_shape,min_shape); in v_wedge_shape()
851current_shape = 3*pow(norm_jacobi,two_thirds)/(vec1.length_squared() + vec2.length_squared() + vec… in v_wedge_shape()
852 min_shape = VERDICT_MIN(current_shape,min_shape); in v_wedge_shape()
870 min_shape = VERDICT_MIN(current_shape,min_shape); in v_wedge_shape()
[all …]
H A DV_HexMetric.cpp2883 current_shape = 0; in v_hex_quality()
2885 if (current_shape < shape) { shape = current_shape; } in v_hex_quality()
2934 current_shape = 0; in v_hex_quality()
2936 if (current_shape < shape) { shape = current_shape; } in v_hex_quality()
2985 current_shape = 0; in v_hex_quality()
2987 if (current_shape < shape) { shape = current_shape; } in v_hex_quality()
3039 if (current_shape < shape) { shape = current_shape; } in v_hex_quality()
3090 if (current_shape < shape) { shape = current_shape; } in v_hex_quality()
3141 if (current_shape < shape) { shape = current_shape; } in v_hex_quality()
3192 if (current_shape < shape) { shape = current_shape; } in v_hex_quality()
[all …]
/dports/math/vtk8/VTK-8.2.0/ThirdParty/verdict/vtkverdict/
H A DV_WedgeMetric.cpp777 double current_jacobian = 0, current_shape, norm_jacobi = 0; in v_wedge_shape() local
797current_shape = 3*pow(norm_jacobi,two_thirds)/(vec1.length_squared() + vec2.length_squared() + vec… in v_wedge_shape()
798 min_shape = VERDICT_MIN(current_shape,min_shape); in v_wedge_shape()
815current_shape = 3*pow(norm_jacobi,two_thirds)/(vec1.length_squared() + vec2.length_squared() + vec… in v_wedge_shape()
816 min_shape = VERDICT_MIN(current_shape,min_shape); in v_wedge_shape()
833current_shape = 3*pow(norm_jacobi,two_thirds)/(vec1.length_squared() + vec2.length_squared() + vec… in v_wedge_shape()
834 min_shape = VERDICT_MIN(current_shape,min_shape); in v_wedge_shape()
851current_shape = 3*pow(norm_jacobi,two_thirds)/(vec1.length_squared() + vec2.length_squared() + vec… in v_wedge_shape()
852 min_shape = VERDICT_MIN(current_shape,min_shape); in v_wedge_shape()
870 min_shape = VERDICT_MIN(current_shape,min_shape); in v_wedge_shape()
[all …]
H A DV_HexMetric.cpp2883 current_shape = 0; in v_hex_quality()
2885 if (current_shape < shape) { shape = current_shape; } in v_hex_quality()
2934 current_shape = 0; in v_hex_quality()
2936 if (current_shape < shape) { shape = current_shape; } in v_hex_quality()
2985 current_shape = 0; in v_hex_quality()
2987 if (current_shape < shape) { shape = current_shape; } in v_hex_quality()
3039 if (current_shape < shape) { shape = current_shape; } in v_hex_quality()
3090 if (current_shape < shape) { shape = current_shape; } in v_hex_quality()
3141 if (current_shape < shape) { shape = current_shape; } in v_hex_quality()
3192 if (current_shape < shape) { shape = current_shape; } in v_hex_quality()
[all …]
/dports/math/vtk6/VTK-6.2.0/ThirdParty/verdict/vtkverdict/
H A DV_WedgeMetric.cpp777 double current_jacobian = 0, current_shape, norm_jacobi = 0; in v_wedge_shape() local
797current_shape = 3*pow(norm_jacobi,two_thirds)/(vec1.length_squared() + vec2.length_squared() + vec… in v_wedge_shape()
798 min_shape = VERDICT_MIN(current_shape,min_shape); in v_wedge_shape()
815current_shape = 3*pow(norm_jacobi,two_thirds)/(vec1.length_squared() + vec2.length_squared() + vec… in v_wedge_shape()
816 min_shape = VERDICT_MIN(current_shape,min_shape); in v_wedge_shape()
833current_shape = 3*pow(norm_jacobi,two_thirds)/(vec1.length_squared() + vec2.length_squared() + vec… in v_wedge_shape()
834 min_shape = VERDICT_MIN(current_shape,min_shape); in v_wedge_shape()
851current_shape = 3*pow(norm_jacobi,two_thirds)/(vec1.length_squared() + vec2.length_squared() + vec… in v_wedge_shape()
852 min_shape = VERDICT_MIN(current_shape,min_shape); in v_wedge_shape()
870 min_shape = VERDICT_MIN(current_shape,min_shape); in v_wedge_shape()
[all …]
H A DV_HexMetric.cpp2883 current_shape = 0; in v_hex_quality()
2885 if (current_shape < shape) { shape = current_shape; } in v_hex_quality()
2934 current_shape = 0; in v_hex_quality()
2936 if (current_shape < shape) { shape = current_shape; } in v_hex_quality()
2985 current_shape = 0; in v_hex_quality()
2987 if (current_shape < shape) { shape = current_shape; } in v_hex_quality()
3039 if (current_shape < shape) { shape = current_shape; } in v_hex_quality()
3090 if (current_shape < shape) { shape = current_shape; } in v_hex_quality()
3141 if (current_shape < shape) { shape = current_shape; } in v_hex_quality()
3192 if (current_shape < shape) { shape = current_shape; } in v_hex_quality()
[all …]
/dports/math/moab/fathomteam-moab-7bde9dfb84a8/src/verdict/
H A DV_HexMetric.cpp2885 current_shape = 0; in v_hex_quality()
2887 if(current_shape < shape) { shape = current_shape; } in v_hex_quality()
2935 current_shape = 0; in v_hex_quality()
2937 if(current_shape < shape) { shape = current_shape; } in v_hex_quality()
2985 current_shape = 0; in v_hex_quality()
2987 if(current_shape < shape) { shape = current_shape; } in v_hex_quality()
3038 if(current_shape < shape) { shape = current_shape; } in v_hex_quality()
3088 if(current_shape < shape) { shape = current_shape; } in v_hex_quality()
3138 if(current_shape < shape) { shape = current_shape; } in v_hex_quality()
3188 if(current_shape < shape) { shape = current_shape; } in v_hex_quality()
[all …]
/dports/graphics/opencv/opencv-4.5.3/contrib/modules/face/src/
H A DfacemarkLBF.cpp789 e_ += norm(gt_shape.row(j) - current_shape.row(j)); in calcMeanError()
870 x1 = x1*bbox.x_scale + current_shape(landmark_id, 0); in splitNode()
871 y1 = y1*bbox.y_scale + current_shape(landmark_id, 1); in splitNode()
872 x2 = x2*bbox.x_scale + current_shape(landmark_id, 0); in splitNode()
873 y2 = y2*bbox.y_scale + current_shape(landmark_id, 1); in splitNode()
1023 x1 = x1*bbox.x_scale + current_shape.at<double>(i, 0); in generateLBF()
1024 y1 = y1*bbox.y_scale + current_shape.at<double>(i, 1); in generateLBF()
1025 x2 = x2*bbox.x_scale + current_shape.at<double>(i, 0); in generateLBF()
1388 Mat current_shape = bbox.reproject(mean_shape); in predict() local
1399current_shape = bbox.reproject(bbox.project(current_shape) + scale * delta_shape * rotate.t()); in predict()
[all …]
H A DtrainFacemark.cpp24 (*samples)[j].shapeResiduals.resize((*samples)[j].current_shape.size()); in operator ()()
25 for(unsigned long k=0;k<(*samples)[j].current_shape.size();k++) in operator ()()
26 … (*samples)[j].shapeResiduals[k]=(*samples)[j].actual_shape[k]-(*samples)[j].current_shape[k]; in operator ()()
43 … object.getRelativePixels(((*samples)[j]).current_shape,((*samples)[j]).pixel_coordinates); in operator ()()
204 samples[in].current_shape = meanshape; in createTrainingSamples()
208 samples[in].current_shape = landmarks[rindex]; in createTrainingSamples()
/dports/graphics/inkscape/inkscape-1.1_2021-05-24_c4e8f9ed74/src/live_effects/
H A Deffect.h96 SPShape * getCurrentShape() const { return current_shape; }; in getCurrentShape()
97 void setCurrentShape(SPShape * shape) { current_shape = shape; } in setCurrentShape()
157 SPShape *current_shape; // these get stored in performPathEffects. variable
/dports/biology/iqtree/IQ-TREE-2.0.6/model/
H A Drategamma.cpp221 double current_shape = gamma_shape; in optimizeParameters() local
223 …optx = minimizeOneDimen(min_gamma, current_shape, max_gamma, max(gradient_epsilon, TOL_GAMMA_SHAPE… in optimizeParameters()
239 double current_shape = gamma_shape; in optimizeParameters() local
241 …optx = minimizeOneDimen(phylo_tree->params->min_gamma_shape, current_shape, MAX_GAMMA_SHAPE, max(g… in optimizeParameters()

123