vx_node vxNonMaxSuppressionNode(vx_graph graph, vx_image mag, vx_image phase, vx_image edge) { vx_reference params[] = { (vx_reference)mag, (vx_reference)phase, (vx_reference)edge, }; return vxCreateNodeByStructure(graph, VX_KERNEL_EXTRAS_NONMAXSUPPRESSION, params, dimof(params)); }
vx_node vxTilingGaussianNode(vx_graph graph, vx_image in, vx_image out) { vx_reference params[] = { (vx_reference)in, (vx_reference)out, }; return vxCreateNodeByStructure(graph, VX_KERNEL_GAUSSIAN_3x3_TILING, params, dimof(params)); }
vx_node vxLaplacian3x3Node(vx_graph graph, vx_image input, vx_image output) { vx_reference params[] = { (vx_reference)input, (vx_reference)output, }; return vxCreateNodeByStructure(graph, VX_KERNEL_EXTRAS_LAPLACIAN_3x3, params, dimof(params)); }
vx_node vxTilingAlphaNode(vx_graph graph, vx_image in, vx_scalar alpha, vx_image out) { vx_reference params[] = { (vx_reference)in, (vx_reference)alpha, (vx_reference)out, }; return vxCreateNodeByStructure(graph, VX_KERNEL_ALPHA_TILING, params, dimof(params)); }
vx_node vxTilingAddNode(vx_graph graph, vx_image in0, vx_image in1, vx_image out) { vx_reference params[] = { (vx_reference)in0, (vx_reference)in1, (vx_reference)out, }; return vxCreateNodeByStructure(graph, VX_KERNEL_ADD_TILING, params, dimof(params)); }
vx_node vxImageListerNode(vx_graph graph, vx_image input, vx_array arr, vx_scalar num_points) { vx_reference params[] = { (vx_reference)input, (vx_reference)arr, (vx_reference)num_points, }; return vxCreateNodeByStructure(graph, VX_KERNEL_EXTRAS_IMAGE_LISTER, params, dimof(params)); }
vx_node vxScharr3x3Node(vx_graph graph, vx_image input, vx_image output1, vx_image output2) { vx_reference params[] = { (vx_reference)input, (vx_reference)output1, (vx_reference)output2 }; return vxCreateNodeByStructure(graph, VX_KERNEL_EXTRAS_SCHARR_3x3, params, dimof(params)); }
vx_node vxSobelMxNNode(vx_graph graph, vx_image input, vx_scalar ws, vx_image gx, vx_image gy) { vx_reference params[] = { (vx_reference)input, (vx_reference)ws, (vx_reference)gx, (vx_reference)gy, }; vx_node node = vxCreateNodeByStructure(graph, VX_KERNEL_EXTRAS_SOBEL_MxN, params, dimof(params)); return node; }
vx_node vxEdgeTraceNode(vx_graph graph, vx_image norm, vx_threshold threshold, vx_image output) { vx_reference params[] = { (vx_reference)norm, (vx_reference)threshold, (vx_reference)output, }; vx_node node = vxCreateNodeByStructure(graph, VX_KERNEL_EXTRAS_EDGE_TRACE, params, dimof(params)); return node; }
vx_node vxElementwiseNormNode(vx_graph graph, vx_image input_x, vx_image input_y, vx_scalar norm_type, vx_image output) { vx_reference params[] = { (vx_reference)input_x, (vx_reference)input_y, (vx_reference)norm_type, (vx_reference)output, }; vx_node node = vxCreateNodeByStructure(graph, VX_KERNEL_EXTRAS_ELEMENTWISE_NORM, params, dimof(params)); return node; }
vx_node vxEuclideanNonMaxNode(vx_graph graph, vx_image input, vx_scalar strength_thresh, vx_scalar min_distance, vx_image output) { vx_reference params[] = { (vx_reference)input, (vx_reference)strength_thresh, (vx_reference)min_distance, (vx_reference)output, }; vx_node node = vxCreateNodeByStructure(graph, VX_KERNEL_EXTRAS_EUCLIDEAN_NONMAXSUPPRESSION, params, dimof(params)); return node; }
vx_node vxHarrisScoreNode(vx_graph graph, vx_image gx, vx_image gy, vx_scalar sensitivity, vx_scalar block_size, vx_image score) { vx_reference params[] = { (vx_reference)gx, (vx_reference)gy, (vx_reference)sensitivity, (vx_reference)block_size, (vx_reference)score, }; vx_node node = vxCreateNodeByStructure(graph, VX_KERNEL_EXTRAS_HARRIS_SCORE, params, dimof(params)); return node; }
vx_node vxTilingBoxNode(vx_graph graph, vx_image in, vx_image out, vx_uint32 width, vx_uint32 height) { vx_reference params[] = { (vx_reference)in, (vx_reference)out, }; vx_node node = vxCreateNodeByStructure(graph, VX_KERNEL_BOX_MxN_TILING, params, dimof(params)); if (node && (width&1) && (height&1)) { vx_neighborhood_size_t nbhd; vxQueryNode(node, VX_NODE_ATTRIBUTE_INPUT_NEIGHBORHOOD, &nbhd, sizeof(nbhd)); nbhd.left = 0 - ((width - 1)/2); nbhd.right = ((width - 1)/2); nbhd.top = 0 - ((height - 1)/2); nbhd.bottom = ((height - 1)/2); vxSetNodeAttribute(node, VX_NODE_ATTRIBUTE_INPUT_NEIGHBORHOOD, &nbhd, sizeof(nbhd)); } return node; }