Fullseye is a Physical-AI toolkit for explainable classical / geometric vision. This ledger is the list from which an AI, once told the use case, proposes which ops to combine and how.
image → region → feature, points → voxel → mesh). 2-D pipeline ops follow the model of one image plus two scalar knobs; 3-D point-cloud / volume ops and ops that take two images (morph etc.) are called as functions.examples*/ and check against its ground-truth output.The titles and descriptions of the worked examples are written in Japanese only. Rather than pass them off as translated, this edition lists each example by its id, the ops it calls (from the example links of the op notes; at most 12, the rest as a count) and the command that runs it. The descriptions are in the Japanese catalogue OP_CATALOG.md.
fileio
fileio_scientific_roundtrip — ops: astro_fits_read, astro_fits_write, em_mrc_read, em_mrc_write, nifti_read, nifti_write, nrrd_read, nrrd_write, ome_tiff_read, ome_tiff_write py -3.11 examples/fileio_scientific_roundtrip.pyarchive_roundtrip — ops: archive_create, archive_extract, archive_list, archive_probe py -3.11 examples/archive_roundtrip.pyfileio_roundtrip — ops: e57_read, e57_write, mesh_read_ply, mesh_write_ply, points_read_xyz, points_write_xyz, table_read_csv, table_write_csv py -3.11 examples/fileio_roundtrip.pypoc_real_file_formats — ops: aperture_photometry, astro_fits_read, e57_read, ellipse, em_mrc_read, nifti_read, ome_tiff_read, otsu, star_detect py -3.11 examples/poc_real_file_formats.pyworkflow
mcp_usability — ops: gaussian, ncc_locate py -3.11 examples/mcp_usability.pymcp_task_score — ops: blob_count, count_obj, gaussian, invert_image, m1_measure_pos, mean_box_wh, otsu, select_largest, threshold_sub_pix, tophat, xsitk_maxentropy_thresh py -3.11 examples/mcp_task_score.pytyped_results_markdown — ops: (not linked from any op note) py -3.11 examples/typed_results_markdown.pyinspection_fixture — ops: (not linked from any op note) py -3.11 examples/inspection_fixture.pydegenerate_inputs — ops: add_image, fft_image, gaussian, lowpass, median_image, otsu, reg_erode, sobel_amp, structure_tensor_orientation, tophat py -3.11 examples/degenerate_inputs.pygenspark_external_review — ops: abs_image, access_channel, add_image, blend_mode, color_lut, cv_cc_count, gaussian, invert, median, median_image, otsu, read_wav (+6 more) py -3.11 examples/genspark_external_review.pygolden_compare — ops: (not linked from any op note) py -3.11 examples/golden_compare.pyinspection_workflow — ops: gaussian py -3.11 examples/inspection_workflow.pyline_handshake — ops: otsu py -3.11 examples/line_handshake.pyxlsx_report — ops: (not linked from any op note) py -3.11 examples/xlsx_report.pytyped_results_json — ops: gaussian, otsu py -3.11 examples/typed_results_json.pyprecision_union_volume — ops: (not linked from any op note) py -3.11 examples/precision_union_volume.pyquickstart — ops: bilateral, blob_count, contours_to_region, edges_sub_pix, gaussian, median, otsu, remove_small, select_contours py -3.11 examples/quickstart.pyfind_ops_by_meaning — ops: cv_median, cv_nlmeans, edges_image, gray_opening_rect, hx_detect_edge_segments, median_image, otsu, ph_total_variation_flow, prewitt_mag, remove_noise_region, roberts, roberts_mag (+15 more) py -3.11 examples/find_ops_by_meaning.pyaoi_frontend_tour — ops: flat_field_correct, register_image, tiled_map py -3.11 examples/aoi_frontend_tour.pymetrology
fit_ops_from_knowhow — ops: fit_circle_geometric, fit_curve_principal_axis, phase_correlation_shift py -3.11 examples/fit_ops_from_knowhow.pypoc_aoi_ct_traceability — ops: filtered_backprojection, radon_transform py -3.11 examples/poc_aoi_ct_traceability.pypoc_interferometry_step — ops: axes_frame, axes_transform, color_bar, csi_contrast_map, csi_design, csi_height_map, csi_stack_simulate, ellipse, gaussian, measure_text, plot_series, text_box (+1 more) py -3.11 examples/poc_interferometry_step.pypoc_tacsim_marker_shear — ops: cerruti_kernel, cerruti_surface_displacement, combined_modulus, displace_markers, fem_nodes_load, fem_vs_halfspace, hertz_pressure, hertz_sphere, hertz_surface_ur, hertzian_tangential_inner, marker_detect, marker_image (+17 more) py -3.11 examples/poc_tacsim_marker_shear.pypoc_tactile_dipole_torque — ops: boussinesq_kernel, boussinesq_surface_displacement, cerruti_kernel, combined_modulus, dipole_to_torque_fit, dipole_torque_resolution, displace_markers, ellipse_pressure_shifted, fem_nodes_load, grasp_torque_frame, hertz_pressure, hertz_pressure_shifted (+24 more) py -3.11 examples/poc_tactile_dipole_torque.pypoc_granular_heap_repose — ops: beverloo_fit, beverloo_rate, container_fill_level, container_synth, datum_tilt_check, difference, discharge_synth, dispense_mass_from_video, heap_mass, heap_scene_mjcf, heap_spheres_select, heap_synth_cone (+12 more) py -3.11 examples/poc_granular_heap_repose.pypoc_tacscalib_sphere_lut — ops: calib_pack_load, contact_radius_ring, field_position_sweep, gradient_lut_build, gradient_lut_invert, invert, lights_fit_from_sphere, median, membrane_predict_rgb, normal_error_map, normals_to_angles, poly_lut_invert (+4 more) py -3.11 examples/poc_tacscalib_sphere_lut.pypoc_peg_insertion_tactile — ops: arrow, blob_features, blob_label, contact_radius_fit, contact_radius_fit_pixelwise, contact_state_from_wrench, ellipse, equivariance_check, friction_from_single_contact, hertz_force, hertz_sphere, membrane_recover (+19 more) py -3.11 examples/poc_peg_insertion_tactile.pypoc_knife_tactile_toughness — ops: combined_modulus, cutting_episode_synth, cutting_scene, food_cut_width, hertz_sphere, knife_load_from_pads, membrane_indent_sphere, membrane_render_markers, membrane_render_rgb, pad_context, pad_marker_displacement, pad_params (+5 more) py -3.11 examples/poc_knife_tactile_toughness.pypoc_rover_slip_risk_path — ops: bekker_wheel_sinkage, cvar_cost_map, fbm_height, fbm_params, ground_shift_track, odometry_slip, path_slip_risk, risk_aware_path, slip_gp_fit, slip_predict, slip_quantile_fit, slope_slip_curve (+4 more) py -3.11 examples/poc_rover_slip_risk_path.pypoc_braid_homotopy_classes — ops: braid_class_representatives, braid_equivalent, braid_from_trajectories, braid_reduce, dynnikov_act, dynnikov_coordinates, grid_distances, grid_hole_points, grid_paths_to_xy, homotopy_class_compare, homotopy_shortest_paths, mapf_cbs (+4 more) py -3.11 examples/poc_braid_homotopy_classes.pypoc_diabolo_model_and_vision — ops: arrow, diabolo_axis_from_image, diabolo_camera, diabolo_dynamics_step, diabolo_marker_phase, diabolo_params, diabolo_render, diabolo_scene_mjcf, diabolo_simulate, diabolo_spheroid, diabolo_spin_from_markers, diabolo_state_sequence (+8 more) py -3.11 examples/poc_diabolo_model_and_vision.pypoc_tacdome_large_deformation — ops: contact_patch_radius, dome_contact_image, hertz_force, hertz_small_strain_error, hertz_sphere, large_deformation_contact, large_deformation_inverse, largedef_correction, largedef_radius_ratio, largedef_universal_correction, mdr_spring_bed, neohookean_cylinder_exact (+1 more) py -3.11 examples/poc_tacdome_large_deformation.pypoc_peg_symmetry_search — ops: pegsym_scene_mjcf, plane_topview, polygon_coverage_image, polygon_fit_check, polygon_offset, polygon_peg, polygon_two_point_depth, polygon_yaw_read, relative_yaw_from_images, rotation_search_plan, rotation_window, search_expected_tries (+3 more) py -3.11 examples/poc_peg_symmetry_search.pypoc_polish_wipe_measure — ops: arc, band_width_profile, coat_image, coat_thickness_from_image, polish_scene_mjcf, preston_coefficient_fit, preston_pressure_kernel, preston_removal_map, preston_track_profile, raster_wipe_area, removal_depth_from_heights, surface_form_remove (+5 more) py -3.11 examples/poc_polish_wipe_measure.pypoc_powder_scoop_pour — ops: beverloo_rate, difference, heap_volume_cone, pour_scene_mjcf, revolution_volume_side, scoop_count, scoop_image_limit, scoop_scene_mjcf, scoop_synth_side, scoop_volume_read, spheres_render_shaded, spheres_to_silhouette (+8 more) py -3.11 examples/poc_powder_scoop_pour.pypoc_powder_grinding_ae — ops: ae_band_power, ae_read_csv, ae_size_correspondence, blob_label, blob_overlay, breakage_first_order_fit, comminution_energy, comminution_law_fit, log, particle_image_d50, particle_image_synth, particle_size_dx (+4 more) py -3.11 examples/poc_powder_grinding_ae.pypoc_dose_uniformity_from_grinding — ops: comminution_energy, dose_cv_from_sizes, dose_cv_lognormal, grind_time_for_dose_cv, particle_image_d50, particle_image_synth, particle_size_read, particle_size_synth py -3.11 examples/poc_dose_uniformity_from_grinding.pypoc_tacsim_elastic_membrane — ops: combined_modulus, contact_radius_fit, contact_radius_ring, hertz_cylinder, hertz_force, hertz_pressure, hertz_sphere, hertz_surface_uz, membrane_delta_from_normals, membrane_indent_shape, membrane_indent_sphere, membrane_lights (+4 more) py -3.11 examples/poc_tacsim_elastic_membrane.pypoc_plateau_venue_lod2 — ops: plateau_lod2_mesh py -3.11 examples/poc_plateau_venue_lod2.pypoc_swarm_obstacle_from_flow — ops: obstacle_fit_doublet, potential_flow_cylinder, ritter_dam_break, sph_dam_break_1d, sph_kernel, stagnation_from_centerline, swarm_field_from_piv, swarm_field_from_tracks, swarm_render_overhead, swarm_simulate, text_box, velocity_deficit_map py -3.11 examples/poc_swarm_obstacle_from_flow.pypoc_pxrd_phase_peel — ops: axes_frame, axes_transform, azimuthal_integrate, cif_read, cubic_index, cubic_prototype, debye_ring_image, detector_calibrate, detector_two_theta, difference, diffraction_peaks, grid_lines (+12 more) py -3.11 examples/poc_pxrd_phase_peel.pyexample_inner_diameter_mm — ops: add_metrology_object_circle_measure, apply_metrology_model, area_center, create_metrology_model, gaussian, mm_per_px_from_reference, otsu, pixel_to_world, table_px_to_mm py -3.11 examples/example_inner_diameter_mm.pyexample_scratch_width — ops: bothat, gen_measure_rectangle2, lines_gauss, measure_pairs, mm_per_px_from_reference, table_px_to_mm, tophat py -3.11 examples/example_scratch_width.pypoc_dimensional_inspection — ops: add_metrology_object_circle_measure, add_metrology_object_ellipse_measure, add_metrology_object_generic, add_metrology_object_line_measure, add_metrology_object_rectangle2_measure, align_metrology_model, apply_metrology_model, create_metrology_model, ellipse, erf, fuzzy_measure_pairing, gen_measure_arc (+8 more) py -3.11 examples/poc_dimensional_inspection.pypoc_compendial_particle_microscopy — ops: annotate_figure_grid, blob_count_interval, blob_distance, blob_features, blob_label, blob_seeds, blob_split, ellipse, mm_per_px_from_reference, noise_sigma, particle_size_distribution, threshold py -3.11 examples/poc_compendial_particle_microscopy.pypoc_vial_particle_pod — ops: axes_transform, data_to_pixel, pod_hitmiss_fit, proportion_interval, text_box, track_moving_particles, vial_spin_stop_sequence py -3.11 examples/poc_vial_particle_pod.pypoc_star_astrometry — ops: erf, gaussian, noise_sigma, psf_fit, star_detect, vector_to_similarity py -3.11 examples/poc_star_astrometry.pypoc_surface_roughness — ops: profile_params, rms, surface_filter, surface_form_remove, surface_params, surface_psd, surface_synth_psd py -3.11 examples/poc_surface_roughness.pypoc_dic_strain — ops: axes_frame, axes_transform, erf, piv_cross_correlate, plot_series, strain_from_displacement, text_box, ticks py -3.11 examples/poc_dic_strain.pypoc_particle_sizing — ops: blob_features, blob_label, blob_overlay, blob_region, blob_select, circularity, distance_transform py -3.11 examples/poc_particle_sizing.pypoc_crack_width — ops: distance_transform, sk_medial, skeleton, thinning py -3.11 examples/poc_crack_width.pypoc_fiber_orientation — ops: dc_structure_texture, smooth_funct_1d_gauss, sobel_amp, sobel_dir py -3.11 examples/poc_fiber_orientation.pypoc_gear_tooth_metrology — ops: blob_boundaries, blob_features, blob_label, blob_overlay, blob_region, blob_select_largest, gauss_filter, polar_trans_image, spectrum, threshold py -3.11 examples/poc_gear_tooth_metrology.pypoc_strain_history — ops: axes_frame, axes_transform, data_to_pixel, moving_average_window, piv_cross_correlate, piv_error_stats, piv_multipass, piv_sample_at_windows, piv_synth_pair, poly_fit, rms, text_box (+1 more) py -3.11 examples/poc_strain_history.pypoc_water_level — ops: gen_measure_rectangle2, mat_svd, measure_pos, projective_trans_image, threshold py -3.11 examples/poc_water_level.pypoc_weld_bead_profile — ops: gen_measure_rectangle2, laser_line_center_centroid, laser_line_coherent, measure_pos, median, rms, smooth_funct_1d_mean, triangulation_speckle_limit py -3.11 examples/poc_weld_bead_profile.pypoc_wound_area_tracking — ops: axes_frame, axes_transform, blob_features, blob_label, blob_select_largest, contour_to_world_plane_xld, data_to_pixel, gaussian, hom_vector_to_proj_hom_mat2d, image_to_world_plane, log, plot_series (+2 more) py -3.11 examples/poc_wound_area_tracking.pypoc_photoelasticity — ops: axes_frame, axes_transform, brazilian_disc_stress, mueller_apply, mueller_element, photoelastic_phase_estimate, photoelastic_polarization_images, photoelastic_retardation, plot_series, polariscope_intensity, principal_stress, retardation_convert (+2 more) py -3.11 examples/poc_photoelasticity.pyprofile_shape_inspection — ops: profile_camber, profile_chord_frame, profile_deviation, profile_leading_edge_radius, profile_perturb, profile_synth_naca4, profile_thickness, profile_trailing_edge_gap, rms py -3.11 examples/profile_shape_inspection.pyprofile_frame_tour — ops: profile_align, profile_chord_frame, profile_normalise, profile_resample, profile_sides, profile_synth_naca4 py -3.11 examples/profile_frame_tour.pypoc_industrial_oct — ops: glass, material_optical_constants, oct_ascan, oct_bscan, oct_bscan_boundaries, oct_bscan_flatten, oct_bscan_simulate, oct_design, oct_dispersion_broadening, oct_dispersion_compensate, oct_dispersion_estimate, oct_from_spectra (+3 more) py -3.11 examples/poc_industrial_oct.pygrating_interferometry — ops: darkfield_scatter_relation, dpc_integrate, grating_step_period_estimate, grating_stepping_simulate, grating_three_image_retrieve, talbot_carpet, talbot_grating_design, talbot_source_visibility py -3.11 examples/grating_interferometry.pypoc_grating_interferometry — ops: angular_spectrum_propagate, dpc_integrate, grating_step_period_estimate, grating_stepping_simulate, grating_three_image_retrieve, talbot_carpet, talbot_grating_design, talbot_source_visibility py -3.11 examples/poc_grating_interferometry.pypoc_virtual_acceptance_3d — ops: acceptance_error_budget, acceptance_layout, acceptance_scan, virtual_acceptance_test py -3.11 examples/poc_virtual_acceptance_3d.pypoc_moire_alignment — ops: arrow, axes_frame, axes_transform, data_to_pixel, grid_lines, legend_box, moire_differential_shift, moire_magnification, moire_mark_read, moire_overlay_image, moire_phase, moire_phase_crlb (+6 more) py -3.11 examples/poc_moire_alignment.pypoc_telecentric_metrology — ops: add_metrology_object_circle_measure, annotate_scale_bar, apply_metrology_model, blast_normals, chief_ray, chief_ray_angle, clearcoat_shade, create_metrology_model, defocus_spot_vs_depth, finish_shade, gen_measure_rectangle2, glass_catalog (+12 more) py -3.11 examples/poc_telecentric_metrology.pypoc_simcal_telecentric — ops: chief_ray_angle, gaussian, simcal_discrepancy, simcal_fit, simcal_identifiability, simcal_model, simcal_observe, simcal_screen, simcal_validate, text_box py -3.11 examples/poc_simcal_telecentric.pypoc_gw_detector_pseudo_simulation — ops: bandpass, cavity_strain_transfer, chirp_mass_from_track, chirp_newtonian, coincidence_delay, fabry_perot_response, matched_filter_snr, michelson_dc_readout, optimal_snr, pdh_error_signal, psd_welch, quantum_noise_budget (+2 more) py -3.11 examples/poc_gw_detector_pseudo_simulation.pypoc_robust_profile_filter — ops: robust_gaussian_profile, robust_gaussian_surface, robust_spline_profile, surface_filter py -3.11 examples/poc_robust_profile_filter.pyexample_robust_profile_filter — ops: robust_gaussian_profile py -3.11 examples/example_robust_profile_filter.pypoc_tem_ctf_thon_rings — ops: tem_amorphous_film, tem_ctf, tem_ctf_correct, tem_ctf_estimate, tem_ctf_profile, tem_image_weak_phase, tem_multislice, tem_power_spectrum, tem_projected_potential, tem_scherzer, tem_wavelength, text_box py -3.11 examples/poc_tem_ctf_thon_rings.pypoc_sem_wafer_defect_edge_bias — ops: blob_features, blob_label, pod_hitmiss_fit, seg_boundary_f, seg_dice_jaccard, sem_image, sem_render py -3.11 examples/poc_sem_wafer_defect_edge_bias.pypoc_real_sem_metal_layer — ops: axes_frame, axes_transform, blob_boundaries, blob_distance, blob_features, blob_label, closing_circle, data_to_pixel, ellipse, fill_holes, grid_lines, intersection (+14 more) py -3.11 examples/poc_real_sem_metal_layer.pypoc_virtual_sem_kv_cd_bse — ops: material_electron_properties, sem_cd_measure, sem_charging_series, sem_electron_mc, sem_image, sem_line_profile, sem_se_escape_fraction, sem_se_universal_curve, sem_yield_curve, threshold py -3.11 examples/poc_virtual_sem_kv_cd_bse.pypoc_sem_tem_same_particle — ops: color_bar, filtered_backprojection, radon_transform, scale_bar, sem_electron_mc, sem_image, sem_render, tem_image_weak_phase, tem_multislice, tem_projected_potential, tem_wavelength, text_box (+1 more) py -3.11 examples/poc_sem_tem_same_particle.pypoc_metal_grain_size — ops: bin_threshold, blob_features, blob_label, blob_overlay, bothat, dyn_threshold, gray_bothat, hx_close_edges, invert_image, otsu, rgb_to_lab, thinning (+1 more) py -3.11 examples/poc_metal_grain_size.pypoc_screw_thread_metrology — ops: fit_line_contours, gen_measure_rectangle2, hx_split_contours, measure_pos, rms, threshold, threshold_sub_pix, xg_regress_contours py -3.11 examples/poc_screw_thread_metrology.pypoc_bone_trabecular_thickness — ops: blob_distance, blob_features, blob_label, dc_retinex, dist_transform, gaussian, get_region_thickness, local_thickness, opening_circle, otsu, sk_area_opening, threshold py -3.11 examples/poc_bone_trabecular_thickness.pypoc_tree_ring_dendro — ops: derivate_funct_1d, find_peaks, gen_measure_rectangle2, measure_pos, median_rect, smooth_funct_1d_gauss py -3.11 examples/poc_tree_ring_dendro.pypoc_cad_scan_deviation — ops: color_bar, rms, text_box py -3.11 examples/poc_cad_scan_deviation.pypoc_structure_4d_deterioration — ops: axes_frame, axes_transform, data_to_pixel, rmse, text_box, ticks py -3.11 examples/poc_structure_4d_deterioration.pypoc_scan_to_bim_asbuilt — ops: (not linked from any op note) py -3.11 examples/poc_scan_to_bim_asbuilt.pypoc_pipe_wall_loss — ops: blob_label, blob_select, spectrum py -3.11 examples/poc_pipe_wall_loss.pypoc_weld_bead_scan_angle — ops: lines_gauss py -3.11 examples/poc_weld_bead_scan_angle.pypoc_laser_line_speckle_floor — ops: coherent_image, laser_line_coherent, speckle_field, speckle_reduction, speckle_statistics, triangulation_speckle_limit py -3.11 examples/poc_laser_line_speckle_floor.pypoc_light_section_step_weld_floor — ops: gum_expanded, laser_line_center_gauss, laser_line_center_steger, laser_line_coherent, light_plane_calibrate, light_section_floor_sweep, light_section_height_map, light_section_profile, light_section_render, light_section_rig, light_section_scan, light_section_speckle_floor (+2 more) py -3.11 examples/poc_light_section_step_weld_floor.pypoc_interreflection_fringe_error — ops: form_factors_2d, fringe_multipath_phase_error, groove_profile, high_frequency_patterns, micro_phase_decode, predict_fringe_phase_error, render_transport, separate_direct_global, tof_multipath_phase, tof_transport_depth, transport_matrix_radiosity py -3.11 examples/poc_interreflection_fringe_error.pypoc_shape_from_polarization — ops: aolp_to_azimuth, brdf_blinn_phong, dolp_to_zenith, fresnel_dielectric, measure_text, photometric_stereo_robust, polarization_demosaic, rms, sfp_disambiguate, sfp_dolp_model, sfp_estimate_index, sfp_height (+2 more) py -3.11 examples/poc_shape_from_polarization.pypoc_phase_measuring_deflectometry — ops: deflectometry_phase_to_slope, deflectometry_render, deflectometry_rig, deflectometry_screen_pattern, deflectometry_sensitivity, fresnel_dielectric, sfp_height, slope_to_curvature, text_box py -3.11 examples/poc_phase_measuring_deflectometry.pypoc_asbuilt_wall_deviation — ops: (not linked from any op note) py -3.11 examples/poc_asbuilt_wall_deviation.pypoc_battery_electrode_breathing — ops: auto_threshold, erf, gen_measure_rectangle2, measure_pos, piv_peak_locking, rms py -3.11 examples/poc_battery_electrode_breathing.pypoc_bump_coplanarity — ops: auto_threshold, blob_features, blob_label, blob_overlay, rms py -3.11 examples/poc_bump_coplanarity.pypoc_crack_width_timeseries — ops: axes_frame, axes_transform, data_to_pixel, erf, plot_series, text_box, ticks py -3.11 examples/poc_crack_width_timeseries.pypoc_settlement_significance — ops: erf py -3.11 examples/poc_settlement_significance.pypoc_real_coin_metrology — ops: blob_count, blob_features, blob_label, canny, fill_holes, gray_tophat, hough_circle_trans, otsu, sobel_amp py -3.11 examples/poc_real_coin_metrology.pypoc_datacenter_thermal_field — ops: interp_scattered, log, rmse py -3.11 examples/poc_datacenter_thermal_field.pypoc_stockpile_volume — ops: color_bar, dem_hillshade, dem_slope, dem_viewshed, interp_scattered, text_box py -3.11 examples/poc_stockpile_volume.pypoc_multibeam_bathymetry — ops: beamform_delay_sum, beamform_doa, color_bar, dem_slope, find_peaks, intensity, interp_scattered, peak_subbin, text_box py -3.11 examples/poc_multibeam_bathymetry.pypoc_livestock_body_volume — ops: erosion_circle, text_box py -3.11 examples/poc_livestock_body_volume.pypoc_thermal_radiometry — ops: beer_lambert_transmittance, interp_linear, mat_eigh, noise_sigma, photon_uncertainty, poly_fit, rms, stat_correlation, stat_covariance, stat_describe, stat_histogram py -3.11 examples/poc_thermal_radiometry.pypoc_geodetic_height_frames — ops: datum_tilt_check, dem_aspect, dem_datum_shift_3param, dem_earth_curvature_drop, dem_ecef_to_geodetic, dem_enu_from_geodetic, dem_flow_direction, dem_geodetic_from_enu, dem_geodetic_to_ecef, dem_geoid_height, dem_height_frame_convert, dem_slope (+3 more) py -3.11 examples/poc_geodetic_height_frames.pymorphing
image_morph — ops: blend, morph, morph_sequence py -3.11 examples/image_morph.pymath
blas_thread_budget — ops: dc_rpca_lowrank, median py -3.11 examples/blas_thread_budget.pyperf_pointcloud_descriptors — ops: gaussian py -3.11 examples/perf_pointcloud_descriptors.pyperf_monogenic_metrics — ops: monogenic_amplitude, monogenic_orientation, monogenic_phase, monogenic_signal py -3.11 examples/perf_monogenic_metrics.pyperf_prepared_volume_probe — ops: (not linked from any op note) py -3.11 examples/perf_prepared_volume_probe.pyperf_polarization_analyze — ops: polarization_dolp_map, polarization_separate, polarization_stokes py -3.11 examples/perf_polarization_analyze.pyperf_hankel_plan_and_piv_stream — ops: hankel_transform, piv_outlier_mask py -3.11 examples/perf_hankel_plan_and_piv_stream.pygeometry_tour — ops: angle_defect, delaunay_triangulate, geodesic_heat, geodesic_heat_grid, mesh_euler_characteristic, mesh_torus, nurbs_circle, nurbs_curve, nurbs_revolve py -3.11 examples/geometry_tour.pyestimation_tour — ops: assign_hungarian, crlb_gaussian, kalman_smooth, se3_exp, se3_log, stat_ttest_welch py -3.11 examples/estimation_tour.pyspectral_tour — ops: esprit_doa, hilbert_analytic, lomb_scargle, music_doa, ula_snapshots py -3.11 examples/spectral_tour.pynumerics_tour — ops: chebyshev_coeffs_nd, chebyshev_eval_nd, chebyshev_nodes, erf, gauss_quadrature, integrate_hamiltonian, interp_barycentric, low_discrepancy, mat_qr py -3.11 examples/numerics_tour.pytransforms_tour — ops: abel_inverse, abel_inverse_image, abel_revolve, abel_transform, dct_transform, dwt_inverse, dwt_transform, hankel_image, hankel_transform, laplace_inverse_talbot, tf_freq_response, tf_impulse_response (+2 more) py -3.11 examples/transforms_tour.pymath_metrology — ops: interp_cubic, interp_linear, mat_cond, mat_eigh, mat_lstsq, mat_pinv, mat_solve, mat_svd, poly_eval, poly_fit, poly_roots, stat_correlation (+4 more) py -3.11 examples/math_metrology.pymath_complex — ops: cplx_argument_principle, cplx_cauchy_value, cplx_contour_circle, cplx_contour_integral, cplx_cr_residual, cplx_joukowski, cplx_laurent_coeffs, cplx_mobius, cplx_poly_eval, cplx_winding_number py -3.11 examples/math_complex.pysegmentation
poc_threshold_transfer_after_normalization — ops: axes_transform, ptile_threshold, sigma_threshold, text_box py -3.11 examples/poc_threshold_transfer_after_normalization.pypoc_graph_hierarchy_segmentation — ops: alpha_expansion, alpha_tree, area_opening_attr, graph_cut_binary, hierarchical_watershed, quasi_flat_zones, quickshift, seg_boundary_f, seg_dice_jaccard, seg_object_counts_match, seg_score_card, seg_under_over_segmentation (+15 more) py -3.11 examples/poc_graph_hierarchy_segmentation.pypoc_active_contours — ops: chan_vese_evolve, curvature_flow, drle_evolve, edge_stop_g, gvf_field, level_set_reinit, morph_chan_vese, morph_geodesic_ac, seg_dice_jaccard, seg_score_card, sk_chan_vese, snake_evolve (+5 more) py -3.11 examples/poc_active_contours.pywatershed3d_tour — ops: distance_peaks, separate_touching, watershed_vol py -3.11 examples/watershed3d_tour.pyhalcon_segmentation_tour — ops: check_difference, class_2dim_sup, class_2dim_unsup, class_ndim_norm, classify_image_class_lut, expand_gray, learn_ndim_norm, regiongrowing_n, watersheds_marker py -3.11 examples/halcon_segmentation_tour.pythreshold_family_agreement — ops: area_frac, auto_threshold, binary_threshold, cv_otsu, otsu, sk_li, sk_niblack, sk_otsu, sk_sauvola, sk_yen, xmh_bernsen, xsitk_huang_thresh (+3 more) py -3.11 examples/threshold_family_agreement.pypoc_cell_counting — ops: circularity, distance_transform, fill_holes, gauss_filter, sk_otsu, xsk2_h_maxima py -3.11 examples/poc_cell_counting.pypoc_dense_bubble_count — ops: blob_count_interval, blob_distance, blob_features, blob_label, blob_seeds, blob_split, text_box, world_blobs_touching py -3.11 examples/poc_dense_bubble_count.pypoc_timelapse_growth — ops: axes_frame, axes_transform, blob_label, plot_series, text_box, ticks py -3.11 examples/poc_timelapse_growth.pypoc_vegetation_cover — ops: cv_otsu, otsu, sk_otsu py -3.11 examples/poc_vegetation_cover.pypoc_weed_rice_ratio — ops: cover_ratio_grade, fisher_lda_fit, fisher_lda_score, msa_attribute_agreement, plant_color_index, snic_superpixels, superpixel_color_texture_features py -3.11 examples/poc_weed_rice_ratio.pypoc_mri_bias_field — ops: dc_homomorphic, erf, overlay_labels, xsk2_multiotsu py -3.11 examples/poc_mri_bias_field.pypoc_leaf_disease_area — ops: access_channel, blob_features, blob_label, blob_overlay, fill_holes, gaussian, linear_to_srgb, plant_color_index, reg_close, reg_erode, rgb_to_lab, select_largest (+4 more) py -3.11 examples/poc_leaf_disease_area.pypoc_mixed_case_depalletizing — ops: arc, crop_rectangle2, ellipse, fill_holes, median, srgb_to_linear, watersheds_marker py -3.11 examples/poc_mixed_case_depalletizing.pyterrain
poc_dem_terrain — ops: color_bar, dem_aspect, dem_curvature, dem_fill_sinks, dem_flow_accumulation, dem_hillshade, dem_sky_view_factor, dem_slope, text_box py -3.11 examples/poc_dem_terrain.pydem_geodesy_tour — ops: dem_cell_size_webmercator, dem_earth_curvature_drop, dem_ecef_to_geodetic, dem_geocentric_grid, dem_geodetic_slope, dem_geodetic_to_ecef, dem_slope py -3.11 examples/dem_geodesy_tour.pydem_terrain_analysis_tour — ops: dem_flow_accumulation, dem_flow_direction, dem_horizon_angle, dem_roughness, dem_stream_network, dem_tpi, dem_viewshed py -3.11 examples/dem_terrain_analysis_tour.pypoc_lidar_terrain_change — ops: color_bar, dem_hillshade, dem_slope, elevation_map, median, text_box py -3.11 examples/poc_lidar_terrain_change.pypoc_crop_phenotyping — ops: dem_slope py -3.11 examples/poc_crop_phenotyping.pyphotometry
poc_astro_photometry — ops: aperture_photometry, drizzle_resample, lucky_select, median, sigma_clip_stack, synth_frame_series, synth_starfield py -3.11 examples/poc_astro_photometry.pypoc_allsky_cloud_cover — ops: equirect_from_fisheye_pair, polar_trans_image py -3.11 examples/poc_allsky_cloud_cover.pypoc_nuclei_ploidy — ops: aperture_photometry, blob_features, blob_label, blob_overlay, gaussian, median, sg_gmm_segment, sk_otsu py -3.11 examples/poc_nuclei_ploidy.pypoc_solar_limb_darkening — ops: gauss_filter, gaussian, gen_measure_rectangle2, mat_lstsq, measure_pos, rms py -3.11 examples/poc_solar_limb_darkening.pypoc_exoplanet_transit — ops: aperture_photometry, erf, frame_align, normalize, rms, sigma_clip_stack, star_detect py -3.11 examples/poc_exoplanet_transit.pypoc_real_sky_photometry — ops: aperture_photometry py -3.11 examples/poc_real_sky_photometry.pytomography
poc_ct_fidelity — ops: backproject_sinogram, ellipse_phantom, ellipse_sinogram, filtered_backprojection, projection_angles, radon_transform, rmse, ssim, stat_correlation py -3.11 examples/poc_ct_fidelity.pydiagnostics
poc_bearing_diagnosis — ops: bearing_defect_frequencies, envelope_spectrum, spectral_kurtosis, spectrum, synthesize_bearing_signal py -3.11 examples/poc_bearing_diagnosis.pypoc_fabric_defect — ops: rms, thinning py -3.11 examples/poc_fabric_defect.pypoc_thermography_ndt — ops: color_bar py -3.11 examples/poc_thermography_ndt.pypoc_prnu_camera_fingerprint — ops: aug_jpeg_blocks, evidence_quantile, fingerprint_correlate, gauss_image, median_image, null_distribution, sensor_fingerprint, sk_nlm, sk_tv, sk_wavelet, xsp_dct_denoise, xsp_wiener py -3.11 examples/poc_prnu_camera_fingerprint.pypoc_weld_radiograph_porosity — ops: arc, blob_features, blob_label, blob_overlay, blob_select, estimate_noise, gauss_image, gen_measure_rectangle2, gray_opening_rect, log_image, measure_pairs, measure_pos (+3 more) py -3.11 examples/poc_weld_radiograph_porosity.pypoc_solar_el_inspection — ops: aug_vignette, blob_features, blob_label, blob_select, gaussian, gray_closing, hysteresis_threshold, lines_gauss, median, otsu, quantize, rank_spearman (+4 more) py -3.11 examples/poc_solar_el_inspection.pypoc_solder_fillet_aoi — ops: access_channel, blob_features, blob_label, blob_select_largest, brdf_microfacet, illumination_design, intensity, rgb_to_lab, trans_from_rgb py -3.11 examples/poc_solder_fillet_aoi.pypoc_machine_condition_fusion — ops: arrow, bearing_defect_frequencies, blob_label, ellipse, mat_pinv, rounded_rect, spectrum, stat_correlation, synthesize_bearing_signal, text_box py -3.11 examples/poc_machine_condition_fusion.pypoc_pv_thermal_survey — ops: beer_lambert_transmittance, blob_features, blob_label, blob_select, color_bar, fresnel_dielectric, gauss_filter, median, overlay_mask, surface_form_remove, zoom_image_factor py -3.11 examples/poc_pv_thermal_survey.pypoc_cold_chain_excursion — ops: integrate_funct_1d, quantize, sample_funct_1d, vol_label_shape_stats, vol_mip py -3.11 examples/poc_cold_chain_excursion.pyranging
poc_dtof_ranging — ops: dtof_cube_depth, dtof_cube_simulate, dtof_depth, gaussian, median, spad_deadtime_apply, tcspc_background_subtract, tcspc_coates_correct, tcspc_simulate py -3.11 examples/poc_dtof_ranging.pypoc_leak_localization — ops: arrow, bandpass, correlation_score, text_box, transfer_function py -3.11 examples/poc_leak_localization.pydepth
poc_lightfield_depth — ops: color_bar, lf_depth_from_focus, lf_disparity_to_depth, lf_epi, lf_epi_slope, lf_refocus, lf_to_mla py -3.11 examples/poc_lightfield_depth.pypoc_focus_stacking — ops: axes_frame, axes_transform, csi_height_map, defocus_blur, dilation_circle, gauss_filter, laplace, mean_image, optical_camera, plot_series, psnr, rms (+4 more) py -3.11 examples/poc_focus_stacking.pypoc_real_stereo_depth — ops: (not linked from any op note) py -3.11 examples/poc_real_stereo_depth.pypoc_real_stereo_multiscanline — ops: binocular_disparity_ms, binocular_distance_ms, create_ncc_model, crop_rectangle2, ellipse, find_ncc_models, get_circle_pose, points_lepetit, reconstruct_surface_stereo py -3.11 examples/poc_real_stereo_multiscanline.pypoc_3d_sensor_modalities — ops: binocular_disparity_ms, form_factors_2d, groove_profile, itof_capture, itof_flying_pixel_mask, itof_noise_budget, itof_phase_amplitude, laser_line_center_centroid, light_section_speckle_floor, photometric_stereo_robust, plane_flatness_error, sphere_probing_error (+1 more) py -3.11 examples/poc_3d_sensor_modalities.pyoptics
poc_compound_eye — ops: lf_all_in_focus, lf_aperture_mask, lf_depth_from_focus, lf_plenoptic_design, lf_subaperture, lf_synthesize, lf_synthetic_aperture, median py -3.11 examples/poc_compound_eye.pypoc_fly_vision — ops: fly_dsi, fly_emd_response, fly_hex_lattice, fly_hex_resample, fly_hs_readout, fly_lgmd_eta, fly_sky_1f, fly_tau_from_expansion py -3.11 examples/poc_fly_vision.pypolarization_camera_pipeline — ops: mueller_apply, mueller_checks, mueller_element, mueller_from_intensities, mueller_partial_polarizer, polarization_demosaic, polarization_demosaic_color, polarization_dolp_map, polarization_stokes, polarization_stokes_map, stokes_analyze py -3.11 examples/polarization_camera_pipeline.pyvirtual_machine_vision — ops: dataset_throughput, defocus_blur, inspection_dataset, light_source, optical_camera, optscene_defect_mask, optscene_depth, optscene_instances, optscene_mask, random_defects, render_optscene, scene_cylinder (+4 more) py -3.11 examples/virtual_machine_vision.pyglass_and_mirror_optics — ops: beer_lambert_transmittance, brewster_angle_deg, critical_angle_deg, fresnel_conductor, fresnel_dielectric, metal_mirror_rgb, metal_optical_constants, prism_min_deviation_deg, refract_rays, slab_transmittance py -3.11 examples/glass_and_mirror_optics.pyimgmetrics
poc_spc — ops: spc_capability, spc_cusum, spc_ewma, spc_hotelling_t2, spc_mt_distance, spc_mt_sn_ratio, spc_mt_unit_space, spc_xbar_r py -3.11 examples/poc_spc.pypoc_mt_hidden_fault — ops: spc_mt_distance, spc_mt_unit_space py -3.11 examples/poc_mt_hidden_fault.pypoc_connectome_across_worms — ops: graph_edge_consensus, intersection, text_box py -3.11 examples/poc_connectome_across_worms.pypoc_physarum_maze — ops: graph_physarum_path, physarum_route py -3.11 examples/poc_physarum_maze.pypoc_car_parking — ops: arrow, car_dubins_path, car_hybrid_astar, car_reeds_shepp_path py -3.11 examples/poc_car_parking.pypoc_driving_school — ops: add_sign, ball_detect, car_dubins_path, car_hybrid_astar, course_contains, course_crank, course_crossing, course_intersection, course_layout, course_loop, course_loop_bend, course_occupancy (+14 more) py -3.11 examples/poc_driving_school.pypoc_ttc_rss — ops: arrow, course_layout, course_loop, crosshair, flow_from_depth_motion, foe_from_motion, label_extent, load_asset, relative_motion, rss_lateral, rss_lateral_check, rss_longitudinal_check (+13 more) py -3.11 examples/poc_ttc_rss.pypoc_world_terrain — ops: add_mesh_object, add_sign, course_contains, course_distance, course_layout, course_loop, crosshair, crosswalk_mesh, fbm_gradient, fbm_height, flow_from_depth_motion, foe_from_flow (+19 more) py -3.11 examples/poc_world_terrain.pypoc_ball_bounce — ops: add_ball, apex_sequence, ball_detect, ball_mesh, ball_params, ball_set_pose, ball_track, ball_truth, bounce, bounce_detect, bounce_total_time, camera_rig (+24 more) py -3.11 examples/poc_ball_bounce.pypoc_am_thermal_to_ct — ops: blob_features, blob_label, blob_select_largest, median, mesh_slice_stack, seg_boundary_f, seg_dice_jaccard, signed_surface_distance, sk_otsu, vol_gaussian py -3.11 examples/poc_am_thermal_to_ct.pypoc_segmentation_gauntlet — ops: blob_distance, blob_label, local_threshold, otsu, seg_dice_jaccard, seg_score_card, sg_watershed_gradient, sk_chan_vese, sk_felzenszwalb, sk_niblack, sk_sauvola, sk_slic (+9 more) py -3.11 examples/poc_segmentation_gauntlet.pypoc_driving_pass — ops: convex_mirror_image, convex_mirror_misjudge, crest_safe_speed, crest_sight_distance, ellipse, intersection, lane_change_follower_decel, lane_change_permitted, load_asset, mirror_aim_normal, mirror_road_coverage, no_overtaking_zones (+9 more) py -3.11 examples/poc_driving_pass.pypoc_air_hockey_intercept — ops: crosshair, fivebar_fk, fivebar_ik, fivebar_link, fivebar_reach_interval, fivebar_trajectory, fivebar_workspace, kalman_ca, puck_camera, puck_crossing_point, puck_detect, puck_mirror_path (+17 more) py -3.11 examples/poc_air_hockey_intercept.pypoc_peg_failure_recovery — ops: chamfer_capture, failure_confusion, insertion_episode_summary, insertion_failure_classify, insertion_failure_presets, insertion_failure_table, insertion_failure_validate, insertion_recovery_primitive, insertion_signature, insertion_stall_detect, jamming_diagram, jamming_force_check (+11 more) py -3.11 examples/poc_peg_failure_recovery.pypoc_food_cutting_measure — ops: cut_depth_from_side, cut_force_atkins, cut_force_csv_load, cut_force_fit, cut_surface_roughness, cutting_edge_render, cutting_episode_synth, cutting_face_render, cutting_scene, cutting_wrist_mjcf, food_cut_width, force_from_wrist_displacement (+8 more) py -3.11 examples/poc_food_cutting_measure.pypoc_pegsim_insertion — ops: camera_world_to_cv, chamfer_capture, circle_fit_known_radius, contact_state_predict, jamming_diagram, peg_measure_overlay, peg_offset_from_rgbd, peg_params, peg_scene_mjcf, peg_synthetic_rgbd, two_point_depth, wedging_check (+1 more) py -3.11 examples/poc_pegsim_insertion.pypoc_iqa_fsim_gmsd_vif — ops: fsim, fsim_pair, fsimc, gmsd, gmsd_map, phase_congruency_pc, rank_kendall_b, rank_spearman, tf_phase_congruency, tid2013_by_distortion, tid2013_compare, tid2013_evaluate (+5 more) py -3.11 examples/poc_iqa_fsim_gmsd_vif.pypoc_iqa_tid2013 — ops: luma_limited_u8, psnr, rank_data, rank_kendall_b, rank_spearman, ssim, ssim_map, tid2013_by_distortion, tid2013_compare, tid2013_evaluate, tid2013_index, tid2013_metric_values (+2 more) py -3.11 examples/poc_iqa_tid2013.pypoc_driving_commonroad — ops: boundary, cr_checker_result, cr_collision, cr_drive, cr_drive_sweep, cr_feasible, cr_read, cr_route, cr_solution_xml, cr_synthetic, ks_step py -3.11 examples/poc_driving_commonroad.pypoc_driving_japan_town — ops: citygml_synthetic, intersection, japan_stats, japan_world, jp_sign_stop_mesh, jp_stop_marking_mesh, latlon_to_local, osm_parse, osm_road_graph, osm_road_loops, osm_road_mask, osm_route (+5 more) py -3.11 examples/poc_driving_japan_town.pypoc_driving_town — ops: course_crank, course_loop_bend, course_road, course_s_curve, crossing_stop_check, idm_accel, intersection, kyosoku_summary, long_params, long_simulate, town_centerline, town_chain (+8 more) py -3.11 examples/poc_driving_town.pypoc_carla_bridge — ops: camera_pose_to_carla, carla_camera_pose, carla_depth_decode, carla_depth_encode, carla_label_map, carla_label_unmap, carla_labels, carla_rotation_angles, carla_scene_load, carla_scene_save, carla_scene_synthetic, carla_transform_matrix (+3 more) py -3.11 examples/poc_carla_bridge.pypoc_agv_fleet — ops: adg_build, adg_execute, arrow, mapf_cbs, mapf_ecbs, mapf_joint_astar, mapf_prioritized, naive_execute, plan_conflicts, text_box, vda5050_check, vda5050_order (+1 more) py -3.11 examples/poc_agv_fleet.pypoc_driving_humanoids — ops: add_mesh_object, crosswalk_mesh, humanoid_clip_mesh, humanoid_impostors, pedestrian_mesh, world_camera, world_camera_impostors py -3.11 examples/poc_driving_humanoids.pypoc_driving_crossing — ops: add_mesh_object, aliased_frequency, conflict_zone_intervals, crossing_clear_time, crossing_gate_state, crossing_lamp_signal, crossing_stop_check, crossing_timing_check, crosswalk_mesh, crosswalk_overtake_check, crosswalk_stopped_vehicle_check, ellipse (+15 more) py -3.11 examples/poc_driving_crossing.pypoc_driving_lateral — ops: ackermann_steer_angles, add_mesh_object, bicycle_model_step, clothoid_design, clothoid_points, curvature_speed_plan, ellipse, friction_circle_usage, lateral_offset, offtracking_circle, pure_pursuit_circle_offset, pure_pursuit_curvature (+7 more) py -3.11 examples/poc_driving_lateral.pypoc_driving_decisions — ops: add_mesh_object, aliased_frequency, axes_frame, axes_transform, bus_departure_yield_check, check_sequence_score, convex_mirror_fov, dilemma_zone, doppler_shift, doppler_track, filled_polygon, flash_frequency (+18 more) py -3.11 examples/poc_driving_decisions.pypoc_driving_traffic — ops: add_mesh_object, axes_frame, axes_transform, bus_stop_rate, driver_style, grid_lines, idm_accel, idm_equilibrium_gap, idm_platoon_simulate, importance_risk_estimate, lateral_wobble, long_params (+17 more) py -3.11 examples/poc_driving_traffic.pypoc_driving_endless_map — ops: pose_normalize, text_box, tile_digest, tile_edge_crossing, tile_height, tile_mesh, tile_params, tile_road_distance, tile_roads, tile_stream, world_camera py -3.11 examples/poc_driving_endless_map.pypoc_driving_weather — ops: ball_detect, beta_from_mor, course_intersection, course_layout, course_road, env_params, env_render, fog_beta_from_profile, load_asset, long_params, long_simulate, pedestrian_mesh (+13 more) py -3.11 examples/poc_driving_weather.pypoc_driving_longitudinal — ops: ball_detect, course_intersection, course_layout, course_road, course_slope, hill_hold_brake_min, hill_start_command, hill_start_rollback, load_asset, log, long_energy_residual, long_params (+11 more) py -3.11 examples/poc_driving_longitudinal.pypoc_table_tennis_rally_loop — ops: aim_velocity, ball_params, flight_simulate, impact_params, racket_impact, racket_params, racket_plan, rally_simulate, table_params, text_box py -3.11 examples/poc_table_tennis_rally_loop.pypoc_table_tennis_bounce — ops: add_ball, ball_detect, ball_mesh, ball_params, ball_set_pose, bounce, bounce_detect, crosshair, flight_fit, flight_ode, flight_simulate, flight_state_at (+11 more) py -3.11 examples/poc_table_tennis_bounce.pypoc_table_tennis_spin — ops: add_ball, ball_detect, ball_mesh, ball_params, ball_set_pose, ball_track, bounce_detect, camera_rig, fit_spin, flight_ode, flight_simulate, impact_params (+9 more) py -3.11 examples/poc_table_tennis_spin.pypoc_cd_spin_joint — ops: add_ball, ball_mesh, ball_params, drag_coefficient_sphere, fit_aero, fit_spin, fit_spin_aero, flight_ode, magnus_lift_coefficient, rms, table_params, table_world py -3.11 examples/poc_cd_spin_joint.pypoc_kendama — ops: ball_detect, camera_perceiver, catch_plan_staged, catch_success_rate, crosshair, elliptic_k_agm, gs_from_world, gs_render, gs_render_fn, gs_update, hole_detect, ken_mesh (+22 more) py -3.11 examples/poc_kendama.pypoc_physarum_transport — ops: graph_physarum_transport, physarum_transport_image, wasserstein_1d py -3.11 examples/poc_physarum_transport.pypoc_worm_core_persists — ops: graph_core_persistence, graph_kcore, graph_rich_club, graph_rich_club_curve py -3.11 examples/poc_worm_core_persists.pypoc_skeleton_run_length_vs_voi — ops: seg_variation_of_information, tree_from_swc, tree_run_length py -3.11 examples/poc_skeleton_run_length_vs_voi.pypoc_worm_synapses_vs_neurites — ops: graph_strength_growth, tree_from_swc, tree_morphometry py -3.11 examples/poc_worm_synapses_vs_neurites.pypoc_em_split_merge_score — ops: blob_label, seg_inject_merge, seg_inject_split, seg_label_changes, seg_membrane_response, seg_rand, seg_variation_of_information py -3.11 examples/poc_em_split_merge_score.pypoc_em_wiring_errors — ops: seg_synapse_nri, seg_synapse_partners, seg_variation_of_information, seg_wiring_exposure, seg_wiring_variation py -3.11 examples/poc_em_wiring_errors.pypoc_worm_neurites_grow — ops: intersection, tree_from_swc, tree_morphometry, tree_sholl py -3.11 examples/poc_worm_neurites_grow.pypoc_connectome_across_decades — ops: graph_edge_consensus, intersection py -3.11 examples/poc_connectome_across_decades.pypoc_connectome_lr_symmetry — ops: graph_degree_summary, graph_swap_symmetry py -3.11 examples/poc_connectome_lr_symmetry.pypoc_swc_tree_truth — ops: skeleton, tree_from_swc, tree_morphometry, tree_sholl py -3.11 examples/poc_swc_tree_truth.pypoc_residue_crt — ops: crt_displacement, harmonic_rotation, residue_crt, residue_fault_locate, residue_integer_crt py -3.11 examples/poc_residue_crt.pypoc_text_region_truth — ops: swt_map, text_candidates, text_lines py -3.11 examples/poc_text_region_truth.pygraphinv_three_phyla — ops: graph_cycle3, graph_degree_preserving_null, graph_degree_summary, graph_swap_symmetry py -3.11 examples/graphinv_three_phyla.pyhidden_ops_tour — ops: (not linked from any op note) py -3.11 examples/hidden_ops_tour.pyanalysis
anomaly_eval_metrics — ops: anomaly_image_auroc, anomaly_pixel_auroc, anomaly_pro, anomaly_region_overlap py -3.11 examples/anomaly_eval_metrics.pydoe_plan_tour — ops: doe_box_behnken, doe_central_composite, doe_decode, doe_fractional_factorial, doe_lhs, doe_orthogonal_array py -3.11 examples/doe_plan_tour.pymultivar_inspection_tour — ops: doe_central_composite, doe_decode, doe_encode, doe_lhs, doe_main_effects, doe_orthogonal_array, feat_image_vector, mv_pca, mv_pls, rsm_fit py -3.11 examples/multivar_inspection_tour.pysensitivity_tour — ops: doe_decode, doe_lhs, doe_morris, doe_saltelli, mv_confounding, mv_residual_pca, sens_morris, sens_sobol py -3.11 examples/sensitivity_tour.pysimcal_tour — ops: log, simcal_fit, simcal_model, simcal_observe, simcal_screen, simcal_simulate, thin_film_reflectance py -3.11 examples/simcal_tour.pysimcal_checks_tour — ops: doe_lhs, log, simcal_discrepancy, simcal_fit, simcal_identifiability, simcal_model, simcal_observe, simcal_report, simcal_simulate, simcal_validate py -3.11 examples/simcal_checks_tour.pyconverge_tour — ops: conv_gci, groove_profile, iterate_fixed_point, iv_richardson_lucy_until, mc_photon_slab py -3.11 examples/converge_tour.pypoc_microns_brain_wave — ops: graph_activity_spread, graph_degree_preserving_shuffle, graph_from_synapses, points_activity_video, reservoir_states py -3.11 examples/poc_microns_brain_wave.pypoc_connectome_motor_bottleneck — ops: graph_block_shuffle, graph_layer_propagate, points_activity_video, states_layer_dimension, states_participation_ratio py -3.11 examples/poc_connectome_motor_bottleneck.pypoc_theorems_as_pictures — ops: circle_packing_apollonian, curve_locality, ford_circles, fractal_dimension, graph_degree_table, ifs_fractal, ifs_similarity_dimension, neighbour_index_gaps, phyllotaxis_pattern, space_filling_curve py -3.11 examples/poc_theorems_as_pictures.pypoc_beats_fringes_and_screens — ops: engrave_lines, fraunhofer_pattern, grating_wavelengths, halftone_moire_period, halftone_screen, hatch_field, mosaic_tiles_render, mosaic_tiles_sites, stipple_energy, wave_fringe_period, wave_grating_orders, wave_membrane_mode (+3 more) py -3.11 examples/poc_beats_fringes_and_screens.pypoc_what_a_picture_cannot_check — ops: dynsys_bifurcation_map, dynsys_correlation_dimension, dynsys_lyapunov_spectrum, dynsys_poincare_section, ode_flow_states, ode_vector_field_grid, piv_divergence, piv_flow_magnitude, piv_vorticity py -3.11 examples/poc_what_a_picture_cannot_check.pypoc_measurement_system_analysis — ops: axes_frame, axes_transform, grid_lines, gum_expanded, gum_monte_carlo, gum_propagate, gum_standard_uncertainty, gum_validate, legend_box, msa_anova_table, msa_attribute_agreement, msa_bias_linearity (+5 more) py -3.11 examples/poc_measurement_system_analysis.pypoc_pod_lighting — ops: light_source, pod_ahat_fit, pod_decision_tradeoff, pod_false_call, pod_from_ahat, pod_hitmiss_fit py -3.11 examples/poc_pod_lighting.pyfit_circle_xld_bore — ops: fit_circle_xld, threshold_sub_pix py -3.11 examples/fit_circle_xld_bore.pywave_dominant_frequency_grating — ops: wave_dominant_frequency, wave_fringe_period py -3.11 examples/wave_dominant_frequency_grating.pyproportion_interval_audit — ops: proportion_interval, trials_for_all_success py -3.11 examples/proportion_interval_audit.pypoc_illusions_and_perpetual_drawing — ops: illusion_muller_lyer, perpetual_apollonian, perpetual_chaos_game, perpetual_elementary_ca, perpetual_flow_field, perpetual_identities, perpetual_ifs_attractor, perpetual_loop, perpetual_loop_seam, perpetual_plasma, perpetual_reaction_diffusion, perpetual_render (+4 more) py -3.11 examples/poc_illusions_and_perpetual_drawing.pypoc_calipers_under_illusion — ops: add_metrology_object_circle_measure, add_metrology_object_line_measure, apply_metrology_model, create_metrology_model, fuzzy_measure_pairing, gen_measure_rectangle2, illusion_cafe_wall, illusion_ebbinghaus, illusion_ground_truth, illusion_muller_lyer, illusion_poggendorff, illusion_zollner (+3 more) py -3.11 examples/poc_calipers_under_illusion.pypoc_attention_identities — ops: attention_apply, attention_grouped, attention_linear, attention_scores, attention_softmax, attention_tiled, attention_weights, kv_cache_decode, rms_norm, rope_rotate py -3.11 examples/poc_attention_identities.pypoc_zernike_aberrations — ops: wavefront_stats py -3.11 examples/poc_zernike_aberrations.pypoc_four_dimensions_by_three_d_tools — ops: (not linked from any op note) py -3.11 examples/poc_four_dimensions_by_three_d_tools.pypoc_vanishing_detail_and_morphing_area — ops: gauss_filter, morph py -3.11 examples/poc_vanishing_detail_and_morphing_area.pypoc_gravitational_lens_invariants — ops: blob_label py -3.11 examples/poc_gravitational_lens_invariants.pypoc_endless_zoom_and_turning_solids — ops: fractal_dimension, perpetual_loop_seam py -3.11 examples/poc_endless_zoom_and_turning_solids.pypoc_periodic_video_boundary — ops: moving_average_window, perpetual_loop, perpetual_loop_seam, three_frame_difference py -3.11 examples/poc_periodic_video_boundary.pypoc_complex_plane_fields — ops: boundary, cplx_cr_residual, cplx_domain_colour, cplx_escape_time, cplx_newton_basins, cplx_plane_grid, cplx_rational_field, cplx_winding_number, joukowski_circulation, mandelbrot_interior, potential_flow_joukowski py -3.11 examples/poc_complex_plane_fields.pypoc_one_stroke_epicycles — ops: contour_epicycle_chain, contour_fourier_complex, contour_fourier_truncation_energy, contours_to_gcode, gcode_time_estimate, mst_length, stipple_energy, stipple_points_from_image, stroke_resample_closed, stroke_tone_error, stroke_tour_closed py -3.11 examples/poc_one_stroke_epicycles.pypoc_geodetic_benchmarks_real — ops: dem_datum_shift_3param, dem_ecef_to_geodetic, dem_enu_from_geodetic, dem_geodetic_from_enu, dem_geodetic_to_ecef, dem_geoid_height, dem_height_frame_convert, dem_height_frame_residual py -3.11 examples/poc_geodetic_benchmarks_real.pypoc_em_branch_territory — ops: identity, points_activity_video, skeleton py -3.11 examples/poc_em_branch_territory.pymeasurement
optics_four_f_processor — ops: four_f_filter, fourier_plane_filter, highpass, identity, lowpass py -3.11 examples/optics_four_f_processor.pyscale_law_of_features — ops: contlength, moments_region_2nd, moments_region_3rd, moments_region_central py -3.11 examples/scale_law_of_features.pyshape_factors_closed_form — ops: area_frac, circularity, compactness, convexity, rectangularity, region_perimeter_estimate, roundness py -3.11 examples/shape_factors_closed_form.pywalking_ops_tour — ops: capture_margin, com_from_silhouette, com_support_margin, contact_points, detect_obstacles, elevation_map, elevation_normals, elevation_step_edges, elevation_traversability, fill_gaps, foot_slip_metrics, foothold_candidates (+12 more) py -3.11 examples/walking_ops_tour.pyheightmap_depth_camera_tour — ops: clothoid_points, crop_rectangle2, dem_viewshed, elevation_map, fill_gaps, heightmap_depth_camera, road_surface_heightmap, surface_form_remove, world_camera py -3.11 examples/heightmap_depth_camera_tour.pylane_ops_tour — ops: color_rule_mask, lane_boundary_fit, lane_center_path, pixel_to_world, plane_topview_color, stop_line_detect py -3.11 examples/lane_ops_tour.pyroad_surface_tour — ops: blend, clothoid_points, crop_rectangle2, dem_slope, road_surface_heightmap, surface_form_remove py -3.11 examples/road_surface_tour.pyitokawa_gravity_tour — ops: mesh_slice_contours, polyhedron_clip_halfspace, polyhedron_gravity py -3.11 examples/itokawa_gravity_tour.pycolor
raw_to_display_isp — ops: awb_gains, brightness_contrast, color_correction_matrix, hue_saturation, lens_shading_correct, lens_shading_gain, raw_apply_gains, raw_black_level, raw_dead_pixel_correct, raw_dead_pixel_mask, raw_demosaic_bilinear py -3.11 examples/raw_to_display_isp.pypoc_white_balance — ops: delta_e_map, gauss_filter, illuminant_from_dichromatic_planes, laplace, linear_to_srgb, mean_image, prewitt_amp, roberts, sobel_amp, spectrum_to_srgb py -3.11 examples/poc_white_balance.pyseparation
poc_polarization_specular — ops: ellipse, fresnel_conductor, fresnel_dielectric, measure_text, mueller_apply, mueller_element, ocr_font, polarization_dolp_map, polarization_render, polarization_separate, polarization_stokes, polarization_stokes_map (+2 more) py -3.11 examples/poc_polarization_specular.pyexample_polarization_metal — ops: brewster_angle_deg, fresnel_conductor, fresnel_dielectric, polarization_dolp_map, polarization_render py -3.11 examples/example_polarization_metal.pypoc_pigment_unmixing — ops: delta_e_map, linear_to_srgb, spectrum_to_srgb py -3.11 examples/poc_pigment_unmixing.pypoc_sea_ice_concentration — ops: blob_features, blob_label, gauss_filter, mat_lstsq py -3.11 examples/poc_sea_ice_concentration.pypoc_colocalization_crosstalk — ops: gauss_image, mat_lstsq, mat_solve, noise_sigma, otsu, photon_sample, reg_erode, stat_correlation py -3.11 examples/poc_colocalization_crosstalk.pypoc_recycling_sorting — ops: overlay_labels, spectrum py -3.11 examples/poc_recycling_sorting.pypoc_real_stain_unmix — ops: (not linked from any op note) py -3.11 examples/poc_real_stain_unmix.pyvibration
poc_motion_magnification — ops: axes_frame, axes_transform, band_snr, data_to_pixel, displacement_series, motion_magnify, phase_displacement, synthesize_translation, temporal_band_power, temporal_bandpass, text_box, ticks py -3.11 examples/poc_motion_magnification.pypoc_beam_modal_video — ops: axes_frame, axes_transform, data_to_pixel, envelope, phase_displacement, piv_cross_correlate, temporal_bandpass, text_box, ticks py -3.11 examples/poc_beam_modal_video.pyrectification
lens_undistort — ops: (not linked from any op note) py -3.11 examples/lens_undistort.pypoc_document_scan — ops: corner_response, dc_homomorphic, fill_holes, gauss_filter, get_region_contour, gray_tophat, illuminate, illumination_field, image_to_world_plane, mean_image, opening_circle, otsu (+4 more) py -3.11 examples/poc_document_scan.pycalibration
estimate_lens_distortion — ops: (not linked from any op note) py -3.11 examples/estimate_lens_distortion.pypoc_camera_calibration — ops: axes_frame, axes_transform, camera_calibration, data_to_pixel, ellipse, plot_series, rms, text_box, ticks py -3.11 examples/poc_camera_calibration.pymachine_vision_tour — ops: area_center_gray, atan2_image, binocular_disparity_ms, binocular_distance_ms, change_radial_distortion_image, classify_class_gmm, classify_class_knn, classify_class_mlp, classify_class_svm, create_bg_esti, create_lexicon, create_ncc_model (+36 more) py -3.11 examples/machine_vision_tour.pycamera_intrinsics_calibration — ops: camera_calibration py -3.11 examples/camera_intrinsics_calibration.pypoc_fly_optomotor_steering — ops: fly_egomotion_from_flow, fly_eye_merge, fly_flow_from_directions, fly_hex_lattice, fly_hex_resample, fly_lamina_filter, fly_matched_filter, fly_onoff_split, fly_sky_1f, fly_t4t5_field, graph_conductance_states, graph_from_synapses py -3.11 examples/poc_fly_optomotor_steering.pypoc_public_camera_heading_real — ops: bloom, camera_orientation_from_sun_candidates, ellipse, sun_position py -3.11 examples/poc_public_camera_heading_real.pypoc_public_camera_heading — ops: camera_orientation_from_skyline, camera_orientation_from_sun, dem_skyline, render_skyline_view, skyline_extract, sun_pixel_position, sun_position py -3.11 examples/poc_public_camera_heading.pypoc_thermal_drift_metrology — ops: lockin_thermal_wave, polygon_area, thermo_optic_coefficient py -3.11 examples/poc_thermal_drift_metrology.pypoc_caltab_chain_truth — ops: camera_calibration_lm, create_caltab, find_caltab, find_marks_and_pose, gaussian py -3.11 examples/poc_caltab_chain_truth.pypoc_calibration_truth_map — ops: calibration_error_map, calibration_next_pose, calibration_uncertainty_map, camera_calibration, camera_calibration_lm, checkerboard_points, find_checkerboard_corners, sim_checkerboard py -3.11 examples/poc_calibration_truth_map.pypoc_real_chessboard_undistort — ops: camera_calibration_lm, change_radial_distortion_image, ellipse, map_image, points_lepetit, rectify_to_world_plane py -3.11 examples/poc_real_chessboard_undistort.pyvisualization
interactive_poc_viewer — ops: (not linked from any op note) py -3.11 examples/interactive_poc_viewer.pyinteractive_anim3d_viewer — ops: (not linked from any op note) py -3.11 examples/interactive_anim3d_viewer.pyanim3d_lens_aberrations — ops: abbe_number, airy_pattern, example_system, lens_system, opd_samples, paraxial_trace, ray_bundle, ray_fan, seidel_coefficients, spectrum, spot_stats, text_box (+3 more) py -3.11 examples/anim3d_lens_aberrations.pygsplat_product_viewer — ops: gs_catalog_html, gs_from_world, gs_viewer_html py -3.11 examples/gsplat_product_viewer.pypoc_flybrain_pointcloud — ops: annotate_figure_grid, annotate_scale_bar, gaussian, text_box py -3.11 examples/poc_flybrain_pointcloud.pypoc_malecns_activity_wave — ops: graph_activation_latency, graph_activity_spread, graph_degree_preserving_shuffle, points_activity_video, reservoir_from_graph, reservoir_states, text_box py -3.11 examples/poc_malecns_activity_wave.pypoc_live4d — ops: blend, focus_sweep_height_video, focus_sweep_surface_video, vol_flow_3d, volseq_interpolate_flow, volseq_magnify_motion, volseq_pathline_orbit, volseq_pathline_render, volseq_render_orbit, volseq_synth_beating, volseq_synth_dividing py -3.11 examples/poc_live4d.pypoc_video_cube — ops: intensity, video_cube_cut, video_cube_orbit, video_spacetime_cube, video_summary_keyframes, video_write_gif, vol_render_transfer py -3.11 examples/poc_video_cube.pypoc_eye_to_brain — ops: fly_hex_quantize, log, points_activity_video, text_box py -3.11 examples/poc_eye_to_brain.pyforensics
poc_forensics_roc — ops: copy_move_regions, error_level_map, jpeg_ghost_map, jpeg_ghost_quality, noise_inconsistency_map py -3.11 examples/poc_forensics_roc.pypoc_video_physics_consistency — ops: aic_from_rss, ball_params, ballistic_vs_thrust, drag_fit, evidence_quantile, fit_parabola, flight_ode, label_extent, null_distribution, text_box, thrust_fit, thrust_ode (+1 more) py -3.11 examples/poc_video_physics_consistency.pypoc_fresco_craquelure — ops: blob_features, blob_label, blob_overlay, cv_blackhat, distance_transform, erf, hx_split_skeleton_region, hysteresis_threshold, junctions_skeleton, otsu, pruning, r2_endpoints_skeleton (+7 more) py -3.11 examples/poc_fresco_craquelure.pymorphology
poc_bilateral_asymmetry — ops: rms py -3.11 examples/poc_bilateral_asymmetry.pypoc_vessel_network — ops: blob_features, blob_label, distance_transform, gauss_filter, r2_split_skeleton_lines, sk_medial, skeleton, thinning py -3.11 examples/poc_vessel_network.pypoc_real_grain_skiz — ops: hit_or_miss_golay, hit_or_miss_seq, morph_skiz, opening_seg, percentile, thinning py -3.11 examples/poc_real_grain_skiz.pyinspection
poc_symmetry_self_reference_inspection — ops: center_from_symmetric_edges, rotational_symmetry, symmetry_difference_map, symmetry_score py -3.11 examples/poc_symmetry_self_reference_inspection.pypoc_print_layer_inspection — ops: contours_to_gcode, gcode_extrusion_volume, gcode_layer_image, gcode_read, gcode_time_estimate, gcode_write, mesh_slice_contours, mesh_slice_stack, print_layer_defect_map, prism_mesh, read_3mf, vol_render_transfer (+1 more) py -3.11 examples/poc_print_layer_inspection.pypoc_em_second_opinion — ops: holdout_threshold, points_activity_video, seg_boundary_membrane_gap, seg_inject_merge, seg_inject_split, seg_label_changes, seg_membrane_chord_score, seg_membrane_response py -3.11 examples/poc_em_second_opinion.pypoc_surface_defect_classifiers — ops: class_2dim_sup, class_2dim_unsup, class_ndim_norm, classify_class_gmm, classify_class_knn, classify_class_mlp, classify_class_svm, classify_image_class_lut, evaluate_class_gmm, learn_ndim_norm, train_class_gmm, train_class_knn (+2 more) py -3.11 examples/poc_surface_defect_classifiers.pypoc_equipment_selection_map — ops: bandpass_spectrum, blackbody_spectrum, carbon_black_absorption, hyperspectral_band_weights, ingaas_photodiode_qe, material_nir_absorption, nir_model_info, pod_ahat_fit, pod_false_call, pod_from_ahat, silicon_photodiode_qe, spectral_integral py -3.11 examples/poc_equipment_selection_map.pypoc_illumination_cone_vs_na — ops: blast_normals, metal_mirror_rgb, micro_normals, solid_angle_boundaries, solid_angle_brightness, solid_angle_light, solid_angle_render, solid_angle_sweep, text_box py -3.11 examples/poc_illumination_cone_vs_na.pypoc_hdr_glossy_metal_inspection — ops: camera_response_debevec, camera_response_linear, camera_response_robertson, exposure_fusion_mertens, hdr_dynamic_range, hdr_exposure_series_simulate, hdr_merge, hdr_radiance_error py -3.11 examples/poc_hdr_glossy_metal_inspection.pypoc_sam_hybrid_bonding_voids — ops: acoustic_interface_coefficients, acoustic_material_table, echo_phase_polarity, pod_ahat_fit, pod_false_call, pod_from_ahat, pulse_echo_ascan, sam_cscan, sam_frequency_tradeoff py -3.11 examples/poc_sam_hybrid_bonding_voids.pyregistration
poc_reproducible_icp — ops: cross_covariance_reproducible, fp64_emulation_probe, kabsch_reproducible, matmul_ozaki, matmul_reproducible, ozaki_error_bound py -3.11 examples/poc_reproducible_icp.pypoc_registration_basin — ops: axes_frame, axes_transform, log, plot_series, text_box, ticks py -3.11 examples/poc_registration_basin.pypoc_template_tracking — ops: axes_frame, axes_transform, ncc_locate, plot_series, shape_locate, text_box, ticks py -3.11 examples/poc_template_tracking.pypoc_change_detection_misreg — ops: affine_trans_image, erf, histogram_match, opening_circle, piv_cross_correlate, piv_outlier_mask, procrustes_fit, threshold py -3.11 examples/poc_change_detection_misreg.pypoc_real_tless_6dof — ops: axes_frame, axes_transform, data_to_pixel, ellipse, grid_lines, legend_box, plot_series, rmse, text_box, ticks py -3.11 examples/poc_real_tless_6dof.pypoc_real_tum_rgbd_slam — ops: (not linked from any op note) py -3.11 examples/poc_real_tum_rgbd_slam.pypoc_print_registration — ops: fly_hex_lattice, fly_vogel_lattice, frame_align, halftone_moire_period, halftone_screen, lattice_moire_peak, peak_subbin, piv_cross_correlate, rms py -3.11 examples/poc_print_registration.pypoc_part_locate_features — ops: features_accuracy_table, features_match, features_orb, features_sift, identity, ransac_homography py -3.11 examples/poc_part_locate_features.pypoc_multimodal_mi_registration — ops: register_ecc, register_image, register_mi py -3.11 examples/poc_multimodal_mi_registration.pypoc_sheet_deformation_ffd — ops: median, piv_flow_magnitude, register_accuracy_map, register_ffd, registration_to_flow2d py -3.11 examples/poc_sheet_deformation_ffd.pydecoding
poc_matrix_code_reading — ops: adaptive_gauss_thresh, corner_response, illuminate, image_to_world_plane, otsu, sk_sauvola py -3.11 examples/poc_matrix_code_reading.pypoc_symbol_package_1d — ops: barcode_scan_profiles, capture_degrade, decode_barcode_profile, ean_check_digit, encode_barcode1d, grade_barcode1d, grade_barcode_profile, read_barcode1d, read_symbols_zxing, render_symbol, symbol_read, symbol_read_pod (+1 more) py -3.11 examples/poc_symbol_package_1d.pypoc_symbol_part_dpm — ops: capture_degrade, dm_decode_modules, dm_encode, dm_locate, dm_read, dm_sample, grade_datacode2d, qr_decode_modules, qr_encode, qr_locate, qr_read, qr_sample (+4 more) py -3.11 examples/poc_symbol_part_dpm.pypoc_symbol_lot_ocr — ops: capture_degrade, ocr_classify, ocr_features, ocr_font, ocr_read_line, ocr_read_trials, ocr_render_text, ocr_score, ocr_segment_line, ocr_train, symbol_read_pod py -3.11 examples/poc_symbol_lot_ocr.pypoc_real_typewritten_ocr — ops: area_center_gray, classify_class_gmm, classify_class_knn, classify_class_mlp, classify_class_svm, create_lexicon, evaluate_class_gmm, gray_histo, gray_projections, lookup_lexicon, segment_characters, select_characters (+7 more) py -3.11 examples/poc_real_typewritten_ocr.pypoc_barcode_1d — ops: decode_barcode, gen_measure_rectangle2, measure_pos py -3.11 examples/poc_barcode_1d.pyrestoration
poc_camera_shake_deblur — ops: axes_frame, axes_transform, plot_series, psnr, ssim, text_box, ticks, unsharp py -3.11 examples/poc_camera_shake_deblur.pypoc_dehazing — ops: axes_frame, axes_transform, clahe, equalize, image_entropy, log, nice_ticks, plot_series, psnr, rank_image, scene_radiance, ssim (+2 more) py -3.11 examples/poc_dehazing.pypoc_real_deblur_honesty — ops: iv_motion_deblur, iv_richardson_lucy, iv_unsharp_deblur, psnr, sk_blur_effect, unsharp py -3.11 examples/poc_real_deblur_honesty.pyupscaling
poc_superresolution_limits — ops: axes_frame, axes_transform, data_to_pixel, drizzle_resample, piv_cross_correlate, plot_series, psnr, ssim, text_box, ticks, unsharp py -3.11 examples/poc_superresolution_limits.pygeometry
poc_panorama_drift — ops: axes_frame, axes_transform, hom_vector_to_proj_hom_mat2d, plot_series, rms, text_box, ticks py -3.11 examples/poc_panorama_drift.pypoc_cloth_towel_corners_synth — ops: fill_up, gaussian, otsu, sk_corner_harris, sk_find_contours, xg_gen_polygons py -3.11 examples/poc_cloth_towel_corners_synth.pypoc_xyt_event_surface — ops: axes_frame, axes_transform, data_to_pixel, text_box, ticks py -3.11 examples/poc_xyt_event_surface.pypoc_mesh_quality_repair — ops: fill_holes, text_box py -3.11 examples/poc_mesh_quality_repair.pypoc_dfm_thickness_overhang — ops: erfc py -3.11 examples/poc_dfm_thickness_overhang.pypoc_symmetry_restoration — ops: fill_holes, rms py -3.11 examples/poc_symmetry_restoration.pypoc_print_warpage_risk — ops: blob_features, blob_label, text_box py -3.11 examples/poc_print_warpage_risk.pypoc_pallet_load_utilization — ops: (not linked from any op note) py -3.11 examples/poc_pallet_load_utilization.pyverification
fix_text_in_image — ops: (not linked from any op note) py -3.11 examples/fix_text_in_image.pypoc_glyph_typo_detection — ops: (not linked from any op note) py -3.11 examples/poc_glyph_typo_detection.pypoc_larval_connectome_reservoir — ops: graph_degree_preserving_shuffle, graph_degree_table, graph_spectral_radius, reservoir_encode, reservoir_from_graph, ridge_predict, ridge_readout py -3.11 examples/poc_larval_connectome_reservoir.pyimaging_quality
poc_moire_screen — ops: fft_image, gauss_image, halftone_moire_period, lattice_moire_peak, moire_differential_shift, moire_magnification, moire_mark_read, moire_overlay_image, moire_phase, moire_phase_crlb, moire_phase_to_shift, moire_talbot_gap py -3.11 examples/poc_moire_screen.pypoc_emva1288_sensor — ops: emva_dark_current, emva_defect_pixels, emva_dynamic_range, emva_exposure_for_snr, emva_highpass, emva_linearity_error, emva_pair_statistics, emva_photon_exposure, emva_photon_transfer, emva_ptc_linearity_check, emva_quantum_efficiency, emva_sensitivity_threshold (+6 more) py -3.11 examples/poc_emva1288_sensor.pypoc_emva1288_in_camera_processing — ops: emva_bspline_regression, emva_defect_pixels, emva_dynamic_range, emva_filter_distortion, emva_general_nonuniformity, emva_general_relative_qe, emva_general_sensitivity, emva_highpass, emva_linearity_error, emva_noise_whiteness, emva_pair_statistics, emva_photon_transfer (+6 more) py -3.11 examples/poc_emva1288_in_camera_processing.pypoc_veiling_glare — ops: airy_pattern, create_funct_1d_pairs, derivate_funct_1d, edge_spread, get_y_value_funct_1d, invert_funct_1d, mtf50, mtf_diffraction, psf_to_mtf, sfr_from_edge, veiling_glare_index py -3.11 examples/poc_veiling_glare.pyimage_quality_metrics — ops: compare_images, compressed_size, data_range_of, delta_e_2000, delta_e_76, delta_e_map, image_entropy, joint_entropy, joint_histogram, lab_to_rgb, measure_with, metrics_table (+12 more) py -3.11 examples/image_quality_metrics.pyimage_forensics_audit — ops: copy_move_regions, error_level_map, evidence_quantile, fingerprint_correlate, fingerprint_strength_map, hash_distance, jpeg_ghost_map, jpeg_ghost_quality, jpeg_quality_estimate, noise_inconsistency_map, null_distribution, perceptual_hash (+4 more) py -3.11 examples/image_forensics_audit.pycolor_transport — ops: apply_transport, color_transfer, delta_e_map, gaussian, gaussian_transport_map, histogram_match, poisson_blend, sinkhorn, sinkhorn_distance, sinkhorn_divergence, transport_cost, transport_plan_1d (+1 more) py -3.11 examples/color_transport.pyastro_stacking — ops: align_frames, aperture_photometry, cosmic_ray_reject, cosmic_ray_reject_stack, drizzle_resample, frame_align, frame_quality, lucky_select, median, noise_sigma, psf_fit, sigma_clip_stack (+3 more) py -3.11 examples/astro_stacking.pymotion_magnification — ops: band_snr, complex_steerable_decompose, complex_steerable_reconstruct, displacement_series, motion_magnify, phase_displacement, synthesize_translation, temporal_band_power, temporal_bandpass py -3.11 examples/motion_magnification.pyvideo_streaming — ops: background_subtraction_window, deflicker, exponential_background, exponential_foreground, frame_difference_causal, gaussian, motion_energy_image, motion_history_image, moving_average_window, optical_flow_magnitude_stream, running_gaussian_background, running_gaussian_foreground (+6 more) py -3.11 examples/video_streaming.pyquaternion_monogenic — ops: displacement_series, iqft2, monogenic_amplitude, monogenic_orientation, monogenic_phase, monogenic_signal, motion_magnify, phase_displacement, qft2, quat_color_filter, quat_color_rotate, quat_conjugate_image (+11 more) py -3.11 examples/quaternion_monogenic.pypoc_zebra_stripes_fly_eye — ops: coherence, fly_emd_response, fly_expansion_readout, fly_flow_from_directions, fly_hex_lattice, fly_t4t5_field, fly_tau_from_expansion, fly_view_plane_texture, fly_vogel_lattice, lattice_moire_peak, sampling_alias_distance, text_box (+1 more) py -3.11 examples/poc_zebra_stripes_fly_eye.pypoc_colormap_readability — ops: delta_e_map, log, percentile, rgb_to_lab py -3.11 examples/poc_colormap_readability.pyflow
poc_particle_tracking — ops: axes_frame, axes_transform, blob_features, blob_label, plot_series, text_box, ticks py -3.11 examples/poc_particle_tracking.pypoc_traffic_counting — ops: axes_frame, blob_features, blob_label, data_to_pixel, text_box, threshold, ticks py -3.11 examples/poc_traffic_counting.pypiv_flow_from_particles — ops: median, normalize, piv_cross_correlate, piv_divergence, piv_error_stats, piv_multipass, piv_outlier_mask, piv_replace_outliers, piv_sample_at_windows, piv_synth_pair, piv_to_velocity, piv_vorticity py -3.11 examples/piv_flow_from_particles.pypiv_field_analysis_tour — ops: correlation_quality, piv_cross_correlate, piv_deform_pass, piv_ensemble_correlate, piv_error_stats, piv_flow_magnitude, piv_flow_to_rgbimage, piv_line_integral_convolution, piv_multipass, piv_peak_locking, piv_q_criterion, piv_quiver (+11 more) py -3.11 examples/piv_field_analysis_tour.pypoc_river_surface_velocity — ops: arrow, axes_frame, axes_transform, highpass_image, median, piv_cross_correlate, piv_ensemble_correlate, piv_error_stats, piv_outlier_mask, piv_replace_outliers, piv_sample_at_windows, piv_to_velocity (+5 more) py -3.11 examples/poc_river_surface_velocity.pypoc_warehouse_flow — ops: vol_dilate, vol_erode, vol_opening_ball py -3.11 examples/poc_warehouse_flow.pyshape_descriptors
contour_fourier — ops: descriptor_distance, elliptic_fourier, fourier_smooth, reconstruct py -3.11 examples/contour_fourier.pyshape2d_morph_descriptor_tour — ops: add_frame_corners, descriptor_distance, elliptic_fourier, from_xld, invariants, warp_piecewise_affine, warp_tps_image py -3.11 examples/shape2d_morph_descriptor_tour.pypoc_rotation_invariance_audit — ops: annotate_outline, annotate_table, blob_features, blob_label, circularity, eccentricity, moments_region_2nd_invar, moments_region_central_invar, text_box py -3.11 examples/poc_rotation_invariance_audit.pypoc_real_texture_invariance — ops: cooc_feature_matrix, sk_lbp py -3.11 examples/poc_real_texture_invariance.pydrawing
draw_annotate — ops: (not linked from any op note) py -3.11 examples/draw_annotate.pydrawlist_deferred — ops: text_box py -3.11 examples/drawlist_deferred.pyannotate_gallery — ops: arc, arrow, axes_frame, axes_transform, color_bar, compare_frame, crosshair, data_to_pixel, ellipse, filled_polygon, grid_lines, label_points (+13 more) py -3.11 examples/annotate_gallery.pypaper_figure — ops: annotate_angle, annotate_angle_layout, annotate_colorbar, annotate_dimension, annotate_dimension_layout, annotate_figure_grid, annotate_figure_grid_layout, annotate_inset, annotate_inset_layout, annotate_leader, annotate_leader_layout, annotate_legend (+7 more) py -3.11 examples/paper_figure.pygfx2d_scene — ops: alpha_composite, alpha_composite_premul, blend_mode, bloom, chromatic_aberration, color_grade, color_lut, difference, dither, film_grain, layer_stack, light_mask (+21 more) py -3.11 examples/gfx2d_scene.pyannotate_paper_tour — ops: annotate_invert, annotate_invert_path, annotate_invert_visibility, annotate_panel_label, annotate_table, annotate_table_layout, annotate_text_path, annotate_text_path_layout, axes_frame, axes_transform, measure_text, panel_grid (+2 more) py -3.11 examples/annotate_paper_tour.pysignal_processing
signal_filter — ops: highpass, lowpass, poly_eval, poly_fit py -3.11 examples/signal_filter.pysignal_funct1d — ops: abs_funct_1d, create_funct_1d_array, derivate_funct_1d, distance_funct_1d, funct_1d_to_pairs, get_pair_funct_1d, get_y_value_funct_1d, integrate_funct_1d, local_min_max_funct_1d, match_funct_1d_trans, num_points_funct_1d, sample_funct_1d (+6 more) py -3.11 examples/signal_funct1d.pyacoustic_condition_monitoring — ops: angular_resample, apply_weighting, bearing_defect_frequencies, cepstrum, coherence, envelope_spectrum, equivalent_level, gcc_delay, istft, octave_bands, octave_spectrum, order_spectrum (+10 more) py -3.11 examples/acoustic_condition_monitoring.pypoc_rail_corrugation — ops: octave_bands, octave_spectrum py -3.11 examples/poc_rail_corrugation.pypoc_web_roll_periodicity — ops: cepstrum, find_peaks, local_min_max_funct_1d, median, peak_subbin, point_spectrum, smooth_funct_1d_gauss, spectrum py -3.11 examples/poc_web_roll_periodicity.pyinterpolation
spline_curve — ops: (not linked from any op note) py -3.11 examples/spline_curve.pyfamily_coverage
gallery2d_smoothing_rank — ops: add_noise_distribution, add_noise_white, anisotropic_diffusion, bilateral, bilateral_filter, binomial_filter, coherence_enhancing_diff, cv_bilateral, cv_box, cv_gaussian, cv_median, cv_nlmeans (+76 more) py -3.11 examples/gallery2d_smoothing_rank.pygallery2d_edges — ops: corner_response, cv_corner_harris, cv_laplacian, cv_min_eigen, cv_precorner, cv_scharr, derivate_gauss, diff_of_gauss, dog, dots_image, edge_transition_width, edges_color (+47 more) py -3.11 examples/gallery2d_edges.pygallery2d_morphology — ops: bothat, cv_blackhat, cv_close, cv_dilate, cv_erode, cv_gradient, cv_open, cv_tophat, f2_gray_inside, f2_gray_skeleton, gclose, gdilate (+24 more) py -3.11 examples/gallery2d_morphology.pygallery2d_region — ops: boundary, closest_point_transform, closing_circle, closing_golay, closing_rectangle1, convex_fill, cv_dist, dilation_circle, dilation_golay, dilation_rectangle1, dilation_seq, dist_transform (+69 more) py -3.11 examples/gallery2d_region.pygallery2d_segmentation — ops: adaptive_gauss_thresh, auto_threshold, bin_threshold, binary_threshold, canny, cv_adaptive_gauss, cv_adaptive_mean, cv_canny, cv_otsu, dual_threshold, dyn_threshold, edges_image (+50 more) py -3.11 examples/gallery2d_segmentation.pygallery2d_features — ops: area_center, area_center_xld, area_frac, area_holes, blob_count, circularity, circularity_xld, classify_shape, compactness, compactness_xld, connect_and_holes, contlength (+65 more) py -3.11 examples/gallery2d_features.pygallery2d_geometry — ops: affine_trans_image, affine_trans_image_size, affine_trans_region, affine_warp, deform_ffd, deform_mls, deform_tps, deskew, it_add_image_border, it_change_format, it_crop_part, it_crop_rectangle1 (+39 more) py -3.11 examples/gallery2d_geometry.pygallery2d_gray_arith — ops: abs_image, acos_image, asin_image, atan_image, banding_map, bit_not, clahe, companding_mu_law, cos_image, cv_clahe, cv_trunc, dither_floyd_steinberg (+50 more) py -3.11 examples/gallery2d_gray_arith.pygallery2d_contour_measure — ops: affine_trans_contour_xld, affine_trans_polygon_xld, close_contours_xld, contour_point_num_xld, contours_to_region, edges_color_sub_pix, edges_sub_pix, fit_line_contours, gen_contour_region_xld, gen_region_contour_xld, gen_region_polygon_xld, lines_color (+20 more) py -3.11 examples/gallery2d_contour_measure.pygallery2d_texture_freq — ops: bandpass_image, bootstrap_std_error, cooc_feature_matrix, dc_homomorphic, dc_local_contrast_norm, dc_retinex, dc_rpca_lowrank, dc_rpca_sparse, dc_structure_texture, dc_texture_residual, deviation_image, entropy_image (+42 more) py -3.11 examples/gallery2d_texture_freq.pygallery2d_color_artistic — ops: access_channel, aug_barrel, aug_chromatic, aug_cutout, aug_fixed_pattern, aug_jpeg_blocks, aug_motion_blur, aug_read_noise, aug_rolling_shutter, aug_shot_noise, aug_vignette, cfa_to_rgb (+23 more) py -3.11 examples/gallery2d_color_artistic.pygallery2d_halcon_ext — ops: hx_add_noise_contour, hx_char_threshold, hx_clip_contours, hx_clip_end_points, hx_clip_region_rel, hx_close_edges, hx_close_edges_length, hx_closing, hx_cooc_feature, hx_crop_contours, hx_detect_edge_segments, hx_dilation1 (+69 more) py -3.11 examples/gallery2d_halcon_ext.pygallery2d_physics_alife_3d — ops: alife_curvature_flow, alife_cyclic_ca, alife_dla, alife_gray_scott, alife_langton_ant, alife_lenia, alife_life_step, alife_perona_malik, alife_reaction_bz, alife_sandpile, alife_turing, alife_wolfram1d (+28 more) py -3.11 examples/gallery2d_physics_alife_3d.pygallery2d_bridge — ops: contour_to_img, counts_to_img, feature_to_img, img_to_beatcube, img_to_cimage, img_to_counts, img_to_keypoints, img_to_lightfield, img_to_matrix, img_to_monogenic, img_to_points, img_to_projection_profile (+8 more) py -3.11 examples/gallery2d_bridge.pygallery_drive_ballistics — ops: ball_params, bounce, cup_catch_check, drag_coefficient_sphere, fit_aero, fit_bounce, flight_ode, impact_params, incline_slip_angle, magnus_lift_coefficient, mu_from_stop_distance, pendulum_period (+7 more) py -3.11 examples/gallery_drive_ballistics.pygallery_drive_kendama_racket — ops: aim_velocity, ball_params, catch_plan_ballistic, flight_ode, flight_vacuum, impact_params, kendama_catch_check, kendama_params, noisy_perceiver, parabola_fit_g, racket_hit_check, racket_move (+5 more) py -3.11 examples/gallery_drive_kendama_racket.pygallery_drive_lateral_env — ops: curve_speed_limit, design_min_radius, fresnel_integrals, julian_day, koschmieder, mor_from_beta, rss_lateral, rss_params, rss_worst_case_gap_lateral, skill_test_score, skill_test_thresholds, stanley_steer (+4 more) py -3.11 examples/gallery_drive_lateral_env.pygallery_drive_soil_tactile — ops: bekker_pressure, cone_profile_px, hertz_surface_ur, largedef_c1_coefficient, marker_match_grow, membrane_markers, mindlin_fit_vector, mindlin_model, pad_context, pad_marker_displacement, pad_params, slip_cvar (+4 more) py -3.11 examples/gallery_drive_soil_tactile.pygallery_drive_peg — ops: contact_candidates, coverage_edge_points, cylinder_fit_known_radius, hole_centre_from_rgbd, insertion_grid_summary, pad_shear_asymmetry, peg_params, peg_synthetic_rgbd, peg_tip_from_rgbd, two_point_depth, whitney_wrench, wrist_deflection_from_rgbd py -3.11 examples/gallery_drive_peg.pygallery_drive_carla_bridge — ops: carla_intrinsics, carla_pose_to_world, carla_rotation_matrix, carla_scene_check, carla_scene_render, carla_scene_synthetic, carla_scene_world, carla_xy_yaw, intrinsics_to_carla, intrinsics_to_fullseye, lead_from_depth, lead_truth_depth (+1 more) py -3.11 examples/gallery_drive_carla_bridge.pygallery_drive_japan_roads — ops: add_signal_jp, course_road, jp_crossbuck_mesh, jp_mirror_mesh, jp_pole_mesh, jp_stop_marking_length, plate_mesh_from_image, sign_image, sign_mesh, sign_params, signal_jp_mesh, world_build py -3.11 examples/gallery_drive_japan_roads.pygallery_drive_world_io — ops: events_to_frames, global_to_tile, gs_read_file, read_bvh, read_events, sigmoid, tile_hash, tile_uniform py -3.11 examples/gallery_drive_world_io.pygallery_drive_world_objects — ops: add_ken, add_mesh_object, add_string, course_road, humanoid_clip_mesh, ken_mesh, ken_set_pose, ken_truth, kendama_params, kendama_rig, kendama_world, pedestrian_mesh (+4 more) py -3.11 examples/gallery_drive_world_objects.pygallery_drive_city_terrain — ops: building_prisms, buildings_in_box, citygml_synthetic, course_road, grid_distances, plan_cost, plateau_parse, ray_box_ranges, terrain_mesh, terrain_params, triangulate_polygon py -3.11 examples/gallery_drive_city_terrain.pygallery_drive_mirrors_crowds — ops: hill_meeting_yield, mirror_image_side, mirror_reflection_matrix, social_force_step py -3.11 examples/gallery_drive_mirrors_crowds.pygallery_nary_image_algebra — ops: abs_diff_image, add_image, bit_and, bit_or, convol_image, difference, div_image, identity, intersection, max_image, min_image, mult_image (+6 more) py -3.11 examples/gallery_nary_image_algebra.pygallery_spectrum_signal_bridge — ops: log, negate_funct_1d, tb_cx_apply_transfer_function, tb_cx_ifft, tb_cx_imag, tb_cx_log_magnitude, tb_cx_magnitude, tb_cx_phase, tb_cx_real, zero_crossing_rate py -3.11 examples/gallery_spectrum_signal_bridge.pygallery_mesh_seg_sun_gains — ops: icosphere, rgb_apply_gains, seg_contingency, sun_bloom_fit py -3.11 examples/gallery_mesh_seg_sun_gains.pygallery_math_stats_linalg — ops: hist_distance, mat_cholesky, mat_eig, mat_expm, mat_logm, mat_lu, stat_chi2_gof, stat_ks_test, stat_ttest_paired py -3.11 examples/gallery_math_stats_linalg.pygallery_math_numerics_filters — ops: bessel, gauss_cubature, n_sources_mdl, nurbs_surface, tf_bilinear, wavelet_filters py -3.11 examples/gallery_math_numerics_filters.pygallery_oned_audio_funct — ops: compose_funct_1d, negate_funct_1d, read_audio, signal_features, transform_funct_1d, zero_crossing_rate py -3.11 examples/gallery_oned_audio_funct.pygallery_seg_measures — ops: chan_vese_energy, lens_area, max_tree, seg_confusion_table, seg_hausdorff, seg_mean_surface_distance, voronoi_cells py -3.11 examples/gallery_seg_measures.pygallery_conngraph_closed_forms — ops: graph_adjacency_image, graph_betweenness, graph_binarize, graph_clustering_coefficient, graph_components, graph_edges_as_lines, graph_laplacian_spectrum, graph_layout_spectral, graph_modularity, graph_motif_count py -3.11 examples/gallery_conngraph_closed_forms.pygallery_illusion_invariants — ops: illusion_checker_shadow, illusion_fraser_spiral, illusion_hermann_grid, illusion_kanizsa, illusion_ponzo, illusion_scintillating_grid, illusion_simultaneous_contrast, perpetual_harmonograph, perpetual_langtons_ant py -3.11 examples/gallery_illusion_invariants.pygallery_live4d_volseq_truth — ops: video_interpolate_flow, volseq_cut_video, volseq_mip_video, volseq_speed py -3.11 examples/gallery_live4d_volseq_truth.pygallery_openvx_spec_values — ops: vx_histogram, vx_magnitude, vx_nonlinear_filter, vx_nonmax_suppression, vx_phase, vx_remap, vx_sobel3x3, vx_table_lookup, vx_warp_affine, vx_warp_perspective py -3.11 examples/gallery_openvx_spec_values.pyoptics_sensing
optics_imaging — ops: abcd_matrix, abcd_trace, airy_pattern, angular_spectrum_propagate, defocus_from_shift, depth_of_field, fraunhofer_pattern, gaussian_beam, jones_apply, jones_element, mtf_diffraction, mueller_apply (+9 more) py -3.11 examples/optics_imaging.pyscintillator_sensor_tour — ops: scintillator_sensor_qe, silicon_photodiode_qe py -3.11 examples/scintillator_sensor_tour.pyoptical_design_metrics — ops: encircled_energy, energy_radii, ensquared_energy, lens_file_read, lens_system, mtf_tangential_sagittal, paraxial_trace, psf_from_opd, ray_aiming, set_vignetting, spot_stats, through_focus_mtf (+1 more) py -3.11 examples/optical_design_metrics.pylens_design_demo — ops: example_system, glass, lens_system, opd_map, paraxial_trace, ray_fan, rms, seidel_coefficients, spot_diagram, spot_stats, thick_lens, tolerance_analysis (+1 more) py -3.11 examples/lens_design_demo.pylens_optimize_demo — ops: bend_singlet, chief_ray, chromatic_shift, example_system, glass, glass_catalog, lens_system, merit_function, optimize_lens, sellmeier, spot_stats py -3.11 examples/lens_optimize_demo.pyillumination_design_demo — ops: defect_contrast, illumination_design, illumination_uniformity, irradiance_map, light_source, lighting_sweep py -3.11 examples/illumination_design_demo.pylens_calibration_loop_demo — ops: calibration_views, camera_calibration, example_system, lens_system py -3.11 examples/lens_calibration_loop_demo.pylens_defect_dataset_demo — ops: defect_dataset, distortion_map, example_system, lens_system, paraxial_trace, psf_from_opd, render_through_lens py -3.11 examples/lens_defect_dataset_demo.pylightfield_depth — ops: depth_of_field, lf_all_in_focus, lf_aperture_mask, lf_center_view, lf_depth_from_focus, lf_disparity_to_depth, lf_epi, lf_epi_slope, lf_focal_stack, lf_from_mla, lf_plenoptic_design, lf_refocus (+9 more) py -3.11 examples/lightfield_depth.pyphoton_timeresolved — ops: anscombe_inverse, anscombe_transform, dtof_cube_depth, dtof_cube_simulate, dtof_depth, gaussian, lifetime_fit, lifetime_phasor, median, photon_sample, photon_statistics, photon_uncertainty (+7 more) py -3.11 examples/photon_timeresolved.pycoherence_scanning — ops: chromatic_confocal_height, chromatic_confocal_simulate, csi_contrast_map, csi_design, csi_envelope, csi_height_map, csi_peak_position, csi_signal_simulate, csi_stack_simulate, envelope, gaussian py -3.11 examples/coherence_scanning.pyspecular_photometric — ops: brdf_blinn_phong, brdf_microfacet, dichromatic_render, illuminant_from_dichromatic_planes, median, photometric_residual, photometric_stereo_robust, polarization_dolp_map, polarization_render, polarization_separate, polarization_stokes, specular_coefficient_map (+3 more) py -3.11 examples/specular_photometric.pyfmcw_range_doppler — ops: beamform_delay_sum, beamform_doa, fmcw_beat_simulate, fmcw_design, fmcw_range_profile, fmcw_window_apply, range_doppler_map, range_doppler_peaks py -3.11 examples/fmcw_range_doppler.pyevents_from_frames — ops: (not linked from any op note) py -3.11 examples/events_from_frames.pypoc_tdi_linescan — ops: emva_pair_statistics, lens_field_profile, lens_shading_correct, lens_shading_gain, lens_system, linescan_acquire, linescan_lens_columns, linescan_lens_example, paraxial_trace, relative_illumination, tdi_snr, tdi_sync_mtf py -3.11 examples/poc_tdi_linescan.pypoc_fourier_ptychography — ops: coherent_image, fp_capture, fp_design, fp_element_contrast, fp_reconstruct, fp_stack_from_images, fp_usaf_target, pupil_blur, rms py -3.11 examples/poc_fourier_ptychography.pypoc_wavefront_aberration_limits — ops: pupil_psf py -3.11 examples/poc_wavefront_aberration_limits.pypoc_mueller_dofp_observability — ops: mueller_element py -3.11 examples/poc_mueller_dofp_observability.pypoc_slanted_edge_sfr_limits — ops: mtf_diffraction py -3.11 examples/poc_slanted_edge_sfr_limits.pypoc_pixel_shift — ops: airy_pattern, annotate_figure_grid, drizzle_resample, edge_spread, false_color_metric, halftone_screen, mtf50, mtf_diffraction, pixel_shift_capture, pixel_shift_merge, pixel_shift_motion_mask, pixel_shift_pattern (+6 more) py -3.11 examples/poc_pixel_shift.pypoc_itof_multifreq — ops: annotate_figure_grid, camera_rays, dtof_cube_depth, dtof_cube_simulate, erfc, form_factors_2d, gamma, gaussian, groove_profile, itof_capture, itof_flying_pixel_mask, itof_multipath_separate (+9 more) py -3.11 examples/poc_itof_multifreq.pypoc_fiber_light_guide — ops: energy_to_photons, fiber_bundle_coupling, fiber_lp_modes, fiber_mode_field_diameter, fiber_numerical_aperture, fiber_v_number, led_spectrum, material_dispersion, material_group_index, material_gvd, material_transmittance, silicon_photodiode_qe (+2 more) py -3.11 examples/poc_fiber_light_guide.pypoc_lens_file_roundtrip — ops: drawing_raster, lens_file_read, lens_file_report, lens_file_system, lens_file_write, lens_section_drawing, lens_system, merit_function, mtf50, mtf_diffraction, noncoaxial_example, noncoaxial_layout (+9 more) py -3.11 examples/poc_lens_file_roundtrip.pypoc_zoom_configurations — ops: encircled_energy, lens_add_configuration, lens_configuration_metrics, lens_configuration_table, lens_configurations, lens_file_read, lens_file_write, lens_system, lens_with_configuration, paraxial_trace py -3.11 examples/poc_zoom_configurations.pypoc_lockin_imaging — ops: lockin_amplitude, lockin_demodulate, lockin_noise_floor, lockin_phase, lockin_ring_normals, lockin_ring_synthesize, lockin_separate, lockin_thermal_wave, lockin_walsh_codes py -3.11 examples/poc_lockin_imaging.pypoc_lens_global_search — ops: glass, glass_map, glass_nearest, lens_global_search, lens_substitute_glasses, lens_system, paraxial_trace, with_wavelength py -3.11 examples/poc_lens_global_search.pypoc_lens_merit_operands — ops: lens_system, merit_boundary_operands, merit_contributions, merit_default, merit_evaluate, merit_function, merit_operands_list, optimize_lens_operands, paraxial_trace, ray_bundle, text_box, with_wavelength py -3.11 examples/poc_lens_merit_operands.pypoc_lens_tolerancing — ops: chief_ray, lens_system, opd_samples, ray_bundle, tolerance_compensators, tolerance_criteria, tolerance_monte_carlo, tolerance_report, tolerance_sensitivity, tolerance_table, tolerance_table_from_zmx, tolerance_table_zmx py -3.11 examples/poc_lens_tolerancing.pypoc_plenoptic_camera — ops: arc, lens_scene, lens_system, lf_depth_from_focus, lf_refocus, mla_surface, paraxial_trace, plenoptic_capture, plenoptic_decode, plenoptic_mla_calibrate, plenoptic_refocus_depth, plenoptic_system (+1 more) py -3.11 examples/poc_plenoptic_camera.pyplenoptic_capture_pipeline — ops: lens_scene, lens_system, mla_surface, plenoptic_capture, plenoptic_system py -3.11 examples/plenoptic_capture_pipeline.pyplenoptic_decode_pipeline — ops: lf_depth_from_focus, lf_refocus, lf_synthesize, lf_to_mla, plenoptic_decode py -3.11 examples/plenoptic_decode_pipeline.pypoc_photograph_through_prescription — ops: bokeh_shape, chief_ray, chromatic_shift, depth_of_field, distortion_map, exit_pupil_samples, ghost_analysis, lens_scene, lens_system, noncoaxial_system, paraxial_trace, ray_bundle (+7 more) py -3.11 examples/poc_photograph_through_prescription.pypoc_tof_camera — ops: dtof_cube_depth, dtof_cube_simulate, threshold py -3.11 examples/poc_tof_camera.pypoc_zmx_public_verify — ops: chromatic_shift, distortion_map, lens_file_read, paraxial_trace, psf_from_opd, psf_to_mtf, ray_bundle, render_through_lens, spot_stats py -3.11 examples/poc_zmx_public_verify.pypoc_omni360_inspection — ops: anaglyph_crosstalk, equirect_defect_unwrap_pipe, equirect_filter_gaussian, equirect_from_fisheye_pair, equirect_rotate, equirect_stabilize, equirect_weight_map, ods_depth_to_disparity, ods_disparity_to_depth, omni_anaglyph_compose, stereo_parallax_budget, video360_tile_coverage (+3 more) py -3.11 examples/poc_omni360_inspection.pyphotoelastic_roundtrip — ops: brazilian_disc_stress, cubic_photoelastic_birefringence, kirsch_plate_stress, photoelastic_phase_estimate, photoelastic_polarization_images, photoelastic_retardation, polariscope_intensity, principal_stress, retardation_convert, retardation_from_birefringence, retardation_unwrap_multiwavelength, silicon_piezo_optic_coefficients py -3.11 examples/photoelastic_roundtrip.pyomni360_roundtrip — ops: anaglyph_from_ods, cubemap_from_equirect, equirect_from_cubemap, equirect_from_perspectives, ods_render, s_psnr, stereo360_sbs, stereo360_top_bottom, stereo_pack, viewport, viewport_from_equirect, ws_psnr py -3.11 examples/omni360_roundtrip.pypoc_water_transparent_media — ops: beer_lambert_transmittance, cylinder_lens_caustic, fresnel_water_air, ocean_height_field, ocean_spectrum, phase_function_hg, refract_rays, refracted_view, scattering_phase_petzold, snell_window, underwater_image, water_attenuation py -3.11 examples/poc_water_transparent_media.pypoc_water_inspection_images — ops: bottle_image, canny, caustic_floor_segmentation, caustic_irradiance, fill_level_from_image, fresnel_water_air, ocean_height_field, otsu, underwater_inspection_image, water_attenuation, wet_dry_inspection_pair, wet_surface_appearance py -3.11 examples/poc_water_inspection_images.pypoc_bottle_pattern_inverse — ops: bottle_background_map, bottle_fit_from_pattern, bottle_image, fill_level_from_image py -3.11 examples/poc_bottle_pattern_inverse.pypoc_lens_solves_afocal — ops: afocal_system, chief_ray, lens_afocal_report, lens_apply_solves, lens_file_read, lens_file_write, lens_image_surface, lens_petzval_radius, lens_solve_clear, lens_solve_set, lens_solves_list, lens_system (+8 more) py -3.11 examples/poc_lens_solves_afocal.pypoc_pocket_interreflection — ops: camera_rays, form_factor_matrix, form_factor_parallel_rects, form_factor_perpendicular_rects, form_factor_polygons, intensity, light_source, log, optical_camera, radiosity_patches, radiosity_progressive_3d, render_optscene (+12 more) py -3.11 examples/poc_pocket_interreflection.pypoc_optics_drawings — ops: arc, chief_ray, chief_ray_angle, drawing_dxf, drawing_raster, drawing_svg, dxf_entities, glass, glass_map, layout_capture, lens_element_drawing, lens_section_drawing (+11 more) py -3.11 examples/poc_optics_drawings.pypoc_noncoaxial_optics — ops: beamsplitter_branches, drawing_raster, ghost_analysis, ghost_image, ghost_path, image_orientation, lens_system, noncoaxial_drawing, noncoaxial_example, noncoaxial_layout, noncoaxial_spot, noncoaxial_system (+9 more) py -3.11 examples/poc_noncoaxial_optics.pypoc_simcal_pixel_shift — ops: log, pixel_shift_capture, pixel_shift_merge, pixel_shift_resolution_budget, simcal_discrepancy, simcal_fit, simcal_identifiability, simcal_model, simcal_observe, simcal_screen, simcal_simulate, simcal_validate (+1 more) py -3.11 examples/poc_simcal_pixel_shift.pypoc_thin_film_reflectometry — ops: annotate_colorbar, blackbody_spectrum, film_color, film_thickness_fft, film_thickness_fit, film_thickness_map, multilayer_reflectance, spectrum, text_box py -3.11 examples/poc_thin_film_reflectometry.pypoc_simcal_thin_film — ops: axes_frame, axes_transform, blackbody_spectrum, color_bar, doe_decode, doe_orthogonal_array, gamma, gaussian, log, multilayer_reflectance, mv_confounding, mv_pca (+15 more) py -3.11 examples/poc_simcal_thin_film.pypoc_spectrometer_illumination — ops: chromatic_confocal_peaks, chromatic_confocal_probe, chromatic_confocal_readout, chromatic_confocal_spectrum, coaxial_illumination, czerny_turner_design, grating_dispersion, illumination_field, illumination_train, spectrometer_bandpass, spectrometer_slit_image, spectrometer_spectrum (+2 more) py -3.11 examples/poc_spectrometer_illumination.pypoc_chromatic_confocal — ops: abbe_number, chromatic_confocal_limits, chromatic_confocal_peaks, chromatic_confocal_probe, chromatic_confocal_readout, chromatic_confocal_spectrum, cie_xyz_from_wavelength, confocal_axial_response, gaussian, led_spectrum, lens_system, material_optical_constants (+6 more) py -3.11 examples/poc_chromatic_confocal.pypoc_hyperspectral_foreign_matter — ops: carbon_black_absorption, hyperspectral_band_weights, hyperspectral_capture, ingaas_photodiode_qe, kubelka_munk_reflectance, material_nir_absorption, median, nir_model_info, spectral_reflectance_from_material, text_box py -3.11 examples/poc_hyperspectral_foreign_matter.pypoc_nir_silicon_transmission — ops: bandpass_spectrum, blackbody_spectrum, camera_rays, cie_illuminant_a, defocus_from_shift, energy_to_photons, gaussian, layout_capture, led_spectrum, lens_spec, light_spec, material_optical_constants (+15 more) py -3.11 examples/poc_nir_silicon_transmission.pypoc_material_optical_library — ops: abbe_number, acoustic_impedance_mismatch, chromatic_shift, fresnel_conductor, glass, glass_catalog, glass_map, lens_system, material_absorption, material_acoustic, material_dispersion, material_extinction (+19 more) py -3.11 examples/poc_material_optical_library.pypoc_dual_energy_xray — ops: basis_decomposition_crlb, basis_material_decompose, dual_energy_separability, dual_kvp_channels, ellipse, material_effective_z, material_from_sellmeier, material_xray_attenuation, material_xray_constants, photon_counting_channels, xray_beam_quality, xray_channel_projection (+1 more) py -3.11 examples/poc_dual_energy_xray.pyappearance
appearance_structural_colour — ops: cie_xyz_from_wavelength, grating_rgb, grating_wavelengths, spectrum_to_srgb, thin_film_reflectance, thin_film_rgb, ward_anisotropic py -3.11 examples/appearance_structural_colour.pymachined_metal_and_materials — ops: blast_normals, clearcoat_shade, corrosion_mask, finish_catalog, finish_shade, material_catalog, metallic_flake_normals, micro_normals, oren_nayar, rough_transmission, sheen_shade, slab_transmittance (+5 more) py -3.11 examples/machined_metal_and_materials.pytomography_3d
ct_reconstruction — ops: backproject_sinogram, beam_hardening_apply, beam_hardening_correct, ellipse_phantom, ellipse_sinogram, filtered_backprojection, filtered_backprojection_like, median, metal_trace_interpolate, projection_angles, radon_transform, ring_artifact_apply (+5 more) py -3.11 examples/ct_reconstruction.pyct_scan_modes — ops: ct_adjoint_project, ct_forward_project, ct_scan_geometry, ellipsoid_phantom, ellipsoid_projections, fdk_reconstruct, os_sart_reconstruct, rmse, shepp_logan_3d, sirt_reconstruct, tv_reconstruct py -3.11 examples/ct_scan_modes.pytomography_reconstruct — ops: ellipse_phantom, fbp_volume, projection_angles, radon_volume, sinogram_design py -3.11 examples/tomography_reconstruct.pyct_inspection — ops: gaussian, otsu py -3.11 examples/ct_inspection.pyvoxel_labels_color — ops: boundary, vol_colorize_labels, vol_label_color_flicker, vol_label_legend, vol_label_mpr_rgb, vol_label_overlay, vol_label_palette, vol_label_shape_stats, vol_label_slice_rgb, vol_label_volume_render, vol_labels_to_meshes, vol_select_labels py -3.11 examples/voxel_labels_color.pydefect_to_cad — ops: cad_defect_to_cad, cad_pixel_to_surface, cad_surface_to_pixel, cad_visible_faces py -3.11 examples/defect_to_cad.pyrepresentation_conversion — ops: correlation_score, cplx_contour_integral, cscalar_to_polar, curvature_to_table, deformation_to_points, descriptor_to_matrix, descriptor_to_table, flow_apply, flow_speed, flow_to_rgbimage, indices_to_labels, labels_to_indices (+15 more) py -3.11 examples/representation_conversion.pyrepresentation_roundtrip — ops: angle_to_matrix, angles_to_normals, correlation_score, countrate_to_counts, counts_to_countrate, curvature_to_shape_index, descriptor_to_matrix, erf, flow_magnitude, flow_speed, gaussians_to_points, gaussians_to_voxel (+10 more) py -3.11 examples/representation_roundtrip.pyhessian_numpy_chain — ops: hessian_determinant, hessian_vesselness, voxel_to_hessian py -3.11 examples/hessian_numpy_chain.pytype_connectivity_tour — ops: attention_softmax, find_peaks, frame_axis, gradient_coherence, gradient_magnitude, graph_components, graph_from_synapses, hessian_determinant, hessian_vesselness, indices_to_positions, jones_apply, jones_element (+18 more) py -3.11 examples/type_connectivity_tour.pypoc_bga_ball_type_roundtrip — ops: angles_to_normals, correlation_score, curvature_to_shape_index, curvature_to_table, erf, flow_apply, flow_speed, gaussians_to_points, gaussians_to_voxel, graph_components, graph_laplacian_spectrum, indices_to_labels (+20 more) py -3.11 examples/poc_bga_ball_type_roundtrip.pypoc_ct_void_morphology — ops: color_bar, text_box py -3.11 examples/poc_ct_void_morphology.pypoc_ct_casting_sparse_views — ops: ct_adjoint_project, ct_dual_energy_reconstruct, ct_forward_project, ct_scan_geometry, ellipsoid_phantom, ellipsoid_projections, fdk_reconstruct, os_sart_reconstruct, shepp_logan_3d, sirt_reconstruct, tv_reconstruct py -3.11 examples/poc_ct_casting_sparse_views.pypoc_battery_ct_degradation — ops: beam_hardening_apply, fbp_volume, projection_angles, radon_volume, ring_artifact_apply py -3.11 examples/poc_battery_ct_degradation.pypoc_battery_electrode_tortuosity — ops: intersection py -3.11 examples/poc_battery_electrode_tortuosity.pypoc_die_tilt_tsv_overlay — ops: erf, procrustes_fit py -3.11 examples/poc_die_tilt_tsv_overlay.pypoc_real_walnut_cbct — ops: arc, ct_adjoint_project, ct_dual_energy_reconstruct, ct_forward_project, ct_scan_geometry, fdk_reconstruct, os_sart_reconstruct, rmse, sirt_reconstruct, ssim, threshold, tv_reconstruct py -3.11 examples/poc_real_walnut_cbct.pyperception_templates
perception_pipeline — ops: elevation_map py -3.11 examples/perception_pipeline.pysegment_and_classify — ops: otsu py -3.11 examples/segment_and_classify.pymotion_analysis — ops: (not linked from any op note) py -3.11 examples/motion_analysis.pygrasp_pose — ops: rmse py -3.11 examples/grasp_pose.pyperception_on_video — ops: flow_magnitude py -3.11 examples/perception_on_video.pyphysical_ai_perception — ops: com_support_margin, elevation_map, foothold_candidates, support_polygon py -3.11 examples/physical_ai_perception.pyimport_and_grasp — ops: (not linked from any op note) py -3.11 examples/import_and_grasp.pygaussian_splat_cloud — ops: (not linked from any op note) py -3.11 examples/gaussian_splat_cloud.pysim2real_and_alife — ops: alife_cyclic_ca, alife_dla, alife_life_step, alife_reaction_bz, alife_turing, aug_barrel, aug_fixed_pattern, aug_jpeg_blocks, aug_rolling_shutter, aug_shot_noise, aug_vignette, macro_denoise (+5 more) py -3.11 examples/sim2real_and_alife.pypoc_code_matching_breakdown — ops: isc_match, ncc_locate, ocm_match, radial_reach_filter, scc_match, text_box py -3.11 examples/poc_code_matching_breakdown.pypoc_bev_sensor_fusion — ops: closing_circle, fill_up py -3.11 examples/poc_bev_sensor_fusion.pypoc_safety_clearance — ops: (not linked from any op note) py -3.11 examples/poc_safety_clearance.pyconsumer
consumer_hillco — ops: com_from_silhouette, com_support_margin, foothold_candidates, gait_phase, support_polygon py -3.11 examples/consumer_hillco.pyconsumer_onocollo — ops: com_support_margin, contact_points, gait_phase, support_polygon py -3.11 examples/consumer_onocollo.pyoptics_layout
vision_layout_from_catalog — ops: airy_radius_um, covers_sensor, diffraction_blur, interface_budget, layout_capture, lens_catalog, lens_spec, light_catalog, light_spec, light_wavelengths, linescan_capture, observe_surface (+10 more) py -3.11 examples/vision_layout_from_catalog.pystudio_raytrace_scene — ops: camera_rays, env_lightbox, env_studio, illumination_visibility, light_spec, optical_camera, optscene_defect_mask, reflect_rays, render_studio, scene_box, scene_difference, scene_material (+2 more) py -3.11 examples/studio_raytrace_scene.pyshape_statistics
shapestat_landmark_tour — ops: generalized_procrustes, landmark_asymmetry, mirror_plane_from_pairs, procrustes_align, procrustes_distance, procrustes_fit, shape_explained_variance, shape_mahalanobis, shape_mean, shape_pca, shape_perturb, shape_project (+4 more) py -3.11 examples/shapestat_landmark_tour.pyblob_analysis
blob_split_tour — ops: blob_distance, blob_label, blob_seeds, blob_split py -3.11 examples/blob_split_tour.pydetection
poc_good_sample_variation_model — ops: anomaly_image_auroc, anomaly_pixel_auroc, anomaly_pro, anomaly_region_overlap, dc_rpca_sparse, varmodel_alignment, varmodel_calibrate, varmodel_fit, varmodel_score py -3.11 examples/poc_good_sample_variation_model.pypoc_patch_anomaly — ops: anomaly_image_auroc, anomaly_operating_point, anomaly_pixel_auroc, anomaly_pixel_f1_max, anomaly_pro, anomaly_region_overlap, gabor, intensity, patch_features, patchbank_fit, patchbank_score, patchdist_fit (+2 more) py -3.11 examples/poc_patch_anomaly.pypoc_ai_built_inspection_scored — ops: anomaly_image_auroc, anomaly_region_overlap, bothat, gaussian, hx_plane_deviation, invert, median, patchbank_fit, patchbank_score, select_shape, threshold py -3.11 examples/poc_ai_built_inspection_scored.pypoc_si_wafer_pl_defect_visibility — ops: pl_diffusion_psf, pl_groove_visibility, pl_image_simulate, pod_hitmiss_fit py -3.11 examples/poc_si_wafer_pl_defect_visibility.pypoc_real_defect_floor — ops: annotate_inset, annotate_legend, laplace_of_gauss py -3.11 examples/poc_real_defect_floor.pypoc_search_sweep_width — ops: erf, gauss_filter, gray_tophat, integrate_funct_1d, laplace, ncc_locate, noise_sigma, photon_sample, relative_illumination, star_detect, tophat, vignette (+1 more) py -3.11 examples/poc_search_sweep_width.pytracking
poc_real_bg_kalman_tracking — ops: atan2_image, create_bg_esti, ellipse, filter_kalman, give_bg_esti, kalman_smooth, opening_seg, run_bg_esti, threshold, update_bg_esti py -3.11 examples/poc_real_bg_kalman_tracking.pyspace
poc_star_tracker — ops: (not linked from any op note) py -3.11 examples/poc_star_tracker.pyregistration
cad_to_scan — ops: (not linked from any op note) py -3.11 examples_3d/cad_to_scan.pyfind_surface_pose_bracket — ops: find_surface_pose py -3.11 examples_3d/find_surface_pose_bracket.pybop_pose_stage1 — ops: pose_nms_symmetry, ppf_pose_hypotheses py -3.11 examples_3d/bop_pose_stage1.pyauto_register — ops: (not linked from any op note) py -3.11 examples_3d/auto_register.pyreg_eval — ops: inlier_ratio, registration_recall, rmse_inliers, rotation_translation_error py -3.11 examples_3d/reg_eval.pytwo_view_pose — ops: fundamental_8point, recover_pose, sampson_distance py -3.11 examples_3d/two_view_pose.pybundle_adjust — ops: bundle_adjust, mean_reprojection_error, project py -3.11 examples_3d/bundle_adjust.pypose_graph_slam — ops: optimize_pose_graph, relative_pose py -3.11 examples_3d/pose_graph_slam.pyvol_geometry_transform — ops: vol_affine, vol_resize, vol_rotate py -3.11 examples_3d/vol_geometry_transform.pyitokawa_pose_canonical — ops: chamfer_distance, moment_axes py -3.11 examples_3d/itokawa_pose_canonical.pyitokawa_self_register — ops: icp_point2point_3d, pose_error py -3.11 examples_3d/itokawa_self_register.pygicp_register — ops: estimate_covariances, gicp, icp_point2point_3d py -3.11 examples_3d/gicp_register.pyfeature_register — ops: estimate_normals, harris3d_keypoints, iss_keypoints, register_fpfh, register_shot, register_spin, shot_descriptor py -3.11 examples_3d/feature_register.pypartial_overlap_icp — ops: icp_point2point_3d py -3.11 examples_3d/partial_overlap_icp.pymetrology
plane_flatness — ops: (not linked from any op note) py -3.11 examples_3d/plane_flatness.pygeodesic_dome — ops: geodesic_dome py -3.11 examples_3d/geodesic_dome.pyminimal_surfaces — ops: curve3d_tube_mesh, gyroid_isosurface, gyroid_solid_mask, mean_curvature, mesh_area, mesh_volume, minimal_surface, minimal_surface_bend, principal_curvatures, vertex_curvature py -3.11 examples_3d/minimal_surfaces.pyroundness — ops: (not linked from any op note) py -3.11 examples_3d/roundness.pyransac_prim — ops: ransac_cylinder, ransac_plane, ransac_sphere py -3.11 examples_3d/ransac_prim.pyroi_domain_boundary — ops: fit_sphere3, vol_boundary, vol_boundary_points, vol_bounding_box, vol_crop_domain, vol_reduce_domain, vol_uncrop py -3.11 examples_3d/roi_domain_boundary.pyrle_region_efficiency — ops: vol_bounding_box, vol_rle_bbox, vol_rle_centroid, vol_rle_components, vol_rle_decode, vol_rle_difference, vol_rle_encode, vol_rle_intersect, vol_rle_union, vol_rle_volume, vol_tiled_map py -3.11 examples_3d/rle_region_efficiency.pywall_thickness_probe — ops: vol_edge_probe, vol_profile_line, vol_wall_thickness py -3.11 examples_3d/wall_thickness_probe.pycurvilinear_proj — ops: cylinder_unwrap, fit_zernike, polar_unwrap, project_cylindrical py -3.11 examples_3d/curvilinear_proj.pygeometry_metrology — ops: angle_3points, angle_between_lines, angle_between_planes, angle_line_plane, background_flatten, distance_line_line, distance_point_line, distance_point_plane, distance_segment_segment, fit_circle_3d, fit_line_3d, fit_plane_3d (+7 more) py -3.11 examples_3d/geometry_metrology.pyprimitive_fitting_3d — ops: fit_circle3, fit_line3, fit_plane3, fit_sphere3, fit_surface_principal_axes, smallest_sphere3 py -3.11 examples_3d/primitive_fitting_3d.pyinner_box_inspection — ops: inner_box3 py -3.11 examples_3d/inner_box_inspection.pyoriented_bounding_box — ops: fit_box3, smallest_box3, smallest_box3_axis py -3.11 examples_3d/oriented_bounding_box.pyhull_bounds — ops: aabb, convex_hull, mesh_volume, min_enclosing_sphere, obb py -3.11 examples_3d/hull_bounds.pyconvex_hull_gap_clearance — ops: convex_hull_gap, distance_segment_segment, hausdorff_distance, radius_outlier_removal py -3.11 examples_3d/convex_hull_gap_clearance.pygear_metrology — ops: box_sdf, grid_coords, sdf_intersect, sdf_union, sphere_sdf py -3.11 examples_3d/gear_metrology.pycylinder_axis_metrology — ops: estimate_normals py -3.11 examples_3d/cylinder_axis_metrology.pysegmentation
gray_window_level — ops: vol_equalize, vol_gamma, vol_stretch, vol_window_level py -3.11 examples_3d/gray_window_level.pyobject_segmentation — ops: euclidean_cluster, plane_segmentation py -3.11 examples_3d/object_segmentation.pyregion_props_3d — ops: filter_by_volume, label_components, largest_component, region_props py -3.11 examples_3d/region_props_3d.pysensor_seg — ops: bearing_angle_image, cutout, elastic_deform, inflate, joint_bilateral, link_edges, normal_from_reflection, reflect, region_growing py -3.11 examples_3d/sensor_seg.pywatershed3d — ops: label_components py -3.11 examples_3d/watershed3d.pymolecule_atom_count — ops: grid_coords, sphere_sdf, vol_distance_transform, vol_label, vol_local_maxima, vol_watershed py -3.11 examples_3d/molecule_atom_count.pylidar_scene_segmentation — ops: (not linked from any op note) py -3.11 examples_3d/lidar_scene_segmentation.pyreconstruction
deconv_fft_restore — ops: vol_fft_bandpass, vol_fft_highpass, vol_fft_lowpass, vol_gaussian_psf, vol_richardson_lucy py -3.11 examples_3d/deconv_fft_restore.pydenoise_evolution — ops: describe py -3.11 examples_3d/denoise_evolution.pytsdf_fusion_demo — ops: extract_surface_points, fuse py -3.11 examples_3d/tsdf_fusion_demo.pycontours_to_surface — ops: (not linked from any op note) py -3.11 examples_3d/contours_to_surface.pycontours_to_terrain — ops: eval_poly_surface, fit_poly_surface py -3.11 examples_3d/contours_to_terrain.pyspace_carving — ops: carve, carve_look_at, synthesize_silhouette, visual_hull py -3.11 examples_3d/space_carving.pymetrics_eval — ops: chamfer_distance, fscore, m3c2_distance, normal_consistency, rmse_correspondence, voxel_iou py -3.11 examples_3d/metrics_eval.pysfm_recon — ops: alpha_shape_boundary, essential_8point, estimate_alpha, grid_coords, mean_edge_error, relative_pose, render_point_depth, sdf_offset, sphere_sdf, triangulate py -3.11 examples_3d/sfm_recon.pyalpha_shape_topology — ops: alpha_shape_mesh, estimate_alpha py -3.11 examples_3d/alpha_shape_topology.pypoisson_surface_recon — ops: chamfer_distance, hausdorff_distance, poisson_lite py -3.11 examples_3d/poisson_surface_recon.pydepth
plane_sweep_depth — ops: plane_sweep_depth py -3.11 examples_3d/plane_sweep_depth.pydepth_denoise — ops: bilateral_filter_depth, fill_holes py -3.11 examples_3d/depth_denoise.pyct_hand_radiograph — ops: render_volume_projection py -3.11 examples_3d/ct_hand_radiograph.pyct_sparse_view_recon — ops: (not linked from any op note) py -3.11 examples_3d/ct_sparse_view_recon.pystereo_depth_scene — ops: (not linked from any op note) py -3.11 examples_3d/stereo_depth_scene.pymodeling
sdf_csg — ops: box_sdf, capsule_sdf, cylinder_sdf, grid_coords, plane_sdf, sdf_intersect, sdf_subtract, sdf_union, sphere_sdf, torus_sdf py -3.11 examples_3d/sdf_csg.pyct_bone_segmentation — ops: vol_label py -3.11 examples_3d/ct_bone_segmentation.pyct_surface_extraction — ops: (not linked from any op note) py -3.11 examples_3d/ct_surface_extraction.pymorphology_3d — ops: morph_close3d, morph_dilate3d, morph_erode3d, morph_gradient3d, morph_open3d, morph_tophat3d py -3.11 examples_3d/morphology_3d.pyprocedural_hand — ops: capsule_sdf, grid_coords, sphere_sdf py -3.11 examples_3d/procedural_hand.pyfeatures
curvature_grasp — ops: gaussian_curvature, principal_curvatures, shape_index py -3.11 examples_3d/curvature_grasp.pysymmetry — ops: detect_reflection_symmetry, detect_rotational_symmetry py -3.11 examples_3d/symmetry.pyshape_retrieval — ops: describe, random_rotation, shape_distance py -3.11 examples_3d/shape_retrieval.pyitokawa_curvature — ops: principal_curvatures, shape_index py -3.11 examples_3d/itokawa_curvature.pyitokawa_shape_match — ops: chamfer_distance, icp_point2point_3d py -3.11 examples_3d/itokawa_shape_match.pyitokawa_symmetry_honest — ops: detect_reflection_symmetry py -3.11 examples_3d/itokawa_symmetry_honest.pyoriented_normals — ops: estimate_normals, estimate_oriented_normals, orient_normals py -3.11 examples_3d/oriented_normals.pyshape_descriptor — ops: match_sh_descriptor, sh_descriptor py -3.11 examples_3d/shape_descriptor.pyedges_3d — ops: canny3d, edge_points, gradient3d, log_zero_crossings py -3.11 examples_3d/edges_3d.pydiff_features — ops: curvature_maps, edt_jfa, hessian3d, morph_blackhat3d, morph_tophat3d, sobel3d py -3.11 examples_3d/diff_features.pydl_mesh_curvature — ops: mesh_area, vertex_curvature py -3.11 examples_3d/dl_mesh_curvature.pyfpfh_correspondence — ops: compute_fpfh, estimate_point_normals py -3.11 examples_3d/fpfh_correspondence.pymotion
motion_seg — ops: segment_rigid_motions py -3.11 examples_3d/motion_seg.pyscene_flow_rigid — ops: nearest_neighbor_flow, rigid_flow, smooth_flow py -3.11 examples_3d/scene_flow_rigid.pymeasurement
ct_porosity_and_fibre_morphometry — ops: vol_euler_number, vol_granulometry, vol_local_std, vol_local_thickness, vol_orientation_coherence py -3.11 examples_3d/ct_porosity_and_fibre_morphometry.pypose_estimation
pose_estimation — ops: dlt_pose, pnp_ransac, project_points, reprojection_error py -3.11 examples_3d/pose_estimation.pypnp_pose_outliers — ops: dlt_pose, pnp_ransac, project_points, reprojection_error py -3.11 examples_3d/pnp_pose_outliers.pymapping
occupancy_esdf — ops: esdf, occupancy_grid, query_distance py -3.11 examples_3d/occupancy_esdf.pyterrain_traversability — ops: (not linked from any op note) py -3.11 examples_3d/terrain_traversability.pyshape_fitting
superquadric_fit — ops: fit_superquadric, inside_outside, sample_surface, superquadric_residual py -3.11 examples_3d/superquadric_fit.pydetect_primitives_3d — ops: hough_plane_3d, hough_sphere_3d py -3.11 examples_3d/detect_primitives_3d.pyfit_primitives_ext — ops: fit_cone, fit_ellipsoid, fit_torus py -3.11 examples_3d/fit_primitives_ext.pyshape_descriptors
moment_invariants — ops: central_moments, inertia_tensor, moment_invariants, shape_distance py -3.11 examples_3d/moment_invariants.pyshape_desc_pose — ops: a3_distribution, d2_distribution, describe, extent_signature, match_logpolar_z, match_pca, match_phase_3d, points_to_voxel, principal_moments, shape_distance py -3.11 examples_3d/shape_desc_pose.pysh_descriptor_retrieval — ops: match_sh_descriptor, points_to_voxel, random_rotation, sh_descriptor py -3.11 examples_3d/sh_descriptor_retrieval.pyshape_analysis
vessel_metrology — ops: vol_distance_transform, vol_frangi, vol_gradient_magnitude, vol_hessian_blobness, vol_label, vol_local_maxima, vol_region_props, vol_sato py -3.11 examples_3d/vessel_metrology.pynearest_seed_partition — ops: edt_jfa_vector, vol_distance_transform, vol_nearest_label, vol_nearest_seed_vector py -3.11 examples_3d/nearest_seed_partition.pymedial_topology — ops: medial_axis_points, medial_match, skeleton_branches3d, skeleton_endpoints3d, skeleton_graph3d, skeleton_junctions3d, skeleton_prune3d, skeletonize_vol, topology_signature, vol_distance_transform py -3.11 examples_3d/medial_topology.pygeodesic_distance — ops: farthest_point_sampling, geodesic_distances py -3.11 examples_3d/geodesic_distance.pyspace_curve — ops: arc_length, curvature_torsion, frenet_frame py -3.11 examples_3d/space_curve.pypcl_geodesic — ops: distance_ridge, geodesic_mesh, knn_graph, mls_smooth, radius_outlier_removal, statistical_outlier_removal py -3.11 examples_3d/pcl_geodesic.pyreflection_symmetry — ops: detect_reflection_symmetry, reflect_points, reflection_symmetry_score py -3.11 examples_3d/reflection_symmetry.pytorus_knot_curve — ops: arc_length, curvature_torsion, frenet_frame py -3.11 examples_3d/torus_knot_curve.pydl_mesh_symmetry — ops: detect_reflection_symmetry, reflection_symmetry_score py -3.11 examples_3d/dl_mesh_symmetry.pyrotational_symmetry_fold — ops: detect_rotational_symmetry py -3.11 examples_3d/rotational_symmetry_fold.pycurvature_shape_index — ops: gaussian_curvature, mean_curvature py -3.11 examples_3d/curvature_shape_index.pyrange_sensing
lidar_projection — ops: project_spherical, unproject_spherical py -3.11 examples_3d/lidar_projection.pyrange_image — ops: depth_to_organized_points, normals_from_depth, occlusion_edges py -3.11 examples_3d/range_image.pyshape_from_shading
photometric_stereo — ops: integrate_normals, photometric_stereo, render_lambertian, surface_normals py -3.11 examples_3d/photometric_stereo.pystructured_light
structured_light — ops: decode_fringe, synthesize_fringes, unwrap_phase_2d, wrapped_phase py -3.11 examples_3d/structured_light.pyftp_and_focus_depth — ops: depth_from_focus, fringe_ftp_phase, synthesize_fringes py -3.11 examples_3d/ftp_and_focus_depth.pystructured_light_scan — ops: absolute_phase, depth_to_points, graycode_decode, triangulate_column, wrapped_phase py -3.11 examples_3d/structured_light_scan.pygraycode_structured_light — ops: graycode_decode py -3.11 examples_3d/graycode_structured_light.pydeformable_registration
nonrigid_deform — ops: register_nonrigid, tps_fit, tps_warp py -3.11 examples_3d/nonrigid_deform.pyaugmentation
augment_pointcloud — ops: jitter, random_dropout, random_rotation, random_scale py -3.11 examples_3d/augment_pointcloud.pyfreeform_geometry
bspline_freeform — ops: eval_bspline_curve, eval_bspline_surface, fit_bspline_curve, fit_bspline_surface, fit_spline_curve, resample_uniform, surface_residual py -3.11 examples_3d/bspline_freeform.pymatch_localize
matching_localize — ops: match_chamfer_3d, match_curvature_3d, match_hough_3d, match_mip_2d, match_points_ncc, match_shape_3d py -3.11 examples_3d/matching_localize.pyscene_flow
motion_scene — ops: estimate_flow, fit_rigid, register_cpd_rigid, scene_flow_lk, warp_by_plane py -3.11 examples_3d/motion_scene.pypose_refinement
refinement — ops: icp_point2plane, refine_lm, refine_peak_newton, refine_rotation_z, refine_translation_lk py -3.11 examples_3d/refinement.pyrepresentation
transforms_repr — ops: depth_to_points, extract_surface_points, fuse_to_voxel, gaussians_to_voxel, integrate, mesh_to_voxel, register_cross, sdf_to_occupancy, signed_distance_field, to_points, tsdf_from_depth, voxel_to_mips py -3.11 examples_3d/transforms_repr.pymesh_process
mesh_smooth — ops: laplacian_smooth, taubin_smooth, voxel_to_mesh py -3.11 examples_3d/mesh_smooth.pymesh_decimate — ops: boundary_vertices, decimate_qem, mesh_to_points py -3.11 examples_3d/mesh_decimate.pymesh_props — ops: boundary_vertices, face_areas, face_normals, mesh_area, mesh_volume, vertex_curvature, vertex_normals py -3.11 examples_3d/mesh_props.pymesh_lod_download — ops: chamfer_distance, decimate_qem, hausdorff_distance, sample_surface py -3.11 examples_3d/mesh_lod_download.pydecimation
pointcloud_downsampling — ops: farthest_point_sampling, hausdorff_distance, voxel_grid_downsample py -3.11 examples_3d/pointcloud_downsampling.pyvolume_downsampling — ops: vol_frangi, volume_downsample py -3.11 examples_3d/volume_downsampling.pyoptics
snell_refraction — ops: fresnel_reflectance, reflect, refract, snell_angle py -3.11 examples_3d/snell_refraction.pyrendering
points_render_basics — ops: points_render py -3.11 examples_3d/points_render_basics.pyrender_ao — ops: ambient_occlusion, render_shaded py -3.11 examples_3d/render_ao.pyrender_shadow — ops: cast_shadow py -3.11 examples_3d/render_shadow.pyrender_shade — ops: matcap_shade, phong_shade, render_lambertian py -3.11 examples_3d/render_shade.pyrender_ssaa — ops: antialias, edge_alias_energy, supersample_mesh py -3.11 examples_3d/render_ssaa.pyrender_tonemap — ops: tonemap_aces, tonemap_reinhard py -3.11 examples_3d/render_tonemap.pyitokawa_regolith_hero — ops: brdf_hapke, brdf_lommel_seeliger, bump_normals_fbm, displacement_band_weights, mesh_displace_fbm, mesh_displace_spectrum, mesh_edge_lengths, mesh_scatter_boulders, mesh_subdivide, render_regolith, shadow_raycast, terrain_region_mask py -3.11 examples_3d/itokawa_regolith_hero.pyrender_beauty — ops: box_sdf, cast_shadow, edge_alias_energy, grid_coords, phong_shade, render_beauty, sdf_intersect, sdf_smooth_union, sdf_union, sphere_sdf, tonemap_reinhard py -3.11 examples_3d/render_beauty.pyanatomical_hand — ops: render_beauty py -3.11 examples_3d/anatomical_hand.pyannotate3d_figure — ops: annotate3d_arrow, annotate3d_axes, annotate3d_bbox, annotate3d_label, annotate3d_measure, annotate3d_project, annotate3d_scale_bar, sphere_sdf py -3.11 examples_3d/annotate3d_figure.pymesh_processing
mesh_resolution_demo — ops: decimate_qem, mesh_decimate_preserving, mesh_detail_map, mesh_edge_stats, mesh_isotropic_remesh, mesh_lod_chain, mesh_reduction_report, mesh_sample_points, mesh_select_lod, mesh_split_long_edges, pc_density, pc_density_equalize (+4 more) py -3.11 examples_3d/mesh_resolution_demo.pyOps that do not fit the one-image pipeline (two images, point sequences, variable arguments). Call them as functions.
imagemorph — imagemorph — 2-D image warping and morphing driven by corresponding points (landmarks).warp_piecewise_affine(img, src_pts, dst_pts, order=1) — Piecewise-affine warp that moves the content at src_pts of img to dst_pts.warp_tps_image(img, src_pts, dst_pts, lam=0.0, order=1) — Smooth warp that moves src_pts of img to dst_pts with a thin-plate spline.blend(a, b, alpha) — Cross-dissolve (1-alpha)·a + alpha·b (a, b of the same shape, in [0,1]).morph(imgA, imgB, ptsA, ptsB, alpha, method='affine', lam=0.0, with_corners=True) — Morph two images A, B by corresponding points and produce the intermediate image at ratio alpha.morph_sequence(imgA, imgB, ptsA, ptsB, n=7, method='affine', lam=0.0, with_corners=True) — Morph sequence with alpha swept 0→1 in n steps (the frames that change smoothly from A to B).add_frame_corners(pts, shape) — Add the four image corners (+ edge midpoints) to the point set as fixed points.fourierdesc — fourierdesc — elliptic Fourier descriptors (EFD) of closed contours and complex Fourier smoothing.elliptic_fourier(points, n_harmonics=10) — Compute the elliptic Fourier coefficients of a closed contour in the Kuhl–Giardina closed form.reconstruct(model, n_points=300, n_harmonics=None) — Reconstruct the contour from EFD coefficients ((M,2)).normalize(model, size_invariant=True) — Convert EFD coefficients to those of the “canonical pose” (aligned on the 1st harmonic).invariants(model, scale_invariant=True) — Shape descriptor invariant to rotation, translation, start point and (optionally) scale ((N,2)).descriptor_distance(m1, m2, n_harmonics=None, scale_invariant=True) — Distance between 2 shapes (smaller = more similar). Invariant to rotation / translation / start point / (optionally) scale.fourier_smooth(points, keep) — Smooth a contour by band-limiting it with the complex FFT.from_xld(contour, i=0) — Take the i-th contour out of an XLD contour dict ({"shape", "cs":[Nx2,...]}).fit_circle_xld(contour, method='geometric') — Fit a circle to each XLD contour and return the centre row, column and radius (table).contour_fourier_complex(points, n_harmonics=None, parametrisation='index') — Turn a closed contour into complex Fourier series coefficients — z(t) = Σ c_k exp(2πi k t).contour_epicycle_chain(spectrum, phase, order='frequency') — Return the chain of rotating pendulums at phase t (pairs).contour_fourier_truncation_energy(spectrum, orders=None) — The predicted error for each truncation order (table) — Parseval’s exact formula.imagedraw — imagedraw — raster drawing ops that burn markers / lines / circles / contours directly into image arrays (numpy).draw_line(img, p0, p1, color=<from style>, width=<from style>, style=None) — Draw a straight line of thickness width from (x,y)=p0 to p1.draw_polyline(img, points, color=<from style>, width=<from style>, closed=False, style=None) — Draw a polyline connecting the point sequence (N,2) (closed=True returns to the start point = polygon).draw_circle(img, center, radius, color=<from style>, width=<from style>, fill=<from style>, style=None) — Circle with centre (x,y) and radius radius (fill=True fills it).draw_markers(img, points, color=<from style>, size=4, shape='cross', width=<from style>, style=None) — Draw a marker at each point of the point sequence (N,2). shape=’cross’ |
‘square’ | ‘dot’. |
draw_contour(img, contour, color=<from style>, width=<from style>, style=None) — Close and draw an XLD contour {cs:[Nx2 (row,col),...]} or an (N,2) array.new_canvas(shape, color=<from style>, style=None) — Create an empty canvas with a background colour (the base that corresponds to HALCON’s set_draw + fill).signal1d — signal1d — polynomial fitting, Fourier transform and low-pass / high-pass of point sequences (1D signals) (simple API).poly_fit(x, y, degree) — Least-squares fit of the point sequence (x, y) by a polynomial of degree degree; returns the coefficients (highest degree first).poly_eval(coef, x) — Evaluate the polynomial coefficients coef (highest degree first) at the points x.fft_spectrum(y, sample_spacing=1.0) — Return the one-sided amplitude spectrum of the point sequence y (freqs, magnitude).lowpass(y, cutoff=0.2) — Low-pass the point sequence y (drop high frequencies = noise / detail, i.e. smooth). cutoff = fraction of Nyquist.highpass(y, cutoff=0.2) — High-pass the point sequence y (remove the trend = low frequencies, keep only detail, edges and variation).bandpass(y, low=0.1, high=0.4) — Band-pass of the point sequence y (pass only the band between low..high). low<high (fraction of Nyquist).smooth(y, window=5, method='exact') — Smoothing by moving average (window is an odd window width; the ends replicate the edge).spline_fit(x, y, smooth=0.0) — Interpolate / smooth the point sequence (x, y) with a cubic spline and return an evaluable spline object.spline_eval(spline, x) — Evaluate a spline object at the points x.spline_resample(x, y, n, smooth=0.0) — Smoothly resample the point sequence at n equally spaced points and return (x_new, y_new).spline_curve_fit(points, closed=False, smooth=0.0) — Fit the point sequence with an arc-length-parametric cubic spline (2D contour / 3D space curve).spline_curve_eval(model, t) — Evaluate the curve spline model at parameter t∈[0,1] and return (M,D) points (D=2 or 3).spline_curve_resample(points, n, closed=False, smooth=0.0) — Smoothly resample the curve points to n points and return (n,D) (2D/3D; closed curves without a duplicated seam).3859 ops / 61 families in total. The order and the location of the notes are the same as docs/ops/INDEX.md (note = docs/ops/<family>/<category>/<op>.md). Ops of the ledger families are called as fs.ledger.<op>.
Families: 2d 964 · 3d 380 · fit 4 · math 115 · optics 506 · lightfield 17 · photon 17 · specular 20 · motionmag 9 · quat 19 · rangedoppler 8 · acoustics 27 · interferometry 9 · flyvision 22 · spc 41 · pharma 2 · graph 20 · text 3 · residue 5 · vx 10 · drive 750 · tomography 44 · volcolor 11 · reprconv 63 · fileio 28 · cadmap 4 · annotate 51 · gfx2d 44 · multivar 18 · simcal 10 · converge 6 · codematch 6 · aoi 8 · matchreg 12 · calib 29 · acceptance 8 · symbol 33 · mv 47 · generative 42 · imgmetrics 42 · oned 49 · colortransport 11 · imgforensics 16 · astrostack 14 · videostream 16 · profile 12 · shapestat 16 · measure1d 17 · roughness 9 · shape2d 17 · piv 29 · blob 11 · dem 25 · conngraph 28 · emproof 14 · videocube 6 · live4d 14 · printpath 23 · geocam 9 · llmcore 10 · segmentation 59
Pipeline ops that take one image and return one image / region / contour / feature (ops.REGISTRY), and n-ary ops that take several images (imgops_nary). Build chains by the in → out data kinds. The HALCON aliases are clues to the use case.
vol_dilate volume → volume GPU: yes (vol_dilate_g) — Grayscale dilation of a 3D volume. No corresponding HALCON op is specified. · examples: gallery2d_physics_alife_3d, poc_warehouse_flowvol_dilation_ball volume → volume GPU: yes (vol_dilation_ball_g) — 3D binary dilation using a spherical structuring element. No corresponding HALCON op is specified. · examples: gallery2d_physics_alife_3dvol_erode volume → volume GPU: yes (vol_erode_g) — Grayscale erosion of a 3D volume. No corresponding HALCON op is specified. · examples: gallery2d_physics_alife_3d, poc_warehouse_flowvol_erosion_ball volume → volume GPU: yes (vol_erosion_ball_g) — 3D binary erosion using a spherical structuring element. No corresponding HALCON op is specified. · examples: gallery2d_physics_alife_3dvol_gaussian volume → volume GPU: yes (vol_gaussian_g) — Isotropic Gaussian smoothing of a 3D volume. No corresponding HALCON op is specified. · examples: gallery2d_physics_alife_3d, poc_am_thermal_to_ctvol_median volume → volume GPU: yes (vol_median_g) — Median filter for a 3D volume. No corresponding HALCON op is specified. · examples: gallery2d_physics_alife_3dvol_mip volume → image GPU: none — Collapses a 3D volume into a 2D image via Maximum Intensity Projection (MIP). No corresponding HALCON op is specified. · examples: gallery2d_physics_alife_3d, poc_cold_chain_excursionvol_opening_ball volume → volume GPU: yes (vol_opening_ball_g) — 3D binary opening using a spherical structuring element (erosion followed by dilation with the same sphere). No corresponding HALCON op is specified. · examples: gallery2d_physics_alife_3d, poc_warehouse_flowvol_reg_dilate volume → volume GPU: yes (vol_reg_dilate_g) — Dilation of a 3D binary region (dilation of a region volume). No corresponding HALCON op is specified. · examples: gallery2d_physics_alife_3dvol_reg_erode volume → volume GPU: yes (vol_reg_erode_g) — Erosion of a 3D binary region (erosion of a region volume). No corresponding HALCON op is specified. · examples: gallery2d_physics_alife_3dvol_slice volume → image GPU: none — Extracts a single 2D slice from a 3D volume. No corresponding HALCON op is specified. · examples: gallery2d_physics_alife_3dvol_threshold volume → volume GPU: yes (vol_threshold_g) — Global thresholding of a 3D volume (the 3D counterpart of the 2-D _threshold). No corresponding HALCON op is specified. · examples: gallery2d_physics_alife_3dabs_image (halcon: abs_image) image → image GPU: inside a chain only (allow-list) — Takes the absolute value of pixel values (np.abs). Since fullseye’s image already follows the [0,1] contract (non-negative), this acts as an identity mapping that changes nothing for a normal image. It only has an effect when a signed intermediate result, such as a difference image, is passed in directly. Stands in for HALCON’s abs_image (Calculate the absolute value (modulus) of an image.). · examples: gallery2d_gray_arith, genspark_external_reviewacos_image (halcon: acos_image) image → image GPU: inside a chain only (allow-list) — An arccosine LUT mapping [0,1] to [0,1] via arccos(x) / pi. An inverted form of asin_image (monotonically decreasing): it is maximal (1) at x=0 and minimal (0) at x=1. Stands in for HALCON’s acos_image (Calculate the arccosine of an image.). · examples: gallery2d_gray_arithasin_image (halcon: asin_image) image → image GPU: inside a chain only (allow-list) — An arcsine LUT mapping [0,1] to [0,1] via arcsin(x) / (pi/2). The slope becomes steep near x=0 and near x=1 (the derivative diverges at the ends of the domain), giving the effect of compressing the mid-tones and enhancing contrast at both ends. Stands in for HALCON’s asin_image (Calculate the arcsine of an image.). · examples: gallery2d_gray_arithatan_image (halcon: atan_image) image → image GPU: inside a chain only (allow-list) — An arctangent LUT mapping [0,1] to [0,1] via arctan(x) / (pi/2). The slope is greatest near the center (x is about 0.5) and becomes gentler toward both ends - an S-curve that, unlike asin_image, enhances contrast in the middle rather than at the ends. Stands in for HALCON’s atan_image (Calculate the arctangent of an image.). · examples: gallery2d_gray_arithcos_image (halcon: cos_image) image → image GPU: yes (cos_image) — A periodic LUT based on (cos(2*pi*x) + 1) / 2. A version phase-shifted by pi/2 relative to sin_image: it reaches its maximum (1) at x=0, its minimum (0) at x=0.5, and then rises again. Stands in for HALCON’s cos_image (Calculate the cosine of an image.). · examples: gallery2d_gray_arithexp_image (halcon: exp_image) image → image GPU: inside a chain only (allow-list) — Maps [0,1] to [0,1] with the exponential mapping (exp(x) - 1) / (e - 1) (normalized so that x=1 gives exactly 1). This is a contrast enhancement that compresses low tones and emphasizes the highlights, a curve running opposite to log_image. Stands in for HALCON’s exp_image (Calculate the exponentiation of an image.). · examples: gallery2d_gray_arithlog_image (halcon: log_image) image → image GPU: inside a chain only (allow-list) — Logarithmic compression mapping [0,1] to [0,1] via log1p(x) / log(2) (normalized so that x=1 gives 1). A tone curve, opposite to exp_image, that compresses the highlights and lifts shadow detail. Stands in for HALCON’s log_image (Calculate the logarithm of an image.). · examples: gallery2d_gray_arith, poc_weld_radiograph_porositysin_image (halcon: sin_image) image → image GPU: inside a chain only (allow-list) — A periodic LUT that folds tones sinusoidally via (sin(2*pi*x) + 1) / 2. It returns to 0.5 at x=0 and x=1, and reaches 0/1 near x=0.25/0.75 - rather than being monotonically increasing, it is an irreversible transform in which multiple input tones share the same output. Stands in for HALCON’s sin_image (Calculate the sine of an image.). · examples: gallery2d_gray_arithsqrt_image (halcon: sqrt_image) image → image GPU: inside a chain only (allow-list) — Takes the square root of pixel values clipped to [0,1]. This becomes a gamma-like tonal compression that lifts the shadows (the square root pushes x=0.25 up to 0.5, and x=0.04 up to 0.2). Corresponds to HALCON’s sqrt_image (Calculate the square root of an image.). · examples: gallery2d_gray_arithtan_image (halcon: tan_image) image → image GPU: yes (tan_image) — A pointwise transform that takes the tangent of pixel values. Corresponds to HALCON’s tan_image (computes the tangent of an image), but is an approximation with a different normalization convention. · examples: gallery2d_gray_arithalife_curvature_flow image → image GPU: yes (allow-list) — Mean-curvature motion / level-set smoothing (curve-shortening flow). · examples: gallery2d_physics_alife_3dalife_cyclic_ca image → image GPU: yes (allow-list) — Cyclic cellular automaton (Fisch-Gravner-Griffeath) -> spiral waves. · examples: gallery2d_physics_alife_3d, sim2real_and_alifealife_dla image → image GPU: yes (allow-list) — Deterministic diffusion-limited-aggregation (DLA) growth proxy. · examples: gallery2d_physics_alife_3d, sim2real_and_alifealife_gray_scott image → image GPU: yes (allow-list) — Gray-Scott reaction-diffusion seeded by the image. · examples: gallery2d_physics_alife_3dalife_langton_ant image → image GPU: inside a chain only (allow-list) — Langton’s ant (turmite) walking the thresholded image lattice. · examples: gallery2d_physics_alife_3dalife_lenia image → image GPU: yes (allow-list) — Lenia continuous cellular automaton (Bert Chan, Complex Systems 2019). · examples: gallery2d_physics_alife_3dalife_life_step image → image GPU: yes (allow-list) — Life-like totalistic cellular automaton (Conway-family B/S rules). · examples: gallery2d_physics_alife_3d, sim2real_and_alifealife_perona_malik image → image GPU: yes (allow-list) — Perona-Malik anisotropic (edge-preserving) diffusion. · examples: gallery2d_physics_alife_3dalife_reaction_bz image → image GPU: none — Belousov-Zhabotinsky-like excitable medium (Greenberg-Hastings automaton). · examples: gallery2d_physics_alife_3d, sim2real_and_alifealife_sandpile image → image GPU: yes (allow-list) — Abelian sandpile / self-organised criticality (Bak-Tang-Wiesenfeld 1987). · examples: gallery2d_physics_alife_3dalife_turing image → image GPU: yes (allow-list) — Gierer-Meinhardt activator-inhibitor system (Turing morphogenesis). · examples: gallery2d_physics_alife_3d, sim2real_and_alifealife_wolfram1d image → image GPU: none — Wolfram elementary 1-D cellular automaton, drawn as a spacetime diagram. · examples: gallery2d_physics_alife_3dxcv_pencil_sketch image → image GPU: none — OpenCV’s pencilSketch (pencil-drawing-style rendering). · examples: gallery2d_color_artisticxcv_stylization image → image GPU: none — OpenCV’s stylization (painterly/cartoon-like non-photorealistic rendering). · examples: gallery2d_color_artisticxpil_emboss image → image GPU: none — Pillow’s emboss filter. Applies the fixed 3x3 kernel of PIL.ImageFilter.EMBOSS (a classic NPR filter that detects diagonal gradients and drops flat areas to mid-gray). · examples: gallery2d_color_artisticaug_barrel image → image GPU: yes (allow-list) — Radial lens distortion using the standard polynomial model r_src = r*(1 + k*r^2) on normalised radius r (1 = image corner): BARREL (straight lines bow outwards) when b < 0.5, PINCUSHION when b >= 0.5, with k = 0.6*a (a=0 -> undistorted). The destination grid is inverse-mapped and resampled bilinearly with ndimage.map_coordinates (mode="reflect"), so no pixel is left undefined. Output keeps HxW. · examples: gallery2d_color_artistic, sim2real_and_alifeaug_chromatic image → image GPU: yes (allow-list) — Lateral chromatic aberration proxy for a gray image. True lateral CA magnifies the colour channels differently, so edges gain a coloured fringe; on a single channel the observable signature is a SHIFTED copy of the edge (high-pass) energy superposed on the image. Here the high-pass v - gaussian(v, 1) is shifted by s = 1 + int(4*a) px horizontally and added back with amplitude 0.1 + 0.9*b. Flat regions have zero high-pass, so only edges fringe – exactly the real behaviour. · examples: gallery2d_color_artisticaug_cutout image → image GPU: yes (allow-list) — Cutout / random-erasing occlusion (DeVries & Taylor 2017; Zhong et al. 2020): a square patch of side max(1, a*min(H,W)) is erased from the image, forcing a pipeline to survive partial occlusion instead of relying on one salient blob. b selects the (deterministic, seeded-from-b) patch position AND the fill value: b <= 0.5 -> black (0.0), b > 0.5 -> mid-gray (0.5). The patch is always fully inside the frame. · examples: gallery2d_color_artisticaug_fixed_pattern image → image GPU: yes (allow-list) — Fixed-pattern noise (FPN / photo-response non-uniformity). Unlike read noise this pattern is STATIC across frames: a per-column offset plus a per-row offset, each drawn once and held. a sets the amplitude 0.02 + 0.2*a; b selects WHICH fixed pattern (the generator is seeded from b alone, so sweeping a changes only the strength of one pattern). Column FPN dominates (2/3 weight) as it does in CMOS column-parallel ADCs. · examples: gallery2d_color_artistic, sim2real_and_alifeaug_jpeg_blocks image → image GPU: none — JPEG blocking / ringing artefacts. The image (scaled to 0..255) is cut into 8x8 blocks, each transformed with an orthonormal 2-D DCT-II (scipy.fft.dctn), quantised with the STANDARD JPEG Annex-K luminance table scaled by (1 + 40*a)/16 (a=0 -> near-lossless, a=1 -> heavy quantisation), then reconstructed with the inverse DCT. b shifts the 8x8 block grid phase by int(7*b) px in both axes, i.e. moves where the block seams fall. Images that are not a multiple of 8 are edge-replicate padded and cropped back to HxW (so 4x4 inputs are handled). · examples: gallery2d_color_artistic, poc_prnu_camera_fingerprint, sim2real_and_alifeaug_motion_blur image → image GPU: yes (allow-list) — Linear motion blur: convolution with a normalised LINE (box) kernel, the point-spread function of a constant-velocity camera/scene pan during the exposure. a sets the streak length L = 3 + 20*a px (forced odd and clamped so the kernel never exceeds the image), b sets the streak angle b*180 degrees. Border handling is reflect so the frame edge does not darken. Energy-preserving (kernel sums to 1). · examples: gallery2d_color_artisticaug_read_noise image → image GPU: none — Additive Gaussian READ noise (amplifier + ADC noise), sigma-independent of signal (unlike shot noise). sigma = 0.005 + 0.15*a. b mixes in a row-correlated component: a per-row bias of std 0.5*b*sigma shared by the whole row, which is what a shared row amplifier / row-wise ADC produces (visible as horizontal banding). Seeded from (a, b). · examples: gallery2d_color_artisticaug_rolling_shutter image → image GPU: yes (allow-list) — Rolling-shutter skew. A CMOS rolling shutter exposes rows sequentially, so a scene (or camera) panning horizontally shifts each row by an amount linear in its row index – a pure horizontal shear. a sets the peak shift 0.125*W*a px at either edge (the shear is centred so the middle row is unmoved), b sets the pan direction (b < 0.5 -> shift right with increasing row, otherwise left). Resampled bilinearly with reflecting borders. · examples: gallery2d_color_artistic, sim2real_and_alifeaug_shot_noise image → image GPU: none — Photon (Poisson) shot noise – the quantum floor of every image sensor. · examples: gallery2d_color_artistic, sim2real_and_alifeaug_vignette image → image GPU: yes (allow-list) — Radial lens vignetting following the natural cos^4 falloff law. With r the normalised distance from the image centre and R = 0.35 + 1.15*b the falloff radius, the transmission is cos(atan(r/R))^4 = 1/(1 + (r/R)^2)^2 – the textbook cos^4 law. a blends it in: out = v * (1 - a + a*falloff), so a=0 is a no-op and a=1 is full vignetting. Centre stays brightest; strictly darkening, never amplifying. · examples: gallery2d_color_artistic, poc_solar_el_inspection, sim2real_and_alifedecode_barcode (halcon: find_bar_code) image → feature GPU: none — A simplified barcode-like feature that counts the number of light/dark transitions along the central scan line. This resembles but is not the same as HALCON’s find_bar_code (Detect and read bar code symbols in an image.) - it performs no symbology determination or data decoding whatsoever (it only counts the “number” of bars). · examples: gallery2d_physics_alife_3d, poc_barcode_1dcontour_to_img contour → image GPU: none — Draws an XLD contour back in the contour’s own coordinate system — 43 ops produce contours, yet not even 1 op could turn one into an image. · examples: gallery2d_bridgecounts_to_img counts → image GPU: none — Turns a 1-D sequence of non-negative integer counts into a bar chart and back into an image. · examples: gallery2d_bridgefeature_to_img feature → image GPU: none — Turns a scalar feature into a band with tick marks and back into an image — the sort for which, in the 2-D ledger, 125 ops produce it, yet not even 1 op could turn it into an image. · examples: gallery2d_bridgeimg_to_beatcube image → beatcube GPU: yes (allow-list) — Read the bright spots of the image as FMCW radar targets (range = column, velocity = row) and synthesise the complex beat cube (A,C,S). · examples: gallery2d_bridgeimg_to_cimage image → cimage GPU: yes (allow-list) — Use the image as amplitude and a phase from pixel value plus tilt to build a complex field (H,W) complex128. · examples: gallery2d_bridgeimg_to_counts image → counts GPU: none — Read one row (or column) of the image as expected photon numbers and draw a Poisson-sampled 1-D count series. · examples: gallery2d_bridgeimg_to_keypoints image → keypoints GPU: yes (allow-list) — Turn the local maxima of the image into image-plane points (u, v) = (col, row), shape (N,2). · examples: gallery2d_bridgeimg_to_lightfield image → lightfield GPU: yes (allow-list) — Split the image into a foreground and a background layer and build a 4-D light field (V,U,H,W) with parallax. · examples: gallery2d_bridgeimg_to_matrix image → matrix GPU: none — Treat the (H,W) image as an H×W numeric matrix (sort matrix) — a pure cast. · examples: gallery2d_bridgeimg_to_monogenic image → qimage GPU: yes (allow-list) — Build the single-scale monogenic signal of the image (a quaternion field (H,W,4), sort qimage). · examples: gallery2d_bridgeimg_to_points image → points GPU: none — Read the image as a height field and turn it into an (x, y, z) point cloud (N,3). · examples: gallery2d_bridgeimg_to_projection_profile image → signal GPU: yes (allow-list) — Turns the projection profile, obtained by collapsing the image along 1 direction, into a 1-D signal — a basic quantity of page-layout analysis. · examples: gallery2d_bridgeimg_to_rgb image → rgbimage GPU: inside a chain only (allow-list) — Give a gray image a hue and saturation, producing an (H,W,3) RGB image (sort rgbimage). · examples: gallery2d_bridgeimg_to_signal image → signal GPU: none — Take the intensity profile of one row (or column) of the image as a 1-D signal. · examples: gallery2d_bridgeimg_to_video image → video GPU: inside a chain only (allow-list) — Turn the image into a T-frame video (T,H,W) translated at constant speed. · examples: gallery2d_bridgeimg_to_volume image → volume GPU: inside a chain only (allow-list) — Extrude the image as a height field into a (D,H,W) volume (z first). · examples: gallery2d_bridgematrix_to_img matrix → image GPU: none — Turns a matrix into gray levels for viewing and back into an image — this is not a cast. · examples: gallery2d_bridgesignal_to_img signal → image GPU: none — Turns a 1-D signal into a line plot and back into an image — the entry point for “looking at the sequence you built”. · examples: gallery2d_bridgeclassify_shape region → feature GPU: yes (lbl_classify_shape) — A basic shape-classification feature that computes the circularity of the largest connected region. No single corresponding HALCON op is specified. · examples: gallery2d_featuresaccess_channel (halcon: access_channel) color → image GPU: none — Extracts a single channel from a multichannel image. Corresponds to HALCON’s access_channel (accesses a single channel of a multichannel image). · examples: gallery2d_color_artistic, genspark_external_review, poc_leaf_disease_area, poc_solder_fillet_aoicfa_to_rgb (halcon: cfa_to_rgb) image → color GPU: none — Demosaicing from a Bayer pattern (CFA: Color Filter Array) to an RGB image. Approximates HALCON’s cfa_to_rgb (converts a single-chip color filter array image to an RGB image). · examples: gallery2d_color_artisticlinear_trans_color (halcon: linear_trans_color) color → color GPU: inside a chain only (allow-list) — Linearly transforms between channels using a 3x3 mixing matrix (affine color transform). Corresponds to HALCON’s linear_trans_color (computes an affine transform of color values for a multichannel image) (this implementation is a pure linear transform with no offset term). · examples: gallery2d_color_artisticprincipal_comp (halcon: principal_comp) color → color GPU: yes (principal_comp) — Performs principal component analysis (PCA) on 3 channels and reorders the color space in descending order of variance. Corresponds to HALCON’s principal_comp (computes the principal components of a multichannel image). · examples: gallery2d_color_artisticrgb1_to_gray (halcon: rgb1_to_gray) color → image GPU: none — Converts an RGB image to luminance (grayscale). Both HALCON’s rgb1_to_gray and rgb3_to_gray (convert an RGB image to a grayscale image) are mapped to this single implementation. · examples: gallery2d_color_artisticrgb3_to_gray (halcon: rgb3_to_gray) color → image GPU: inside a chain only (allow-list) — Converts an RGB image to luminance (grayscale). Both HALCON’s rgb1_to_gray and rgb3_to_gray (convert an RGB image to a grayscale image) are mapped to this single implementation. · examples: gallery2d_color_artistictrans_from_rgb (halcon: trans_from_rgb) color → color GPU: none — Converts an RGB image to another color space (HSV / Lab / YUV / XYZ). Corresponds to HALCON’s trans_from_rgb (conversion from RGB color space to an arbitrary color space). · examples: gallery2d_color_artistic, poc_leaf_disease_area, poc_solder_fillet_aoitrans_to_rgb (halcon: trans_to_rgb) color → color GPU: none — The inverse transform from a color space back to RGB. Claimed to correspond to HALCON’s trans_to_rgb (conversion from an arbitrary color space to RGB color space), but the implementation only supports the single direction HSV to RGB. · examples: gallery2d_color_artisticaffine_trans_contour_xld (halcon: affine_trans_contour_xld) contour → contour GPU: none — Rotates each point of the contour about the image center (from -20° to +20°, determined by a). HALCON’s affine_trans_contour_xld (Apply an arbitrary affine 2D transformation to XLD contours.) can take an arbitrary affine matrix (including translation, scaling, and shear), but this stand-in simplifies it to pure rotation only (an approximation). · examples: gallery2d_contour_measureaffine_trans_polygon_xld (halcon: affine_trans_polygon_xld) contour → contour GPU: none — Applies an affine rotation to an XLD contour (a polygon/curve’s vertex sequence). Rotates it about the image center by angle -20°+40a (no shear or translation, rotation-only, a partial affine). b is unused. · examples: gallery2d_contour_measureclose_contours_xld (halcon: close_contours_xld) contour → contour GPU: none — Duplicates the starting point of each contour and appends it at the end, turning an open polyline into a closed loop (only for contours with 2 or more points). Corresponds to HALCON’s close_contours_xld (Close an XLD contour.). · examples: gallery2d_contour_measurecontour_point_num_xld (halcon: contour_point_num_xld) contour → feature GPU: none — Selects the contour with the most points among a group of XLD contours and returns its vertex count normalized by 500 into [0,1] (saturating at 1.0 for 500 or more points). a and b are unused. Returns 0 if there are no contours. · examples: gallery2d_contour_measurecontours_to_region (halcon: gen_region_contour_xld) contour → region GPU: none — Rasterizes XLD contours and converts them into a region. Equivalent to HALCON’s gen_region_contour_xld (Create a region from an XLD contour.). · examples: gallery2d_contour_measure, quickstartedges_color_sub_pix (halcon: edges_color_sub_pix) color → contour GPU: yes (allow-list) — Extracts connected components on color edges as contours. Claimed to correspond to HALCON’s edges_color_sub_pix (extracts subpixel-accurate color edges with Deriche/Shen/Canny), but the implementation is not subpixel-accurate – it thresholds the gradient magnitude from _edges_color into a binary image, connects it with 8-connectivity labeling (scipy.ndimage.label), and returns the resulting pixel coordinates directly as contour points (all coordinates lie on the integer grid). Components with fewer than 3 pixels are discarded. · examples: gallery2d_contour_measureedges_sub_pix (halcon: edges_sub_pix) image → contour GPU: yes (allow-list) — Sub-pixel-accurate edge contour extraction. Computes the gradient and its normal direction (gradient_normals), thins it to one pixel by non-maximum suppression (as in Canny: only pixels stronger than both neighbours along the normal), links the pixels above the threshold (0.15+0.5*a, strength normalised by the maximum gradient) into contours ordered along the curve (split into separate contours at branch points; a closed edge is closed at its start point), and refines each point along the normal to sub-pixel position by parabola fitting (subpixel_refine_edges, an implementation shared with the same-named op on the ops side – a 2026-09-02 fix made it genuinely sub-pixel; the old implementation returned integer pixel coordinates). Equivalent to HALCON’s edges_sub_pix (Extract sub-pixel precise edges using Deriche, Lanser, Shen, or Canny filters.). · examples: gallery2d_contour_measure, quickstartfit_line_contours (halcon: fit_line_contour_xld) contour → contour GPU: none — Approximates each XLD contour with a single straight line. Equivalent to HALCON’s fit_line_contour_xld (Approximate XLD contours by line segments.). · examples: gallery2d_contour_measure, poc_screw_thread_metrologygen_contour_region_xld (halcon: gen_contour_region_xld) region → contour GPU: none — Extracts the outer boundary of a region (pixel mask) as an XLD contour, preserving trace order (order along the boundary). Uses find_contours (subpixel contours via marching squares). Without scikit-image it stops with MissingDependencyError (until 2026-10-25 it silently fell back to a custom Moore-neighborhood tracing — a different, pixel-resolution contour with different point counts and coordinates; the tracer remains callable by name as backends_auto._moore_boundaries). a and b are unused. · examples: gallery2d_contour_measuregen_region_contour_xld (halcon: gen_region_contour_xld) contour → region GPU: none — Rasterizes a contour (point sequence) onto the pixel grid, then thickens it with 1+2*a rounds of binary dilation to produce a connected region mask (a reinforcement because, when left as a thin line, the region {0,1} contract can make the “line appear disconnected”). Equivalent to HALCON’s gen_region_contour_xld (Create a region from an XLD contour.). · examples: gallery2d_contour_measuregen_region_polygon_xld (halcon: gen_region_polygon_xld) contour → region GPU: none — Converts an XLD contour (a polygon’s vertex sequence) into a region (pixel mask). Plots contour points onto the nearest pixels, then thickens and connects the lines with 1+2a rounds of binary dilation. b is unused. · examples: gallery2d_contour_measurelines_color (halcon: lines_color) color → contour GPU: yes (allow-list) — Detects lines (ridges) in a color image. Claimed to correspond to HALCON’s lines_color (detects color lines and their width), but it does not estimate line width – it only thresholds the Laplacian-of-Gaussian response on the luminance image into a binary image and returns the connected components as contours; it has no output corresponding to the line width that HALCON returns. · examples: gallery2d_contour_measurelines_facet (halcon: lines_facet) image → contour GPU: none — Detects line-like structures (ridges) and returns them as a contour (XLD contour). The implementation computes ‘line-ness’ using a Frangi filter (skimage.filters.frangi, multiscale sigma=1..3 ridge enhancement), and outputs the pixel coordinates of connected components exceeding the threshold 0.1+0.4a directly as a contour point sequence. b is unused. · examples: gallery2d_contour_measurelines_gauss (halcon: lines_gauss) image → contour GPU: none — Line (ridge) structure detection. Binarizes the response of skimage.filters.frangi (a vessel-like ridge-enhancement filter) with a threshold (0.1+0.4*a) and returns the connected components as contour point sets. This is simplified to thresholding the ridge-enhanced image, rather than the “line centerline + width estimation” that HALCON’s lines_gauss (Detect lines and their width.) originally performs (an approximation in which line-width information is not returned). · examples: example_scratch_width, gallery2d_contour_measure, poc_solar_el_inspection, poc_weld_bead_scan_anglepolar_trans_contour_xld (halcon: polar_trans_contour_xld) contour → contour GPU: none — Converts each point of the contour into polar coordinates (radius, angle) from the image center, then repacks them into pseudo pixel coordinates (scaling the radius by whichever of H or W is larger, and mapping the angle to [0,1]). A simplified coordinate transformation corresponding to HALCON’s polar_trans_contour_xld (Transform a contour in an annular arc to polar coordinates.). · examples: gallery2d_contour_measureprojective_trans_contour_xld (halcon: projective_trans_contour_xld) contour → contour GPU: none — Applies a pseudo perspective-shrink depending on column position to each point of the contour (dividing each point’s coordinates by d = 1 + 0.3*a*(col - center)/width). Note that this is an approximation using a simple one-directional scale change rather than a true projective transformation via a 3x3 homography matrix. A stand-in for HALCON’s projective_trans_contour_xld (Apply a projective transformation to an XLD contour.). · examples: gallery2d_contour_measureselect_contours (halcon: select_contours_xld) contour → contour GPU: none — Selects XLD contours by filtering on point count (length). Equivalent to HALCON’s select_contours_xld (Select XLD contours according to several features.). · examples: gallery2d_contour_measure, quickstartselect_contours_xld (halcon: select_contours_xld) contour → contour GPU: none — A filter that, from an existing set of contours (XLD contours), keeps only those whose point count is at or above a threshold (3+40*a). HALCON’s select_contours_xld (Select XLD contours according to several features.) is a general-purpose operator that can select by any feature such as area or circularity, but here it is fixed to a single cutoff by point count (a proxy for length) (an approximation). · examples: gallery2d_contour_measureselect_shape_xld (halcon: select_shape_xld) contour → contour GPU: none — A filter that discards XLD contours with too few points. Removes contours whose vertex count is fewer than 3+40a points. b is unused. · examples: gallery2d_contour_measureshape_trans_xld (halcon: shape_trans_xld) contour → contour GPU: none — Computes the convex hull of the contour (cv2.convexHull) and returns it still in contour form (the contour-based version of shape_trans). Implements only convex hull, one of the multiple transformation modes that HALCON’s shape_trans_xld (Transform the shape of contours or polygons.) has (an approximation). · examples: gallery2d_contour_measuresk_find_contours image → contour GPU: none — Contour extraction (marching squares). Traces curves that cross a specified level value on a grayscale image and returns them as a set of sub-pixel-accuracy contour coordinate sequences – unlike binary contour extraction, this can handle continuous-valued contours, not just the outer boundary of a binary image. · examples: gallery2d_bridge, gallery2d_contour_measure, poc_cloth_towel_corners_synthsmooth_contours (halcon: smooth_contours_xld) contour → contour GPU: none — Smooths XLD contours using a moving average. Equivalent to HALCON’s smooth_contours_xld (Smooth an XLD contour.). · examples: gallery2d_contour_measuresmooth_contours_xld (halcon: smooth_contours_xld) contour → contour GPU: none — Smooths a contour’s coordinate sequence with a moving average (window width 2*(1+3*a)+1). Smooths out the jaggedness of the contour (zigzag caused by pixel boundaries). Equivalent to HALCON’s smooth_contours_xld (Smooth an XLD contour.). · examples: gallery2d_contour_measurethreshold_sub_pix (halcon: threshold_sub_pix) image → contour GPU: none — Level-crossing (contour-line) extraction using the marching squares method (skimage.measure.find_contours). Returns, as a contour with sub-pixel accuracy, the positions crossing a specified gray level (0.2+0.5*a). Corresponds to HALCON’s threshold_sub_pix (Extract level crossings from an image with subpixel accuracy.). · examples: fit_circle_xld_bore, gallery2d_contour_measure, mcp_task_score, poc_peg_insertion_tactile, poc_screw_thread_metrologyzero_crossing_sub_pix (halcon: zero_crossing_sub_pix) image → contour GPU: none — Extracts the zero crossings of LoG (Laplacian with built-in Gaussian smoothing, sigma 0.5+2*a) as a sub-pixel-accuracy contour using find_contours. The sub-pixel-accuracy version of the region-based zero_crossing (pixel resolution). Corresponds to HALCON’s zero_crossing_sub_pix (Extract zero crossings from an image with subpixel accuracy.). · examples: gallery2d_contour_measuredc_homomorphic image → image GPU: yes (allow-list) — Homomorphic filter: high-emphasis of log(I) in the Fourier domain -> [0,1]. · examples: gallery2d_texture_freq, poc_document_scan, poc_mri_bias_fielddc_local_contrast_norm image → image GPU: yes (dc_local_contrast_norm) — Local contrast normalisation: (I - mean_w) / (std_w + eps), centred at 0.5. · examples: gallery2d_texture_freqdc_retinex image → image GPU: yes (allow-list) — Single-scale retinex reflectance: log(I) - log(Gauss_sigma(I)) -> [0,1]. · examples: gallery2d_texture_freq, poc_bone_trabecular_thicknessdc_rpca_lowrank image → image GPU: none — Robust-PCA low-rank (background) part. · examples: blas_thread_budget, gallery2d_texture_freqdc_rpca_sparse image → image GPU: none — Robust-PCA sparse (defect / anomaly) residual = input - low-rank, at 0.5. · examples: gallery2d_texture_freq, poc_good_sample_variation_modeldc_structure_texture image → image GPU: yes (allow-list) — Structure / cartoon part of the image (TV-L2, Chambolle). · examples: gallery2d_texture_freq, poc_fiber_orientationdc_texture_residual image → image GPU: yes (allow-list) — Texture / detail layer = input - structure, centred at 0.5. · examples: gallery2d_texture_freqdeform_ffd image → image GPU: yes (allow-list) — Cubic B-spline free-form deformation (Rueckert et al., IEEE TMI 1999). · examples: gallery2d_geometrydeform_mls image → image GPU: none — Moving-least-squares image deformation, affine variant (Schaefer 2006). · examples: gallery2d_geometrydeform_tps image → image GPU: yes (allow-list) — Thin-plate-spline warp over a 5x5 control grid (Bookstein, TPAMI 1989). · examples: gallery2d_geometryit_crop_domain (halcon: crop_domain) image → image GPU: yes (allow-list) — crop_domain: restrict the image domain to the central a window, zeroing every pixel outside it (pixels outside the domain are undefined -> 0). a sets the kept window fraction; b is ignored. · examples: gallery2d_gray_arithit_full_domain image → image GPU: inside a chain only (allow-list) — full_domain: expand the domain of the image to the full rectangle. A plain numpy array already carries a full domain, so this is the identity – the genuine, correct behaviour of full_domain for such images. a/b ignored. · examples: gallery2d_gray_arithcorner_response (halcon: points_harris) image → image GPU: yes (corner_response) — Returns the Harris corner detection response (corner-likeness) as an image. Equivalent to HALCON’s points_harris (Detect points of interest using the Harris operator.). · examples: gallery2d_edges, poc_document_scan, poc_matrix_code_readingcv_corner_harris (halcon: points_harris) image → image GPU: none — Harris corner response (OpenCV implementation). Based on the same Harris concept as sk_corner_harris, but the OpenCV version computes it with fixed parameters such as the block size for gradient computation and smoothing. · examples: gallery2d_edgescv_laplacian (halcon: laplace) image → image GPU: none — Laplacian filter (OpenCV implementation). Isotropic edge/blob detection using the second derivative; it responds strongly not only to contours but also to isolated points (and is thus sensitive to noise). · examples: gallery2d_edgescv_min_eigen (halcon: points_harris) image → image GPU: none — Corner strength via the minimum eigenvalue (Shi-Tomasi family, OpenCV implementation). Returns the smaller of the two eigenvalues of the gradient structure tensor - unlike Harris, there is no weighting (dependent on k), making it a more direct measure of “good feature point”-ness (the same kind of criterion used internally by cv_good_features). · examples: gallery2d_edgescv_precorner (halcon: corner_response) image → image GPU: none — Corner candidate detection (preCornerDetect, OpenCV implementation). Scores “corner-ness” with a signed value using a special formula that combines first- and second-order derivatives - originally a function meant to be used as a preceding candidate-detection stage for sub-pixel refinement via cv2.cornerSubPix. · examples: gallery2d_edgescv_scharr (halcon: edges_image) image → image GPU: none — Scharr gradient magnitude (OpenCV implementation). Sums the absolute values of the horizontal and vertical Scharr derivatives to obtain the gradient magnitude - the same kind of edge detection as sk_scharr (the skimage version), but the combination method (sum of absolute values instead of the norm of the sum of squares) differs, so the results are not identical. · examples: gallery2d_edgesderivate_gauss (halcon: derivate_gauss) image → image GPU: yes (derivate_gauss) — The gradient magnitude (hypot) of Gaussian derivatives (order=(1,0) and (0,1)), normalized to [0,1]. Because it differentiates after Gaussian smoothing, it acts as a noise-robust edge detector. Equivalent to HALCON’s derivate_gauss (Convolve an image with derivatives of the Gaussian.). · examples: gallery2d_edgesdiff_of_gauss (halcon: diff_of_gauss) image → image GPU: yes (diff_of_gauss@twin) — Band-pass edge/blob detection by DoG (Difference of Gaussians; the difference between images blurred with two different sigma values). A classic technique known as a fast approximation of LoG. Equivalent to HALCON’s diff_of_gauss (Approximate the LoG operator (Laplace of Gaussian).). · examples: gallery2d_edgesdog (halcon: diff_of_gauss) image → image GPU: yes (diff_of_gauss) — Difference of Gaussians (DoG). Equivalent to HALCON’s diff_of_gauss (Approximate the LoG operator (Laplace of Gaussian).). · examples: gallery2d_edgesdots_image (halcon: dots_image) image → image GPU: yes (allow-list) — A Laplacian of Gaussian (LoG) filter. Takes the Laplacian of a Gaussian kernel with sigma = 0.5+2.5a, normalized as signed01 (a signed value mapped to [0,1], with 0.5 = zero response). b is unused. Because circular dot-like patterns produce a strong LoG response due to the isotropy of the Gaussian, this is used to enhance circular dots. · examples: gallery2d_edgesedge_transition_width image → image GPU: yes (allow-list) — Measures the edge transition width (= the spread of the effective PSF at that location) in pixels. · examples: gallery2d_edgesedges_color (halcon: edges_color) color → image GPU: yes (allow-list) — Detects color edge strength. Claimed to correspond to HALCON’s edges_color (extracts color edges with a Canny/Deriche/Shen filter), but the implementation is fixed to Di Zenzo’s multichannel gradient method rather than being filter-selectable. · examples: gallery2d_edgesf2_shock (halcon: shock_filter) image → image GPU: none — Osher-Rudin shock filter: I_t = -sign(Lap I)* |
grad I | , morphological form. · examples: gallery2d_edges |
f2_shock_diffuse image → image GPU: none — Regularised shock filter: diffuse, then shock, repeated (Alvarez-Mazorra). · examples: gallery2d_edgesf2_topographic (halcon: topographic_sketch) image → image GPU: yes (allow-list) — Haralick topographic primal sketch: classify every pixel from its gradient magnitude and the two Hessian eigenvalue signs into peak / pit / ridge / ravine / saddle / flat / hillside and emit the class as a gray code. · examples: gallery2d_edgesfrei_amp (halcon: frei_amp) image → image GPU: yes (allow-list) — Frei-Chen isotropic edge detection. It computes the magnitude via hypot from a pair of two kernels weighted by √2 – a classic kernel said to have smaller sensitivity differences across directions (i.e., more isotropic) than Sobel. Equivalent to HALCON’s frei_amp (Detect edges (amplitude) using the Frei-Chen operator.). · examples: gallery2d_edgesfrei_dir (halcon: frei_dir) image → image GPU: yes (allow-list) — An edge-direction (angle) map using Frei-Chen-type kernels. Computes arctan2(gy, gx) from the convolution responses of the horizontal kernel _FREI[0] (row/vertical-direction gradient) and vertical kernel _FREI[1] (column/horizontal-direction gradient), and maps it to [0,1] using the same convention as sobel_dir/prewitt_dir (0/1 = -180 degrees, 0.5 = 0 degrees). a and b are unused. · examples: gallery2d_edgesgrad_dir image → image GPU: yes (gradient_direction) — Returns the gradient direction (edge orientation) as an image. No corresponding HALCON op has been specified (unique to fullseye). · examples: gallery2d_edgeskirsch_amp (halcon: kirsch_amp) image → image GPU: yes (allow-list) — The magnitude of the Kirsch compass filter. It convolves with a set of kernels rotated in 8 directions and takes the maximum absolute value, yielding a strong edge response independent of direction. Equivalent to HALCON’s kirsch_amp (Detect edges (amplitude) using the Kirsch operator.). · examples: gallery2d_edgeskirsch_dir (halcon: kirsch_dir) image → image GPU: none — Returns the index of the direction with the strongest response from the Kirsch compass filter (argmax among the 8 directions), normalized to [0,1]. The directional component paired with kirsch_amp. Equivalent to HALCON’s kirsch_dir (Detect edges (amplitude and direction) using the Kirsch operator.). · examples: gallery2d_edgeslaplace (halcon: laplace) image → image GPU: yes (laplace) — The normalized absolute value of the Laplacian (ndimage.laplace, a second derivative via finite differences). A non-directional second-derivative edge detector, more sensitive to high-frequency noise than Sobel-type filters. Corresponds to HALCON’s laplace (Calculate the Laplace operator by using finite differences). · examples: gallery2d_edges, poc_focus_stacking, poc_search_sweep_width, poc_white_balancelaplace_of_gauss (halcon: laplace_of_gauss) image → image GPU: inside a chain only (allow-list) — LoG (Laplacian of Gaussian; second-derivative edge detection obtained by applying a Laplacian after Gaussian smoothing). signed01 maps the signed response to [0,1] (0.5 corresponds to a zero crossing), so it can serve as a basis for zero-crossing detection or blob detection. Equivalent to HALCON’s laplace_of_gauss (LoG-Operator (Laplace of Gaussian).). · examples: gallery2d_edges, poc_real_defect_floorlog (halcon: laplace_of_gauss) image → image GPU: yes (allow-list) — Laplacian of Gaussian (LoG) filter. Equivalent to HALCON’s laplace_of_gauss (LoG-Operator (Laplace of Gaussian).). · examples: gallery2d_edges, gallery_spectrum_signal_bridge, poc_colormap_readability, poc_datacenter_thermal_field, poc_dehazing, poc_driving_longitudinal, poc_emva1288_in_camera_processing, poc_eye_to_brain, poc_pocket_interreflection, poc_powder_grinding_ae, poc_registration_basin, poc_simcal_pixel_shift, poc_simcal_thin_film, poc_wound_area_tracking, simcal_checks_tour, simcal_tourpoints_foerstner (halcon: points_foerstner) image → image GPU: none — A corner-strength map based on the Förstner operator (the product of the weight w and robust shape index q from skimage.feature.corner_foerstner, with NaN replaced by 0). Evaluates how point-feature-like a location is by combining the size of the error ellipse (w) and its circularity (q). Corresponds to HALCON’s points_foerstner (Detect points of interest using the Förstner operator.). · examples: gallery2d_edgespoints_harris_binomial (halcon: points_harris_binomial) image → image GPU: none — Harris corner response preceded by binomial (Gaussian) smoothing. First smooths the image with a sigma determined by b, then computes the Harris response on top of it (using corner_harris if skimage is available, otherwise manually computing the structure tensor, with k=0.04). Corresponds to HALCON’s points_harris_binomial (Detect points of interest using the binomial approximation of the Harris operator.). · examples: gallery2d_edgesprewitt_amp (halcon: prewitt_amp) image → image GPU: yes (prewitt_amp@twin) — The magnitude of the Prewitt gradient. Like Sobel, it is a first derivative, but it uses a kernel with uniform weighting ([1,1,1]) – slightly more sensitive to noise than Sobel, but computationally simpler. Equivalent to HALCON’s prewitt_amp (Detect edges (amplitude) using the Prewitt operator.). · examples: gallery2d_edges, poc_white_balanceprewitt_dir (halcon: prewitt_dir) image → image GPU: none — The direction of the Prewitt gradient. The directional component paired with prewitt_amp (arctan2 mapped to [0,1]). Equivalent to HALCON’s prewitt_dir (Detect edges (amplitude and direction) using the Prewitt operator.). · examples: gallery2d_edgesprewitt_mag (halcon: prewitt_amp) image → image GPU: yes (prewitt_amp) — Gradient magnitude via the Prewitt filter (edge detection). Equivalent to HALCON’s prewitt_amp (Detect edges (amplitude) using the Prewitt operator.). · examples: find_ops_by_meaning, gallery2d_edgesroberts (halcon: roberts) image → image GPU: yes (roberts) — The Roberts cross operator. The smallest edge-detection kernel, computing the magnitude via hypot from 2x2 diagonal differences (top-left minus bottom-right, top-right minus bottom-left). It is sensitive to diagonal edges but also sensitive to noise. Equivalent to HALCON’s roberts (Detect edges using the Roberts filter.). · examples: find_ops_by_meaning, gallery2d_edges, poc_white_balanceroberts_mag (halcon: roberts) image → image GPU: yes (roberts_amp) — Gradient magnitude via the Roberts cross gradient (edge detection). Equivalent to HALCON’s roberts (Detect edges using the Roberts filter.). · examples: find_ops_by_meaning, gallery2d_edgesrobinson_amp (halcon: robinson_amp) image → image GPU: yes (allow-list) — The magnitude of the Robinson compass filter. It convolves with a total of 8 kernels, obtained by rotating each of 2 base kernels 4 times, and takes the maximum absolute value (a compass method based on the same idea as Kirsch). Equivalent to HALCON’s robinson_amp (Detect edges (amplitude) using the Robinson operator.). · examples: gallery2d_edgesrobinson_dir (halcon: robinson_dir) image → image GPU: yes (allow-list) — An edge-direction map using the Robinson compass operator. Selects the maximum convolution response among 8 directions (a total of 8 kernels, _ROBINSON[0]/_ROBINSON[1] each rotated by 45 degrees), and returns that kernel’s index normalized to 0-1. a and b are unused. · examples: gallery2d_edgessk_corner_harris (halcon: points_harris) image → image GPU: none — Harris corner response (skimage implementation). A classic corner detector that computes a signed score from the structure tensor of the gradient, distinguishing flat regions, edges, and corners. · examples: gallery2d_edges, poc_cloth_towel_corners_synthsk_dog (halcon: diff_of_gauss) image → image GPU: none — DoG (Difference of Gaussians) filter. Takes the difference between images blurred with two different sigma values, cheaply obtaining a bandpass response close to LoG (Laplacian of Gaussian) - edge/blob detection that emphasizes only a specific spatial-frequency band. · examples: gallery2d_edgessk_farid (halcon: edges_image) image → image GPU: none — Farid-Simoncelli gradient magnitude. Directly calls skimage’s filters.farid. A gradient magnitude produced by an optimized 5-tap derivative kernel, said to have even smaller rotational-symmetry (directional) error than Sobel/Scharr. · examples: gallery2d_edgessk_hessian_det image → image GPU: none — Blob detection response via the Hessian determinant. The determinant of the second-derivative matrix (Hessian) is a signed response that is positive for blob-like structures and negative for saddle-like structures. · examples: gallery2d_edgessk_scharr (halcon: edges_image) image → image GPU: none — Scharr gradient magnitude. Directly calls skimage’s filters.scharr, returning the gradient magnitude obtained by combining the responses of the horizontal and vertical Scharr kernels (3x3). · examples: gallery2d_edgessobel_amp (halcon: sobel_amp) image → image GPU: yes (sobel_amp@twin) — The magnitude of the Sobel gradient (normalized hypot(sobel_x, sobel_y)). The most basic edge detection method, computing the magnitude of the gradient vector from the vertical and horizontal first-derivative kernels. Equivalent to HALCON’s sobel_amp (Detect edges (amplitude) using the Sobel operator.). · examples: degenerate_inputs, find_ops_by_meaning, gallery2d_edges, genspark_external_review, poc_fiber_orientation, poc_focus_stacking, poc_real_coin_metrology, poc_white_balancesobel_dir (halcon: sobel_dir) image → image GPU: yes (sobel_dir) — The direction of the Sobel gradient (arctan2(dy, dx) mapped to [0,1], where 0=-pi and 1=+pi). The counterpart to sobel_amp, which returns magnitude; this operation computes the direction an edge runs in. Equivalent to HALCON’s sobel_dir (Detect edges (amplitude and direction) using the Sobel operator.) (HALCON returns amplitude and direction together, but here direction is separated out as its own op). · examples: gallery2d_edges, poc_document_scan, poc_fiber_orientationsobel_mag (halcon: sobel_amp) image → image GPU: yes (sobel_amp) — Gradient magnitude via the Sobel filter (edge detection). Equivalent to HALCON’s sobel_amp (Detect edges (amplitude) using the Sobel operator.). · examples: find_ops_by_meaning, gallery2d_edges, poc_real_sem_metal_layertf_phase_congruency image → image GPU: yes (allow-list) — phase_congruency: a simplified monogenic phase-congruency feature map. · examples: gallery2d_edges, poc_iqa_fsim_gmsd_viftf_steerable_filter image → image GPU: yes (allow-list) — steerable_filter: oriented first-derivative-of-Gaussian response. · examples: gallery2d_edgesxdog image → image GPU: yes (allow-list) — XDoG (extended difference of Gaussians; Winnemoller, Kyprianidis and Olsen 2012): line-art / ink-drawing stylisation. · examples: gallery2d_edgesxkor_dog image → image GPU: none — DoG (Difference of Gaussians) blob response. Calls kornia.feature.dog_response_single (falling back to dog_response if unavailable) with default parameters, takes the absolute value, and normalizes by the maximum absolute value. · examples: gallery2d_edgesxkor_gftt image → image GPU: none — GFTT (Good Features To Track, Shi-Tomasi) corner response. Calls kornia.feature.gftt_response with default parameters, takes the absolute value, and normalizes by the maximum absolute value. · examples: gallery2d_edgesxkor_harris image → image GPU: none — Harris corner response. Calls kornia.feature.harris_response and maps the signed response to [0,1] with signed01 (keeping the sign information of the Harris response - positive for corners, negative for edges - while fitting it into a visualizable range). · examples: gallery2d_edgesxkor_hessian image → image GPU: none — Blob/corner response from the determinant of the Hessian, det H = Ixx·Iyy − Ixy². Applies the 5x5 Sobel second-derivative kernels of kornia.filters.spatial_gradient without normalisation (normalized=False) and divides by 64 (which gives the derivatives themselves on quadratic and cubic surfaces), replicates the border, takes the absolute value and normalises by the maximum absolute value. · examples: gallery2d_edgesxkor_laplacian image → image GPU: none — Edge/blob response via the Laplacian (2nd derivative). Calls kornia.filters.laplacian, takes the absolute value, then normalizes by the maximum absolute value. · examples: gallery2d_edgesxpil_contour image → image GPU: none — Pillow’s contour extraction filter. Uses the fixed kernel of PIL.ImageFilter.CONTOUR to create an effect that leaves only outlines as black lines on a white background (a pen-drawing/line-art style effect). · examples: gallery2d_edgesxpil_find_edges image → image GPU: none — Pillow’s edge detection filter. Enhances edges using the fixed kernel (Laplacian-type) of PIL.ImageFilter.FIND_EDGES. · examples: find_ops_by_meaning, gallery2d_edgesxsk2_corner_kr image → image GPU: none — Kitchen-Rosenfeld corner detection response. Calls skimage.feature.corner_kitchen_rosenfeld, replaces NaN with 0, then maps the signed response to [0,1] via signed01. · examples: gallery2d_edgesxsk2_inv_gauss_grad image → image GPU: none — Inverse Gaussian gradient image (the edge-stopping function for Active Contour / GAC). Calls skimage.segmentation.inverse_gaussian_gradient. · examples: gallery2d_edgesxsk3_corner_fast image → image GPU: none — FAST corner detection (skimage feature.corner_fast). A fast technique that compares against the pixels on a circle around the center pixel and detects as corners locations where a run of consecutively brighter/darker pixels continues for at least a certain count. The result is a response map normalized by its maximum absolute value. · examples: gallery2d_edgesxsk3_corner_moravec image → image GPU: none — Moravec corner detection (skimage feature.corner_moravec). One of the most classic corner detectors (a predecessor of Harris/Shi-Tomasi), which takes as the corner strength the minimum pixel-value difference obtained by shifting a small window centered on each pixel up/down/left/right/diagonally. The result is normalized by its maximum absolute value. · examples: gallery2d_edgesxsk_hessian_eig image → image GPU: none — Blob/ridge strength based on the largest eigenvalue (absolute value) of the Hessian matrix. · examples: gallery2d_edgesxsp_gauss_grad_mag image → image GPU: yes (allow-list) — Edge detection via the Gaussian gradient magnitude (scipy.ndimage.gaussian_gradient_magnitude). · examples: find_ops_by_meaning, gallery2d_edgesxsp_morph_laplace image → image GPU: yes (allow-list) — Edge enhancement via the morphological Laplacian (scipy.ndimage.morphological_laplace). · examples: gallery2d_edgesxwt_directional_detail image → image GPU: none — Directional edge detection. Selects one of the horizontal (cH), vertical (cV), or diagonal (cD) detail subbands from a single-level db2 decomposition, normalizes its absolute value, then block-upsamples it back to the original resolution (2x2 replication via kron) and returns it. · examples: gallery2d_edgesxwt_hf_reconstruct image → image GPU: none — High-frequency reconstructed image. Decomposes with db2 over 2 levels, zeroes out only the approximation coefficients (the low-frequency component), then reconstructs via inverse transform – the result resembles a high-pass-filtered image, leaving only edges and texture. Min-max normalized after reconstruction. · examples: gallery2d_edgesxsitk_closing_by_recon image → image GPU: none — Closing by reconstruction (SimpleITK ClosingByReconstruction, the dual of xsitk_opening_by_recon). Performs the erosion after dilation as masked reconstruction, filling only small dark depressions while preserving contours. · examples: gallery2d_color_artisticxsitk_confidence_connected image → region GPU: none — Confidence-connected region growing (SimpleITK ConfidenceConnected). Uses the image center as a seed, builds an interval of ‘mean +/- multiplier * standard deviation’ from the mean and standard deviation of the current region, and expands the connected region while iteratively updating this interval (a more statistical way of choosing the threshold than xsitk_connected_threshold). · examples: gallery2d_color_artisticxsitk_connected_threshold image → region GPU: none — Connected threshold region growing (SimpleITK ConnectedThreshold, region growing). Uses the pixel at the image center as a seed and grows the region to include only pixels connected to the center that fall within an intensity interval centered on that pixel’s value. · examples: gallery2d_color_artisticxsitk_curv_aniso_diff image → image GPU: none — Curvature anisotropic diffusion (SimpleITK CurvatureAnisotropicDiffusion). A type of Perona-Malik-style anisotropic diffusion that suppresses diffusion at edges (locations with large gradients) and diffuses freely in flat areas, smoothing while preserving edges. · examples: gallery2d_color_artisticxsitk_curvature_flow image → image GPU: none — Curvature flow smoothing (SimpleITK CurvatureFlow). A nonlinear diffusion that blurs the image at a speed proportional to the curvature of its contour lines; straight edges tend to be preserved while rounded details disappear first. · examples: gallery2d_color_artisticxsitk_grayscale_fillhole image → image GPU: none — Grayscale fill hole (SimpleITK GrayscaleFillhole). Uses morphological reconstruction to fill dark holes in the image (local depressions darker than their surroundings) up to the brightness of the surroundings. The grayscale equivalent of binary hole-filling, used as a preprocessing step for spot removal and defect completion. · examples: gallery2d_color_artisticxsitk_grayscale_grindpeak image → image GPU: none — Grayscale grind peak (SimpleITK GrayscaleGrindPeak, the dual of xsitk_grayscale_fillhole). Uses morphological reconstruction to grind down local peaks brighter than their surroundings to the surrounding height. Used to remove highlight spikes. · examples: gallery2d_color_artistic, poc_weld_radiograph_porosityxsitk_huang_thresh image → region GPU: none — Binarization by Huang’s fuzzy entropy method (SimpleITK HuangThreshold). Chooses the threshold that minimizes the ambiguity (fuzzy entropy) of the foreground/background viewed as a fuzzy set. · examples: gallery2d_color_artistic, threshold_family_agreementxsitk_laplacian_sharpen image → image GPU: none — Laplacian sharpening (SimpleITK LaplacianSharpening). A type of unsharp masking that enhances edges by subtracting the Laplacian (second derivative) from the image. Returns the result after min-max normalization. · examples: gallery2d_color_artisticxsitk_maxentropy_thresh image → region GPU: none — Binarization by the maximum entropy method (SimpleITK MaximumEntropyThreshold, Kapur’s method). A global thresholding technique that selects the threshold maximizing the sum of entropies when the histogram is split into foreground/background classes. · examples: gallery2d_color_artistic, mcp_task_score, threshold_family_agreementxsitk_minmax_curv_flow image → image GPU: none — Min/Max curvature flow smoothing (SimpleITK MinMaxCurvatureFlow). A variant of the same curvature flow as xsitk_curvature_flow that adds a decision based on the local minimum/maximum, smoothing while filling in small holes and speckle noise. · examples: gallery2d_color_artistic, genspark_external_reviewxsitk_moments_thresh image → region GPU: none — Binarization by the moment-preserving method (SimpleITK MomentsThreshold, Tsai’s method). Selects the threshold so that the statistical moments (mean, variance, etc.) of the binarized histogram match those of the original histogram. · examples: gallery2d_color_artistic, threshold_family_agreementxsitk_opening_by_recon image → image GPU: none — Opening by reconstruction (SimpleITK OpeningByReconstruction). Unlike ordinary grayscale opening (erosion followed by dilation), the dilation after erosion is performed as masked reconstruction, so only small bright protrusions are removed without distorting the contours of the remaining regions. · examples: gallery2d_color_artisticxsitk_signed_maurer_dist region → image GPU: none — The signed distance map (SimpleITK SignedMaurerDistanceMap) compressed into [0,1] using tanh. Represents the distance from the boundary of a binary region (both inside and outside) as an image of continuous values where positions closer to the boundary move further from 0.5. · examples: gallery2d_color_artisticarea_center (halcon: area_center) region → match GPU: inside a chain only (lbl_area_center) — Returns the area and centroid of a region as the 3-component vector (area [pixel count], centroid row [px], centroid column [px]) — the same three values in the same units as HALCON’s area_center (Area and center of regions.). · examples: example_inner_diameter_mm, gallery2d_featuresarea_center_xld (halcon: area_center_xld) contour → match GPU: none — Returns the area and centroid of the polygon enclosed by the contour with the most points as the 3-component vector (area [px²], centroid row [px], centroid column [px]) — three of the four values of HALCON’s area_center_xld (Area and center of gravity (centroid) of contours and polygons.), leaving out the orientation flag PointOrder. · examples: gallery2d_featuresarea_frac (halcon: area_center) region → feature GPU: inside a chain only (lbl_area_frac) — A feature that returns the fraction of pixels occupied by a region (area ratio). Unlike HALCON’s area_center (Area and center of regions.), it returns only the area and does not compute the centroid (it corresponds to only part of that function). · examples: gallery2d_features, shape_factors_closed_form, threshold_family_agreementarea_holes (halcon: area_holes) region → feature GPU: inside a chain only (lbl_area_holes) — The area ratio occupied by holes inside a region: (area after hole-filling - original area) / area after hole-filling. The closer to 0, the fewer holes; the closer to 1, an extreme shape where most of the area is holes. Equivalent to HALCON’s area_holes (Compute the area of holes of regions.). · examples: gallery2d_featuresblob_count (halcon: count_obj) region → feature GPU: inside a chain only (lbl_blob_count) — Number of connected components in the region (HALCON count_obj). · examples: gallery2d_features, mcp_task_score, poc_real_coin_metrology, quickstartcircularity (halcon: circularity) region → feature GPU: inside a chain only (lbl_circularity) — Circularity min(1, area / (pi * max^2)), where max is the largest distance from the centre of gravity to a contour pixel. It is 1 for a circle and smaller for elongated shapes or ones with large bulges or holes. If several connected components are present, only the largest one is evaluated. The same formula as HALCON’s circularity (Shape factor for the circularity (similarity to a circle) of a region.). · examples: gallery2d_features, poc_cell_counting, poc_particle_sizing, poc_rotation_invariance_audit, shape_factors_closed_formcircularity_xld (halcon: circularity_xld) contour → feature GPU: none — For the largest contour, computes min(1, F/(pi * max^2)) from the shoelace area F and the largest distance max from the centre of gravity of the enclosed area to a contour point (the contour counterpart of circularity). The same formula as HALCON’s circularity_xld (Shape factor for the circularity (similarity to a circle) of contours or polygons.). · examples: gallery2d_featurescompactness (halcon: compactness) region → feature GPU: inside a chain only (lbl_compactness) — Compactness max(1, perimeter^2 / (4pi * area)). It is 1 for a circle and grows with elongation, roughness and holes, with no upper bound. The same quantity as HALCON’s compactness (Shape factor for the compactness of a region.). · examples: gallery2d_features, shape_factors_closed_formcompactness_xld (halcon: compactness_xld) contour → feature GPU: none — For the largest contour, computes the compactness max(1, perimeter^2/(4pi * area)) (the contour counterpart of compactness). It is 1 for a circle and grows with elongation and roughness, with no upper bound. The same formula as HALCON’s compactness_xld (Shape factor for the compactness of contours or polygons.). · examples: gallery2d_featuresconnect_and_holes (halcon: connect_and_holes) region → feature GPU: inside a chain only (lbl_connect_and_holes) — Counts the number of connected components in the region (8-connectivity, the same count branch of _sh_region_feat used by count_obj). a and b are unused. · examples: gallery2d_featurescontlength (halcon: contlength) region → feature GPU: yes (lbl_contlength) — The perimeter of a region in pixels (perimeter from regionprops) — the same quantity in the same unit as HALCON’s contlength (Contour length of a region.). · examples: gallery2d_features, scale_law_of_featuresconvexity (halcon: convexity) region → feature GPU: none — Convexity area / convex-hull area (the closer to 1, the closer to a convex shape). The ratio of area to area_convex from skimage.measure.regionprops. Equivalent to HALCON’s convexity (Shape factor for the convexity of a region.). · examples: gallery2d_features, shape_factors_closed_formconvexity_xld (halcon: convexity_xld) contour → feature GPU: none — For the largest contour, computes convexity as contour area / convex hull area (cv2.convexHull + cv2.contourArea). Without cv2 it stops with MissingDependencyError (until 2026-10-25 it always returned 1.0 = fully convex). Corresponds to HALCON’s convexity_xld (Shape factor for the convexity of contours or polygons.). · examples: gallery2d_featurescount_channels (halcon: count_channels) color → feature GPU: none — Counts the number of channels in an image. Corresponds to HALCON’s count_channels (counts the number of channels in an image). · examples: gallery2d_featurescount_contours (halcon: count_obj) contour → feature GPU: none — A feature that returns the number of contours (objects). Equivalent to HALCON’s count_obj (Number of objects in a tuple.). · examples: gallery2d_featurescount_obj (halcon: count_obj) region → feature GPU: inside a chain only (lbl_count_obj) — Counts the number of connected components (ndimage.label, default 8-connectivity). Uses 8-connectivity, the same default as HALCON’s count_obj/connection, so two blobs touching diagonally are counted as one (an example where switching to 4-connectivity causes over-counting – measured cell counts of 342 vs. 327; see the in-code comment). Equivalent to HALCON’s count_obj (Number of objects in a tuple.). · examples: gallery2d_features, mcp_task_scorecv_cc_count (halcon: connection) region → feature GPU: inside a chain only (lbl_cv_cc_count) — Connected component count (a single scalar feature, OpenCV implementation). Counts the number of connected components (blobs of foreground) in a binary region - returns the count after subtracting 1 for the background label. · examples: gallery2d_features, genspark_external_reviewcv_good_features image → feature GPU: none — High-quality corner detection via the Shi-Tomasi method (a single scalar feature, OpenCV implementation). Evaluates “corner-ness” using the same minimum-eigenvalue criterion as cv_min_eigen, and detects the top corners after thinning them out with non-maximum suppression and a minimum-distance filter - here, only the number of detected corners is returned (0 if none). · examples: gallery2d_featurescv_hough_circles (halcon: hough_circles) image → feature GPU: none — Circle detection via the Hough transform (a single scalar feature, OpenCV implementation). Detects circle centers and radii by voting, using the HOUGH_GRADIENT method that relies on edge gradient information - here, only the number of detected circles is returned (0 if none). · examples: gallery2d_featurescv_hough_lines (halcon: hough_lines) image → feature GPU: none — Line (line-segment) detection via the probabilistic Hough transform (a single scalar feature, OpenCV implementation). First creates an edge image with Canny, then uses a voting scheme to find sets of edge pixels arranged in a line and detects them as segments - here, only the number of detected segments is returned (0 if none). · examples: gallery2d_featuresdiameter_region (halcon: diameter_region) region → feature GPU: none — The diameter of a region in pixels = the maximum distance between two boundary points (the longest chord) — the same quantity in the same unit as HALCON’s diameter_region (Maximal distance between two boundary points of a region.). · examples: gallery2d_featuresdiameter_xld (halcon: diameter_xld) contour → feature GPU: none — The diameter of the contour with the most points in pixels = the maximum distance between two contour points (the longest chord) — the same quantity in the same unit as HALCON’s diameter_xld (Maximum distance between two contour or polygon points.). · examples: gallery2d_featureseccentricity (halcon: eccentricity) region → match GPU: inside a chain only (lbl_eccentricity) — Returns the three ellipse-derived shape features (Anisometry, Bulkiness, StructureFactor) as a 3-component vector of match sort (a single scalar cannot carry three values — the same shape as area_center). · examples: gallery2d_features, poc_rotation_invariance_auditeccentricity_xld (halcon: eccentricity_xld) contour → match GPU: none — Contour counterpart of eccentricity. For the largest contour it returns (Anisometry, Bulkiness, StructureFactor) as a 3-component vector of match sort. The same three values and the same formulas as HALCON’s eccentricity_xld (Shape features derived from the ellipse parameters of contours or polygons.). · examples: gallery2d_featureseffective_bit_depth image → feature GPU: none — Estimates the number of bits the image actually uses and returns it mapped to [0,1] (feature). · examples: gallery2d_featureselliptic_axis (halcon: elliptic_axis) region → match GPU: yes (lbl_elliptic_axis) — Returns (Ra, Rb, Phi) of the equivalent ellipse of the region (the ellipse with the same moments of inertia) as a 3-component vector of match sort — Ra/Rb are the major and minor semi-axes in pixels, Phi is the angle of the major axis (radians, counter-clockwise from the column axis). The same three values as HALCON’s elliptic_axis (Calculate the parameters of the equivalent ellipse.). · examples: gallery2d_featureselliptic_axis_xld (halcon: elliptic_axis_xld) contour → match GPU: none — Fits an ellipse to the contour with the most points (cv2.fitEllipse) and returns (Ra, Rb, Phi) as a 3-component match sort vector — Ra/Rb are the semi-major and semi-minor axes [px], Phi the main-axis angle (radians, from the column axis counter-clockwise on screen with rows pointing down, greater than -π/2 and at most π/2). The same three values as HALCON’s elliptic_axis_xld (Parameters of the equivalent ellipse of contours or polygons.). · examples: gallery2d_featuresentropy_gray (halcon: entropy_gray) image → feature GPU: none — The Shannon entropy of grayscale levels (computed from a 64-bin histogram and normalized by its maximum value, log2(64)=6 bits). Represents the “spread/information content” of the gray-level distribution – the value is larger for more uniform images and approaches 0 as the image is biased toward a single gray level. HALCON’s entropy_gray (Determine the entropy and anisotropy of images.) returns a pair of entropy and anisotropy, but this stand-in implements only the entropy. · examples: gallery2d_featuresestimate_noise (halcon: estimate_noise) image → feature GPU: none — Robustly estimates the standard deviation σ of additive noise (_noise_sigma: converts the MAD of the Laplacian response to a Gaussian-equivalent scale, then divides by the noise gain sqrt(20) of the 5-point Laplacian kernel). Designed to be insensitive to edge-derived outliers and pick up only the noise in flat areas (a bug in the old implementation, where “σ had no proper unit and saturated to 1.0 above σ≈0.08,” was fixed on 2026-09-02 — see the _noise_sigma docstring for details). Corresponds to HALCON’s estimate_noise (Estimate the image noise from a single image.). · examples: gallery2d_features, poc_weld_radiograph_porosityeuler_number (halcon: euler_number) region → feature GPU: none — Euler number (skimage.measure.euler_number, a topological invariant equal to the number of connected components minus the number of holes). A smaller value (closer to negative) indicates more holes. Equivalent to HALCON’s euler_number (Calculate the Euler number.). · examples: gallery2d_featuresfractal_dimension image → feature GPU: none — Minkowski–Bouligand (box-counting) fractal dimension, which measures the complexity of a texture. · examples: gallery2d_features, poc_endless_zoom_and_turning_solids, poc_theorems_as_picturesget_region_thickness (halcon: get_region_thickness) region → feature GPU: none — An approximation of a region’s thickness in pixels, 2 × largest inscribed radius (twice the maximum of distance_transform_edt). Outside the image is treated as background (a region touching the border also gets the same thickness as when the image is enlarged; a full 60x80 gives 60). · examples: gallery2d_features, poc_bone_trabecular_thicknessgray_histo_abs (halcon: gray_histo_abs) image → feature GPU: none — Returns the standard deviation of the image’s gray levels (x.std()). HALCON’s gray_histo_abs (Calculate the gray value distribution.) is originally an operator that returns the entire histogram (bin counts for each gray level), but this stand-in summarizes it not as the histogram itself but as a single scalar – the standard deviation representing the spread of the distribution (an approximation, due to the contractual constraint that this pipeline’s feature sort must be a single scalar). · examples: gallery2d_featuresheight_width_ratio (halcon: height_width_ratio) region → feature GPU: inside a chain only (lbl_height_width_ratio) — Aspect ratio height / width of the axis-parallel surrounding rectangle. There is no upper bound — a tall region exceeds 1 (160x4 gives 40.0). It is the same quantity as the Ratio among the three values HALCON’s height_width_ratio (Compute the width, height, and aspect ratio of the surrounding rectangle parallel to the coordinate axes.) returns (Height and Width are pixel lengths and are not returned — see docs/KNOWN_ISSUES.md §51). · examples: gallery2d_featureshough_circle_trans (halcon: hough_circle_trans) image → image GPU: none — The Hough transform for circle detection. Computes skimage.transform.hough_circle on the edge mask with a set of circle templates of radius 4 to 19 (in steps of 3), and returns the maximum response across all radii normalized to [0,1]. Corresponds to HALCON’s hough_circle_trans (Return the Hough-Transform for circles with a given radius.) (HALCON explicitly specifies the radius, but this is an approximation that brute-forces a fixed range). · examples: gallery2d_features, poc_real_coin_metrologyhough_line_trans (halcon: hough_line_trans) image → image GPU: none — The Hough transform accumulator for line detection. First creates an edge mask from the Sobel gradient, computes the accumulator space (angle x distance) with skimage.transform.hough_line, normalizes it, then resizes it to the same pixel shape as the input before returning (visualized as an image rather than in the accumulator’s own coordinate system). Corresponds to HALCON’s hough_line_trans (Produce the Hough transform for lines within regions.). · examples: gallery2d_featuresintensity (halcon: intensity) image → feature GPU: none — Returns the average brightness of the image (x.mean()). HALCON’s intensity (Calculate the mean and deviation of gray values.) is an operator that returns a pair of mean and standard deviation, but this stand-in returns only the mean (if the standard deviation is needed, combine it with gray_histo_abs, which returns the standard deviation std). · examples: gallery2d_bridge, gallery2d_features, poc_multibeam_bathymetry, poc_patch_anomaly, poc_pocket_interreflection, poc_pxrd_phase_peel, poc_solder_fillet_aoi, poc_video_cubelength_xld (halcon: length_xld) contour → feature GPU: none — The total length obtained by summing the segment lengths (Euclidean distance between adjacent points) of all contours. When there are multiple contours, they are all added together. Equivalent to HALCON’s length_xld (Length of contours or polygons.). · examples: gallery2d_featuresmin_max_gray (halcon: min_max_gray) image → feature GPU: none — Returns only the maximum gray value of the image (x.max()). HALCON’s min_max_gray (Determine the minimum and maximum gray values within regions.) is originally an operator that returns both the minimum and maximum, but this stand-in implements only the maximum, so the minimum information is lost (an approximation with missing data – to be honest, it computes only half of what its name ‘min_max’ implies). · examples: gallery2d_featuresmoments_region_2nd (halcon: moments_region_2nd) region → feature GPU: yes (lbl_moments_region_2nd) — The absolute value of the sum of the normalized central second-order moments, |mu20 + mu02| (derived from skimage.measure.moments_normalized). HALCON’s moments_region_2nd (Calculate the geometric moments of regions.) originally returns M20/M02/M11 separately, but this stand-in approximates them with a composite value obtained by simply adding the two components to reduce them to a single scalar (the individual directional components are lost). · examples: gallery2d_features, scale_law_of_featuresmoments_region_2nd_invar (halcon: moments_region_2nd_invar) region → feature GPU: yes (lbl_moments_region_2nd_invar) — Deprecated compatibility alias. It calls moments_region_2nd directly, returns the same value, and emits DeprecationWarning; use moments_region_2nd before removal in 2.0. · examples: gallery2d_features, poc_rotation_invariance_auditmoments_region_2nd_rel_invar (halcon: moments_region_2nd_rel_invar) region → feature GPU: yes (lbl_moments_region_2nd_rel_invar) — The absolute value of Hu’s third invariant moment (hu[2]). Note that the name (2nd_rel_invar) and the implementation (Hu’s third invariant) do not strictly correspond — this is not HALCON’s own “second-order relative invariant moment” but simply an approximation assigned from the generic Hu invariant-moment series. A stand-in for HALCON’s moments_region_2nd_rel_invar (Geometric moments of regions.). · examples: gallery2d_featuresmoments_region_3rd (halcon: moments_region_3rd) region → feature GPU: inside a chain only (lbl_moments_region_3rd) — The absolute value of the sum of normalized central third-order moments, |μ30 + μ03|. This is the third-order version of moments_region_2nd, also an approximation using a composite value obtained by simply summing multiple components (the individual directional components are lost). Corresponds to HALCON’s moments_region_3rd (Geometric moments of regions.). · examples: gallery2d_features, scale_law_of_featuresmoments_region_3rd_invar (halcon: moments_region_3rd_invar) region → feature GPU: yes (lbl_moments_region_3rd_invar) — The absolute value of Hu’s fourth invariant moment (hu[3]). Assigned sequentially from the Hu moment array as one of the moments_region_*_invar series (an approximation without strict correspondence to HALCON’s own definition). A stand-in for HALCON’s moments_region_3rd_invar (Geometric moments of regions.). · examples: gallery2d_featuresmoments_region_central (halcon: moments_region_central) region → feature GPU: inside a chain only (lbl_moments_region_central) — The absolute value of the sum of normalized central moments (up to second order), |μ20+μ11+μ02|. An approximation corresponding to HALCON’s moments_region_central (Geometric moments of regions.), composed from multiple components into a single scalar. · examples: gallery2d_features, scale_law_of_featuresmoments_region_central_invar (halcon: moments_region_central_invar) region → feature GPU: inside a chain only (lbl_moments_region_central_invar) — The absolute value of Hu’s second invariant moment (hu[1]). An approximation corresponding to HALCON’s moments_region_central_invar (Geometric moments of regions.) (whereas moments_region_2nd_invar uses Hu[0], this one uses Hu[1] — neither is a strict substitute for HALCON’s own relative invariant moments). · examples: gallery2d_features, poc_rotation_invariance_auditmoments_xld (halcon: moments_xld) contour → feature GPU: none — Computes a single scalar, (mu20+mu02)/area², from the raw moments of the contour (cv2.moments) — an approximation that composes into one value the three components M20/M02/M11 that HALCON’s moments_xld (Geometric moments M20, M02, and M11 of contours or polygons.) returns (the individual directional components and M11 are lost). · examples: gallery2d_featuresorientation_region (halcon: orientation_region) region → feature GPU: yes (lbl_orientation_region) — Orientation of the region’s principal axis as θ / 180 (θ is the angle of the equivalent ellipse’s major axis, measured from the column axis counter-clockwise on screen with rows pointing down, in [0, 180] degrees; multiply by 180 for degrees; implemented as regionprops’s orientation mapped by (orientation + π/2) / π). The same sense as HALCON’s orientation_region (Orientation of a region.) — HALCON decides the direction by the farthest point and returns radians in -π..π, whereas this op folds to 180 degrees and normalises to [0,1]. It agrees with elliptic_axis’s Phi (radians) as θ ≡ Phi (mod π). · examples: gallery2d_featuresorientation_xld (halcon: orientation_xld) contour → feature GPU: none — The main-axis angle θ / 180 of the ellipse fitted (cv2.fitEllipse) to the largest contour (θ measured from the column axis counter-clockwise on screen, rows pointing down, folded into [0, 180) degrees). The same convention as the region version orientation_region (multiply by 180 for degrees). HALCON’s orientation_xld (Calculate the orientation of contours or polygons.) returns the angle in the same sense as radians in -π..π (direction decided by the farthest point), so this is the version folded at 180 degrees and normalised to [0,1). · examples: gallery2d_featuresrectangularity (halcon: rectangularity) region → feature GPU: none — Rectangularity. A rectangle with the same first and second order moments is constructed and the area of the difference to the region is normalised by the area of that rectangle (1 - |region XOR rectangle| / |rectangle|); it is 1 for a rectangle. The same definition as HALCON’s rectangularity (Shape factor for the rectangularity of a region.). · examples: gallery2d_features, shape_factors_closed_formrectangularity_xld (halcon: rectangularity_xld) contour → feature GPU: none — Contour counterpart of rectangularity. The contour is filled and the area of the difference to a rectangle with the same first and second order moments is normalised by the area of that rectangle; it is 1 for a rectangle. The same definition as HALCON’s rectangularity_xld (Shape factor for the rectangularity of contours or polygons.). · examples: gallery2d_featuresroundness (halcon: roundness) region → feature GPU: inside a chain only (lbl_roundness) — Roundness 1 - sigma/mu, where mu and sigma are the mean and standard deviation of the distances from the centre of gravity to the contour pixels; the more uniform those distances are (the rounder the shape), the closer to 1. The same formula as HALCON’s roundness (Shape factors from contour.). · examples: gallery2d_features, shape_factors_closed_formsk_blur_effect image → feature GPU: none — Blur estimation (a single scalar feature). Deliberately re-blurs the image slightly and compares how much edge sharpness changes between the original and re-blurred versions, returning a score from 0 (no blur) to 1 (maximally blurred) – quantifies focus/motion blur without a reference image. · examples: gallery2d_features, poc_real_deblur_honestysk_entropy_feat (halcon: entropy_gray) image → feature GPU: none — Shannon entropy of the whole image (a single scalar feature). Summarizes the spread/information content of the brightness histogram in one number – a higher value indicates the brightness distribution is more evenly spread out (more information / richer contrast). · examples: gallery2d_featuressk_euler (halcon: euler_number) region → feature GPU: none — Euler number. A topological feature defined as “number of connected components minus number of holes” – an integer that represents only the region’s connectivity, not its shape itself (position or size). · examples: gallery2d_featurestotal_length (halcon: length_xld) contour → feature GPU: none — A feature that returns the total arc length of all XLD contours. Equivalent to HALCON’s length_xld (Length of contours or polygons.). · examples: gallery2d_features, poc_solar_el_inspectionvol_count volume → feature GPU: none — A feature that returns the number of connected components (blobs) in a 3D volume. No corresponding HALCON op is specified. · examples: gallery2d_featuresxcv2_fast_count image → feature GPU: none — Number of keypoints detected by the FAST corner detector (cv2.FastFeatureDetector). · examples: gallery2d_featuresxcv2_lap_var image → feature GPU: none — Focus (blur) metric based on Laplacian variance (variance of cv2.Laplacian). · examples: gallery2d_features, poc_focus_stackingxcv3_agast_count image → feature GPU: none — AGAST keypoint count (OpenCV AGAST detector, an adaptive tree-structure version of FAST). Returns the number of detected keypoints as a feature. · examples: gallery2d_featuresxcv3_brisk_count image → feature GPU: none — BRISK keypoint count (OpenCV BRISK detector). Returns as a feature the number of keypoints detected by this fast, binary-descriptor-based keypoint detector. · examples: gallery2d_featuresxcv3_gray_hu1 image → feature GPU: none — The first Hu invariant moment of a grayscale image (OpenCV cv2.HuMoments(cv2.moments(...))[0,0]). A feature representing the rotation-, scale-, and translation-invariant spread, based on the second-order central moment, when the grayscale values themselves - rather than a binary shape - are treated as a mass distribution. Capped at 1.0. · examples: gallery2d_featuresxcv3_lsd_count image → feature GPU: none — Number of detected line segments (Line Segment Detector, LSD, via OpenCV cv2.createLineSegmentDetector). Returns as a feature the number of straight line segments detected in the image (since the implementation returns None when there are zero detections, that case is treated as 0). · examples: gallery2d_featuresxcv3_sift_count image → feature GPU: none — SIFT keypoint count (OpenCV cv2.SIFT_create().detect). Returns as a feature the number of scale-invariant feature points (SIFT keypoints) detected in the image - an indicator of texture complexity / the richness of feature points usable for matching. · examples: gallery2d_featuresxcv_orb_count image → feature GPU: none — Number of keypoints detected by OpenCV’s ORB (Oriented FAST and Rotated BRIEF). · examples: gallery2d_featuresxsk3_estimate_sigma image → feature GPU: none — Noise standard deviation estimation (skimage restoration.estimate_sigma, Donoho’s estimator based on the median absolute deviation (MAD) of wavelet coefficients). Returns the estimate multiplied by 5 and capped at 1.0 as a feature. · examples: gallery2d_featuresxsk3_is_low_contrast image → feature GPU: none — Low-contrast image determination (skimage exposure.is_low_contrast). Returns as a 0.0/1.0 feature the boolean judging whether the image’s brightness range uses less than fraction_threshold of the full possible range. · examples: gallery2d_featuresxsk_blob_dog image → feature GPU: none — Number of detected blobs (speckle-like structures) (detected using one of LoG/DoG/DoH). · examples: gallery2d_featuresxsk_blob_doh image → feature GPU: none — Number of detected blobs (speckle-like structures) (detected using one of LoG/DoG/DoH). · examples: gallery2d_featuresxsk_blob_log image → feature GPU: none — Number of detected blobs (speckle-like structures) (detected using one of LoG/DoG/DoH). · examples: gallery2d_features, poc_search_sweep_widthxsk_orb_count image → feature GPU: none — Number of ORB (Oriented FAST and Rotated BRIEF) keypoints detected. · examples: gallery2d_featuresxwt_detail_energy image → feature GPU: none — Energy ratio of the wavelet detail components. Decomposes with db2 over 3 levels and returns the sum of mean squares of all detail coefficients (horizontal/vertical/diagonal at each level) divided by the total energy – that sum plus the mean square of the approximation component. A measure of how much of the image’s total energy is high-frequency (texture/noise/edges); the range is roughly [0,1). · examples: gallery2d_featuresxwt_packet_entropy image → feature GPU: none — Energy dispersion of wavelet packets (Shannon entropy). Performs a depth-2 wavelet packet decomposition with db1, treats the normalized distribution of the energy (sum of squared coefficients) of each of the 16 leaf subbands as a probability distribution, computes its Shannon entropy, and normalizes it to [0,1] by dividing by log2(16). · examples: gallery2d_featurestf_gradient_domain_reintegrate image → image GPU: yes (allow-list) — gradient_domain_reintegrate: threshold the gradient, then Poisson-reintegrate. · examples: gallery2d_smoothing_rankbandpass_image (halcon: bandpass_image) image → image GPU: yes (bandpass_image) — A band-pass filter that passes only a specified band in the frequency domain (blocking both low and high frequencies), transformed back to real space via inverse FFT. As with highpass_image, the response is zero-mean and signed, so it is mapped to [0,1] with signed01. Corresponds to HALCON’s bandpass_image (Edge extraction using bandpass filters). · examples: gallery2d_texture_freqfft_generic (halcon: fft_generic) image → image GPU: yes (allow-list) — Returns the log-compressed amplitude spectrum of the image’s Fourier transform (log1p(|F|) normalized by its maximum). The center corresponds to low-frequency components and the periphery to high-frequency components (already fftshift-ed). a and b are unused. · examples: gallery2d_texture_freqfft_image (halcon: fft_image) image → image GPU: yes (allow-list) — An image obtained by compressing the power spectrum of the 2D FFT with log1p(|F|) and normalizing it. Already fftshift-ed so the low-frequency (DC) component sits at the center. Used to visualize the spatial frequency of periodic noise or texture. Corresponds to HALCON’s fft_image (Compute the fast Fourier transform of an image). · examples: degenerate_inputs, gallery2d_texture_freq, poc_moire_screenfft_image_inv (halcon: fft_image_inv) image → image GPU: yes (allow-list) — Treats the input image directly as an array in the frequency domain, applies an inverse FFT, and maps the real part to [0,1] with signed01 (0.5 is zero). HALCON’s fft_image_inv (Compute the inverse fast Fourier transform of an image.) is originally an operator that reverses the complex spectrum (real/imaginary pair) produced by fft_image, but because this stand-in is constrained by a pipeline contract that only handles a single grayscale image, it is an approximation that inverse-transforms the pixel values as-is, as a complex array with zero imaginary part (note that feeding the output of fft_image into this does not produce a semantically valid round trip). · examples: gallery2d_texture_freqhighpass (halcon: highpass_image) image → image GPU: yes (highpass_image) — High-pass filter via FFT (extracting contours and high-frequency components). Equivalent to HALCON’s highpass_image (Extract high frequency components from an image.). · examples: gallery2d_texture_freq, optics_four_f_processor, signal_filterhighpass_image (halcon: highpass_image) image → image GPU: yes (allow-list) — A high-pass filter that blocks low frequencies (radius <= 0.02+0.3*a) in the frequency domain and transforms the remainder back to real space via inverse FFT. Because the result is a zero-mean signed response, it is mapped to [0,1] with signed01 (0.5 represents zero, so it is normal for roughly half the pixels to fall below 0.5). Corresponds to HALCON’s highpass_image (Extract high frequency components from an image). · examples: gallery2d_texture_freq, poc_river_surface_velocitylowpass image → image GPU: yes (lowpass_image) — Low-pass filter via FFT (blurring). No corresponding single HALCON op has been specified. · examples: degenerate_inputs, gallery2d_texture_freq, optics_four_f_processor, signal_filterphase_deg (halcon: phase_deg) image → image GPU: inside a chain only (allow-list) — A phase-angle map of a complex image. Linearly maps np.angle(F) (-pi to pi) to [0,1] via (angle+pi)/(2*pi). a and b are unused. · examples: gallery2d_texture_freqphase_rad (halcon: phase_rad) image → image GPU: yes (allow-list) — The FFT phase angle(F) linearly mapped from radians to [0,1] (0 = -pi, 1 = +pi). Visualizes the phase information lost by the power spectrum (which carries most of the spatial positional information of the structure). Corresponds to HALCON’s phase_rad (Return the phase of a complex image in radians). · examples: gallery2d_texture_freqpower_byte (halcon: power_byte) image → image GPU: yes (allow-list) — The implementation is identical to fft_image (kind: "fft_power", log1p power spectrum). In HALCON, power_byte refers to a byte-quantized power spectrum for 8-bit output, but this substitute returns the same processing without distinguishing it from power_real/fft_image (a limitation of the approximation). A stand-in for HALCON’s power_byte (Return the power spectrum of a complex image). · examples: gallery2d_texture_freqpower_ln (halcon: power_ln) image → image GPU: yes (allow-list) — A stand-in for the power spectrum of a complex image. The implementation is identical to fft_generic: it applies its own FFT to the input image and returns the log of the amplitude, log1p(|F|), normalized by its maximum (sharing the fft_power branch of _sh_freq). a and b are unused. · examples: gallery2d_texture_freqpower_real (halcon: power_real) image → image GPU: yes (allow-list) — An image obtained by normalizing the absolute value of the real part of the FFT, |Re(F)| (unlike the logarithmic power spectrum of fft_image, this looks only at the real part without taking a logarithm). An approximation corresponding to HALCON’s power_real (Return the power spectrum of a complex image) – HALCON’s original definition is the power |
F | ^2, but here the absolute value of the real part is used as a substitute. · examples: gallery2d_texture_freq |
rft_generic (halcon: rft_generic) image → image GPU: yes (allow-list) — A stand-in for the real Fourier transform (real FFT, RFFT). The implementation computes an ordinary complex FFT and returns the absolute value of the real part, |Re F|, normalized by its maximum – it is not the half-size, real-only fast transform (data reduction exploiting symmetry) that HALCON’s rft_generic actually computes. a and b are unused. · examples: gallery2d_texture_freqsk_butterworth image → image GPU: none — Butterworth filter (frequency domain). Applies an FFT to the image and acts as a high-pass filter that passes only components above a specified cutoff frequency (called with the default high_pass=True). Emphasizes high-frequency components of contours and texture. · examples: gallery2d_texture_freqxsk2_radon image → image GPU: none — Sinogram (projection data) via the Radon transform. Calls skimage.transform.radon with a number of angles matched to the image’s longer side (0-180 degrees, evenly spaced with linspace), resizes the result back to the original image size, then normalizes by the maximum value. · examples: gallery2d_texture_freqxsp_dct image → image GPU: none — Displays the power spectrum of the 2D discrete cosine transform (DCT-II, ortho normalization) with logarithmic compression. · examples: gallery2d_texture_freqxsp_dct_lowpass image → image GPU: none — A low-pass filter that keeps only a low-frequency square block of DCT coefficients before applying the inverse transform. · examples: gallery2d_texture_freqxwt_mra_component image → image GPU: none — One level’s detail component from multiresolution analysis (MRA, pywt.mra2). Performing a 3-level MRA decomposition with db2 yields horizontal/vertical/diagonal components at each level as images at the same resolution as the original image (unlike ordinary wavelet decomposition, they are not downsampled). Here, one level is selected and a composite detail image – horizontal + vertical + diagonal summed – is min-max normalized and returned. · examples: gallery2d_texture_freqxwt_subband_tile image → image GPU: none — The 4 subbands of a single-level wavelet decomposition (pywt.dwt2, Haar) – approximation cA, horizontal cH, vertical cV, diagonal cD – tiled 2x2 into one image and min-max normalized. Literally a wavelet pyramid display. · examples: gallery2d_texture_freqaffine_trans_image (halcon: affine_trans_image) image → image GPU: yes (affine_trans_image) — A general affine transform combining rotation (-20 to +20 degrees, determined by a) and shear (determined by b). Applies ndimage.affine_transform relative to the center, filling outside the frame by reflection. Corresponds to HALCON’s affine_trans_image (Apply an arbitrary affine 2D transformation to images) – HALCON allows passing an arbitrary 2x3/3x3 transform matrix directly, but this is an approximation limited to a two-parameter rotation+shear. · examples: gallery2d_geometry, poc_change_detection_misregaffine_trans_image_size (halcon: affine_trans_image_size) image → image GPU: yes (affine_trans_image_size) — Applies an affine transform (rotation + shear) to the image. The implementation shares the affine branch of _sh_geom with affine_trans_image; a sets the rotation angle to -20 to +20 degrees, and b sets the shear amount. Out-of-bounds areas are filled by reflection (reflect). · examples: gallery2d_geometryaffine_trans_region (halcon: affine_trans_region) region → region GPU: yes (allow-list) — Applies an affine transform (rotation + shear) to a region. Transforms it as a continuous value using the same affine branch of _sh_geom as affine_trans_image, then re-binarizes it at 0.5 via _rebinarise and returns it as a {0,1} region (to remove intermediate values produced by geometric-transform interpolation). a sets the rotation angle (-20 to +20 degrees), and b sets the shear amount. · examples: gallery2d_geometryaffine_warp (halcon: affine_trans_image) image → image GPU: yes (affine_warp) — Applies an arbitrary affine transformation (rotation + shear) to an image. Equivalent to HALCON’s affine_trans_image (Apply an arbitrary affine 2D transformation to images.). · examples: gallery2d_geometrydeskew image → image GPU: none — Measures the tilt and straightens it (deskew). The angle is not given as a knob but estimated from the image. · examples: gallery2d_geometryit_add_image_border (halcon: add_image_border) image → image GPU: yes (allow-list) — add_image_border: pad a reflected border of width w around the image and fit the bordered canvas back into the original HxW frame. a sets the border width w = 1 + round(a*6); b is ignored. · examples: gallery2d_geometryit_change_format (halcon: change_format) image → image GPU: yes (allow-list) — change_format: change the image matrix size to a square of the maximum dimension by cropping/padding at the origin (NO resampling, exactly as HALCON change_format does). A square image is returned unchanged; a non-square image is zero-expanded to the square. a/b are ignored. · examples: gallery2d_geometryit_crop_part (halcon: crop_part) image → image GPU: yes (it_crop_part) — crop_part: cut out the central a-fraction of the image and resample it back to HxW – a genuine zoom-in on the centre. b is ignored. · examples: gallery2d_geometryit_crop_rectangle1 (halcon: crop_rectangle1) image → image GPU: yes (it_crop_rectangle1) — crop_rectangle1: cut out the centred rectangle spanning rows/cols [a .. 1-a] and resample it back to HxW. a=0 is (near) identity; larger a zooms further in. b is ignored. · examples: gallery2d_geometrymirror_image (halcon: mirror_image) image → image GPU: none — Switches between three types of mirroring based on the value of a (a<0.34: vertical flip, a<0.67: horizontal flip, otherwise: transpose). Note that this is a discrete mode selection rather than a continuous mirroring transformation. Corresponds to HALCON’s mirror_image (Mirror an image) – HALCON selects vertical/horizontal/diagonal via an explicit mode argument, whereas this is an approximation that pseudo-selects based on the value range of a. · examples: gallery2d_geometrymirror_region (halcon: mirror_region) region → region GPU: none — Flips (mirrors) the region. The axis is chosen by a: a<0.34 flips vertically (flipud), 0.34<=a<0.67 flips horizontally (fliplr), otherwise it transposes (diagonal flip, x.T). b is unused. Since flipping doesn’t change values, _rebinarise is effectively a no-op. · examples: gallery2d_geometrypolar_trans_image (halcon: polar_trans_image) image → image GPU: none — A Cartesian-to-polar coordinate transform (cv2.warpPolar). Using the image center as the pole and min(H,W)/2 as the maximum radius, it converts ring-shaped content into a wide, unrolled representation. Unmapped pixels are filled with 0 (dst is zero-cleared beforehand, and the return value from cv2 is read – an implementation note detailed in the code comments explains that reading the dst buffer itself can sometimes come back empty). Corresponds to HALCON’s polar_trans_image (Transform an image to polar coordinates). · examples: gallery2d_geometry, poc_allsky_cloud_cover, poc_gear_tooth_metrologypolar_trans_image_ext (halcon: polar_trans_image_ext) image → image GPU: none — Converts the entire image into a polar (radius, angle) representation (cv2.warpPolar, forward direction, linear interpolation). The center is fixed at the image center, and the maximum radius is min(h,w)/2. a and b are unused (shares the polar branch of _sh_geom with polar_trans_image). · examples: gallery2d_geometrypolar_trans_image_inv (halcon: polar_trans_image_inv) image → image GPU: none — Inverse transformation from polar to Cartesian coordinates (cv2.warpPolar + WARP_INVERSE_MAP). The inverse mapping of polar_trans_image; the area outside the disk of radius min(H,W)/2 is filled with 0. A bug where “pixels not written by cv2 were returned uninitialized” was fixed on 2026-09-02 (it had been reading the passed-in dst instead of the return value, so values changed on every run — see the in-code comments for details). Corresponds to HALCON’s polar_trans_image_inv (Transform an image in polar coordinates back to Cartesian coordinates). · examples: gallery2d_geometrypolar_trans_region_inv (halcon: polar_trans_region_inv) region → region GPU: none — Inverse-transforms a polar representation back to ordinary rectangular (Cartesian) coordinates (the inverse-mapping mode of cv2.warpPolar). Fills the area outside the disk of radius min(h,w)/2 from the center with 0, then converts back to a binary region via _rebinarise with a 0.5 threshold. a and b are unused (shares the polar_inv branch of _sh_geom with polar_trans_image_inv). · examples: gallery2d_geometryprojective_trans_image (halcon: projective_trans_image) image → image GPU: yes (projective_trans_image) — Perspective (projective) transformation (cv2.warpPerspective). Creates a trapezoidal (perspective-distorted) warp by pulling the top two of the four corners inward by a ratio of d=0.06+0.12*a. Areas outside the frame are filled by reflection. Corresponds to HALCON’s projective_trans_image (Apply a projective transformation to an image.) (HALCON can take an arbitrary homography matrix, but this is an approximation limited to a single trapezoidal-distortion pattern). · examples: gallery2d_geometry, poc_water_levelprojective_trans_image_size (halcon: projective_trans_image_size) image → image GPU: yes (projective_trans_image_size) — The implementation is identical to projective_trans_image (kind: "projective"). The name implies the output size can be specified, but this backend does not change the output canvas size and returns exactly the same trapezoidal distortion as projective_trans_image (a limitation of the approximation — the size-change feature is not reproduced). A stand-in for HALCON’s projective_trans_image_size (Apply a projective transformation to an image and specify the output image size.). · examples: gallery2d_geometryprojective_trans_region (halcon: projective_trans_region) region → region GPU: yes (projective_trans_region) — Applies the same trapezoidal distortion as projective_trans_image to a region (binary mask). Since out_sort is region, build() wraps it with _rebinarise, converting the fractional values produced by interpolation back to binary using >0.5 before returning (post-processing so as not to break the region’s {0,1} contract). Corresponds to HALCON’s projective_trans_region (Apply a projective transformation to a region.). · examples: gallery2d_geometryrescale_img (halcon: zoom_image_factor) image → image GPU: inside a chain only (allow-list) — Isotropic centre-preserving rescale by s = 0.7 + 0.6·a, canvas kept. · examples: gallery2d_geometryrotate_image (halcon: rotate_image) image → image GPU: yes (rotate_image) — Rotates the image about its center by -45 to +45 degrees (determined by a) (scipy.ndimage.rotate, with reshape=False to keep the canvas size unchanged). Areas that fall outside the frame are filled by reflection (mode="reflect"), so the four corners show a folded-back copy of the original image (a known design constraint that makes it unsuitable as-is for uses like document skew correction where you want the out-of-frame area filled with a background color). Corresponds to HALCON’s rotate_image (Rotate an image about its center). · examples: gallery2d_geometryrotate_img (halcon: rotate_image) image → image GPU: yes (rotate_img) — Rotate about the image centre by -45° + 90°·a (a=0.5 → 0°). b unused. · examples: gallery2d_geometrysk_swirl (halcon: polar_trans_image) image → image GPU: none — Swirl warp. A nonlinear geometric transform that rotates more strongly the closer a point is to the image center – a distortion effect based on polar coordinate transformation. · examples: gallery2d_geometrytf_log_polar image → image GPU: yes (allow-list) — log_polar: resample the image on a log-polar grid about its centre. · examples: gallery2d_geometrytranspose_region (halcon: transpose_region) region → region GPU: none — Transposes a region (binary mask) (x.T, a reflection about the diagonal = swapping rows and columns). The category is geometry, but the in/out type is region. Implemented as a kind of geometric transform via _sh_geom, but since transposition involves no interpolation, the value does not change even after passing through build()’s _rebinarise (it is already {0,1}). Corresponds to HALCON’s transpose_region (Reflect a region about a point) – strictly a different transform from HALCON’s “reflection about a point,” approximated here as a matrix transpose = reflection about the diagonal. · examples: gallery2d_geometryxcv2_warp_logpolar image → image GPU: none — Maps the image onto a (radius, angle) plane using the log-polar transform. · examples: gallery2d_geometryxpil_offset image → image GPU: none — Shifts the image toroidally (wrap-around). Calls PIL.ImageChops.offset – a cyclic shift in which pixels pushed past one edge reappear on the opposite edge, so unlike an ordinary translation the image edges don’t turn black. · examples: gallery2d_geometryzoom_image_factor (halcon: zoom_image_factor) image → image GPU: yes (zoom_image_factor) — A non-isotropic zoom with independent scale factors for the height and width directions (0.7+0.6*a, 0.7+0.6*b). Scales via an affine transform relative to the center, keeping the canvas size unchanged (areas that overflow or remain are filled by reflection). Corresponds to HALCON’s zoom_image_factor (Zoom an image by a given factor), and like HALCON, takes two scale factors (ScaleHeight/ScaleWidth). · examples: gallery2d_geometry, poc_pv_thermal_surveyzoom_image_size (halcon: zoom_image_size) image → image GPU: inside a chain only (allow-list) — A zoom that resamples to a target size (height H*(0.5+a), width W*(0.5+b)). Whereas zoom_image_factor takes two scale factors, this one specifies the size itself independently for height and width – a different semantics from HALCON’s. However, since this pipeline’s image contract requires “returned at the same canvas size as the input,” the resampled result is placed at the top-left of a canvas at the original resolution, padded with 0, and any overflow is cropped (the image visibly appears shrunk/enlarged, but the array’s shape itself does not change). Corresponds to HALCON’s zoom_image_size (Zoom an image to a given size). · examples: gallery2d_geometryzoom_region (halcon: zoom_region) region → region GPU: yes (allow-list) — Zooms the region isotropically (same scale on both axes). Scales it about the center by a factor s = 0.7+0.6a (0.7x to 1.3x), fills out-of-bounds areas by reflection, then converts back to a binary region via _rebinarise with a 0.5 threshold. b is unused. · examples: gallery2d_geometrybanding_map image → image GPU: yes (allow-list) — Returns where tonal steps (banding) are visible. a is the bit count; b is the window. · examples: gallery2d_gray_arithbit_not (halcon: bit_not) image → image GPU: yes (bit_not) — Tone inversion (negative/positive inversion). Implemented as 1 - x (inversion as a continuous value in [0,1]); a and b are unused. · examples: gallery2d_gray_arithclahe image → image GPU: yes (allow-list) — Contrast-Limited Adaptive Histogram Equalization (tiled, bilinearly blended). · examples: gallery2d_gray_arith, poc_dehazingcompanding_mu_law image → image GPU: yes (companding_mu_law) — μ-law companding (compand = compress + expand). a is μ; b is the bit count. · examples: gallery2d_gray_arithcv_clahe image → image GPU: none — CLAHE (Contrast Limited Adaptive Histogram Equalization, OpenCV implementation). Local contrast enhancement based on the same idea as sk_adapthist, but using OpenCV’s implementation and tile-splitting scheme. · examples: gallery2d_gray_arithcv_trunc (halcon: scale_image) image → image GPU: none — Upper-tone clipping (THRESH_TRUNC, OpenCV implementation). All pixels brighter than the specified value are clamped to that value, while pixels at or below it are left unchanged - a tonal operation that crushes only the highlights (does not touch the shadows). · examples: gallery2d_gray_arithdither_floyd_steinberg image → image GPU: none — Error-diffusion dithering (Floyd–Steinberg). a is the bit count 1 to 8; b is unused. · examples: gallery2d_gray_arithdither_ordered image → image GPU: none — Quantizes with ordered dithering (Bayer matrix). a is the bit count 1 to 8; b is the matrix size. · examples: gallery2d_gray_arithequ_histo_image (halcon: equ_histo_image) image → image GPU: yes (equ_histo_image) — Global histogram equalization of the whole image (tone curve generated from the cumulative distribution function, 256 bins). A classic technique that flattens a tonal distribution skewed toward shadows or highlights to increase apparent contrast. Equivalent to HALCON’s equ_histo_image (Histogram linearization of images). · examples: gallery2d_gray_arithequ_histo_image_rect (halcon: equ_histo_image_rect) image → image GPU: inside a chain only (allow-list) — Block-wise histogram equalization. Divides the image into nb x nb (nb=2+4*a) blocks and performs (64-bin) histogram equalization independently within each block – more robust against local illumination unevenness than equ_histo_image (which processes the whole image at once), but can produce step discontinuities at block boundaries (block artifacts). Equivalent to HALCON’s equ_histo_image_rect (Histogram linearization within a rectangular mask.). · examples: gallery2d_gray_arithequalize (halcon: equ_histo_image) image → image GPU: yes (equalize_image) — Histogram equalization (linearization). Equivalent to HALCON’s equ_histo_image (Histogram linearization of images). · examples: gallery2d_gray_arith, poc_dehazingf2_bit_slice (halcon: bit_slice) image → image GPU: yes (allow-list) — Extract one bit-plane after 8-bit quantisation. Normalised a in 0..1 selects plane round(7*a) (0 = LSB, 1 = MSB); b is ignored. Returns {0,1}. · examples: gallery2d_gray_arithf2_expand_domain (halcon: expand_domain_gray) image → image GPU: yes (allow-list) — Expand the domain of the image (the non-zero region) outward by a margin and set the new pixels to the nearest existing gray value. a sets the margin width (1..7 px); b is ignored. · examples: gallery2d_gray_arithf2_lut_trans (halcon: lut_trans) image → image GPU: yes (f2_lut_trans) — Transform the image through a monotone (gamma-free) gray-value look-up table. The 256-entry table is a contrast sigmoid whose gain is set by a and pivot by b, endpoint-normalised to span [0,1]; the image is then a genuine table lookup on its 8-bit-quantised value. · examples: gallery2d_gray_arithgamma (halcon: pow_image) image → image GPU: yes (gamma_image) — Gamma correction (power-law transformation). Equivalent to HALCON’s pow_image (Raise an image to a power.). · examples: gallery2d_gray_arith, poc_itof_multifreq, poc_simcal_thin_filmgamma_image (halcon: gamma_image) image → image GPU: none — Gamma correction x ** (0.3 + 2.5*a). The closer a is to 0, the closer the exponent is to 0.3, lifting the shadows; the closer a is to 1, the closer the exponent is to 2.8, crushing the shadows and increasing contrast. Stands in for HALCON’s gamma_image (Perform a gamma encoding or decoding of an image.). · examples: gallery2d_gray_arithilluminate (halcon: illuminate) image → image GPU: yes (illuminate) — Unsharp-mask style local contrast enhancement. By adding back the difference x - sm, where sm is a Gaussian blur (radius 3+12*a) subtracted from the image, onto the original, it lifts local edges and texture while leaving low-frequency illumination unevenness in place. A stand-in for HALCON’s illuminate (Illuminate image.). · examples: gallery2d_gray_arith, poc_document_scan, poc_matrix_code_readingimage_standardize image → image GPU: none — Standardises an image and maps signed deviations to an intensity image in [0,1]. · examples: gallery2d_gray_arithinvert (halcon: invert_image) image → image GPU: yes (invert_image) — Tone inversion (negative-positive reversal). Equivalent to HALCON’s invert_image (Invert an image.). · examples: gallery2d_gray_arith, genspark_external_review, poc_ai_built_inspection_scored, poc_tacscalib_sphere_lutinvert_image (halcon: invert_image) image → image GPU: yes (invert_image@twin) — Inverts the tones via 1.0 - x (negative/positive inversion). This corresponds directly to HALCON’s invert_image (Invert an image.) - an operation that is exactly equivalent, not an approximation. · examples: gallery2d_gray_arith, mcp_task_score, poc_metal_grain_sizeit_bit_lshift (halcon: bit_lshift) image → image GPU: yes (allow-list) — bit_lshift: 8-bit quantise, left-shift every pixel by round(a*7), mask to 8 bits (wrap-around, as HALCON does), and map back to [0,1]. b ignored. · examples: gallery2d_gray_arithit_bit_mask (halcon: bit_mask) image → image GPU: yes (allow-list) — bit_mask: logical AND of the 8-bit image with the constant bit mask round(a*255). b is ignored. · examples: gallery2d_gray_arithit_bit_rshift (halcon: bit_rshift) image → image GPU: yes (allow-list) — bit_rshift: 8-bit quantise then right-shift every pixel by round(a*7) (an integer divide by 2**shift -> a coarser, darker image). b ignored. · examples: gallery2d_gray_arithit_convert_image_type (halcon: convert_image_type) image → image GPU: yes (allow-list) — convert_image_type: model a conversion to a lower-precision pixel type by quantising to L = round(2 + a*254) evenly spaced levels (bit-depth reduction). b is ignored. · examples: gallery2d_gray_arithmonotony (halcon: monotony) image → image GPU: yes (allow-list) — Returns, in [0,1], how large a pixel value ranks among its 8 neighbors (monotony). It counts the number of neighbors smaller than the center and divides by 8, so a value of 1.0 indicates a local maximum where the center exceeds all neighbors, and 0.0 indicates something close to a local minimum. a and b are unused. · examples: gallery2d_gray_arithpow_image (halcon: pow_image) image → image GPU: inside a chain only (allow-list) — The implementation points to exactly the same function as gamma_image (the kind: "gamma" branch of _sh_lut). In other words, pow_image and gamma_image produce identical computed results on this backend - in HALCON they are separate operators (pow_image, which explicitly specifies an exponent, and gamma_image, intended for encoding/decoding), but here the stand-in implementations happen to overlap (noted explicitly as a limitation of the approximation). · examples: gallery2d_gray_arithquantization_error image → image GPU: yes (allow-list) — A map of the amount lost by quantization, |x - Q(x)|, divided by Δ/2 to bring it into [0,1]. · examples: gallery2d_gray_arithquantize_lloyd_max image → image GPU: yes (allow-list) — Quantization that is optimal for the distribution of the input (Lloyd–Max, 1-D k-means). · examples: gallery2d_gray_arithquantize_uniform image → image GPU: inside a chain only (allow-list) — Uniform quantizer (rounding). a is the bit count 1 to 8; b is unused. · examples: gallery2d_gray_arithscale_clip (halcon: scale_image) image → image GPU: yes (scale_image) — Linear tone transformation via gain and offset. Equivalent to HALCON’s scale_image (Scale the gray values of an image.). · examples: gallery2d_gray_arithscale_image (halcon: scale_image) image → image GPU: yes (scale_image@twin) — Linear tone scaling clip((0.5 + 1.5*a) * x + (b - 0.5), 0, 1). A linear LUT that moves slope (contrast) and offset (brightness) simultaneously; out-of-range values are clipped to [0,1]. Equivalent to HALCON’s scale_image (Scale the gray values of an image.). · examples: gallery2d_gray_arithscale_image_max (halcon: scale_image_max) image → image GPU: inside a chain only (allow-list) — Min-max normalization that stretches the image’s minimum-to-maximum range to fill the full [0,1] span ((x - min) / (max - min); a constant image is left unchanged). Equivalent to HALCON’s scale_image_max (Maximum gray value spreading in the value range 0 to 255.) (the value range here follows the [0,1] contract rather than 0-255). · examples: gallery2d_gray_arithsigmoid (halcon: scale_image_max) image → image GPU: yes (sigmoid_image) — S-curve contrast enhancement using a logistic (sigmoid) function. Mapped to HALCON’s scale_image_max (Maximum gray value spreading in the value range 0 to 255.), but the processing differs from scale_image_max, which stretches the dynamic range to its maximum (this is closer to a different operation than an approximation). · examples: gallery2d_gray_arith, gallery_drive_world_iosk_adapthist image → image GPU: none — CLAHE (Contrast Limited Adaptive Histogram Equalization). Divides the image into small tiles and equalizes the histogram locally within each, boosting local contrast even in images with large light-dark differences. · examples: gallery2d_gray_arithsk_adjust_log (halcon: log_image) image → image GPU: yes (allow-list) — Logarithmic tone transform (log transform). A tonal correction that lifts dark areas using a logarithmic curve of the form out = gain * log(1 + in) – similar in use to gamma correction, but with a nonlinear curve that lifts only the darkest areas more strongly. · examples: gallery2d_gray_arithsk_autolevel (halcon: scale_image_max) image → image GPU: none — Local auto-level. Stretches the min-to-max range of the local histogram around each pixel to fill the full 0-255 range – an adaptive level correction that maximizes contrast per location rather than using a global tonal curve. · examples: gallery2d_gray_arithsk_enhance_contrast image → image GPU: none — Local contrast enhancement. Judges whether each pixel is closer to the local neighborhood’s maximum or minimum, and replaces it with whichever is closer – pixels with intermediate values get pushed toward the two extremes, raising the apparent contrast (sometimes producing an effect close to binarization). · examples: gallery2d_gray_arithxcv_detail_enhance image → image GPU: none — OpenCV’s detailEnhance (detail enhancement). · examples: gallery2d_gray_arithxkor_clahe image → image GPU: none — CLAHE (Contrast Limited Adaptive Histogram Equalization). Calls kornia.enhance.equalize_clahe. · examples: gallery2d_gray_arithxpil_autocontrast image → image GPU: none — Auto-contrast (clips both ends of the histogram and stretches it to the full range). Calls PIL.ImageOps.autocontrast. · examples: gallery2d_gray_arithxpil_contrast image → image GPU: none — Contrast adjustment (linear stretch centered on the image’s mean brightness). Calls PIL.ImageEnhance.Contrast. · examples: gallery2d_gray_arithxpil_detail image → image GPU: none — Pillow’s detail enhancement filter. Raises contrast of fine detail using the fixed kernel of PIL.ImageFilter.DETAIL (close to sharpening, but with coefficients that emphasize texture over edges). · examples: gallery2d_gray_arithxpil_edge_enhance image → image GPU: none — Pillow’s edge enhancement filter (strong version). Raises contrast near edges using the fixed kernel of PIL.ImageFilter.EDGE_ENHANCE_MORE (a stronger version than EDGE_ENHANCE). · examples: gallery2d_gray_arithxpil_posterize image → image GPU: none — Posterization (reducing the number of tonal levels). Calls PIL.ImageOps.posterize to reduce the number of colors by cutting the effective bit depth of each channel. · examples: gallery2d_gray_arithxpil_solarize image → image GPU: none — Solarization (the mid-tone inversion effect from film development). Calls PIL.ImageOps.solarize to invert pixel values that exceed a threshold. · examples: gallery2d_gray_arithxsk3_integral_image image → image GPU: yes (allow-list) — Integral image (summed-area table, skimage transform.integral_image). An image storing the cumulative sum from the origin to each pixel, which lets the sum over any rectangular region be computed by referencing just 4 points - a classic precomputation used to speed up Haar features and rectangular filters. Normalized by the maximum value and flattened for display. · examples: gallery2d_gray_arithxsk3_rank_equalize image → image GPU: none — Local histogram equalization (skimage filters.rank.equalize). An adaptive contrast enhancement that performs histogram equalization within each disk neighborhood, more robust to local light/dark unevenness than the global equalize op. · examples: gallery2d_gray_arithxsk3_rank_subtract_mean image → image GPU: none — Local mean subtraction (skimage filters.rank.subtract_mean). Returns the difference obtained by subtracting the mean brightness of the disk neighborhood from each pixel. The skimage implementation scales the difference to 1/2 and shifts it to the middle of the range, to avoid underflow. It cancels global light/dark unevenness and enhances local contrast. · examples: gallery2d_gray_arithxsp_detrend_flatten image → image GPU: yes (allow-list) — A flattening filter that removes the linear trend (slope) of the whole image separately along the vertical and horizontal directions, then normalizes. · examples: gallery2d_gray_arithhx_add_noise_contour (halcon: add_noise_white_contour_xld) contour → contour GPU: none — Add white Gaussian noise to the contour points (std from a; deterministic with a fixed seed). · examples: gallery2d_halcon_exthx_char_threshold (halcon: char_threshold) image → region GPU: none — Extract dark characters from a bright background (region): pick the lower side at thresh = mean − k*std (k from a). · examples: gallery2d_halcon_exthx_clip_contours (halcon: clip_contours_xld) contour → contour GPU: none — Clip contours to the image domain (a rectangle keeping the central margins a/b), dropping out-of-range points. · examples: gallery2d_halcon_exthx_clip_end_points (halcon: clip_end_points_contours_xld) contour → contour GPU: none — Cut k points off each end of every contour (k from a). · examples: gallery2d_halcon_exthx_clip_region_rel (halcon: clip_region_rel) region → region GPU: inside a chain only (allow-list) — Clip a region relative to its bounding box (shave a fraction a off each side). · examples: gallery2d_halcon_exthx_close_edges (halcon: close_edges) image → image GPU: inside a chain only (allow-list) — Close the gaps in an edge-amplitude image: threshold at a, then morphological closing (radius b). · examples: gallery2d_halcon_ext, poc_metal_grain_sizehx_close_edges_length (halcon: close_edges_length) image → image GPU: yes (allow-list) — close_edges, and additionally drop short edge fragments below a length (in pixels) threshold. · examples: gallery2d_halcon_exthx_closing (halcon: closing) region → region GPU: yes (allow-list) — Closes a region with a disk structuring element (dilation followed by erosion). Corresponds to HALCON’s closing (closes a region). · examples: gallery2d_halcon_exthx_cooc_feature (halcon: cooc_feature_image) image → feature GPU: none — Quantise, build the horizontal co-occurrence matrix at distance d, and return the Haralick contrast (a = distance, b selects the angle). · examples: gallery2d_halcon_exthx_crop_contours (halcon: crop_contours_xld) contour → contour GPU: none — Crop contours to the central a×b fraction rectangle (keeping only the points inside). · examples: gallery2d_halcon_exthx_detect_edge_segments (halcon: detect_edge_segments) image → region GPU: none — Detect straight edge fragments: thin by NMS, then keep the connected components that PCA finds elongated (line-like). · examples: find_ops_by_meaning, gallery2d_halcon_exthx_dilation1 (halcon: dilation1) region → region GPU: inside a chain only (allow-list) — Dilates a region with a disk structuring element. Corresponds to HALCON’s dilation1 (dilates a region). · examples: gallery2d_halcon_exthx_dilation2 (halcon: dilation2) region → region GPU: inside a chain only (allow-list) — Dilation with a reference point: after dilating, offset by the reference point (translated by b). · examples: gallery2d_halcon_exthx_disparity_to_xyz (halcon: disparity_image_to_xyz) image → image GPU: inside a chain only (allow-list) — Compute depth Z = f*baseline/disparity from a disparity image (focal length and baseline vary with a, b). Normalised Z. · examples: gallery2d_halcon_exthx_dist_ellipse_contour (halcon: dist_ellipse_contour_xld) contour → feature GPU: none — The mean distance of the contour points from the fitted ellipse boundary (small = close to an ellipse; a feature). · examples: gallery2d_halcon_exthx_dist_ellipse_points (halcon: dist_ellipse_contour_points_xld) contour → feature GPU: none — The maximum distance of the contour points from the fitted ellipse boundary (the per-point distances aggregated by max; a feature). · examples: gallery2d_halcon_exthx_dist_rect2_points (halcon: dist_rectangle2_contour_points_xld) contour → feature GPU: none — The mean normalised distance from the contour points to the sides of the minimum-area bounding rectangle (a feature). · examples: gallery2d_halcon_exthx_distance_pc (halcon: distance_pc) contour → feature GPU: none — The minimum distance from the query point (normalised a, b) to the contour (a feature). · examples: gallery2d_halcon_exthx_distance_pr (halcon: distance_pr) region → feature GPU: none — The minimum distance from the query point (normalised a, b) to the region (a feature), via the distance transform. · examples: gallery2d_halcon_exthx_distance_sc (halcon: distance_sc) contour → feature GPU: none — The minimum distance from a horizontal segment (row a*H) to the contour (a feature). · examples: gallery2d_halcon_exthx_erosion1 (halcon: erosion1) region → region GPU: inside a chain only (allow-list) — Erodes a region with a disk structuring element. Corresponds to HALCON’s erosion1 (erodes a region). · examples: gallery2d_halcon_exthx_estimate_al_am (halcon: estimate_al_am) image → feature GPU: none — Estimate albedo (reflectance) and ambient light: albedo ~ the luminance range; this op returns the albedo. · examples: gallery2d_halcon_exthx_estimate_sl_al_lr (halcon: estimate_sl_al_lr) image → feature GPU: none — Lee-Rosenfeld: estimate the light source’s slant (zenith angle, 0 = head-on to pi/2 = grazing). Normalised to [0,1]. · examples: gallery2d_halcon_exthx_estimate_sl_al_zc (halcon: estimate_sl_al_zc) image → feature GPU: none — Zheng-Chellappa: estimate the slant, corrected by the gradient energy. · examples: gallery2d_halcon_exthx_estimate_tilt_lr (halcon: estimate_tilt_lr) image → feature GPU: none — Lee-Rosenfeld: the light-source azimuth tilt = atan2(hx_estimate_tilt_zc (halcon: estimate_tilt_zc) image → feature GPU: none — Zheng-Chellappa: estimate the tilt from the mean direction of the normalised gradient (independent of local contrast). · examples: gallery2d_halcon_exthx_expand_region (halcon: expand_region) region → region GPU: none — Fill the gaps between regions (region -> region): dilate the binary region to encourage them to connect. · examples: gallery2d_halcon_exthx_fill_interlace (halcon: fill_interlace) image → image GPU: inside a chain only (allow-list) — Interpolate two video half-frames (replace the odd rows by the mean of the adjacent even rows = de-interlacing). · examples: gallery2d_halcon_exthx_fit_circle_contour (halcon: fit_circle_contour_xld) contour → feature GPU: none — Fit a circle to the contour points by the algebraic (Kåsa) method and return the fit residual (RMS) — small = close to a circle. · examples: gallery2d_halcon_exthx_fit_ellipse_contour (halcon: fit_ellipse_contour_xld) contour → feature GPU: none — Fit an ellipse from the second moments and return the axis ratio (minor/major: 1 for a circle, toward 0 the more elongated). · examples: gallery2d_halcon_exthx_fit_rectangle2_contour (halcon: fit_rectangle2_contour_xld) contour → feature GPU: none — Fit the minimum-area oriented rectangle and return its aspect ratio (short side / long side; a feature). · examples: gallery2d_halcon_exthx_fit_surface1 (halcon: fit_surface_first_order) image → image GPU: yes (allow-list) — Fits the gray values with a first-order polynomial surface (a plane) by least squares. Corresponds to HALCON’s fit_surface_first_order (computes gray-value moments and fits a first-order surface). · examples: gallery2d_halcon_exthx_fit_surface2 (halcon: fit_surface_second_order) image → image GPU: inside a chain only (allow-list) — Fits the gray values with a second-order polynomial surface by least squares. Corresponds to HALCON’s fit_surface_second_order (computes gray-value moments and fits a second-order surface). · examples: gallery2d_halcon_exthx_full_domain (halcon: full_domain) image → region GPU: none — Expands the image’s domain to the full image area. Corresponds to HALCON’s full_domain (expands the domain of an image to its maximum extent). · examples: gallery2d_halcon_exthx_fuzzy_measure_pairs (halcon: fuzzy_measure_pairs) image → feature GPU: none — Count edge pairs along the central horizontal profile (the rising boundary of a bright bar to its falling boundary) — 1-D metrology. · examples: gallery2d_halcon_exthx_gabor (halcon: convol_gabor) image → image GPU: none — A Gabor filter (orientation theta = a*pi, frequency freq = 0.08 + 0.35b). Returns the magnitude of the response. · examples: gallery2d_halcon_exthx_gen_bandfilter (halcon: gen_bandfilter) image → image GPU: inside a chain only (allow-list) — An ideal band-filter image (an annulus in frequency, centre radius a and width b). A different operator from gen_bandpass. · examples: gallery2d_halcon_exthx_gen_bandpass (halcon: gen_bandpass) image → image GPU: none — An ideal band-pass (an annular mask in the frequency domain, inner radius a and bandwidth b). · examples: gallery2d_halcon_exthx_gen_checker_region (halcon: gen_checker_region) image → region GPU: inside a chain only (allow-list) — Generates a checkerboard-pattern region. Corresponds to HALCON’s gen_checker_region (generates a checker region). · examples: gallery2d_halcon_exthx_gen_circle (halcon: gen_circle) image → region GPU: yes (allow-list) — Generates a circular region. Corresponds to HALCON’s gen_circle (generates a circle). · examples: gallery2d_halcon_exthx_gen_circle_sector (halcon: gen_circle_sector) image → region GPU: yes (allow-list) — A circular-sector region (start angle b2pi, sweep a2pi). · examples: gallery2d_halcon_exthx_gen_derivative_filter (halcon: gen_derivative_filter) image → image GPU: yes (allow-list) — A derivative filter in the frequency domain. a is the order of the derivative, b its direction. · examples: gallery2d_halcon_exthx_gen_disc_se (halcon: gen_disc_se) image → region GPU: yes (allow-list) — Generate a disc structuring element as a region (radius a). · examples: gallery2d_halcon_exthx_gen_ellipse (halcon: gen_ellipse) image → region GPU: yes (allow-list) — Generates an axis-aligned elliptical region. Corresponds to HALCON’s gen_ellipse (generates an ellipse) – a fixed-orientation approximation, since the original also takes a rotation-angle parameter. · examples: gallery2d_halcon_exthx_gen_ellipse_sector (halcon: gen_ellipse_sector) image → region GPU: yes (allow-list) — Generates an elliptical sector region. Corresponds to HALCON’s gen_ellipse_sector (generates an ellipse sector). · examples: gallery2d_halcon_exthx_gen_empty_region (halcon: gen_empty_region) image → region GPU: none — Generates an empty region (all pixels 0). Corresponds to HALCON’s gen_empty_region (generates an empty region). · examples: gallery2d_halcon_exthx_gen_grid_region (halcon: gen_grid_region) image → region GPU: none — Generates a grid-line region. A simplified version corresponding to the grid pattern of HALCON’s gen_grid_region (generates a region from lines or pixels). · examples: gallery2d_halcon_exthx_gen_highpass (halcon: gen_highpass) image → image GPU: inside a chain only (allow-list) — Generates the frequency mask of an ideal high-pass filter. Corresponds to HALCON’s gen_highpass (generates an ideal high-pass filter). · examples: gallery2d_halcon_exthx_gen_image_proto (halcon: gen_image_proto) image → image GPU: none — Generate a constant grey image the same size as the input (value a). · examples: gallery2d_halcon_exthx_gen_lowpass (halcon: gen_lowpass) image → image GPU: yes (allow-list) — An ideal low-pass filter image (a central disc mask in the frequency domain, cut-off radius a). · examples: gallery2d_halcon_exthx_gen_parallel_contour (halcon: gen_parallel_contour_xld) contour → contour GPU: none — Generate the parallel (normal-offset) contour of each contour (the signed distance comes from (a−0.5)). · examples: gallery2d_halcon_exthx_gen_rectangle2 (halcon: gen_rectangle2) image → region GPU: yes (allow-list) — Generates a rectangular region at an arbitrary angle. Corresponds to HALCON’s gen_rectangle2 (generates a rectangle of arbitrary orientation). · examples: gallery2d_halcon_exthx_get_domain (halcon: get_domain) image → region GPU: none — Get the image’s domain as a region (the whole frame by default). · examples: gallery2d_halcon_exthx_histo_to_thresh (halcon: histo_to_thresh) image → region GPU: inside a chain only (allow-list) — Threshold from the valley of the histogram and binarise (valley detection, not Otsu’s variance criterion — a different op). · examples: gallery2d_halcon_exthx_lowlands (halcon: lowlands) image → region GPU: none — Detect the basins of the grey values (flat local minima): the region of pixels equal to their neighbourhood minimum. · examples: gallery2d_halcon_exthx_mean_shape (halcon: mean_image_shape) image → image GPU: inside a chain only (allow-list) — Mean smoothing with an arbitrary mask (a disc). The radius r varies with a (a different op from the rectangular mean). · examples: gallery2d_halcon_exthx_moments_any_xld (halcon: moments_any_xld) contour → feature GPU: none — The second central moment (the spread) of all contour points, as a normalised feature. · examples: gallery2d_halcon_exthx_move_region (halcon: move_region) region → region GPU: none — Translate a region (dy = a, dx = b, taken as offsets around zero). · examples: gallery2d_halcon_exthx_nonmax_dir (halcon: nonmax_suppression_dir) image → image GPU: none — Non-maximum suppression along the gradient direction (Canny’s NMS stage). Thins edges to one pixel. · examples: gallery2d_halcon_exthx_opening (halcon: opening) region → region GPU: yes (allow-list) — Opens a region with a disk structuring element (erosion followed by dilation). Corresponds to HALCON’s opening (opens a region). · examples: gallery2d_halcon_exthx_plane_deviation (halcon: plane_deviation) image → image GPU: yes (allow-list) — The deviation of the grey values from their first-order plane fit, |
v − plane | (flatness / defect inspection). · examples: gallery2d_halcon_ext, poc_ai_built_inspection_scored |
hx_plateaus_center (halcon: plateaus_center) image → region GPU: none — Detect the centres of the grey-value plateaus (gradient ≈ 0): the centroid pixel of each flat component, as a marker region. · examples: gallery2d_halcon_exthx_polar_trans_inv (halcon: polar_trans_contour_xld_inv) contour → contour GPU: none — Take the contour points as (radius, angle) and transform them back to Cartesian coordinates (the inverse of polar_trans). · examples: gallery2d_halcon_exthx_radial_distort_contour (halcon: change_radial_distortion_contours_xld) contour → contour GPU: none — Apply radial distortion r’ = r(1 + k r^2) to a contour (k from (a−0.5): barrel or pincushion). · examples: gallery2d_halcon_exthx_rectangle1_domain (halcon: rectangle1_domain) image → region GPU: inside a chain only (allow-list) — Shrink the image’s domain to an axis-aligned rectangle (the central a×b fraction), as a region. · examples: gallery2d_halcon_exthx_region_to_label (halcon: region_to_label) image → image GPU: inside a chain only (allow-list) — Turn the connected components of the region thresholded at a into a label image (normalised). · examples: gallery2d_halcon_exthx_region_to_mean (halcon: region_to_mean) image → image GPU: yes (allow-list) — Paint each connected region with its mean grey value (image -> image). Foreground/background split at threshold a, then labelled. · examples: gallery2d_halcon_exthx_regress_contours (halcon: regress_contours_xld) contour → feature GPU: none — Fit a regression line to each contour and return the mean residual (the deviation from the line; a feature). Small = line-like. · examples: gallery2d_halcon_exthx_select_xld_point (halcon: select_xld_point) contour → contour GPU: none — Keep only the contours whose bounding box contains the query point (normalised a, b) — a filter. · examples: gallery2d_halcon_exthx_shade_height_field (halcon: shade_height_field) image → image GPU: yes (allow-list) — Render the height field v with Lambertian shading (normal × light). The light is at azimuth a and elevation b. · examples: gallery2d_halcon_exthx_smallest_circle_xld (halcon: smallest_circle_xld) contour → feature GPU: none — The radius of the minimum enclosing circle of all contour points (approximated with the centroid as centre), as a normalised feature. · examples: gallery2d_halcon_exthx_smallest_rect1_xld (halcon: smallest_rectangle1_xld) contour → feature GPU: none — The area ratio of the axis-aligned bounding box of all contour points (a feature). · examples: gallery2d_halcon_exthx_smallest_rect2_xld (halcon: smallest_rectangle2_xld) contour → feature GPU: none — The area ratio of the minimum-area oriented rectangle (rectangle area / image area; a feature). · examples: gallery2d_halcon_exthx_sort_contours (halcon: sort_contours_xld) contour → contour GPU: none — Sort the contours by relative position (centroid row, then column). · examples: gallery2d_halcon_exthx_split_contours (halcon: split_contours_xld) contour → contour GPU: none — Split each contour into segments at its dominant points (RDP; the tolerance eps comes from a). · examples: gallery2d_halcon_ext, poc_screw_thread_metrologyhx_split_skeleton_region (halcon: split_skeleton_region) region → region GPU: none — Split a one-pixel-wide skeleton at its branch points: remove the junctions (>=3 neighbours) and take the connected components. · examples: gallery2d_halcon_ext, poc_fresco_craquelurehx_test_closed_xld (halcon: test_closed_xld) contour → feature GPU: none — The fraction of contours that are closed (end-point distance below a threshold = closed; a feature). · examples: gallery2d_halcon_exthx_test_region_point (halcon: test_region_point) region → feature GPU: none — Whether the region contains the point (normalised a = row, b = column): 1/0 (test_region_point). · examples: gallery2d_halcon_exthx_test_region_points (halcon: test_region_points) region → feature GPU: none — The fraction of a grid of points that lies inside the region (test_region_points). · examples: gallery2d_halcon_exthx_test_self_intersect (halcon: test_self_intersection_xld) contour → feature GPU: none — The fraction of contours that self-intersect (a feature). Non-adjacent segment pairs are tested. · examples: gallery2d_halcon_exthx_union_adjacent (halcon: union_adjacent_contours_xld) contour → contour GPU: none — Greedily join contours whose end points are close (threshold a). · examples: gallery2d_halcon_extxmh_soft image → image GPU: none — Soft thresholding (mahotas.thresholding.soft_threshold, shrinkage). Collapses pixels whose absolute value is below the threshold to 0, and shifts the rest toward 0 by the threshold amount. Applies a technique commonly used for wavelet/sparse-signal denoising directly to pixel values. · examples: gallery2d_gray_arithmacro_binarize image → image GPU: yes (allow-list) — A fixed pipeline discovered by evolutionary search: bilateral(a=0.06,b=0.89) → unsharp(a=0.51,b=0.34) → bilateral(a=0.04,b=0.24) → lowpass(a=0.75,b=0.59) → gopen(a=0.38,b=1.00) → unsharp(a=0.78,b=0.68) (6 stages that alternate smoothing and unsharp masking, clean up with a lowpass and grayscale opening, then sharpen once more). · examples: gallery2d_physics_alife_3dmacro_denoise image → image GPU: yes (allow-list) — A fixed pipeline discovered by evolutionary search (evolve.py / robust.py): bilateral(a=0.10,b=0.76) → bilateral(a=0.12,b=0.27) → bilateral(a=0.73,b=0.11) (three stages of the existing bilateral filter op chained with different strength parameters). · examples: gallery2d_physics_alife_3d, sim2real_and_alifemacro_edge image → region GPU: yes (allow-list) — A fixed pipeline discovered by evolutionary search: gamma(a=0.39,b=0.94) → bilateral(a=0.22,b=0.08) → sobel_mag(a=0.81,b=0.80) → scale_clip(a=1.00,b=0.90) → otsu(a=0.78,b=0.93) (5 stages: gamma correction → smoothing → gradient magnitude → scaling → binarization by Otsu’s method). · examples: gallery2d_physics_alife_3dmacro_vol_denoise volume → volume GPU: yes (allow-list) — A fixed pipeline discovered by evolutionary search (3-D volume version): vol_threshold(a=0.52,b=0.76) → vol_gaussian(a=0.08,b=0.89) (2 stages: apply 3-D thresholding, then Gaussian smoothing). · examples: gallery2d_physics_alife_3dncc_locate (halcon: find_ncc_model) image → match GPU: yes (ncc_locate) — Finds the best position using template matching based on normalized cross-correlation (NCC). Equivalent to HALCON’s find_ncc_model (Find the best matches of an NCC model in an image.). · examples: gallery2d_contour_measure, mcp_usability, poc_code_matching_breakdown, poc_search_sweep_width, poc_template_trackingshape_locate (halcon: find_shape_model) image → match GPU: none — Template matching that accounts for rotation (shape-based matching). Equivalent to HALCON’s find_shape_model (Find the best matches of a shape model in an image.). · examples: gallery2d_contour_measure, poc_template_trackingm1_fuzzy_measure_pos (halcon: fuzzy_measure_pos) image → contour GPU: none — Sieves edges along a caliper line through the centre by a fuzzy membership score and returns them (equivalent to HALCON fuzzy_measure_pos: detects straight edges perpendicular to a rectangle/arc using fuzzy judgement). · examples: gallery2d_contour_measurem1_measure_pairs (halcon: measure_pairs) image → feature GPU: none — Counts rising-to-falling edge pairs (the two ends of a bright object) along a caliper line through the centre (equivalent to HALCON measure_pairs: extracts pairs of straight edges perpendicular to a rectangle/arc). · examples: gallery2d_contour_measure, poc_dimensional_inspectionm1_measure_pos (halcon: measure_pos) image → contour GPU: none — Extracts sub-pixel edge positions along a caliper line through the centre (equivalent to HALCON measure_pos: detects straight edges perpendicular to a rectangle/arc). · examples: gallery2d_contour_measure, mcp_task_score, poc_dimensional_inspectionm1_measure_projection (halcon: measure_projection) image → feature GPU: none — Places a measurement caliper line (straight line) on the image and returns the mean of the brightness profile averaged in the perpendicular direction (equivalent to HALCON measure_projection: extracts a 1-D projection perpendicular to a rectangle/arc). · examples: gallery2d_contour_measurem1_measure_thresh (halcon: measure_thresh) image → feature GPU: none — Counts how many times the brightness profile crosses a specified level along a caliper line through the centre (equivalent to HALCON measure_thresh: extracts points with a specific gray value along a rectangle/arc). · examples: gallery2d_contour_measureidentity (halcon: copy_image) any → any GPU: none — Identity mapping. Mapped to HALCON’s copy_image (Copy an image and allocate new memory for it.), but unlike copy_image, which allocates new memory and duplicates the image, this implementation simply returns the input array as-is (it does not duplicate it). · examples: gallery_nary_image_algebra, optics_four_f_processor, poc_em_branch_territory, poc_food_cutting_measure, poc_part_locate_featuresbothat (halcon: gray_bothat) image → image GPU: yes (gray_bothat) — Black top-hat (closing minus original image). Equivalent to HALCON’s gray_bothat (Perform a gray value bottom hat transformation on an image.). · examples: example_scratch_width, gallery2d_morphology, poc_ai_built_inspection_scored, poc_metal_grain_sizecv_blackhat (halcon: gray_bothat) image → image GPU: none — Black-hat transform (OpenCV implementation). Computes “closing result minus original image” to extract only the dark features, smaller than the structuring element, that sit on a dark background (the dark counterpart of cv_tophat). · examples: gallery2d_morphology, poc_fresco_craquelurecv_close (halcon: gray_closing) image → image GPU: none — Grayscale morphological closing (OpenCV implementation). Dilation followed by erosion fills dark holes and gaps smaller than the structuring element (the opposite effect of cv_open). · examples: gallery2d_morphologycv_dilate (halcon: gray_dilation) image → image GPU: none — Grayscale morphological dilation (OpenCV implementation). Replaces each pixel with the maximum value of its neighborhood, expanding bright regions and shrinking dark ones (the opposite of cv_erode). · examples: gallery2d_morphologycv_erode (halcon: gray_erosion) image → image GPU: none — Grayscale morphological erosion (OpenCV implementation). Replaces each pixel with the minimum value of its neighborhood, shrinking bright regions and expanding dark ones. · examples: gallery2d_morphologycv_gradient (halcon: gray_range_rect) image → image GPU: none — Morphological gradient (OpenCV implementation). “Dilation result minus erosion result” extracts only the outline (border) of regions - a contour extraction method distinct from ordinary derivative-based edge detection. · examples: gallery2d_morphologycv_open (halcon: gray_opening) image → image GPU: none — Grayscale morphological opening (OpenCV implementation). Erosion followed by dilation removes bright protrusions and isolated points smaller than the structuring element. · examples: gallery2d_morphologycv_tophat (halcon: gray_tophat) image → image GPU: none — Top-hat transform (OpenCV implementation). Computes “original image minus opening result” to extract only the bright features, smaller than the structuring element, that sit on a bright background. · examples: gallery2d_morphologyf2_gray_inside (halcon: gray_inside) image → image GPU: none — Grayscale hole-fill: for each pixel, the lowest gray value attainable on any path to the image border == morphological reconstruction of the image by erosion from a border-anchored marker. Dark basins enclosed by brighter walls are raised toward the wall height; regions connected to the border stay dark. a sets the maximum fill depth h = 0.02 + 0.98*a; b is ignored. · examples: gallery2d_morphologyf2_gray_skeleton (halcon: gray_skeleton) image → image GPU: none — Thinning of a gray-value image: skeletonise the bright region (threshold set by a) and lift the 1-px medial ridge back to the original gray values. b is ignored. · examples: gallery2d_morphologygclose (halcon: gray_closing) image → image GPU: yes (gray_closing_rect) — Grayscale closing (dilation followed by erosion). Equivalent to HALCON’s gray_closing (Perform a gray value closing on an image.). · examples: gallery2d_morphologygdilate (halcon: gray_dilation) image → image GPU: yes (gdilate) — Grayscale dilation (expands toward brighter values). Equivalent to HALCON’s gray_dilation (Perform a gray value dilation on an image.). · examples: gallery2d_morphologygerode (halcon: gray_erosion) image → image GPU: yes (gerode) — Grayscale erosion (expands toward darker values). Equivalent to HALCON’s gray_erosion (Perform a gray value erosion on an image.). · examples: gallery2d_morphologygopen (halcon: gray_opening) image → image GPU: yes (gray_opening_rect) — Grayscale opening (erosion followed by dilation). Equivalent to HALCON’s gray_opening (Perform a gray value opening on an image.). · examples: gallery2d_morphologygray_bothat (halcon: gray_bothat) image → image GPU: yes (gray_bothat@twin) — Black top-hat (closing minus original image). It extracts only small structures (holes, dips) that are darker than their surroundings – the tone-inverted counterpart to gray_tophat. Equivalent to HALCON’s gray_bothat (Perform a gray value bottom hat transformation on an image.). · examples: gallery2d_morphology, poc_metal_grain_sizegray_closing (halcon: gray_closing) image → image GPU: yes (gray_closing) — Grayscale closing (dilation followed by erosion with the same structuring element). It fills small dark holes and dips – the counterpart operation to gray_opening. Equivalent to HALCON’s gray_closing (Perform a gray value closing on an image.). · examples: gallery2d_morphology, poc_solar_el_inspectiongray_closing_rect (halcon: gray_closing_rect) image → image GPU: yes (gray_closing_rect@twin) — Grayscale closing using a square window (side _k(a)=3/5/7/9) (gray closing: dilation followed by erosion). Fills small dark holes and depressions while preserving overall brightness. b is unused. · examples: gallery2d_morphologygray_closing_shape (halcon: gray_closing_shape) image → image GPU: yes (allow-list) — Grayscale closing using a disk-shaped structuring element. The only difference from gray_closing is the shape of the structuring element. Equivalent to HALCON’s gray_closing_shape (Perform a gray value closing with a selected mask.) (an approximation fixed to circular). · examples: gallery2d_morphologygray_dilation (halcon: gray_dilation) image → image GPU: yes (gray_dilation) — Grayscale dilation (ndimage.grey_dilation). Replaces each pixel with the maximum value within a rectangular structuring element, filling in dark details – the counterpart operation to gray_erosion. Equivalent to HALCON’s gray_dilation (Perform a gray value dilation on an image.). · examples: gallery2d_morphologygray_dilation_shape (halcon: gray_dilation_shape) image → image GPU: inside a chain only (allow-list) — Grayscale dilation using a circular (disk, radius _rad(a)=1-4) structuring element – replaces each pixel with the maximum value in its window. b is unused. · examples: gallery2d_morphologygray_erosion (halcon: gray_erosion) image → image GPU: yes (gray_erosion) — Grayscale erosion (ndimage.grey_erosion). Replaces each pixel with the minimum value within a rectangular structuring element (default shape=”rect”), eroding bright details. Equivalent to HALCON’s gray_erosion (Perform a gray value erosion on an image.). · examples: gallery2d_morphologygray_erosion_shape (halcon: gray_erosion_shape) image → image GPU: inside a chain only (allow-list) — Grayscale erosion using a circular (disk, radius _rad(a)=1-4) structuring element – replaces each pixel with the minimum value in its window. b is unused. · examples: gallery2d_morphologygray_opening (halcon: gray_opening) image → image GPU: yes (gray_opening) — Grayscale opening (erosion followed by dilation with the same structuring element). It removes small bright protrusions and thin lines while roughly preserving the overall brightness distribution. Equivalent to HALCON’s gray_opening (Perform a gray value opening on an image.). · examples: gallery2d_morphologygray_opening_rect (halcon: gray_opening_rect) image → image GPU: yes (gray_opening_rect@twin) — Grayscale opening using a square window (side _k(a)=3/5/7/9) (gray opening: erosion followed by dilation). Removes small bright protrusions and noise while preserving overall brightness. b is unused. · examples: find_ops_by_meaning, gallery2d_morphology, poc_weld_radiograph_porositygray_opening_shape (halcon: gray_opening_shape) image → image GPU: yes (allow-list) — Grayscale opening using a disk-shaped structuring element. The only difference from gray_opening is the shape of the structuring element; the operation itself (erosion then dilation) is the same. Equivalent to HALCON’s gray_opening_shape (Perform a gray value opening with a selected mask.) (HALCON allows a choice among rectangle/circle/octagon etc., but here it is fixed to circular). · examples: gallery2d_morphologygray_tophat (halcon: gray_tophat) image → image GPU: yes (gray_tophat@twin) — White top-hat (original image minus opening). It extracts only small structures (spots, thin lines) that are brighter than their surroundings. Since the result is returned normalized via _norm, it represents relative prominence rather than absolute brightness. Equivalent to HALCON’s gray_tophat (Perform a gray value top hat transformation on an image.). · examples: gallery2d_morphology, poc_document_scan, poc_real_coin_metrology, poc_search_sweep_widthlocal_thickness image → image GPU: yes (allow-list) — Returns each foreground pixel filled with “the diameter of the largest circle that can cover it” (local thickness). · examples: gallery2d_morphology, poc_bone_trabecular_thicknessmorph_grad (halcon: gray_range_rect) image → image GPU: yes (gray_range_rect) — Morphological gradient (dilation minus erosion). Equivalent to HALCON’s gray_range_rect (Determine the gray value range within a rectangle.). · examples: gallery2d_morphologypersistence_map image → image GPU: none — Measures the “prominence of peaks” without choosing a threshold (0-dimensional persistence). · examples: gallery2d_morphologyrunlength_smear image → image GPU: yes (allow-list) — Run-length smoothing (RLSA). Fills the gaps between characters within a line and merges the characters into “line” blocks. · examples: gallery2d_morphologysk_area_opening image → image GPU: none — Area opening. Whereas ordinary morphological opening removes small bright regions based on the shape of the structuring element, this judges by area alone (number of connected pixels) and removes bright connected components smaller than a specified area – letting you drop “small” things regardless of shape. · examples: gallery2d_morphology, poc_bone_trabecular_thickness, poc_fresco_craqueluretophat (halcon: gray_tophat) image → image GPU: yes (gray_tophat) — White top-hat (original image minus opening). Equivalent to HALCON’s gray_tophat (Perform a gray value top hat transformation on an image.). · examples: degenerate_inputs, example_scratch_width, gallery2d_morphology, mcp_task_score, poc_search_sweep_widthxsk2_diameter_opening image → image GPU: none — Diameter opening (a diameter-based version of area opening; removes tiny bright structures). Calls skimage.morphology.diameter_opening. · examples: gallery2d_morphologyxsk2_reconstruction image → image GPU: none — Morphological reconstruction (reconstruction by dilation). Calls skimage.morphology.reconstruction with method=”dilation”. · examples: gallery2d_morphologyxsk3_area_closing image → image GPU: none — Area closing (skimage morphology.area_closing). A size-based morphological operation that fills in only dark regions (dips) with area below a threshold - unlike ordinary closing, it selects targets by the area of the connected component rather than the shape of the structuring element. · examples: gallery2d_morphologyxsk3_diameter_closing image → image GPU: none — Diameter closing (skimage morphology.diameter_closing). A closing that, instead of the area used by xsk3_area_closing, selects targets by the diagonal length (diameter) of the connected component’s bounding box - the diameter criterion suits elongated structures, and the area criterion suits round structures. · examples: gallery2d_morphologyxmh_regmin image → region GPU: none — Regional minima extraction (mahotas.regmin). On a Gaussian-smoothed image, marks the locally darkest valleys as regions. A typical preprocessing step for generating markers for watershed segmentation. · examples: gallery2d_segmentationabs_diff_image (halcon: abs_diff_image) image × image → image GPU: inside a chain only (allow-list) — Absolute value of the difference of 2 images. Corresponds to HALCON’s abs_diff_image. out = clip(|I1 - I2| * (0.5 + 1.5a), 0, 1). The basic form of change detection: it discards the sign but in exchange picks up changes toward both brighter and darker. b is unused. · examples: gallery_nary_image_algebraadd_image (halcon: add_image) image × image → image GPU: none — Adds 2 images. Corresponds to HALCON’s add_image. out = clip((I1 + I2) * (0.5 + a) + (b - 0.5), 0, 1) — a is the gain (0.5 to 1.5 times), b the offset (-0.5 to +0.5). Saturation is clipped at 0/1. · examples: degenerate_inputs, gallery_nary_image_algebra, genspark_external_reviewbit_and (halcon: bit_and) image × image → image GPU: yes (allow-list) — Bitwise AND of 2 images. Corresponds to HALCON’s bit_and. ★It first quantizes to 8bit integers, operates, then divides by 255 to go back, so floating-point gray levels are lost (0.501 and 0.503 become the same value). a, b are unused. · examples: gallery_nary_image_algebrabit_or (halcon: bit_or) image × image → image GPU: inside a chain only (allow-list) — Bitwise OR of 2 images. Corresponds to HALCON’s bit_or. ★Like bit_and, it quantizes to 8bit before operating, so gray levels are lost. a, b are unused. · examples: gallery_nary_image_algebraconvol_image (halcon: convol_image) image × image → image GPU: none — Convolves with the 2nd input as the filter mask. Corresponds to HALCON’s convol_image. ★Like HALCON, it computes a correlation (overlays the mask as written) — scipy’s convolve flips the mask, so with an asymmetric mask the image shifts in the opposite direction. The mask may be smaller than the image (the shapes need not match) and is normalized by dividing by the sum of absolute values + 1e-8 (so that a mask summing to 0 does not blow up the division; the output is therefore smaller by a relative 1e-8); borders use reflect. a, b are unused. · examples: gallery_nary_image_algebradifference (halcon: difference) region × region → region GPU: none — Difference of 2 regions (pixels in the 1st but not in the 2nd). Corresponds to HALCON’s difference. Order matters (swapping the subtrahend and the minuend gives a different result). a, b are unused. · examples: gallery_nary_image_algebra, gfx2d_scene, poc_granular_heap_repose, poc_powder_scoop_pour, poc_pxrd_phase_peeldiv_image (halcon: div_image) image × image → image GPU: inside a chain only (allow-list) — Divides 2 images pixel by pixel. Corresponds to HALCON’s div_image. out = clip(I1 / max(I2, 1e-3) * (0.1 + 0.9a), 0, 1) — to avoid division by zero the denominator has a floor of 1e-3 (there the quotient becomes up to 1000 times larger and saturates). b is unused. · examples: gallery_nary_image_algebraintersection (halcon: intersection) region × region → region GPU: none — Intersection of 2 regions (pixels in both). Corresponds to HALCON’s intersection. Inputs are binarized with > 0.5. a, b are unused. · examples: gallery_nary_image_algebra, poc_battery_electrode_tortuosity, poc_connectome_across_decades, poc_connectome_across_worms, poc_driving_crossing, poc_driving_japan_town, poc_driving_pass, poc_driving_school, poc_driving_town, poc_real_sem_metal_layer, poc_worm_neurites_growmax_image (halcon: max_image) image × image → image GPU: none — Pixel-wise maximum of 2 images. Corresponds to HALCON’s max_image. a, b are unused. It keeps the brighter one, so it is used for combining multiple exposures or filling holes from missing data. · examples: gallery_nary_image_algebramin_image (halcon: min_image) image × image → image GPU: inside a chain only (allow-list) — Pixel-wise minimum of 2 images. Corresponds to HALCON’s min_image. a, b are unused. It keeps the darker one, so it is used to suppress specular highlights. · examples: gallery_nary_image_algebramult_image (halcon: mult_image) image × image → image GPU: inside a chain only (allow-list) — Multiplies 2 images pixel by pixel. Corresponds to HALCON’s mult_image. out = clip(I1 * I2 * (0.5 + 1.5a) + (b - 0.5), 0, 1). Because the product is always darker, the gain range of a is made wide. · examples: gallery_nary_image_algebraoverpaint_region (halcon: overpaint_region) image × region → image GPU: none — Fills the inside of a region of the image with a constant value. Corresponds to HALCON’s overpaint_region. The value painted is a (0 to 1). b is unused. · examples: gallery_nary_image_algebrapaint_gray (halcon: paint_gray) image × image → image GPU: none — Paints the gray values of the 2nd image (source) into the 1st image. Corresponds to HALCON’s paint_gray. ★The painted area is all non-zero pixels of the source (matching this layer’s convention “outside the domain is 0”). Until 2026-09-03 only pixels > 0.5 were painted, so dark sources disappeared. a, b are unused. · examples: gallery_nary_image_algebrareduce_domain (halcon: reduce_domain) image × region → image GPU: none — Restricts the image’s domain to a region. Corresponds to HALCON’s reduce_domain. This layer has no explicit domain, so it is expressed by setting everything outside the region to 0 (multiplying the image by the region). a, b are unused. · examples: gallery_nary_image_algebrasub_image (halcon: sub_image) image × image → image GPU: inside a chain only (allow-list) — Subtracts 2 images. Corresponds to HALCON’s sub_image. out = clip((I1 - I2) * (0.5 + a) + b, 0, 1) — negative differences are crushed to 0 unless lifted by b (with the default b=0.5 the middle value becomes gray). · examples: gallery_nary_image_algebrasymm_difference (halcon: symm_difference) region × region → region GPU: none — Symmetric difference of 2 regions (pixels in only one of them). Corresponds to HALCON’s symm_difference. It erases the overlap, so it is used to see the misalignment between 2 masks. a, b are unused. · examples: gallery_nary_image_algebraunion2 (halcon: union2) region × region → region GPU: none — Union of 2 regions (pixels in either). Corresponds to HALCON’s union2. Inputs are binarized with > 0.5. a, b are unused. · examples: gallery_nary_image_algebraadd_noise_distribution (halcon: add_noise_distribution) image → image GPU: none — Adds additive noise to the image. The implementation supports only Gaussian (normal-distribution) noise, sharing the gaussian branch of _sh_noise with add_noise_white. The random numbers are generated with a fixed seed determined by a (int(a*997)+7), so the same a always produces the same noise (deterministic). b sets the noise standard deviation to 0.02-0.22. · examples: gallery2d_smoothing_rankadd_noise_white (halcon: add_noise_white) image → image GPU: none — Adds Gaussian white noise (generated with np.random.default_rng, standard deviation 0.02+0.2*b). The random seed is deterministically derived from a via int(a*997)+7, so the same a always reproduces the same noise pattern (note that this is not truly random — a is used as a pseudo-knob that selects a “noise appearance type”). Corresponds to HALCON’s add_noise_white (Add noise to an image.). · examples: gallery2d_smoothing_rankph_coherence_enhancing_diffusion image → image GPU: yes (allow-list) — Weickert coherence-enhancing diffusion (HALCON coherence_enhancing_diff). · examples: gallery2d_physics_alife_3dph_heat_flow image → image GPU: yes (allow-list) — Linear heat equation / isotropic diffusion (HALCON isotropic_diffusion). · examples: gallery2d_physics_alife_3dph_mean_curvature_motion image → image GPU: yes (allow-list) — Mean-curvature motion / curve-shortening flow (HALCON mean_curvature_flow). · examples: gallery2d_physics_alife_3dph_perona_malik image → image GPU: yes (allow-list) — Perona-Malik anisotropic diffusion (HALCON anisotropic_diffusion). · examples: gallery2d_physics_alife_3dph_reaction_diffusion image → image GPU: yes (allow-list) — Gray-Scott reaction-diffusion (no HALCON operator, halcon=””). · examples: gallery2d_physics_alife_3dph_total_variation_flow image → image GPU: yes (allow-list) — Total-variation (Rudin-Osher-Fatemi) denoising flow (no HALCON operator, “”). · examples: find_ops_by_meaning, gallery2d_physics_alife_3dcv_median (halcon: median_image) image → image GPU: none — Median filter (OpenCV implementation). A standard denoising method that replaces each pixel with the median of its square neighborhood (especially effective against salt-and-pepper noise, and relatively edge-preserving). · examples: find_ops_by_meaning, gallery2d_smoothing_rankdual_rank (halcon: dual_rank) image → image GPU: yes (dual_rank) — A percentile (order-statistic) filter. Sorts the pixels in the window in ascending order and returns the value at the percentile specified by b (5-95%, sharing the rank branch of _sh_rank with rank_image/rank_rect). a sets the window size to 3/5/7/9. · examples: gallery2d_smoothing_rankeliminate_min_max (halcon: eliminate_min_max) image → image GPU: yes (eliminate_min_max) — Smoothing via a median filter. The implementation shares the median branch of _sh_rank with ops like median_image, simply replacing each pixel with the median of its window. a sets the window size to one of 3/5/7/9 (_k(a)). b is unused. · examples: gallery2d_smoothing_rankeliminate_sp (halcon: eliminate_sp) image → image GPU: yes (allow-list) — Noise suppression via a sigma filter (Lee-type). Re-averages using only pixels within the window whose difference from the window mean is below a threshold (0.05-0.4, set by b), removing the influence of extreme outlier pixels (such as salt-and-pepper noise). If no pixel in the window qualifies, the original value is returned unchanged. a sets the window size to 3/5/7/9. · examples: gallery2d_smoothing_rankgray_dilation_rect (halcon: gray_dilation_rect) image → image GPU: yes (gray_dilation_rect@twin) — Grayscale dilation that returns the maximum value within a rectangular window (ndimage.maximum_filter). It fills in dark thin lines and small holes from the bright side, the counterpart operation to gray_erosion_rect. Equivalent to HALCON’s gray_dilation_rect (Determine the maximum gray value within a rectangle.). · examples: gallery2d_smoothing_rankgray_erosion_rect (halcon: gray_erosion_rect) image → image GPU: yes (gray_erosion_rect@twin) — Grayscale erosion that returns the minimum value within a rectangular window (ndimage.minimum_filter). It erodes bright thin lines and small protrusions away from the dark side, removing them. Equivalent to HALCON’s gray_erosion_rect (Determine the minimum gray value within a rectangle.). · examples: gallery2d_smoothing_rankgray_range_rect (halcon: gray_range_rect) image → image GPU: yes (gray_range_rect@twin) — Returns the normalized difference between the maximum and minimum values within a rectangular window (the local range). It visualizes the intensity of local texture variation (the amount of contrast). Equivalent to HALCON’s gray_range_rect (Determine the gray value range within a rectangle.). · examples: gallery2d_smoothing_rankmax_filter (halcon: gray_dilation_rect) image → image GPU: yes (gray_dilation_rect) — Maximum filter within a rectangular window (equivalent to grayscale dilation). Equivalent to HALCON’s gray_dilation_rect (Determine the maximum gray value within a rectangle.). · examples: gallery2d_smoothing_rankmean_sp (halcon: mean_sp) image → image GPU: yes (allow-list) — A robust smoothing filter. Returns the average of the 20th and 80th percentiles within the window (a trimmed mean), suppressing the influence of extreme bright/dark outliers (such as salt-and-pepper noise). a sets the window size to 3/5/7/9 (_k(a)). b is unused. · examples: gallery2d_smoothing_rankmedian (halcon: median_image) image → image GPU: yes (median_image) — Median filter. Equivalent to HALCON’s median_image (Compute a median filter with various masks.). · examples: astro_stacking, blas_thread_budget, ct_reconstruction, gallery2d_smoothing_rank, genspark_external_review, lightfield_depth, photon_timeresolved, piv_flow_from_particles, poc_ai_built_inspection_scored, poc_am_thermal_to_ct, poc_astro_photometry, poc_compound_eye, poc_dtof_ranging, poc_geodetic_height_frames, poc_hyperspectral_foreign_matter, poc_lidar_terrain_change, poc_mixed_case_depalletizing, poc_nuclei_ploidy, poc_pv_thermal_survey, poc_river_surface_velocity, poc_sheet_deformation_ffd, poc_solar_el_inspection, poc_tacscalib_sphere_lut, poc_web_roll_periodicity, poc_weld_bead_profile, quickstart, specular_photometricmedian_image (halcon: median_image) image → image GPU: yes (median_image@twin) — Median filter (ndimage.median_filter, square window). A denoising method that replaces each pixel with the median within a window; unlike a mean filter, it can remove salt-and-pepper noise while preserving edges. Equivalent to HALCON’s median_image (Compute a median filter with various masks.) (HALCON allows arbitrary masks such as circular or octagonal, but here it is fixed to a square mask). · examples: degenerate_inputs, find_ops_by_meaning, gallery2d_smoothing_rank, genspark_external_review, poc_prnu_camera_fingerprintmedian_rect (halcon: median_rect) image → image GPU: yes (median_rect) — Rectangular median filter. Uses the same scipy implementation as median_image, but height and width can be specified independently (size=(k_a, k_b)). Equivalent to HALCON’s median_rect (Compute a median filter with rectangular masks.). · examples: gallery2d_smoothing_rank, poc_tree_ring_dendro, poc_weld_radiograph_porositymedian_separate (halcon: median_separate) image → image GPU: yes (median_separate) — The implementation is the same as median_image (kind: "median", a 2D median over a square window). HALCON’s median_separate (Separated median filtering with rectangle masks.) is a fast approximation operator that applies two passes of 1D medians separated into row and column directions, but this stand-in makes no distinction and returns an ordinary 2D median (results are often close, but strictly it is a different algorithm – a limitation of this approximation). · examples: gallery2d_smoothing_rankmedian_weighted (halcon: median_weighted) image → image GPU: yes (median_weighted) — A median filter. The implementation shares the median branch of _sh_rank with eliminate_min_max/median_image; it does no weighting by mask shape (circle, octagon, etc.) and simply returns the median of a square window. a sets the window size to 3/5/7/9, and b is unused. · examples: gallery2d_smoothing_rankmin_filter (halcon: gray_erosion_rect) image → image GPU: yes (gray_erosion_rect) — Minimum filter within a rectangular window (equivalent to grayscale erosion). Equivalent to HALCON’s gray_erosion_rect (Determine the minimum gray value within a rectangle.). · examples: gallery2d_smoothing_rankpercentile (halcon: rank_image) image → image GPU: yes (rank_percentile) — Rank filter for an arbitrary percentile. Equivalent to HALCON’s rank_image (Compute a rank filter with arbitrary masks.). · examples: gallery2d_smoothing_rank, poc_colormap_readability, poc_real_grain_skizrank_image (halcon: rank_image) image → image GPU: yes (rank_image) — A general-purpose rank filter (ndimage.percentile_filter) that sorts the pixel values in a window in ascending order and returns the value at the specified percentile position. It is a continuous generalization: percentile 0 corresponds to erosion, 100 to dilation, and 50 to median. Equivalent to HALCON’s rank_image (Compute a rank filter with arbitrary masks.) (HALCON can take an arbitrarily shaped mask, but here it is fixed to a square mask). · examples: gallery2d_smoothing_rank, poc_dehazingrank_rect (halcon: rank_rect) image → image GPU: yes (rank_rect) — The implementation is identical to rank_image (kind: "rank", a percentile filter over a square window). In HALCON, rank_image (arbitrary mask) and rank_rect (restricted to rectangular masks) are separate operators, but in this stand-in both point to the same square-window implementation. A stand-in for HALCON’s rank_rect (Compute a rank filter with rectangular masks.). · examples: gallery2d_smoothing_ranksk_median_disk (halcon: median_image) image → image GPU: none — Median filter with a disk-shaped footprint. Unlike a regular square kernel, this gives isotropic smoothing that is closer to circular. · examples: gallery2d_smoothing_ranktrimmed_mean (halcon: trimmed_mean) image → image GPU: yes (allow-list) — Approximates a trimmed mean by returning the average of the 20th- and 80th-percentile filter results. This yields a value close to an average with outlier influence (from the low and high extremes) removed, but note that it is an approximation whose computation differs from a true “average the central 60%” trimmed mean. A stand-in for HALCON’s trimmed_mean (Smooth an image with an arbitrary rank mask.). · examples: gallery2d_smoothing_rankxkor_median image → image GPU: none — Median filter. Calls kornia.filters.median_blur. · examples: gallery2d_smoothing_rankxpil_mode_filter image → image GPU: none — Mode filter. Uses PIL.ImageFilter.ModeFilter to replace each pixel with the most frequent value within the window (differs from a median filter in taking the mode rather than the median). · examples: gallery2d_smoothing_rankxsk2_rank_geomean image → image GPU: none — A type of rank filter, the geometric mean filter. Applies skimage.filters.rank.geometric_mean to an 8-bit converted image using a circular structuring element (skimage.morphology.disk). · examples: gallery2d_smoothing_rankboundary (halcon: boundary) region → region GPU: inside a chain only (allow-list) — Extracts the outer boundary line (a 1-pixel-wide ring just inside the contour) by subtracting a 1-pixel-eroded version of the region from itself. Converts a filled region into a contour line. Equivalent to HALCON’s boundary (Reduce a region to its boundary.). · examples: gallery2d_region, poc_complex_plane_fields, poc_driving_commonroad, voxel_labels_colorclosest_point_transform (halcon: closest_point_transform) region → image GPU: yes (allow-list) — Returns the normalized Euclidean distance transform of the region’s complement — a distance field representing, for each pixel, the distance to the nearest region (foreground) pixel, with foreground/background reversed relative to distance_transform. The output type is image. If the region is empty, the result is uniformly 1.0 (there is no nearest region pixel = everywhere is farthest). Corresponds to HALCON’s closest_point_transform (Compute the closest-point transformation of a region.). · examples: gallery2d_regionclosing_circle (halcon: closing_circle) region → region GPU: inside a chain only (allow-list) — Binary closing with a disk-shaped structuring element (dilation followed by erosion). Fills small holes and constrictions, the counterpart operation to opening_circle. Corresponds to HALCON’s closing_circle (Close a region with a circular structuring element). · examples: gallery2d_region, poc_bev_sensor_fusion, poc_real_sem_metal_layerclosing_golay (halcon: closing_golay) region → region GPU: inside a chain only (allow-list) — Binary closing using a circular structuring element (disk, radius _rad(a)=1-4) (closing: dilation followed by erosion). Fills small holes and constrictions. b is unused. · examples: gallery2d_regionclosing_rectangle1 (halcon: closing_rectangle1) region → region GPU: yes (allow-list) — Binary closing with a square structuring element. The rectangular version of closing_circle. Equivalent to HALCON’s closing_rectangle1 (Close a region with a rectangular structuring element.). · examples: gallery2d_regionconvex_fill (halcon: shape_trans) region → region GPU: none — Fills holes and indentations to approximate a convex-hull-like shape (an approximation via closing). Intended to correspond to the convex hull transform of HALCON’s shape_trans (Transform the shape of a region.), but the implementation is a closing with many iterations, not an exact convex hull computation (an approximation). · examples: gallery2d_regioncv_dist (halcon: distance_transform) region → image GPU: none — Distance transform (OpenCV implementation, L2/Euclidean approximation). For each pixel in the foreground region, computes the distance to the nearest background pixel and returns it as an image - used as preprocessing for extracting a region’s “thickness” or its centerline. · examples: gallery2d_regiondilation_circle (halcon: dilation_circle) region → region GPU: yes (dilation_circle) — Binary dilation with a disk-shaped structuring element (ndimage.binary_dilation). Expands the foreground region outward, the counterpart operation to erosion_circle. Corresponds to HALCON’s dilation_circle (Dilate a region with a circular structuring element). · examples: gallery2d_region, poc_focus_stackingdilation_golay (halcon: dilation_golay) region → region GPU: inside a chain only (allow-list) — Binary dilation using a circular structuring element (disk, radius _rad(a)=1-4). b is unused. · examples: gallery2d_regiondilation_rectangle1 (halcon: dilation_rectangle1) region → region GPU: yes (dilation_rectangle1) — Binary dilation with a square structuring element. The rectangular version of dilation_circle. Equivalent to HALCON’s dilation_rectangle1 (Dilate a region with a rectangular structuring element.). · examples: gallery2d_regiondilation_seq (halcon: dilation_seq) region → region GPU: yes (dilation_seq) — Sequential dilation using a fixed cross-shaped structuring element (4-connectivity), repeated 1-4 times depending on a. b is unused. · examples: gallery2d_regiondist_transform (halcon: distance_transform) region → image GPU: yes (allow-list) — Euclidean distance transform. Equivalent to HALCON’s distance_transform (Compute the distance transformation of a region.). · examples: gallery2d_region, poc_bone_trabecular_thicknessdist_transform_abs (halcon: distance_transform) region → image GPU: none — Distance transform in absolute pixel distances without normalisation. Equivalent to HALCON’s distance_transform (Compute the distance transformation of a region.). · examples: gallery2d_regiondistance_transform (halcon: distance_transform) region → image GPU: yes (allow-list) — An image obtained by normalizing the Euclidean distance transform (ndimage.distance_transform_edt) by its maximum value. It represents, for each foreground pixel, the distance to the nearest background pixel – (if there is no background, it is uniformly 1.0 = everywhere is farthest) the larger the value, the “deeper” the pixel is inside the region. Note that the output type is image, not region. Equivalent to HALCON’s distance_transform (Compute the distance transformation of a region.). · examples: gallery2d_region, poc_cell_counting, poc_crack_width, poc_fresco_craquelure, poc_particle_sizing, poc_vessel_networkem_skeleton region → region GPU: none — Eckhardt–Maderlechner-style invariant thinning (the same family as HALCON skeleton). · examples: gallery2d_regionerosion_circle (halcon: erosion_circle) region → region GPU: yes (erosion_circle) — Binary erosion with a disk-shaped structuring element (ndimage.binary_erosion). The most basic binary morphological operation, eroding the foreground region from its outer boundary to shrink it. Corresponds to HALCON’s erosion_circle (Erode a region with a circular structuring element). · examples: gallery2d_region, poc_livestock_body_volumeerosion_golay (halcon: erosion_golay) region → region GPU: yes (erosion_golay) — Binary erosion using a circular structuring element (disk, radius _rad(a)=1-4). b is unused. · examples: gallery2d_regionerosion_rectangle1 (halcon: erosion_rectangle1) region → region GPU: inside a chain only (allow-list) — Binary erosion with a square structuring element. The only difference from erosion_circle is the shape of the structuring element (square instead of circular). Corresponds to HALCON’s erosion_rectangle1 (Erode a region with a rectangular structuring element). · examples: gallery2d_regionerosion_seq (halcon: erosion_seq) region → region GPU: yes (erosion_seq) — Sequential erosion using a fixed cross-shaped structuring element (4-connectivity), repeated 1-4 times depending on a. b is unused. More iterations produce greater erosion (each iteration corresponds to roughly a 1-pixel radius). · examples: gallery2d_regionfill_holes (halcon: fill_up) region → region GPU: yes (fill_holes) — Fills holes within a region. Equivalent to HALCON’s fill_up (Fill up holes in regions.). · examples: gallery2d_region, poc_cell_counting, poc_document_scan, poc_leaf_disease_area, poc_mesh_quality_repair, poc_mixed_case_depalletizing, poc_real_coin_metrology, poc_real_sem_metal_layer, poc_symmetry_restorationfill_up (halcon: fill_up) region → region GPU: yes (fill_up) — Fills holes inside a region (areas completely surrounded by background) using ndimage.binary_fill_holes. Only background holes that are not connected to the outer boundary are filled; indentations connected to the outer boundary are not filled. Equivalent to HALCON’s fill_up (Fill up holes in regions.). · examples: gallery2d_region, poc_bev_sensor_fusion, poc_cloth_towel_corners_synthfill_up_shape (halcon: fill_up_shape) region → region GPU: inside a chain only (lbl_fill_up_shape) — Fills small holes inside the region. Only fills holes with an area of area_threshold = 16+200a pixels or fewer (skimage’s remove_small_holes). b is unused. · examples: gallery2d_regionget_region_contour (halcon: get_region_contour) region → region GPU: inside a chain only (allow-list) — Extracts the contour (boundary, 1 pixel wide) of the region. Subtracts a single binary erosion of the region to leave the contour. For a region with holes it returns the hole boundaries as well, not only the outer one (measured 2026-09-16: on an 8x8 frame with a 4x4 hole, 16 of the 20 foreground pixels adjacent to the hole come out as contour). “region minus its erosion” leaves one pixel on the outside and on the hole side alike, so fill the holes first if you want the outer boundary only. a and b are unused. Same implementation as the boundary seed op. · examples: gallery2d_region, poc_document_scanget_region_convex (halcon: get_region_convex) region → region GPU: none — Returns the convex hull of the region as a filled region (skimage.morphology.convex_hull_image). a and b are unused. Same implementation as shape_trans (the seed op that converts shape to its convex hull). · examples: gallery2d_regioninvert_region (halcon: complement) region → region GPU: yes (invert_region) — Complement of a region (foreground/background inversion). Equivalent to HALCON’s complement (Return the complement of a region.). · examples: gallery2d_regionjunctions_skeleton (halcon: junctions_skeleton) region → region GPU: none — From a skeletonized region, keeps only pixels that have 3 or more skeleton pixels in their 3x3 neighborhood (branch points / junctions). Detects branching nodes, not skeleton endpoints (the targets that pruning removes). Corresponds to HALCON’s junctions_skeleton (Find junctions and end points in a skeleton.) – an approximation that detects only junctions, whereas HALCON also returns endpoints at the same time. · examples: gallery2d_region, poc_fresco_craqueluremorph_skeleton (halcon: morph_skeleton) region → region GPU: none — Extracts the skeleton of a region. The implementation uses skimage’s skeletonize (a Zhang-Suen-type iterative thinning algorithm); a and b are unused. · examples: gallery2d_regionopening_circle (halcon: opening_circle) region → region GPU: yes (opening_circle) — Binary opening with a disk-shaped structuring element (erosion followed by dilation). Removes small protrusions and thin connections while preserving the overall shape. Corresponds to HALCON’s opening_circle (Open a region with a circular structuring element). · examples: gallery2d_region, poc_bone_trabecular_thickness, poc_change_detection_misreg, poc_document_scan, poc_real_sem_metal_layeropening_golay (halcon: opening_golay) region → region GPU: yes (opening_golay) — Binary opening using a circular structuring element (disk, radius _rad(a)=1-4) (opening: erosion followed by dilation). Removes small protrusions and isolated points. b is unused. · examples: gallery2d_regionopening_rectangle1 (halcon: opening_rectangle1) region → region GPU: yes (allow-list) — Binary opening with a square structuring element. The rectangular version of opening_circle. Equivalent to HALCON’s opening_rectangle1 (Open a region with a rectangular structuring element.). · examples: gallery2d_regionpruning (halcon: pruning) region → region GPU: none — After skeletonization (skeletonize, or the input as-is if unavailable), repeatedly (1+4*a times) trims off endpoint pixels with a neighbor count of 1 or fewer (spurs = stray branches), removing short branches from the skeleton. Corresponds to HALCON’s pruning (Prune the branches of a region.) (HALCON can specify branch length, but this is an approximation using an iteration count). · examples: gallery2d_region, poc_fresco_craquelurer2_endpoints_skeleton region → region GPU: none — Extract the end points of a skeleton (the points with exactly one skeleton pixel in their 8-neighbourhood). · examples: gallery2d_region, poc_fresco_craquelurer2_inner_circle (halcon: inner_circle) region → region GPU: yes (allow-list) — Largest inscribed circle drawn as a mask (a scales drawn radius; a=0.5=exact). · examples: gallery2d_regionr2_inner_rectangle1 (halcon: inner_rectangle1) region → region GPU: none — Largest axis-aligned inscribed rectangle (a shrinks the drawn rect; a=0=exact). · examples: gallery2d_regionr2_partition_rectangle (halcon: partition_rectangle) region → region GPU: inside a chain only (allow-list) — Split the region bbox into an NxN grid; keep cells overlapping the region. · examples: gallery2d_regionr2_runlength_features (halcon: runlength_features) region → feature GPU: none — Region -> feature: mean length of horizontal foreground runs. · examples: gallery2d_regionr2_smallest_circle (halcon: smallest_circle) region → region GPU: none — Minimum enclosing circle as a mask (Welzl); a inflates radius (>=0). · examples: gallery2d_regionr2_smallest_rectangle1 region → region GPU: inside a chain only (allow-list) — Axis-aligned bounding box (smallest_rectangle1). · examples: gallery2d_regionr2_smallest_rectangle2 (halcon: smallest_rectangle2) region → region GPU: none — Minimum-area ORIENTED bounding rectangle as a mask (rotating calipers). · examples: gallery2d_regionr2_sort_region (halcon: sort_region) region → region GPU: inside a chain only (lbl_sort_region) — Keep the k-th largest connected component; k = round(a*(n-1)). · examples: gallery2d_regionr2_split_skeleton_lines (halcon: split_skeleton_lines) region → region GPU: none — Thin the region to a skeleton, then break it at junctions (>=3 neighbours). · examples: gallery2d_region, poc_vessel_networkr2_union1 (halcon: union1) region → region GPU: yes (r2_union1) — Union of all connected components into a single mask (OR of labels). · examples: gallery2d_regionr3_background_seg (halcon: background_seg) region → region GPU: yes (lbl_background_seg) — Splits the region’s background (the complement of the foreground) into connected components, discards components that are too small, and returns the rest (equivalent to HALCON background_seg). · examples: gallery2d_regionr3_clip_region (halcon: clip_region) region → region GPU: yes (allow-list) — Clips the region with a rectangular window centred on the image (equivalent to HALCON clip_region). · examples: gallery2d_regionr3_eliminate_runs (halcon: eliminate_runs) region → region GPU: none — Removes horizontal connected runs (sequences of consecutive foreground pixels) shorter than a specified length (equivalent to HALCON eliminate_runs). · examples: gallery2d_regionr3_label_to_region (halcon: label_to_region) region → region GPU: none — Extracts only the pixels with one specific gray value (label) from a label image (equivalent to HALCON label_to_region). · examples: gallery2d_regionr3_partition_dynamic (halcon: partition_dynamic) region → region GPU: none — Splits the region horizontally at columns where the vertical extent narrows (a ‘neck’) (equivalent to HALCON partition_dynamic). · examples: gallery2d_regionr3_polar_trans_region (halcon: polar_trans_region) region → region GPU: yes (allow-list) — Remaps the region to polar coordinates centred on its centroid (equivalent to HALCON polar_trans_region). · examples: gallery2d_regionr3_rank_region (halcon: rank_region) region → region GPU: inside a chain only (allow-list) — Morphological rank operator on a region (HALCON’s genuine rank_region: a generalisation that is neither pure erosion nor pure dilation). · examples: gallery2d_regionr3_region_features (halcon: region_features) region → feature GPU: none — Returns one shape feature of the region (implements part of HALCON region_features). · examples: gallery2d_regionr3_runlength_distribution (halcon: runlength_distribution) region → feature GPU: none — Returns one summary statistic of the horizontal run-length distribution (equivalent to HALCON runlength_distribution). · examples: gallery2d_regionr3_select_region_point (halcon: select_region_point) region → region GPU: inside a chain only (lbl_select_region_point) — Keeps only the connected component that contains a specified point (equivalent to HALCON select_region_point). · examples: gallery2d_regionreg_close (halcon: closing_circle) region → region GPU: none — Binary closing of a region (dilation followed by erosion). Equivalent to HALCON’s closing_circle (Close a region with a circular structuring element.). · examples: gallery2d_region, poc_leaf_disease_areareg_dilate (halcon: dilation_circle) region → region GPU: yes (reg_dilate) — Binary dilation of a region. Equivalent to HALCON’s dilation_circle (Dilate a region with a circular structuring element.). · examples: gallery2d_regionreg_erode (halcon: erosion_circle) region → region GPU: yes (reg_erode) — Binary erosion of a region. Equivalent to HALCON’s erosion_circle (Erode a region with a circular structuring element.). · examples: degenerate_inputs, gallery2d_region, poc_colocalization_crosstalk, poc_leaf_disease_areareg_open (halcon: opening_circle) region → region GPU: none — Binary opening of a region (erosion followed by dilation). Equivalent to HALCON’s opening_circle (Open a region with a circular structuring element.). · examples: gallery2d_regionregion_boundary (halcon: boundary) region → region GPU: yes (allow-list) — Extracts the contour (boundary ring) of a region. Equivalent to HALCON’s boundary (Reduce a region to its boundary.). · examples: gallery2d_regionremove_noise_region (halcon: remove_noise_region) region → region GPU: yes (remove_noise_region) — Removes isolated small speck noise using binary opening (erosion followed by dilation) with a circular structuring element (radius _rad(a)=1 to 4). b is unused. · examples: find_ops_by_meaning, gallery2d_regionremove_small (halcon: select_shape) region → region GPU: yes (lbl_remove_small) — Removes small connected regions based on area. Equivalent to HALCON’s select_shape (Choose regions with the aid of shape features.). · examples: gallery2d_region, quickstartselect_largest (halcon: select_shape_std) region → region GPU: inside a chain only (lbl_select_largest) — Keeps only the connected region with the largest area. Equivalent to HALCON’s select_shape_std (Select regions of a given shape.). · examples: gallery2d_region, mcp_task_score, poc_document_scan, poc_leaf_disease_areaselect_shape (halcon: select_shape) region → region GPU: yes (lbl_select_shape) — Removes connected components (foreground is 8-connected) whose area is below a threshold (16+a*200 pixels) – i.e., removes small noise-like regions. HALCON’s select_shape (Choose regions with the aid of shape features.) is a general-purpose operator that can filter by any shape feature such as area, circularity, or convexity, but here it is fixed to a single area-based cutoff (an approximation). · examples: gallery2d_region, poc_ai_built_inspection_scoredselect_shape_std (halcon: select_shape_std) region → region GPU: inside a chain only (lbl_select_shape_std) — Keeps only the connected component with the largest area (selected via _largest_label; foreground is 8-connected). HALCON’s select_shape_std (Select regions of a given shape.) is an operator that lets you choose among several standard criteria including max_area, but here it is fixed to the single criterion “largest area” (an approximation). · examples: gallery2d_regionshape_trans (halcon: shape_trans) region → region GPU: none — Returns the convex hull of a region (skimage.morphology.convex_hull_image). HALCON’s shape_trans (Transform the shape of a region.) is originally an operator that lets you choose among several transform modes – convex, rectangle1, ellipse, etc. – via the Type argument, but this stand-in is fixed to the single convex-hull mode (a limitation of the approximation). · examples: gallery2d_regionsk_clear_border region → region GPU: inside a chain only (lbl_clear_border) — Removal of components touching the image border. Drops all connected components of the foreground region that touch the image’s outer edge back to background – a standard preprocessing step for excluding objects cut off at the edge of the field of view (not fully captured) from analysis. · examples: gallery2d_regionsk_convex (halcon: shape_trans) region → region GPU: none — Region transformation by convex hull. Finds the smallest convex polygon enclosing the foreground region and returns the filled interior as a region – filling in all constrictions and concavities. · examples: gallery2d_regionsk_find_boundaries (halcon: boundary) region → region GPU: none — Region boundary extraction. In a label image (here, a boolean region), returns a boundary mask that is True only at pixels where two different labels (foreground/background) meet. · examples: gallery2d_regionsk_medial (halcon: skeleton) region → region GPU: none — Medial axis transform. A different algorithm from sk_skeleton that finds the skeleton by extracting the ridge lines of the distance transform, tending to produce a skeleton that retains distance-from-contour information. · examples: gallery2d_region, poc_crack_width, poc_vessel_networksk_remove_holes (halcon: fill_up) region → region GPU: inside a chain only (lbl_sk_remove_holes) — Small hole filling. Fills only the background holes inside the foreground region whose area is below a threshold – larger holes (intentional openings) are left as is. · examples: gallery2d_regionsk_skeleton (halcon: skeleton) region → region GPU: none — Region skeletonization. Thins the foreground region down to lines one pixel wide while preserving its topology (connectivity and number of holes). · examples: gallery2d_region, poc_solar_el_inspectionsk_thin (halcon: thinning) region → region GPU: none — Morphological thinning. Similar to sk_skeleton in reducing to one-pixel width, but uses a different algorithm based on the hit-or-miss transform, and tends to produce fewer skeleton branches (spurs). · examples: gallery2d_regionskeleton (halcon: skeleton) region → region GPU: none — Thins a region to a 1-pixel-wide skeleton while preserving topology (skimage.morphology.skeletonize). Branch points and endpoints are preserved in position, so it is often used to analyze branching shapes (such as counting the number of fingers). Equivalent to HALCON’s skeleton (Compute the skeleton of a region.). · examples: gallery2d_region, poc_crack_width, poc_em_branch_territory, poc_fresco_craquelure, poc_real_sem_metal_layer, poc_swc_tree_truth, poc_vessel_networksmallest_rectangle1 (halcon: smallest_rectangle1) region → region GPU: inside a chain only (lbl_smallest_rectangle1) — Returns a region filled with the axis-aligned bounding box enclosing the region. a and b are unused. Returns all zeros if the region is empty. · examples: gallery2d_regionthinning (halcon: thinning) region → region GPU: none — Reduces a region to 1-pixel width using skimage.morphology.thin (a Zhang-Suen-family thinning algorithm). Its purpose is similar to skeleton, but the internal algorithm differs, so results can differ slightly near branch points and similar areas. A stand-in for HALCON’s thinning (Remove the result of a hit-or-miss operation from a region.). · examples: gallery2d_region, poc_crack_width, poc_fabric_defect, poc_metal_grain_size, poc_real_grain_skiz, poc_vessel_networkthinning_golay (halcon: thinning_golay) region → region GPU: none — Thins a region. The implementation uses skimage’s thin (Guo-Hall-type iterative thinning), repeated until the region is completely 1 pixel wide; a and b are unused. · examples: gallery2d_regionthinning_seq (halcon: thinning_seq) region → region GPU: none — Thins a region. The implementation is identical to thinning_golay (skimage’s thin, Guo-Hall-type thinning iterated to convergence); a and b are unused. · examples: gallery2d_regionxcv2_hitmiss region → region GPU: none — Detects the cross pattern ‘center is background, up/down/left/right are foreground’ using the hit-or-miss transform (cv2.MORPH_HITMISS). · examples: gallery2d_regionxsk2_isotropic_close region → region GPU: none — Isotropic closing. Applies skimage.morphology.isotropic_closing to a binary region (dedicated to region -> region; unlike ordinary morphological closing, it works isotropically based on a distance transform). · examples: gallery2d_regionxsk3_rank_majority region → region GPU: none — Local majority-vote filter (skimage filters.rank.majority). The skimage version of the same majority-vote smoothing as xmh_majority: sets a pixel to 1 if more than half of the pixels in the disk neighborhood are 1. · examples: gallery2d_regionxsp_chamfer_dist region → image GPU: none — City-block (chamfer) distance to the nearest background pixel, normalised to [0,1]. · examples: gallery2d_regionxmh_majority region → region GPU: none — Majority filter (mahotas.majority_filter). For a binary region, a smoothing operation that keeps a pixel as 1 only where 1s form a majority within a square neighborhood. Used to remove isolated noise and smooth jagged region boundaries. · examples: find_ops_by_meaning, gallery2d_regionxmh_bwperim region → region GPU: none — Region contour extraction (mahotas.bwperim). From a binary region, produces a 1-pixel-wide contour keeping only the boundary pixels that touch the background. · examples: gallery2d_regioniv_backproject_superres image → image GPU: yes (allow-list) — Single-image iterative back-projection super-resolution (Irani-Peleg). Upscale to a higher grid, simulate the low-res observation by blurring and downscaling, back-project the residual into the high grid, then downscale the consistent estimate back to HxW. Net effect: high-frequency detail is boosted (sharpening-by-consistency). a sets iterations n = 1 + round(a*4) (1..5); b sets the back-projection step gain g = 0.5 + b (0.5..1.5). · examples: gallery2d_smoothing_rankiv_gradient_inpaint image → image GPU: none — Harmonic (Laplace) inpainting of a central masked window. The interior of a centred window (side fraction from a) is discarded and refilled by solving nabla^2 u = 0 with Dirichlet boundary equal to the surrounding known pixels (Jacobi relaxation = repeatedly replacing each masked pixel by its 4-neighbour mean). The recovered interior is the smoothest (minimum-gradient) fill of the hole. a sets the window size; b is ignored. · examples: gallery2d_smoothing_rankiv_motion_deblur image → image GPU: yes (allow-list) — Wiener deconvolution of an assumed LINEAR MOTION blur. a sets the blur length L = 3 + round(a10) (3..13 px); b sets the blur angle theta = b180 deg (b=0 -> horizontal). The op builds that motion PSF and inverts it, narrowing a bar that was smeared along the motion direction. · examples: gallery2d_smoothing_rank, poc_real_deblur_honestyiv_richardson_lucy image → image GPU: yes (allow-list) — Richardson-Lucy deconvolution assuming a small Gaussian PSF (sigma = RL_SIGMA). a sets the iteration count n = 1 + round(a*14) (1..15); b is ignored. RL multiplicatively drives the estimate u so that u (*) psf matches the blurred measurement, sharpening real edges. · examples: gallery2d_smoothing_rank, poc_real_deblur_honestyiv_unsharp_deblur image → image GPU: yes (allow-list) — Iterative unsharp masking as an approximate deblur. Each pass adds a scaled high-pass (image minus its Gaussian blur) back to the image. a sets the iteration count n = 1 + round(a*5) (1..6); b sets the per-pass amount amt = 0.4 + b (0.4..1.4). More iterations / larger amount -> sharper. · examples: gallery2d_smoothing_rank, poc_real_deblur_honestyiv_wiener_deconv_spatial image → image GPU: yes (allow-list) — Self-contained spatial Wiener deconvolution of an assumed small Gaussian PSF. a sets the assumed blur sigma in [0.4, WIENER_SIGMA_MAX] to invert (larger a -> stronger sharpening); b sets the noise-to-signal ratio nsr = 1e-3 + b*0.15 (larger b -> gentler, more regularized restoration). · examples: gallery2d_smoothing_rankxcv3_inpaint_ns image → image GPU: none — Inpainting by the Navier-Stokes method (OpenCV cv2.inpaint, INPAINT_NS). A restoration algorithm that fills in missing regions by propagating information from surrounding pixels using fluid-dynamics principles. · examples: gallery2d_smoothing_rankxcv_inpaint image → image GPU: none — Inpainting that estimates and fills in missing regions. · examples: gallery2d_smoothing_rankxsk2_wiener image → image GPU: none — Wiener deconvolution (deblurring using a known point spread function). Calls skimage.restoration.wiener. · examples: gallery2d_smoothing_rankxsk_inpaint image → image GPU: none — Restoration (inpainting) that estimates and fills missing regions. · examples: gallery2d_smoothing_rankxsk_richardson_lucy image → image GPU: none — Richardson-Lucy deconvolution. Iteratively sharpens the image assuming the blur is a 3x3 mean kernel (box PSF) (calls skimage.restoration.richardson_lucy directly). · examples: gallery2d_smoothing_rankxsk_unwrap_phase image → image GPU: none — Phase unwrapping. Treats the input [0,1] as phase [-pi, pi], removes 2*pi wraps using skimage.restoration.unwrap_phase, then converts back to [0,1] via signed01 while preserving sign (0 -> 0.5). · examples: gallery2d_smoothing_ranksg_felzenszwalb image → region GPU: none — Returns the boundaries of Felzenszwalb’s graph-based region segmentation (skimage.segmentation.felzenszwalb; no corresponding HALCON operator). · examples: gallery2d_segmentationsg_gmm_segment image → region GPU: yes (allow-list) — Fits a 2-class Gaussian mixture model (EM algorithm) to the intensity values and returns the brighter cluster as the region (a self-contained EM implementation independent of skimage; no corresponding HALCON operator). · examples: gallery2d_segmentation, poc_nuclei_ploidysg_kmeans_intensity image → region GPU: yes (allow-list) — Applies k-means clustering to the intensity values and returns the brightest cluster as the region (a self-contained Lloyd’s-algorithm implementation; no corresponding HALCON operator). · examples: gallery2d_segmentationsg_normalized_cut_2 image → region GPU: yes (allow-list) — Splits the image into two regions (bright / dark) using normalized cut on the intensity graph (spectral 2-way partitioning, Shi & Malik; no corresponding HALCON operator). · examples: gallery2d_segmentationsg_region_growing_seeded image → region GPU: yes (allow-list) — Seeded region growing that starts from the image centre and connects pixels with similar intensity (HALCON regiongrowing is already covered by another op, so halcon="" is used here to avoid double-reporting it). · examples: gallery2d_segmentationsg_slic_superpixels image → region GPU: none — Returns the boundary grid of a SLIC superpixel over-segmentation (skimage.segmentation.slic; no corresponding HALCON operator). · examples: gallery2d_segmentationsg_watershed_gradient image → region GPU: none — Returns the boundaries of a watershed segmentation seeded from h-minima markers on the gradient image (skimage; no corresponding HALCON operator). · examples: gallery2d_segmentation, poc_segmentation_gauntletadaptive_gauss_thresh (halcon: local_threshold) image → region GPU: yes (adaptive_gauss_thresh) — Adaptive thresholding based on a locally Gaussian-smoothed mean. Equivalent to HALCON’s local_threshold (Segment an image using local thresholding.). · examples: gallery2d_segmentation, poc_matrix_code_readingauto_threshold (halcon: auto_threshold) image → region GPU: inside a chain only (allow-list) — The implementation is identical to binary_threshold (automatic thresholding via Otsu’s discriminant analysis method). HALCON’s auto_threshold (Segment an image using thresholds determined from its histogram) is originally an operator that determines multiple thresholds (multi-class segmentation) from multiple valleys in the histogram, but this substitute is simplified to binarization with a single Otsu threshold (a limitation of the approximation). · examples: gallery2d_segmentation, poc_battery_electrode_breathing, poc_bump_coplanarity, threshold_family_agreementbin_threshold (halcon: bin_threshold) image → region GPU: none — Automatic threshold binarization using Otsu’s method. Shares the otsu branch of _sh_threshold with binary_threshold/auto_threshold; a and b are unused. Pixels brighter than the threshold become the foreground (1). It goes through the same function as the core otsu op (the actual range of the data is split into 256 bins and the cut is at the upper edge of the argmax bin), so the answer equals otsu and values outside [0,1] are not clipped (until 2026-11-09 it clipped to [0,1] and then ran scikit-image’s Otsu, giving 0 % foreground on 0..255 floats and the opposite answer to otsu on a constant image). · examples: gallery2d_segmentation, poc_metal_grain_sizebinary_threshold (halcon: binary_threshold) image → region GPU: yes (allow-list) — Automatic threshold binarization using Otsu’s method (the same function as the core otsu: the actual range of the data is split into 256 bins and the cut is at the upper edge of the argmax bin). Automatically determines the threshold that maximizes between-class variance from the image histogram. Corresponds to HALCON’s binary_threshold (Segment an image using binary thresholding) – HALCON allows selecting among several algorithms besides Otsu, but here Otsu is fixed. · examples: gallery2d_segmentation, threshold_family_agreementcanny (halcon: edges_image) image → region GPU: yes (canny) — Simplified Canny-style edge detection (returns a region). Mapped to HALCON’s edges_image (Extract edges using Deriche, Lanser, Shen, or Canny filters.), but this is a simplified version (an approximation) that does not perform non-maximum suppression or hysteresis thresholding. · examples: gallery2d_segmentation, poc_real_coin_metrology, poc_water_inspection_imagescv_adaptive_gauss (halcon: local_threshold) image → region GPU: none — Thresholding based on a locally Gaussian-weighted average (adaptive threshold, Gaussian variant, OpenCV implementation). Same framework as cv_adaptive_mean, but since the local average is taken as a Gaussian-weighted average rather than a simple average, abrupt changes near the window boundary are less likely to appear. · examples: gallery2d_segmentationcv_adaptive_mean (halcon: dyn_threshold) image → region GPU: none — Thresholding based on the local mean (adaptive threshold, mean variant, OpenCV implementation). Uses, as the threshold, the simple average of each pixel’s neighborhood minus a constant - more stable than a global threshold on images with uneven illumination. · examples: gallery2d_segmentationcv_canny (halcon: edges_image) image → region GPU: none — Canny edge detection (region variant, OpenCV implementation). Same algorithm as sk_canny, but the OpenCV version’s API takes two thresholds directly rather than the sigma of Gaussian smoothing. · examples: gallery2d_segmentationcv_otsu (halcon: binary_threshold) image → region GPU: none — Global thresholding using Otsu’s discriminant analysis method (OpenCV implementation). Same algorithm as sk_otsu, but it differs in that it quantizes internally to 8 bits before computing (results may shift slightly). · examples: gallery2d_segmentation, poc_vegetation_cover, threshold_family_agreementdual_threshold (halcon: dual_threshold) image → region GPU: none — A thresholding operation for signed images. Treats the median value 0.5 as “zero” and takes pixels satisfying |x - 0.5| > 0.1+0.35*a (pixels sufficiently far from 0.5) as foreground — responding symmetrically to both the positive and negative side. Corresponds to HALCON’s dual_threshold (Threshold operator for signed images.) (HALCON can have separate thresholds for positive and negative, but this is simplified to a symmetric band centered on 0.5). · examples: gallery2d_segmentationdyn_threshold (halcon: dyn_threshold) image → region GPU: yes (dyn_threshold) — Local thresholding. Uses the local mean (uniform_filter with window side _k(a)) plus an offset (b-0.5)*0.4 as the threshold – this allows extracting foreground based on local contrast even in images with uneven illumination. Corresponds to HALCON’s dyn_threshold (Segment an image using a local threshold). · examples: gallery2d_segmentation, poc_metal_grain_sizeedges_image (halcon: edges_image) image → region GPU: none — Region extraction via Canny edge detection (skimage.feature.canny, sigma 0.5+2*a). A widely used edge detection method that combines multiple stages: Gaussian smoothing -> gradient -> non-maximum suppression -> hysteresis thresholding. Corresponds to HALCON’s edges_image (Detect edges using Deriche, Lanser, Shen, or Canny filters) – HALCON allows choosing among Deriche/Lanser/Shen/Canny, but here Canny is fixed. · examples: find_ops_by_meaning, gallery2d_segmentationfast_threshold (halcon: fast_threshold) image → region GPU: inside a chain only (allow-list) — Binarization with a fixed threshold. Pixels where x falls within the band (a, a+0.5+0.5b) become the foreground (1) (sharing the fixed branch of _sh_threshold with the threshold seed op). a sets the lower bound, and b sets the band width (upper bound). · examples: gallery2d_segmentationh_threshold (halcon: threshold) image → region GPU: none — Band thresholding (pixels satisfying a < x < a+0.5+0.5*b are treated as foreground). HALCON’s threshold (Segment an image using global threshold) is an operator that directly specifies Min/Max values, but this substitute is a simplification roughly equivalent to a single parameter, deriving the lower bound from a and the band width from b. The registered name becomes h_threshold because threshold is treated as a reserved-word-like name on the Python side (the spec’s halcon field remains threshold). · examples: gallery2d_segmentationhysteresis_threshold (halcon: hysteresis_threshold) image → region GPU: none — Hysteresis thresholding (skimage.filters.apply_hysteresis_threshold). Among pixels exceeding a low threshold (0.2+0.3*a), only those connected to pixels exceeding a high threshold (0.5+0.3*b) are kept as foreground – an edge-extraction technique resistant to gaps, also used as post-processing for Canny edge detection. Corresponds to HALCON’s hysteresis_threshold (Perform a hysteresis threshold operation on an image). · examples: gallery2d_segmentation, poc_fresco_craquelure, poc_solar_el_inspectionit_region_to_bin (halcon: region_to_bin) image → image GPU: yes (allow-list) — region_to_bin: threshold the image at a to obtain a region, then render that region as a two-gray-level binary image – foreground pixels get the high gray value, background pixels the low one. b sets the two levels: lo = 0.5 - 0.5b, hi = 0.5 + 0.5b. · examples: gallery2d_segmentationlocal_max (halcon: local_max) image → region GPU: yes (local_max) — Local maxima detection. Only pixels where x matches the maximum value within the window (_k(a)) and also satisfy x > 0.3+0.4*b are treated as foreground – note that in flat, plateau-like regions, multiple adjacent pixels can simultaneously remain as “maxima” (there is no guarantee that only true isolated peak points remain). Corresponds to HALCON’s local_max (Detect all local maxima in an image). · examples: gallery2d_segmentationlocal_min (halcon: local_min) image → region GPU: none — Detects local minima (regional minima). Takes as foreground pixels where x matches the minimum value within the window (_k(a)) and also satisfies x < 0.7-0.4*b — the dark-side counterpart of local_max. Corresponds to HALCON’s local_min (Detect all local minima in an image.). · examples: gallery2d_segmentationlocal_threshold (halcon: local_threshold) image → region GPU: yes (local_threshold) — Thresholding via local Gaussian smoothing plus an offset (the threshold is gaussian_filter(x, 1+3*a) plus offset (b-0.5)*0.3). A similar idea to dyn_threshold, but differs in that the local mean is computed with a Gaussian instead of a rectangular window. Corresponds to HALCON’s local_threshold (Segment an image using local thresholding). · examples: gallery2d_segmentation, poc_segmentation_gauntletnonmax_suppression_amp (halcon: nonmax_suppression_amp) image → region GPU: yes (nonmax_suppression_amp) — Non-maximum suppression that extracts local maxima. Only pixels that match the maximum value in their window and exceed the threshold 0.3+0.4b are kept as foreground. a sets the window size to 3/5/7/9. · examples: gallery2d_segmentationotsu (halcon: binary_threshold) image → region GPU: yes (otsu) — Automatic thresholding using Otsu’s method. Equivalent to HALCON’s binary_threshold (Segment an image using binary thresholding.). · examples: ct_inspection, degenerate_inputs, example_inner_diameter_mm, find_ops_by_meaning, gallery2d_segmentation, genspark_external_review, line_handshake, mcp_task_score, poc_bone_trabecular_thickness, poc_cloth_towel_corners_synth, poc_colocalization_crosstalk, poc_dimensional_inspection, poc_document_scan, poc_fresco_craquelure, poc_matrix_code_reading, poc_metal_grain_size, poc_real_coin_metrology, poc_real_file_formats, poc_real_sem_metal_layer, poc_segmentation_gauntlet, poc_solar_el_inspection, poc_vegetation_cover, poc_water_inspection_images, quickstart, segment_and_classify, threshold_family_agreement, typed_results_jsonpouring (halcon: pouring) image → region GPU: none — Boundary extraction via watershed segmentation. Treats a gradient image (Sobel amplitude) as terrain, computes the watershed using dark regions (x < 0.2+0.3a) as seeds (markers), and returns the boundaries as foreground using skimage.segmentation.find_boundaries. b is unused. · examples: gallery2d_segmentationptile_threshold image → feature GPU: none — Returns a P-tile threshold chosen by area fraction as a feature. · examples: poc_threshold_transfer_after_normalizationregiongrowing (halcon: regiongrowing) image → region GPU: none — A simplified approximation of region growing. First creates seed regions using a high threshold (x > 0.5+0.3*a), then expands them by binary dilation 1+4*b times – this is a lightweight substitute using threshold + dilation rather than true region growing (which expands by sequentially judging similarity with neighboring pixels) (a limitation of the approximation). A stand-in for HALCON’s regiongrowing (Segment an image using region growing). · examples: gallery2d_segmentationregiongrowing_mean (halcon: regiongrowing_mean) image → region GPU: none — The implementation is identical to regiongrowing (threshold-based seed generation + dilation). HALCON’s regiongrowing_mean (Perform a region growing using mean gray values.) is originally an operator that grows regions based on closeness to each region’s mean intensity, but this stand-in performs no judgment based on mean intensity and returns the same processing as regiongrowing (a limitation of the approximation). · examples: gallery2d_segmentationsegment_image_mser (halcon: segment_image_mser) image → region GPU: none — MSER (Maximally Stable Extremal Regions) detection (cv2.MSER_create). Detects regions whose shape remains stable even as the threshold is continuously varied, and returns each region’s boundary, including nested regions (used for detecting regions such as text and logos robustly against illumination changes). Corresponds to HALCON’s segment_image_mser (Segment image using Maximally Stable Extremal Regions (MSER).). · examples: gallery2d_segmentationsigma_threshold image → region GPU: none — Robustly standardises an image and binarises it at k = 2 + 3*a sigma. · examples: poc_threshold_transfer_after_normalizationsk_canny (halcon: edges_image) image → region GPU: none — Canny edge detection (region version). Finds edge pixels through the classic multi-stage pipeline – Gaussian smoothing -> gradient computation -> non-maximum suppression -> hysteresis thresholding – and returns them as a boolean region. · examples: find_ops_by_meaning, gallery2d_segmentation, genspark_external_reviewsk_chan_vese image → region GPU: none — Chan-Vese segmentation. An active contour model that iteratively moves a level set so that the brightness variance within each region is minimized, allowing detection of regions even for objects without sharp edges. · examples: gallery2d_segmentation, poc_active_contours, poc_segmentation_gauntletsk_felzenszwalb image → region GPU: none — Felzenszwalb’s graph-based segmentation. A fast method that clusters using a minimum spanning tree with pixels as nodes, over-segmenting the image even without clear boundaries. Here it returns the boundaries of the segmentation result as a region. · examples: gallery2d_segmentation, poc_segmentation_gauntletsk_hysteresis (halcon: hysteresis_threshold) image → region GPU: none — Hysteresis thresholding. Uses two threshold levels: pixels above the higher one are confirmed first, then pixels above the lower one that are connected to a confirmed pixel are also adopted – the same idea as Canny’s edge-linking step, applied to general response images. · examples: gallery2d_segmentationsk_li (halcon: binary_threshold) image → region GPU: yes (allow-list) — Global thresholding by Li’s minimum cross entropy method. Determines the threshold by iteratively minimizing the cross entropy between the foreground/background distributions – an automatic thresholding method in a different lineage from Otsu’s method. · examples: gallery2d_segmentation, threshold_family_agreementsk_local_maxima (halcon: local_max) image → region GPU: none — Local maxima detection. Returns, as a region, the set of pixels that are strictly greater than every neighboring pixel (plateaus – connected regions of equal value – are also allowed) – a preprocessing step for peak detection and feature-point extraction. · examples: gallery2d_segmentationsk_niblack (halcon: var_threshold) image → region GPU: none — Niblack’s local adaptive thresholding. Like Sauvola, it determines the threshold from the local mean and standard deviation, but with a simpler (classic) way of setting the coefficients, and tends to judge the foreground more broadly than Sauvola (i.e. more prone to picking up noise). · examples: gallery2d_segmentation, poc_segmentation_gauntlet, threshold_family_agreementsk_otsu (halcon: binary_threshold) image → region GPU: yes (allow-list) — Global thresholding by Otsu’s method (discriminant analysis). Automatically selects the threshold that maximizes between-class variance, splitting the whole image into foreground/background. · examples: gallery2d_segmentation, poc_am_thermal_to_ct, poc_cell_counting, poc_fresco_craquelure, poc_leaf_disease_area, poc_nuclei_ploidy, poc_vegetation_cover, threshold_family_agreementsk_sauvola (halcon: var_threshold) image → region GPU: none — Sauvola’s local adaptive thresholding. Determines the threshold locally from the local mean and standard deviation around each pixel – designed for binarizing (text extraction from) document images with uneven illumination. · examples: gallery2d_segmentation, poc_matrix_code_reading, poc_segmentation_gauntlet, threshold_family_agreementsk_slic image → region GPU: none — Superpixel segmentation by SLIC (Simple Linear Iterative Clustering). Performs k-means clustering in a combined color (here, gray value) and coordinate space, dividing the image into regions of roughly equal size. Here it returns the boundaries of the segmentation result as a region. · examples: gallery2d_segmentation, poc_segmentation_gauntletsk_yen (halcon: binary_threshold) image → region GPU: yes (allow-list) — Global thresholding by Yen’s maximum correlation criterion. Chooses the threshold by maximizing an entropy-based measure of the histogram – yet another automatic thresholding method distinct from Otsu’s and Li’s methods. · examples: gallery2d_segmentation, threshold_family_agreementthreshold (halcon: threshold) image → region GPU: yes (threshold) — Global thresholding. Equivalent to HALCON’s threshold (Segment an image using global threshold.). · examples: gallery2d_segmentation, poc_ai_built_inspection_scored, poc_bone_trabecular_thickness, poc_change_detection_misreg, poc_compendial_particle_microscopy, poc_fresco_craquelure, poc_gear_tooth_metrology, poc_metal_grain_size, poc_real_bg_kalman_tracking, poc_real_sem_metal_layer, poc_real_walnut_cbct, poc_screw_thread_metrology, poc_tof_camera, poc_traffic_counting, poc_virtual_sem_kv_cd_bse, poc_water_level, tof_realdata, video_streamingvar_threshold (halcon: var_threshold) image → region GPU: none — Sauvola’s local adaptive binarization (skimage.filters.threshold_sauvola, window size 2*int(a*6)+3). Since the threshold is determined using both the local mean and local standard deviation, it is more robust to uneven illumination and low-contrast documents than dyn_threshold. An approximation corresponding to HALCON’s var_threshold (Threshold an image by local mean and standard deviation analysis) – the formulation follows a similar idea, but Sauvola’s formula and HALCON’s formula have different coefficients, so the numerical results are not identical. · examples: gallery2d_segmentation, poc_document_scanwatersheds (halcon: watersheds) image → region GPU: none — Watershed segmentation. Treats the gradient image as terrain, uses dark regions (x < 0.2+0.3*a) as markers to find the watershed lines, and returns those boundary lines. Corresponds to HALCON’s watersheds (Extract watersheds and basins from an image). · examples: gallery2d_segmentation, poc_segmentation_gauntletwatersheds_threshold (halcon: watersheds_threshold) image → region GPU: none — The implementation is identical to watersheds (kind: "watershed"). HALCON’s watersheds_threshold (Extract watershed basins from an image using a threshold) is originally an operator with a depth threshold that merges adjacent catchment basins, but this substitute does not implement the merge threshold and returns the same result as watersheds (a limitation of the approximation). · examples: gallery2d_segmentationxcv2_meanshift image → image GPU: none — Smooths color/brightness region by region using mean-shift filtering (cv2.pyrMeanShiftFiltering). · examples: gallery2d_segmentationxcv_grabcut image → region GPU: none — Automatic foreground/background separation via GrabCut (iterative graph cut). · examples: gallery2d_segmentationxcv_watershed_markers (halcon: watersheds) image → region GPU: none — Boundary extraction via marker-controlled watershed. · examples: gallery2d_segmentationxkor_canny image → region GPU: none — Edge (binary region) detection by the Canny method. Calls kornia.filters.canny and adopts the binary edge map (edges) among its return values (the gradient-magnitude side is discarded). · examples: find_ops_by_meaning, gallery2d_segmentationxmh_bernsen image → region GPU: none — Bernsen local thresholding (mahotas.thresholding.bernsen). Uses the midpoint between the local maximum and minimum brightness as the local threshold, falling back to a global threshold only in low-contrast regions. · examples: gallery2d_segmentation, threshold_family_agreementxsk2_h_maxima image → region GPU: none — h-maxima transform (removes local maxima with a height less than h). Calls skimage.morphology.h_maxima. · examples: gallery2d_segmentation, poc_cell_countingxsk2_multiotsu image → image GPU: none — Quantizes tonal levels using multi-level Otsu’s method, an extension of Otsu’s discriminant analysis method to multiple thresholds. Uses skimage.filters.threshold_multiotsu. · examples: gallery2d_segmentation, poc_mri_bias_fieldxsk3_h_minima image → region GPU: none — h-minima transform (skimage morphology.h_minima). Flattens shallow valleys (local minima) with depth less than h, then binary-marks the remaining minima - a valley-picking process similar to xmh_regmin, but one that can explicitly exclude shallow, noise-derived valleys by depth. · examples: gallery2d_segmentation, genspark_external_reviewxsk3_peak_local_max image → region GPU: none — Local maxima map (skimage feature.peak_local_max). Detects the coordinates of local brightness maxima that are at least min_distance pixels apart from each other, and returns a sparse binary image where only those coordinates are set to 1 (single-pixel points, not regions as areas). · examples: gallery2d_segmentationxsk3_rank_otsu image → region GPU: none — Local Otsu binarization (skimage filters.rank.otsu). Computes an Otsu’s-method (discriminant analysis) threshold within a local disk neighborhood only, and binarizes by whether the pixel value exceeds that local threshold - unlike global Otsu, this can select a locally appropriate threshold even on images with uneven illumination. · examples: gallery2d_segmentation, threshold_family_agreementxsk3_threshold_local_median image → region GPU: none — Local median adaptive binarization (skimage filters.threshold_local with method='median'). Uses the median of each block as the local threshold and binarizes by whether the pixel value exceeds it. More robust to outliers (noise pixels) than the version using local mean. · examples: gallery2d_segmentationxsk_flood image → region GPU: none — Region extraction by flood fill. · examples: gallery2d_segmentationxsk_random_walker image → region GPU: none — Graph-based region segmentation using the random walker method. · examples: gallery2d_segmentation, genspark_external_review, poc_segmentation_gauntletzero_crossing (halcon: zero_crossing) image → region GPU: yes (allow-list) — Detects pixels where the sign of the Laplacian (with built-in Gaussian smoothing, sigma 0.5+2*a) flips (zero crossings). LoG zero crossings are a classic detection method known for locating edges with high precision. Corresponds to HALCON’s zero_crossing (Extract zero crossings from an image.). · examples: gallery2d_segmentationxmh_selfmatch image → image GPU: none — Self-similarity map (self-template matching using mahotas.template_match). Template-matches a small patch cut from the center of the image against the whole image, and normalizes the result so that locations more similar to the patch approach 1. · examples: gallery2d_featuresanisotropic_diffusion (halcon: anisotropic_diffusion) image → image GPU: yes (anisotropic_diffusion) — Perona-Malik type anisotropic diffusion. Pixel differences in the four directions (up/down/left/right) are multiplied by a Gaussian-type conductance function exp(-(delta/K)^2) and added iteratively – this is edge-preserving smoothing that does not diffuse in directions where the difference exceeds threshold K (= an edge), and smooths only in directions where the difference is small (= flat). Corresponds to HALCON’s anisotropic_diffusion (Perform an anisotropic diffusion of an image). · examples: gallery2d_smoothing_rankbilateral (halcon: bilateral_filter) image → image GPU: yes (bilateral) — Edge-preserving smoothing (bilateral filter). Equivalent to HALCON’s bilateral_filter (bilateral filtering of an image.). · examples: gallery2d_smoothing_rank, quickstartbilateral_filter (halcon: bilateral_filter) image → image GPU: none — OpenCV’s bilateral filter (cv2.bilateralFilter). A standard method that averages neighboring pixels weighted by both spatial distance and intensity difference, smoothing while preserving edges. Corresponds to HALCON’s bilateral_filter (bilateral filtering of an image). · examples: gallery2d_smoothing_rankbinomial_filter (halcon: binomial_filter) image → image GPU: yes (binomial_filter) — A separable smoothing filter weighted by binomial coefficients (Pascal’s triangle). It approximates a Gaussian with a discrete binomial kernel by applying ndimage.correlate1d successively along rows and columns – an implementation based on the same idea as the kernel used by HALCON’s binomial_filter (Smooth an image using the binomial filter.). · examples: gallery2d_smoothing_rankcoherence_enhancing_diff (halcon: coherence_enhancing_diff) image → image GPU: yes (allow-list) — The implementation is identical to anisotropic_diffusion (kind: "anisotropic"). True coherence-enhancing diffusion is a method that controls the diffusion direction along the eigenvectors of the structure tensor (connecting linear structures), but this substitute does not compute the structure tensor and instead uses plain Perona-Malik anisotropic diffusion (a limitation of the approximation – the effect of connecting linear structures is not reproduced). A stand-in for HALCON’s coherence_enhancing_diff (Perform a coherence enhancing diffusion of an image). · examples: gallery2d_smoothing_rankcv_bilateral (halcon: bilateral_filter) image → image GPU: none — Bilateral filter (OpenCV implementation). A Gaussian-style smoothing that weights by both spatial proximity and brightness-value proximity, smoothing only flat areas without blurring edges (boundaries with large brightness differences). · examples: gallery2d_smoothing_rankcv_box (halcon: mean_image) image → image GPU: none — Simple averaging filter (box filter, OpenCV implementation). The most basic smoothing method, simply taking the average within a square neighborhood – computationally lighter than Gaussian smoothing, but more prone to ring-shaped artifacts. · examples: gallery2d_smoothing_rankcv_gaussian (halcon: gauss_filter) image → image GPU: none — Gaussian smoothing (OpenCV implementation). Standard blurring using a Gaussian kernel; less prone to ringing than a box filter. · examples: gallery2d_smoothing_rankcv_nlmeans image → image GPU: none — Non-local means denoising (OpenCV implementation, grayscale variant). Applies the same idea as sk_nlm (searching the whole image for similar patches and averaging them) using OpenCV’s fast implementation. · examples: find_ops_by_meaning, gallery2d_smoothing_rankcv_sharpen (halcon: emphasize) image → image GPU: yes (cv_sharpen) — An unsharp-mask-like sharpening filter (3x3 kernel convolution, OpenCV implementation). Convolves with a kernel whose center is 1+4a and whose top/bottom/left/right neighbors are -a (at a=0 this is the identity kernel = no change; the larger a is, the stronger the discrete-Laplacian-like high-frequency boost), lifting the contrast near edges. · examples: gallery2d_smoothing_rankdl_aniso_diffusion (halcon: anisotropic_diffusion) image → image GPU: inside a chain only (allow-list) — A Perona-Malik-type anisotropic diffusion filter (torch implementation; runs on the GPU if one is available). · examples: gallery2d_smoothing_rankdl_guided_filter (halcon: guided_filter) image → image GPU: none — A self-guided filter (guided filter, with the guide image being the input itself; torch implementation). · examples: gallery2d_smoothing_rankf2_gauss_pyramid (halcon: gen_gauss_pyramid) image → image GPU: yes (allow-list) — Return one level of the image’s Gauss pyramid, down-sampled by 2 level times (blur + decimate) and then up-sampled back to the original HxW so the result is a band-limited (low-pass) version at reduced resolution. a selects the level (1..4); b is ignored. · examples: gallery2d_smoothing_rankgauss_filter (halcon: gauss_filter) image → image GPU: yes (gauss_filter@twin) — Smoothing via Gaussian blur (scipy.ndimage.gaussian_filter, sigma 0.3+2.7*a). A stand-in for HALCON’s gauss_filter (Smooth using discrete Gauss functions.) – HALCON uses a discrete Gaussian kernel (integer arithmetic), while this uses a continuous-Gaussian scipy implementation; it is an approximation, but the results are very close. · examples: gallery2d_smoothing_rank, poc_cell_counting, poc_document_scan, poc_focus_stacking, poc_gear_tooth_metrology, poc_pv_thermal_survey, poc_sea_ice_concentration, poc_search_sweep_width, poc_solar_limb_darkening, poc_vanishing_detail_and_morphing_area, poc_vessel_network, poc_white_balancegauss_image (halcon: gauss_image) image → image GPU: yes (gauss_image) — The implementation is identical to gauss_filter (the same kind: "gauss" branch, Gaussian blur with sigma 0.3+2.7*a). In HALCON, gauss_filter (discrete approximation) and gauss_image (frequency-domain/continuous Gaussian) are separate operators, but this stand-in makes no distinction and points to the same function. A stand-in for HALCON’s gauss_image (Smooth an image using discrete Gaussian functions.). · examples: gallery2d_smoothing_rank, poc_colocalization_crosstalk, poc_moire_screen, poc_prnu_camera_fingerprint, poc_weld_radiograph_porositygaussian (halcon: gauss_filter) image → image GPU: yes (gauss_filter) — Isotropic Gaussian smoothing. Equivalent to HALCON’s gauss_filter (Smooth using discrete Gauss functions.). · examples: coherence_scanning, color_transport, ct_inspection, degenerate_inputs, example_inner_diameter_mm, gallery2d_smoothing_rank, genspark_external_review, inspection_workflow, mcp_task_score, mcp_usability, perf_pointcloud_descriptors, photon_timeresolved, poc_ai_built_inspection_scored, poc_bone_trabecular_thickness, poc_caltab_chain_truth, poc_chromatic_confocal, poc_cloth_towel_corners_synth, poc_dtof_ranging, poc_flybrain_pointcloud, poc_interferometry_step, poc_itof_multifreq, poc_leaf_disease_area, poc_nir_silicon_transmission, poc_nuclei_ploidy, poc_simcal_telecentric, poc_simcal_thin_film, poc_solar_el_inspection, poc_solar_limb_darkening, poc_star_astrometry, poc_wound_area_tracking, quickstart, typed_results_json, video_streamingguided_filter (halcon: guided_filter) image → image GPU: none — The implementation is identical to bilateral_filter (kind: "bilateral"). The true guided filter (edge-preserving smoothing based on a local linear model) is a mathematically different algorithm, but this substitute uses the bilateral filter instead (an approximation to satisfy the similar purpose of edge-preserving smoothing; the resulting values do not match). A stand-in for HALCON’s guided_filter (Guided filtering of an image). · examples: gallery2d_smoothing_rankisotropic_diffusion (halcon: isotropic_diffusion) image → image GPU: yes (allow-list) — The implementation is a simple Gaussian blur (gaussian_filter, sigma 0.5+2.5*a). Since the solution of the isotropic diffusion equation is mathematically equivalent to convolution with a Gaussian kernel, this approximation is theoretically valid (it has no edge-preserving effect like anisotropic diffusion, and smooths uniformly regardless of direction). Corresponds to HALCON’s isotropic_diffusion (Perform an isotropic diffusion of an image). · examples: gallery2d_smoothing_rankkuwahara image → image GPU: yes (allow-list) — Kuwahara filter (1976): edge-preserving smoothing that outputs the mean of whichever of four overlapping windows has the smallest variance. · examples: gallery2d_smoothing_rankmean_box (halcon: mean_image) image → image GPU: yes (mean_image) — Simple averaging (box) filter over a rectangular window. Equivalent to HALCON’s mean_image (Smooth by averaging.). · examples: gallery2d_smoothing_rankmean_box_wh (halcon: mean_image) image → image GPU: yes (allow-list) — Averaging (box) filter with independently chosen width and height. Equivalent to HALCON’s mean_image (Smooth by averaging.). · examples: gallery2d_smoothing_rank, mcp_task_scoremean_curvature_flow (halcon: mean_curvature_flow) image → image GPU: yes (allow-list) — Smoothing that approximates mean curvature flow by repeatedly applying a small-sigma (0.6) Gaussian blur. Rather than the true mean-curvature PDE (the diffusion equation that a separate implementation on the ops side actually performs), it substitutes computationally cheap iterative blurring – a limitation specific to this backend’s approximation. A stand-in for HALCON’s mean_curvature_flow (Apply the mean curvature flow to an image.). · examples: gallery2d_smoothing_rankmean_image (halcon: mean_image) image → image GPU: yes (mean_image@twin) — Rectangular mean filter (box filter). An approximation equivalent to HALCON’s mean_image (Smooth by averaging.) that replaces the pixel of interest with the average over a window of side length k. · examples: gallery2d_smoothing_rank, poc_document_scan, poc_focus_stacking, poc_white_balancesigma_image (halcon: sigma_image) image → image GPU: yes (allow-list) — Non-linear smoothing via a sigma filter. It averages only the neighboring pixels close to the center pixel value (|x-mean|<σ) – near edges, tones from the opposite side are not mixed into the average, so this results in noise removal that preserves edges better than a mean filter. Equivalent to HALCON’s sigma_image (Non-linear smoothing with the sigma filter.). · examples: gallery2d_smoothing_ranksimulate_defocus (halcon: simulate_defocus) image → image GPU: yes (simulate_defocus) — Smoothing that simulates uniform out-of-focus blur (defocus). Implemented as a rectangular-window mean filter (box filter, ndimage.uniform_filter), approximating with a square window rather than the true blur shape from a circular aperture (circle-of-confusion). a sets the window width to one of four levels, 3/5/7/9 (_k(a)), and b is unused. · examples: gallery2d_smoothing_ranksimulate_motion (halcon: simulate_motion) image → image GPU: none — Simulates linear motion blur. Creates a line-segment kernel of length 5+10*b pixels in the direction of angle pi*a (0-180 degrees) and convolves it. Equivalent to HALCON’s simulate_motion (Simulation of (linearly) motion blur.). · examples: gallery2d_smoothing_ranksk_nlm image → image GPU: none — Non-local means denoising. Searches the entire image, not just nearby pixels, for similar patches and averages them – the difference from simple smoothing is that it can remove noise only in flat areas while preserving repeating patterns and textures. · examples: find_ops_by_meaning, gallery2d_smoothing_rank, poc_prnu_camera_fingerprintsk_rolling_ball image → image GPU: yes (sk_rolling_ball) — Background subtraction by the rolling-ball method. Treats image brightness as terrain, rolls a ball of a given radius underneath it, estimates the resulting envelope surface as the background, and subtracts it from the original image – used to remove uneven illumination (gradual brightness gradients). · examples: gallery2d_smoothing_rank, poc_weld_radiograph_porositysk_tv image → image GPU: yes (sk_tv) — Total variation denoising (TV denoising, Chambolle’s method). Smooths noise in flat regions while preserving edges - unlike median/Gaussian blur, it is characterized by not easily degrading the sharpness of contours. · examples: find_ops_by_meaning, gallery2d_smoothing_rank, poc_prnu_camera_fingerprintsk_tv_bregman image → image GPU: none — Total variation denoising (TV denoising, Split-Bregman method). Uses the same TV-regularization idea as sk_tv but with a different optimization algorithm (Bregman splitting), said to converge faster. · examples: find_ops_by_meaning, gallery2d_smoothing_ranksk_wavelet image → image GPU: none — Denoising via wavelet transform. Decomposes the image into the wavelet domain, discards small coefficients (regarded as noise) using BayesShrink-criterion thresholding, and then applies the inverse transform. · examples: find_ops_by_meaning, gallery2d_smoothing_rank, poc_prnu_camera_fingerprintsmooth_image (halcon: smooth_image) image → image GPU: yes (allow-list) — General-purpose smoothing approximated by a single Gaussian blur (sigma 0.5+2.0*a). HALCON’s smooth_image (Smooth an image using various filters.) is a versatile operator that lets you choose among several filter types such as Deriche/Gauss/Mean, but here it is simplified to a single Gaussian type (a limitation of this approximation). · examples: gallery2d_smoothing_rankunsharp (halcon: emphasize) image → image GPU: yes (unsharp_masking) — Unsharp mask. ★It clips to [0,1] on the way out (2026-09-02). · examples: gallery2d_smoothing_rank, poc_camera_shake_deblur, poc_real_deblur_honesty, poc_superresolution_limitsxcv3_denoise_tvl1 image → image GPU: none — Total variation L1 denoising (OpenCV cv2.denoise_TVL1, Primal-Dual algorithm). A method based on total variation minimization that removes noise while preserving edges, leaving edges sharper than ordinary Gaussian smoothing. · examples: find_ops_by_meaning, gallery2d_smoothing_rankxcv3_pyr_laplacian image → image GPU: none — Sharpening via a Laplacian pyramid. A kind of unsharp masking that enhances the image by adding back the difference (one level of a Laplacian pyramid, corresponding to a band-pass component) obtained by subtracting, from the original image, the image restored via pyrUp after being shrunk with pyrDown (the low-frequency component). · examples: gallery2d_smoothing_rankxcv_edge_preserving image → image GPU: none — OpenCV’s edgePreservingFilter (edge-preserving smoothing; flags=1 = RECURS_FILTER = recursive filter method). · examples: gallery2d_smoothing_rankxkor_bilateral image → image GPU: none — Bilateral filter (edge-preserving smoothing). Calls kornia.filters.bilateral_blur with a 5x5 kernel. · examples: gallery2d_smoothing_rankxkor_gaussian image → image GPU: none — Gaussian blur (kornia’s GPU-native implementation). Applies kornia.filters.gaussian_blur2d on a torch tensor with a window sized to sigma. · examples: gallery2d_smoothing_rankxkor_motion_blur image → image GPU: none — Motion blur. Calls kornia.filters.motion_blur. · examples: gallery2d_smoothing_rankxkor_unsharp image → image GPU: none — Unsharp mask (sharpening). Calls kornia.filters.unsharp_mask with a window sized to sigma (v + (v - G_σ * v), strength fixed at 1). · examples: gallery2d_smoothing_rankxpil_smooth_more image → image GPU: none — Pillow’s smoothing filter (strong version). Blurs more strongly than SMOOTH using the fixed kernel of PIL.ImageFilter.SMOOTH_MORE. · examples: gallery2d_smoothing_rankxpil_unsharp_mask image → image GPU: none — Pillow’s unsharp mask. Calls PIL.ImageFilter.UnsharpMask (a CPU implementation corresponding to the kornia version xkor_unsharp). · examples: gallery2d_smoothing_rankxsk3_rank_mean_bilateral image → image GPU: none — Local bilateral mean (skimage filters.rank.mean_bilateral). An edge-preserving smoothing that, within the disk neighborhood, averages only the pixels falling within the range from s0 below to s1 above the center pixel’s value. · examples: gallery2d_smoothing_rankxsp_cspline_smooth image → image GPU: none — Cubic spline smoothing filter (scipy.signal.cspline2d). · examples: gallery2d_smoothing_rankxsp_dct_denoise image → image GPU: none — Noise removal via hard-thresholding of DCT coefficients (a DCT-based version of wavelet shrinkage). · examples: find_ops_by_meaning, gallery2d_smoothing_rank, poc_prnu_camera_fingerprintxsp_savgol image → image GPU: yes (allow-list) — Smooths the image with a Savitzky-Golay filter (applied one-dimensionally, column direction first then row direction). · examples: gallery2d_smoothing_rankxsp_wiener image → image GPU: yes (allow-list) — Suppresses noise using the Wiener adaptive filter (scipy.signal.wiener). · examples: gallery2d_smoothing_rank, poc_prnu_camera_fingerprintxwt_firm_denoise image → image GPU: none — Wavelet denoising using firm thresholding (firm/semisoft thresholding, pywt.threshold_firm). Has characteristics between soft and hard thresholding; applied to each detail coefficient from a 2-level sym4 decomposition before reconstruction. · examples: find_ops_by_meaning, gallery2d_smoothing_rankxwt_lf_reconstruct image → image GPU: none — Low-frequency reconstructed image. Decomposes with db2, zeroes out all detail coefficients, and reconstructs via inverse transform from the approximation component alone – the result is a multi-level wavelet-smoothed image close to a Gaussian blur. · examples: gallery2d_smoothing_rankxwt_visushrink image → image GPU: none — VisuShrink-style wavelet denoising. Decomposes with db4 over 2 levels, applies soft thresholding to each level’s detail coefficients, then reconstructs via inverse transform (VisuShrink normally derives this threshold automatically from the noise level, but here it is a simplified version given directly via a). · examples: gallery2d_smoothing_ranksp_critical_points_sub_pix (halcon: critical_points_sub_pix) image → contour GPU: none — Detects the sub-pixel positions of maxima, minima, and saddle points together (equivalent to HALCON critical_points_sub_pix). · examples: gallery2d_geometrysp_local_max_sub_pix (halcon: local_max_sub_pix) image → contour GPU: none — Detects local maxima of the gray-value surface with sub-pixel accuracy (an alternative implementation of HALCON local_max_sub_pix. halcon="": not double-claimed under that name because an existing core op already covers the same coordinates). · examples: gallery2d_geometry, poc_tacsim_marker_shearsp_local_min_sub_pix (halcon: local_min_sub_pix) image → contour GPU: none — Detects local minima of the gray-value surface with sub-pixel accuracy (equivalent to HALCON local_min_sub_pix). · examples: gallery2d_geometrysp_lowlands_center (halcon: lowlands_center) image → contour GPU: none — Returns the centroid of minimum ‘basins’ (flat regions lower than their surroundings) (equivalent to HALCON lowlands_center). · examples: gallery2d_geometrysp_plateaus (halcon: plateaus) image → contour GPU: none — Returns the centroid of connected flat regions (plateaus) of equal (quantised) gray value as a sub-pixel position (equivalent to HALCON plateaus). · examples: gallery2d_geometrysp_saddle_points_sub_pix (halcon: saddle_points_sub_pix) image → contour GPU: none — Detects saddle points of the gray-value surface with sub-pixel accuracy (equivalent to HALCON saddle_points_sub_pix). · examples: gallery2d_geometrytac_contact_mask image → region GPU: yes (allow-list) — Contact region of a tactile frame by pseudo-reference background subtraction: dev = |v - G_sigma(v)| with sigma = max(2, min(H,W)/6) (the low-frequency envelope stands in for the undeformed reference frame), thresholded at thr = 0.005 + 0.145*a gray levels, then cleaned with round(3*b) iterations of binary opening followed by binary closing (3x3, 8-connected). a = deviation threshold (sensitivity), b = morphological cleanup strength. Returns a BINARY 0/1 float64 region of the input HxW; a perfectly flat (constant) frame has zero deviation everywhere and therefore yields an EMPTY mask. · examples: poc_tacsim_elastic_membrane, sim2real_and_alifetac_height_from_shading image → image GPU: yes (allow-list) — Height/relief map by Poisson integration of the shading gradients – the integration stage of GelSight depth reconstruction (and of photometric stereo): the image gradients are read as surface slopes p = gain*gx, q = gain*gy and the Poisson equation lap(h) = div(p,q) is solved spectrally, h_hat = div_hat / lap_hat with the discrete Laplacian symbol 2cos(2*pi*u/W)+2cos(2*pi*v/H)-4 and the (undetermined) DC mode pinned to zero. a = gradient gain (0.25..4.25x), b = pre-smoothing sigma of the gradient field (0..3). Output is min-max normalised to [0,1] and refit to HxW; a constant frame integrates to a flat (all-zero) relief. · examples: sim2real_and_alifetac_pressure_proxy image → image GPU: yes (allow-list) — Contact-pressure proxy map: the rectified deviation from the pseudo-reference background dev = |v - G_sigma(v)| is gated to the high-deviation (contact) area – a relative gate at 0.15 * max(dev) plus an absolute floor of 0.005 – amplified by the sensitivity gain and Gaussian-smoothed, which is the standard “indentation depth is monotone in normal force” surrogate used when a tactile pad carries no force sensor. a = sensitivity (gain 1..10x), b = smoothing radius (sigma 0.5..4.5). Output clipped to [0,1], HxW; a flat frame yields an all-zero pressure map (no contact, no force). · examples: sim2real_and_alifetac_shear_field image → image GPU: yes (allow-list) — In-plane shear proxy from the 2-D structure tensor (Foerstner / Bigun-Granlund orientation coherence). The tensor J = G_sigma(grad v * grad v^T) has eigenvalues l1 >= l2, and the coherence (l1-l2)/(l1+l2) = sqrt((J11-J22)^2 + 4*J12^2) / (J11+J22) is 1 where the gel texture is stretched into a single dominant orientation (as it is under tangential/shear load) and 0 where it is isotropic. The result is additionally weighted by the tensor trace (gradient energy) so that texture-free, un-contacted gel stays dark instead of amplifying noise orientation. a = tensor integration sigma (0.6..4.6), b = output gain (0.5..2.5). Output clipped to [0,1], HxW; a constant frame has zero gradient energy and yields an all-zero shear field. · examples: poc_tacsim_marker_shear, sim2real_and_alifetac_surface_normal image → image GPU: inside a chain only (allow-list) — Surface-normal z-component (slope map) from the shading gradients, using Horn’s shape-from-shading normal parameterisation n = (-p, -q, 1)/sqrt(1+p^2+q^2) so that nz = 1/sqrt(1+p^2+q^2) with p = gain*gx, q = gain*gy. Flat (uncontacted) gel gives nz = 1, steep indentation walls tend to 0, so the map is already a valid [0,1] encoding. a = gradient gain (1..21x – how steep the shading is taken to be), b = pre-smoothing sigma of the image (0..3) to tame sensor noise. Constant input -> all-ones (perfectly flat gel). · examples: sim2real_and_alifebootstrap_std_error image → image GPU: yes (allow-list) — Measures the standard error of the local standard deviation without assuming a distribution (bootstrap). · examples: gallery2d_texture_freqcooc_feature_matrix (halcon: cooc_feature_matrix) image → feature GPU: none — Computes the Haralick texture feature energy (angular second moment, i.e., how concentrated the matrix values are = texture uniformity) from a gray-level co-occurrence matrix (GLCM, skimage.feature.graycomatrix, quantized to 16 levels, distance 1+3*a, angle 0 degrees). Equivalent to HALCON’s cooc_feature_matrix (Calculate gray value features from a co-occurrence matrix.) (HALCON can return multiple features and multiple angles simultaneously, but this is simplified to energy at a fixed 0-degree angle). · examples: gallery2d_texture_freq, poc_real_texture_invariancedeviation_image (halcon: deviation_image) image → image GPU: yes (deviation_image) — An image obtained by normalizing the standard deviation of pixel values within a rectangular window (local standard deviation, the square root of E[x^2]-E[x]^2). Visualizes local variation (roughness) in texture. Corresponds to HALCON’s deviation_image (Calculate the standard deviation of gray values within rectangular windows). · examples: gallery2d_texture_freqentropy_image (halcon: entropy_image) image → image GPU: none — An image obtained by normalizing the grayscale Shannon entropy within a circular window (skimage.filters.rank.entropy, 8-bit quantized). A texture measure of the “spread” of gray levels within the window: low in uniform regions and high in regions where diverse gray levels mix. Corresponds to HALCON’s entropy_image (Calculate the entropy of gray values within a rectangular window) – an approximation using a circular window here versus HALCON’s rectangular window. · examples: gallery2d_texture_freqf2_symmetry (halcon: symmetry) image → image GPU: yes (allow-list) — Local reflective symmetry of gray values along a row. For each pixel the weighted asymmetry sum_d (1/d) |
I(i,j-d) - I(i,j+d) | over d=1..r is measured; a low response means the neighbourhood is left-right symmetric about that column. a sets the radius r (1..6); b is ignored. Output is the asymmetry response normalised to [0,1]. · examples: gallery2d_texture_freq |
gabor (halcon: gen_gabor) image → image GPU: yes (allow-list) — Gabor energy |
v * g | — an oriented band-pass texture response. · examples: gallery2d_texture_freq, poc_patch_anomaly |
gen_gabor (halcon: gen_gabor) image → image GPU: yes (allow-list) — Returns the absolute value of the convolution response from a single Gabor kernel (orientation theta=pi*a, frequency 0.1+0.3*b), normalized by the kernel’s L1 norm. A real-part-only kernel with the DC component removed (mean subtracted), acting as a band-pass texture filter that responds selectively to stripe patterns of the specified direction and frequency. Corresponds to HALCON’s gen_gabor (Generate a Gabor filter) – a simplified version using only a real kernel with no imaginary part / phase. · examples: gallery2d_texture_freqlocal_bimodality image → image GPU: yes (allow-list) — Local bimodality (bimodality coefficient). Without choosing even 1 threshold, returns only “does this place split into 2 values?” as a 0-to-1 map. · examples: gallery2d_texture_freqlocal_std image → image GPU: yes (allow-list) — Returns the standard deviation within a local window in the same units as the input (not normalized). Corresponds to HALCON’s deviation_image (Calculate the standard deviation of gray values within rectangular windows.). · examples: gallery2d_texture_freqscale_select_std image → image GPU: yes (allow-list) — Local standard deviation that chooses the window size per pixel (Lepski / ICI rule). · examples: gallery2d_texture_freqsk_entropy (halcon: entropy_image) image → image GPU: none — Local entropy. Computes the Shannon entropy (base-2 logarithm) of the gray-value distribution in the neighborhood (disk-shaped) around each pixel, and images it as the minimum number of bits needed to encode that location – a measure of texture complexity/information content. · examples: gallery2d_texture_freqsk_frangi (halcon: lines_gauss) image → image GPU: none — Frangi’s tubular structure detection filter (vesselness filter). Detects elongated tubular structures such as blood vessels, wrinkles, or rivers from the eigenvalue ratios of the Hessian matrix. · examples: gallery2d_texture_freq, poc_fresco_craquelure, poc_solar_el_inspectionsk_gabor (halcon: gen_gabor) image → image GPU: none — Gabor filter response magnitude. A classic feature extractor that convolves a sinusoidally modulated Gaussian kernel and responds strongly to texture with a specific spatial frequency and orientation. · examples: gallery2d_texture_freqsk_hessian (halcon: lines_gauss) image → image GPU: none — Hybrid Hessian filter. Detects tubular structures much like Frangi, but with a different smoothing method (it can be used approximately as a substitute for Frangi). · examples: gallery2d_texture_freqsk_lbp image → image GPU: none — LBP (Local Binary Pattern). A texture descriptor robust to illumination changes, built by comparing each pixel to its neighbors on a surrounding circle to form a binary code. · examples: gallery2d_texture_freq, poc_real_texture_invariancesk_meijering (halcon: lines_gauss) image → image GPU: none — Meijering’s neurite detection filter (neuriteness filter). Like Frangi, it computes a similarity to tubular structures from the eigenvalues of the Hessian, but uses a different normalization method (a formula tuned for neurite images). · examples: gallery2d_texture_freqsk_shape_index image → image GPU: none — Shape index. Represents local surface shape as a single scalar from -1 (spherical cup/pit) through 0 (saddle point) to +1 (spherical cap/dome), derived from the eigenvalues of the Hessian matrix – a descriptor that summarizes the “orientation” of curvature. · examples: gallery2d_texture_freqstd_filter (halcon: deviation_image) image → image GPU: yes (std_image) — Standard deviation within a local window (an indicator of texture coarseness). Equivalent to HALCON’s deviation_image (Calculate the standard deviation of gray values within rectangular windows.). · examples: gallery2d_texture_freqstructure_tensor_coherence image → image GPU: yes (allow-list) — Returns the local degree of orientation alignment (anisotropy of the structure tensor) in [0,1]. · examples: gallery2d_texture_freqstructure_tensor_orientation image → image GPU: yes (allow-list) — Returns the local direction in which stripes run (principal axis of the structure tensor) mapped to [0,1]. · examples: degenerate_inputs, gallery2d_texture_freqtexture_laws (halcon: texture_laws) image → image GPU: yes (texture_laws) — The implementation is the local variance (the variance version of deviation_image, i.e. E[x^2]-E[x]^2 within the window). The true Laws’ texture filter is a bank of 25 convolutions built from 1D kernel pairs such as L5/E5/S5/W5/R5 (capturing energy/edges/waves/spots/ripples), but this substitute uses a single local variance instead of the full kernel bank (a limitation of the approximation – direction- and frequency-specific information is lost). A stand-in for HALCON’s texture_laws (Filter an image using a Laws texture filter). · examples: gallery2d_texture_freqtf_census_transform image → image GPU: none — census_transform: the 3x3 non-parametric census bit-signature image. · examples: gallery2d_texture_freqtf_rank_transform image → image GPU: yes (allow-list) — rank_transform: the local rank of each pixel among its neighbours. · examples: gallery2d_texture_freqxsk2_hog image → image GPU: none — A visualization image of HOG (Histogram of Oriented Gradients) features. Calls skimage.feature.hog with visualize=True and returns the visualization image (discarding the feature vector itself). · examples: gallery2d_texture_freqxsk_meijering image → image GPU: none — Meijering neuriteness filter. Applies skimage.filters.meijering at three scales (sigma=1,2,3) to enhance thin curvilinear structures (such as blood vessels or neurites) (like the Frangi family, it computes ridge-likeness from the eigenvalues of the Hessian matrix, but Meijering also responds strongly at branch points). · examples: gallery2d_texture_freq, poc_fresco_craquelurexsk_sato image → image GPU: none — Sato tubeness filter. Applies skimage.filters.sato at three scales (sigma=1,2,3) to enhance tubular structures (such as blood vessels). Computing line/tube-likeness from the eigenvalue ratio of the Hessian matrix is the same family as xsk_meijering, but the response weighting differs, and it doesn’t respond as strongly at branch points as Meijering does. · examples: gallery2d_texture_freq, poc_fresco_craquelurexsk_struct_coherence image → image GPU: none — Structure tensor coherence (consistency of orientation). · examples: gallery2d_texture_freqxsp_hilbert_env image → image GPU: yes (allow-list) — Extracts the amplitude envelope of the analytic signal (Hilbert transform) along the row direction. · examples: gallery2d_texture_freqxmh_pftas image → feature GPU: none — Variance of the 54-dimensional PFTAS (parameter-free threshold adjacency statistics, mahotas.features.pftas) feature vector. A texture feature that aggregates histograms counting adjacent-pixel intensity relationships using a parameter-free threshold. · examples: gallery2d_featuresxmh_zernike image → feature GPU: none — Sum of Zernike moments (mahotas.features.zernike_moments). Collapses the rotation-invariant shape/intensity-distribution features of the image mapped onto the unit circle into a single real number. · examples: gallery2d_featurestm_backproject_unfiltered image → image GPU: none — Plain (UN-filtered) back-projection of the input sinogram – the classic blurry reconstruction. No ramp filter is applied, so high frequencies are suppressed and every point spreads a 1/r blur: this deliberately shows why FBP’s filter is needed. a/b are unused (this is the fixed naive baseline). Uses skimage.transform.iradon with filter_name=None when available, else the NumPy plain back-projection. Output refit to HxW. · examples: gallery2d_physics_alife_3dtm_fbp_reconstruct image → image GPU: none — Filtered back-projection: treat v as a sinogram (rows = angles, cols = detector, angles assumed uniform over [0,180)) and reconstruct the slice. b picks the reconstruction filter – b < 0.5 -> Ram-Lak (ramp), b >= 0.5 -> Shepp-Logan. a is unused (the filter is the meaningful knob). Uses skimage.transform.iradon when available, else the NumPy FFT-ramp-filtered back-projection. Output refit to HxW. · examples: gallery2d_physics_alife_3dtm_radon_forward image → image GPU: none — Forward Radon projection: treat v as a slice image and integrate it along parallel rays to build a sinogram (rows = angles, cols = detector), refit to the original HxW. a sets how many angles are acquired (n = round(H*a) clamped to 8..360 – the sparse-view knob), b sets the angular span (span = 180*min(1, 0.5+b) deg: b < 0.5 is limited-angle CT, b >= 0.5 – including the default b = 0.5 – is the full [0,180) span that tm_fbp_reconstruct / tm_sart_reconstruct / tm_backproject_unfiltered assume, so the natural chain forward -> inverse round-trips at default knobs). Uses skimage.transform.radon when available, else the NumPy rotate-and-sum Radon transform. · examples: gallery2d_physics_alife_3dtm_sart_reconstruct image → image GPU: none — Algebraic reconstruction: run a few SART/SIRT sweeps on the input sinogram (rows = angles). a sets the iteration count (round(1+a*4) -> 1..5), b sets the relaxation factor (0.05 + b*0.35). Uses skimage.transform.iradon_sart when available, else a self-contained NumPy SIRT (project -> residual -> weighted back-projection) loop. Output refit to HxW. · examples: gallery2d_physics_alife_3dtm_sinogram_denoise image → image GPU: yes (allow-list) — Smooth the input sinogram along the ANGLE direction (rows). Neighbouring projection angles view almost the same object, so angle-direction smoothing is a genuine consistency prior that suppresses per-angle detector noise while preserving the sinusoidal traces. a sets the angle-axis Gaussian sigma (a*4), b adds a gentle detector-axis sigma (b*1.5). Output stays a same-shape sinogram in [0,1]. · examples: gallery2d_physics_alife_3dtf_radon_sinogram image → image GPU: none — radon_sinogram: the Radon transform rendered as an HxW sinogram image. · examples: gallery2d_geometryxmh_daubechies image → image GPU: none — Daubechies wavelet transform (mahotas.daubechies). Same layout as xmh_haar (single level, coefficients packed into an array of the original image size and min-max normalized), but with the basis changed to the Daubechies family. · examples: gallery2d_geometryxmh_haar image → image GPU: none — Haar wavelet transform (mahotas.haar). Truncates the image to an even size before transforming, then displays the resulting coefficient array – a Matlab-style in-place layout where the approximation/horizontal/vertical/diagonal subbands are packed into an array the same size as the original image – directly as an image after min-max normalization. · examples: gallery2d_geometrytb_abs_funct_1d signal → signal GPU: inside a chain only (allow-list) — Absolute value of the y-values (HALCON abs_funct_1d). · examples: nonetb_alpha_shape_boundary points → signal GPU: none — Returns the boundary point indices via alpha shapes (point cloud → boundary points). · examples: nonetb_angular_spectrum_propagate cimage → cimage GPU: yes (allow-list) — Exact scalar free-space propagation of a complex field (angular spectrum). · examples: nonetb_apply_weighting signal → signal GPU: yes (allow-list) — Apply an A / C / Z frequency weighting to a signal, zero-phase. · examples: nonetb_arc_length points → feature GPU: none — Cumulative arc length and total length of a curve. → (cumulative (N,), total float). · examples: nonetb_background_subtraction_window video → video GPU: none — Causal window-median background → per-frame 0/1 foreground masks (T, H, W) (video). · examples: nonetb_bandpass signal → signal GPU: none — Butterworth band-pass between low and high Hz. Both edges must be inside (0, rate/2); same length contract as :func:lowpass. · examples: nonetb_beamform_delay_sum beatcube → signal GPU: none — Delay-and-sum (Bartlett) angle spectrum for one range-Doppler cell. · examples: nonetb_box_sdf points → volume GPU: none — Exact signed distance field of an axis-aligned box (negative inside, positive outside). · examples: nonetb_capsule_sdf points → volume GPU: none — Exact signed distance field of a capsule formed by thickening the segment a–b by radius radius. · examples: nonetb_companding_mu_law signal → signal GPU: yes (allow-list) — mu-law companding — the G.711 curve, used here on any 1-D signal. · examples: nonetb_countrate_to_counts counts → counts GPU: none — Count rate [Hz] -> counts counts. An exit of countrate (reversible). · examples: nonetb_counts_to_countrate counts → counts GPU: none — Counts -> count rate [Hz]. The inverse of :func:countrate_to_counts. · examples: nonetb_cplx_cr_residual cimage → feature GPU: none — Cauchy-Riemann residual of a sampled complex field — “is this field holomorphic?” as a number. · examples: nonetb_create_funct_1d_array signal → signal GPU: none — A 1-D function from equidistant samples (HALCON create_funct_1d_array). · examples: nonetb_cutout points → points GPU: none — Removes a spatial axis-aligned box region and returns (kept, kept_idx) (mimicking localized missing data). · examples: nonetb_cx_apply_transfer_function cimage → cimage GPU: inside a chain only (allow-list) — Multiply a centred spectrum by a filter H -> (H, W) complex128. · examples: gallery_spectrum_signal_bridgetb_cx_ifft cimage → image GPU: yes (allow-list) — Inverse of :func:cx_fft: ifft2(ifftshift(cx)). · examples: gallery_spectrum_signal_bridgetb_cx_imag cimage → image GPU: none — Imaginary part of cx -> real (H, W) float64 (raw, not clamped). · examples: gallery_spectrum_signal_bridgetb_cx_log_magnitude cimage → image GPU: inside a chain only (allow-list) — Log magnitude spectrum for display -> real (H, W) float64 in [0, 1]. · examples: gallery_spectrum_signal_bridgetb_cx_magnitude cimage → image GPU: none — Per-pixel magnitude |cx| -> real (H, W) float64. · examples: gallery_spectrum_signal_bridgetb_cx_phase cimage → image GPU: inside a chain only (allow-list) — Wrapped phase of cx -> real (H, W) float64. · examples: gallery_spectrum_signal_bridgetb_cx_real cimage → image GPU: none — Real part of cx -> real (H, W) float64 (raw, not clamped). · examples: gallery_spectrum_signal_bridgetb_cylinder_sdf points → volume GPU: none — Exact signed distance field of a finite-length cylinder (flat caps at both ends) (negative inside, positive outside). · examples: nonetb_deflicker video → video GPU: none — Luminance deflicker per frame → (T, H, W) (video). · examples: nonetb_dem_ecef_to_geodetic points → points GPU: none — ECEF → geodetic coordinates. Returns (..., 3) as (latitude[deg], longitude[deg], height[m]). · examples: nonetb_derivate_funct_1d signal → signal GPU: inside a chain only (allow-list) — First derivative by central differences (HALCON derivate_funct_1d). · examples: nonetb_drag_coefficient_sphere signal → signal GPU: yes (allow-list) — Empirical formula for the drag coefficient of a smooth sphere (Morrison 2013, Re ≲ 1e6): 24/Re + 2.6(Re/5)/(1 + (Re/5)^1.52) + 0.411(Re/263000)^−7.94/(1 + (Re/263000)^−8) + 0.25(Re/1e6)/(1 + Re/1e6). For a table-tennis ball (Re ≈ 1 to 5 × 10⁴) it is 0.39 to 0.41 (0.392 at Re 1.6 × 10⁴ = 6 m/s, 0.406 at 5 × 10⁴, 0.426 at 1 × 10⁵; it drops to 0.17 in the drag crisis near Re ≈ 3 × 10⁵). · examples: nonetb_dtof_depth counts → feature GPU: none — Distance from a photon arrival-time histogram: d = c*t/2. · examples: nonetb_dynsys_correlation_dimension points → feature GPU: none — Grassberger-Procaccia correlation dimension — the slope of log C(r). · examples: nonetb_elastic_deform points → points GPU: none — Elastic deformation via a smooth random displacement field (correlation length sigma, RMS amplitude alpha). · examples: nonetb_env_lightbox points → signal GPU: none — Environment of a photo light box (broad overhead light + a faintly bright surround). Achromatic. · examples: nonetb_env_studio points → signal GPU: none — Radiance of a studio environment (direction -> brightness). Achromatic. · examples: nonetb_envelope signal → signal GPU: yes (allow-list) — Amplitude envelope via the analytic (Hilbert) signal — the shape of a knock / impact / acoustic-emission burst. · examples: nonetb_equivalent_level signal → feature GPU: none — The energy-equivalent level of a record, in dB relative to ref. · examples: nonetb_estimate_alpha points → feature GPU: none — Returns a recommended alpha based on the scale of the point cloud (based on the median nearest-neighbor distance). · examples: nonetb_estimate_normals points → points GPU: none — Point-cloud normals unified to point outward (away from the local centroid of neighbors). → (N,3). · examples: nonetb_estimate_oriented_normals points → points GPU: none — A combination of PCA normal estimation and Hoppe global orientation propagation. → (N,3) oriented unit normals. · examples: nonetb_estimate_point_normals points → points GPU: none — Point cloud (N,3) → unit normals (the smallest eigenvector of the local k-nearest-neighbor covariance = PCA). · examples: nonetb_euclidean_cluster points → volume GPU: none — Distance-based clustering via the connected components of a proximity graph with radius tol (-1 = noise). · examples: nonetb_exponential_background video → video GPU: inside a chain only (allow-list) — Recursive background bg ← (1−α)·bg + α·frame per frame → (T, H, W) (video). · examples: nonetb_exponential_foreground video → video GPU: none — Foreground masks |frame − exponential background| > threshold → 0/1 (T, H, W) (video). · examples: nonetb_farthest_point_sampling points → signal GPU: none — Farthest point sampling based on geodesic distance (even thinning). → an array of selected indices (n,) int. · examples: nonetb_find_peaks signal → signal GPU: none — Peak indices (scipy.signal.find_peaks) — impacts / defect echoes. · examples: nonetb_fit_spline_curve points → points GPU: none — Smooths an ordered sequence of 3D points with a B-spline and resamples it. → (M,3). For smoothing noisy trajectories/edges. · examples: nonetb_fly_lgmd_eta signal → signal GPU: yes (allow-list) — LGMD/eta looming response from an expanding subtended angle. · examples: nonetb_fly_tau_from_expansion signal → signal GPU: yes (allow-list) — Time-to-contact from optical expansion — the tau margin. · examples: nonetb_fmcw_range_profile beatcube → signal GPU: none — Range-only profile: the fast-time FFT magnitude, averaged over the rest. · examples: nonetb_fmcw_window_apply beatcube → beatcube GPU: none — Apply a periodic window along the range and/or Doppler axis of a beat cube. · examples: nonetb_frame_difference_causal video → video GPU: none — |frame t − frame t−1| with a zero first frame → (T, H, W) (video). · examples: nonetb_gaussian_curvature points → signal GPU: none — Gaussian curvature K=k1·k2 (invariant to normal flipping). → (N,). · examples: nonetb_geodesic_distances points → signal GPU: none — Geodesic distances from source to all points (Dijkstra on a kNN graph). → (N,) float (unreachable points are inf). · examples: nonetb_get_y_value_funct_1d signal → feature GPU: none — The y-value at (fractional) position x (HALCON get_y_value_funct_1d). · examples: nonetb_highpass signal → signal GPU: none — Butterworth high-pass. Same Nyquist / length contract as :func:lowpass. · examples: nonetb_inertia_tensor points → matrix GPU: none — Inertia tensor of the point cloud (3,3) (from the central second moment, assuming equal mass and a total mass of 1). · examples: nonetb_inside_outside points → signal GPU: none — Inside/outside function F of a superquadric surface (surface=1, inside<1, outside>1). · examples: nonetb_integrate_funct_1d signal → signal GPU: inside a chain only (allow-list) — Cumulative integral by the trapezoidal rule (HALCON integrate_funct_1d). · examples: nonetb_intrinsics_to_carla matrix → matrix GPU: none — Inverse of :func:intrinsics_to_fullseye (shifts the principal point back by 0.5). · examples: nonetb_intrinsics_to_fullseye matrix → matrix GPU: none — CARLA’s K (pixel corners at integers, principal point W/2) → Fullseye / render3d’s K (pixel centers at integers, principal point (W−1)/2). It only shifts the principal point by 0.5. · examples: nonetb_iqft2 qimage → qimage GPU: yes (allow-list) — Inverse quaternion Fourier transform of a centred spectrum. → (H, W, 4). · examples: nonetb_iss_keypoints points → signal GPU: none — ISS (Intrinsic Shape Signatures, equivalent to a 3D Harris) keypoint detector. Uses the smallest eigenvalue λ3 of the local covariance as the saliency, restricts candidates to points whose eigenvalues are distinct (i.e. well-defined orientation), and sparsely selects them via NMS. Rotation-invariant. Returns an array of point indices. · examples: nonetb_jitter points → points GPU: none — Adds isotropic Gaussian noise N(0, sigma) to each point (mimicking sensor position noise). · examples: nonetb_keypoints_rowcol_to_uv keypoints → keypoints GPU: none — Image points (row, col) → (u, v) = (col, row). The bridge between the two conventions of the keypoints sort. · examples: nonetb_keypoints_to_image2d keypoints → image GPU: none — Image coordinates (N,2) = (u, v) -> a count image (H, W). The second exit of keypoints. · examples: nonetb_keypoints_uv_to_points keypoints → points GPU: none — Image coordinates (N,2) = (u, v) -> point cloud (N,3) = (z, y, x). An exit of keypoints. · examples: nonetb_keypoints_uv_to_rowcol keypoints → keypoints GPU: none — Image points (u, v) = (col, row) → (row, col). The reverse of :func:keypoints_rowcol_to_uv. · examples: nonetb_landmark_asymmetry points → signal GPU: none — Signed asymmetry for each left/right pair. → (M,). · examples: nonetb_lf_center_view lightfield → image GPU: none — The centre viewpoint — the ordinary 2-D image a plenoptic camera also gives. · examples: nonetb_lf_depth_from_focus lightfield → image GPU: none — Per-pixel slope from the sharpness peak across the refocus sweep. · examples: nonetb_lf_epi lightfield → image GPU: none — Epipolar-plane image — the slice whose line slope is the disparity. · examples: nonetb_lf_epi_slope lightfield → image GPU: yes (allow-list) — Per-pixel slope from the EPI line orientation (structure tensor, refined by shearing). · examples: nonetb_lf_refocus lightfield → image GPU: none — Shift-and-add refocus: the synthetic-aperture image focused at slope. · examples: nonetb_lf_subaperture lightfield → image GPU: none — One sub-aperture view — the image seen through one point of the pupil. · examples: nonetb_lf_synthetic_aperture lightfield → image GPU: none — Refocus through a shaped aperture — and, with reduce="median", through occluders. · examples: nonetb_lf_to_mla lightfield → image GPU: none — Re-interleave a light field into a microlens-array raw frame (exact inverse). · examples: nonetb_local_std signal → signal GPU: none — Rolling standard deviation with a stated error bound. · examples: nonetb_lowpass signal → signal GPU: none — Butterworth low-pass (scipy, zero-phase filtfilt). cutoff must be inside (0, rate/2); an out-of-Nyquist cutoff raises instead of passing the signal through. A signal too short for zero-phase filtfilt also raises (the message names the exact minimum) instead of silently coming back unfiltered. · examples: nonetb_magnus_lift_coefficient signal → signal GPU: inside a chain only (allow-list) — Lift coefficient C_L = 1 / (2 + 1/S) from the spin ratio S = rω/ |
v | (0 as S → 0, 0.5 as S → ∞; an empirical formula widely used in the literature on spheres). · examples: none |
tb_mat_cond matrix → feature GPU: none — Spectral (2-norm) condition number s_max / s_min — the numerical canary of the whole linalg family. · examples: nonetb_mat_pinv matrix → matrix GPU: none — Moore-Penrose pseudo-inverse via SVD, with the cutoff explicit. · examples: nonetb_mean_curvature points → signal GPU: none — Mean curvature H=(k1+k2)/2. → (N,). An orientation-dependent quantity. · examples: nonetb_mirror_plane_from_pairs points → matrix GPU: none — Derives the midsagittal plane from corresponding left/right landmarks. → (2, 3) (row 1 = point, row 2 = normal). · examples: nonetb_mls_smooth points → points GPU: none — Projects each point onto a local polynomial surface to remove noise (Moving Least Squares smoothing). · examples: nonetb_monogenic_amplitude qimage → image GPU: yes (allow-list) — Local amplitude sqrt(f^2 + R1^2 + R2^2) of a monogenic signal. → (H, W). · examples: nonetb_monogenic_orientation qimage → image GPU: yes (allow-list) — Local orientation atan2(R2, R1) of a monogenic signal. → (H, W). · examples: nonetb_monogenic_phase qimage → image GPU: yes (allow-list) — Local phase atan2(|R|, f) of a monogenic signal. → (H, W). · examples: nonetb_motion_energy_image video → video GPU: none — Bobick–Davis Motion Energy Image per frame → 0/1 (T, H, W) (video). · examples: nonetb_motion_history_image video → video GPU: none — Bobick–Davis Motion History Image per frame → (T, H, W) in [0, 1] (video). · examples: nonetb_moving_average_window video → video GPU: none — Causal per-pixel mean over the last window frames → (T, H, W) (video). · examples: nonetb_negate_funct_1d signal → signal GPU: inside a chain only (allow-list) — Sign-flipped y-values (HALCON negate_funct_1d). · examples: nonetb_normals_to_egi points → image GPU: none — Normals (N,3) -> the image2d of the Extended Gaussian Image (n_el, n_az). · examples: nonetb_num_points_funct_1d signal → feature GPU: none — Number of samples (HALCON num_points_funct_1d). · examples: nonetb_occupancy_grid points → volume GPU: none — Point cloud (N,3) → a 3-D occupancy voxel grid, bool (a voxel a point falls into counts as occupied). · examples: nonetb_optical_flow_magnitude_stream video → video GPU: none — Per-frame dense flow speed against the previous frame → (T, H, W) (video). · examples: nonetb_pc_density_equalize points → points GPU: none — Fill the sparse regions, then thin the dense ones: uniform spacing (points). · examples: nonetb_pc_fill_sparse points → points GPU: none — Insert points where the local spacing exceeds spacing, on the local PCA plane (points). · examples: nonetb_pc_poisson_disk points → points GPU: none — Blue-noise thinning: keep points greedily so that no two are closer than radius (points). · examples: nonetb_plane_sdf points → volume GPU: none — Exact signed distance field of a half-space. fast is an optional path with measured relative difference 1.5e-10 at 1e6; the default is exact. · examples: nonetb_plane_segmentation points → volume GPU: none — Iteratively extracts up to max_planes planes via repeated RANSAC (remaining residual points are -1). · examples: nonetb_points_render points → rgbimage GPU: none — Render an (N, 3) point cloud to an RGB image (H, W, 3): anti-aliased splats, depth-sorted, deterministic. · examples: nonetb_points_to_voxel points → volume GPU: none — Point cloud (N,3) → density voxel (size³). Splatted via scatter_add, with optional Gaussian smoothing. · examples: nonetb_points_zyx_to_keypoints_uv points → keypoints GPU: none — Point cloud (N,3) = (z, y, x) -> image coordinates (N,2) = (u, v). · examples: nonetb_project points → keypoints GPU: none — Projects 3D points (n,3) onto 2D (n,2) via a camera (rvec,t,K) (perspective division). · examples: nonetb_project_cylindrical points → image GPU: none — Project onto a cylindrical range image (z_bins, h_res). Azimuth (columns) x z (rows), pixel value = horizontal radius ρ = hypot(x, y). · examples: nonetb_project_points points → keypoints GPU: none — 3D point cloud (N,3) → image coordinates (u,v) and depth. Pinhole model (the forward direction of depth_to_points). · examples: nonetb_project_spherical points → image GPU: none — Project onto a spherical range image for rotating LiDAR (v_res, h_res). Empty cells = 0, nearest point wins (minimum range). · examples: nonetb_qft2 qimage → qimage GPU: yes (allow-list) — Quaternion (hypercomplex) 2-D Fourier transform. → (H, W, 4) centred spectrum. · examples: nonetb_quantize signal → signal GPU: inside a chain only (allow-list) — Scalar quantiser with the error model stated, plus optional dither. · examples: nonetb_quat_color_filter qimage → qimage GPU: none — Keep or remove one colour direction, exactly. → (H, W, 4). · examples: nonetb_quat_color_rotate qimage → qimage GPU: none — Rotate every pixel’s colour about an RGB axis: q x conj(q). → (H, W, 4). · examples: nonetb_quat_conjugate_image qimage → qimage GPU: none — Per-pixel quaternion conjugate (w, -x, -y, -z). → (H, W, 4). · examples: nonetb_quat_norm qimage → image GPU: none — Per-pixel quaternion modulus |q| = sqrt(w^2+x^2+y^2+z^2). → (H, W). · examples: nonetb_quat_normalize_image qimage → qimage GPU: none — Per-pixel normalisation to unit modulus. → (H, W, 4). · examples: nonetb_quaternion_to_rgb qimage → rgbimage GPU: inside a chain only (allow-list) — Vector part of a quaternion image, as linear RGB. → (H, W, 3). · examples: nonetb_radius_outlier_removal points → points GPU: none — Removes points whose number of neighbors within radius radius is below min_neighbors (removal of isolated points). · examples: nonetb_random_dropout points → points GPU: none — Randomly removes a ratio fraction of the points and returns (kept, kept_idx) (mimicking missing data). · examples: nonetb_random_rotation points → points GPU: none — Applies a random rotation and returns (rotated, R) (mimicking viewpoint change). · examples: nonetb_random_scale points → points GPU: none — Applies a uniform scale s ~ U(lo, hi) about the origin and returns (scaled, s). · examples: nonetb_range_doppler_map beatcube → image GPU: none — The 2-D FFT of a beat cube -> a (n_doppler, n_range) magnitude map. · examples: nonetb_reflect_points points → points GPU: none — Mirror a point cloud across a plane (point plane_point, normal plane_normal). -> (N,3). · examples: nonetb_reflection_symmetry_score points → feature GPU: none — Reflection symmetry score = chamfer(mirrored, original) / median nearest-neighbor spacing (smaller = more symmetric, scale-invariant). -> float. · examples: nonetb_region_growing points → volume GPU: none — Grows regions by normal similarity, assigning the same label to connected smooth regions (a variant without a curvature gate). · examples: nonetb_render_point_depth points → image GPU: none — Point cloud → depth image (z-buffer; each pixel gets the depth of its nearest point). A sample for observation synthesis / appearance inspection. · examples: nonetb_resample signal → signal GPU: yes (allow-list) — Resample a signal to new_rate (Fourier method). · examples: nonetb_resample_uniform points → points GPU: none — Resamples to n points at equal intervals of arc length (linear interpolation). → (n,3). · examples: nonetb_rgb_to_quaternion rgbimage → qimage GPU: none — Embed a colour image as pure quaternions 0 + R i + G j + B k. → (H, W, 4). · examples: nonetb_rms signal → feature GPU: none — RMS level. Scalar for the whole signal, or a framewise array when frame is given (a vibration/energy envelope over time). · examples: nonetb_running_gaussian_background video → video GPU: yes (allow-list) — Adaptive single-Gaussian background (the running mean) per frame → (T, H, W) (video). · examples: nonetb_running_gaussian_foreground video → video GPU: none — Adaptive single-Gaussian foreground masks per frame → 0/1 (T, H, W) (video). · examples: nonetb_sample_funct_1d signal → signal GPU: none — Every step-th sample (HALCON sample_funct_1d). · examples: nonetb_scale_y_funct_1d signal → signal GPU: inside a chain only (allow-list) — Linear map of the y-values, mult * y + add (HALCON scale_y_funct_1d). · examples: nonetb_sensor_capture rgbimage → rgbimage GPU: none — Radiance → real-sensor output (shot noise, read noise, saturation, quantisation). · examples: nonetb_shape_perturb points → points GPU: none — Applies 1 known deformation to a shape. → (N, 3). · examples: nonetb_smooth_funct_1d_gauss signal → signal GPU: inside a chain only (allow-list) — Gaussian smoothing of a 1-D function (HALCON smooth_funct_1d_gauss). · examples: nonetb_smooth_funct_1d_mean signal → signal GPU: inside a chain only (allow-list) — Iterated moving-average smoothing (HALCON smooth_funct_1d_mean). · examples: nonetb_spad_deadtime_apply counts → counts GPU: none — Distort a true photon rate by the detector’s dead time (counts lost). · examples: nonetb_spad_deadtime_correct counts → counts GPU: inside a chain only (allow-list) — Recover the true photon rate from a dead-time-distorted measured rate. · examples: nonetb_spectrogram signal → image GPU: none — STFT magnitude spectrogram -> (freqs, times, S) with S shape (n_freqs, n_frames). Hann-windowed; hop defaults to win//2. · examples: nonetb_specular_coefficient_map rgbimage → image GPU: yes (allow-list) — The scalar interface (specular) coefficient of the dichromatic model. → (H, W). · examples: nonetb_specular_diffuse_split rgbimage → rgbimage GPU: yes (allow-list) — Split a linear-RGB image into its diffuse (body) and specular (interface) parts. → (diffuse, specular), both (H, W, 3). · examples: nonetb_specular_free_transform rgbimage → rgbimage GPU: inside a chain only (allow-list) — Project out the illuminant direction: the part of the image a highlight cannot touch. → (H, W, 3). · examples: nonetb_sphere_sdf points → volume GPU: none — Signed distance field of a sphere: |p - center| - R (negative inside, positive outside). · examples: nonetb_stat_correlation matrix → matrix GPU: none — Pearson correlation matrix of (N, D) observations → (D, D). · examples: nonetb_stat_covariance matrix → matrix GPU: none — Sample covariance matrix of (N, D) observations → (D, D). · examples: nonetb_stat_zscore signal → signal GPU: inside a chain only (allow-list) — Standardise a 1-D sample: (x - mean) / std (population ddof=0). · examples: nonetb_statistical_outlier_removal points → points GPU: none — Removes points whose k-nearest-neighbor mean distance is a global outlier (statistical outlier removal). · examples: nonetb_superquadric_residual points → feature GPU: none — Gross-Boult volume-corrected residual: mean( (sqrt(a1 a2 a3)(F^eps1 - 1))^2 ). · examples: nonetb_synthesize_silhouette points → image GPU: none — Projects a 3-D point cloud onto a (K,R,t) camera and returns a silhouette (H,W bool) where occupied pixels are True. · examples: nonetb_tcspc_background_subtract counts → counts GPU: none — Remove the ambient-light / dark-count floor from an arrival-time histogram. · examples: nonetb_tcspc_coates_correct counts → counts GPU: none — Undo TCSPC pile-up exactly (Coates’s estimator) — the early-photon bias. · examples: nonetb_tcspc_irf_convolve counts → counts GPU: none — Blur an arrival-time histogram by the instrument response (timing jitter). · examples: nonetb_temporal_band_power video → image GPU: yes (allow-list) — Per-pixel mean-square power inside a temporal band -> (H, W) map. · examples: nonetb_temporal_bandpass video → video GPU: yes (allow-list) — Ideal temporal band-pass of every pixel’s time series -> (T, H, W). · examples: nonetb_temporal_bilateral video → video GPU: yes (allow-list) — Causal temporal bilateral denoise per frame → (T, H, W) (video). · examples: nonetb_temporal_median_window video → video GPU: yes (allow-list) — Causal per-pixel median over the last window frames → (T, H, W) (video). · examples: nonetb_three_frame_difference video → video GPU: none — Collins three-frame-difference motion mask per frame → 0/1 (T, H, W) (video). · examples: nonetb_torus_sdf points → volume GPU: none — Exact signed distance field of a torus (doughnut) (negative inside, positive outside). · examples: nonetb_viewport_from_equirect rgbimage → rgbimage GPU: none — Extract a rectilinear viewer viewport from an equirectangular image. · examples: nonetb_voxel_grid_downsample points → points GPU: none — Thins the point cloud with a grid of cell size voxel_size, aggregating each cell into a single centroid point (deterministic). · examples: nonetb_weighting_response signal → signal GPU: yes (allow-list) — The A / C / Z frequency-weighting curve, in dB, at the given frequencies. · examples: nonetb_wetness rgbimage → rgbimage GPU: yes (allow-list) — Base colour of a wet surface. Diffuse darkens (and specular increases). · examples: nonetb_zero_crossing_rate signal → feature GPU: none — Fraction of adjacent samples that change sign — a cheap pitch/noisiness cue. · examples: nonetb_zero_crossings_funct_1d signal → signal GPU: none — Indices where the function changes sign (HALCON zero_crossings_funct_1d). · examples: nonexg_area_center (halcon: area_center_points_xld) contour → feature GPU: none — Polygon area of the contour(s) via the shoelace formula (summed abs). · examples: gallery2d_geometryxg_clip_contours contour → contour GPU: none — Drop contours whose polyline length is below a * max-length (a in [0,1]). · examples: gallery2d_geometryxg_crop_contours contour → contour GPU: none — Keep only contour points inside the central a-fraction window of the shape. · examples: gallery2d_geometryxg_eccentricity (halcon: eccentricity_points_xld) contour → feature GPU: none — Eccentricity sqrt(1 - lambda_min/lambda_max) from the point covariance. · examples: gallery2d_geometryxg_elliptic_axis (halcon: elliptic_axis_points_xld) contour → feature GPU: none — Major/minor axis ratio sqrt(lambda_max/lambda_min) of the point set. · examples: gallery2d_geometryxg_gen_polygons (halcon: gen_polygons_xld) contour → contour GPU: none — Douglas-Peucker polyline simplification; eps = a * contour bbox diagonal. · examples: gallery2d_geometry, poc_cloth_towel_corners_synthxg_height_width_ratio (halcon: height_width_ratio_xld) contour → feature GPU: none — Axis-aligned bounding-box height/width ratio of the point set. · examples: gallery2d_geometryxg_moments (halcon: moments_points_xld) contour → feature GPU: none — Normalized 2nd central moment of the point set: mu20 + mu02. · examples: gallery2d_geometryxg_orientation (halcon: orientation_points_xld) contour → feature GPU: none — Principal-axis orientation in degrees, folded to [0,180) and /180 scaled. · examples: gallery2d_geometryxg_regress_contours contour → feature GPU: none — Total-least-squares line residual RMS = sqrt(minor covariance eigenvalue). · examples: gallery2d_geometry, poc_screw_thread_metrologyOps for point clouds, volumes, meshes and depth (ops3d.OPS3D). Call them as functions.
annotate3d_arrow image2d → image2d GPU: yes (allow-list) — Returns an image (image2d): a projected arrow drawn from 3-D p0 to p1. · examples: annotate3d_figureannotate3d_axes image2d → image2d GPU: yes (allow-list) — Returns an image (image2d): the three axes of the object coordinates (the input side of pose) as a gnomon, projected from origin. · examples: annotate3d_figureannotate3d_bbox image2d → image2d GPU: yes (allow-list) — Returns an image (image2d): the 12 edges of the axis-aligned 3-D box ((xmin,ymin,zmin),(xmax,ymax,zmax)), projected. · examples: annotate3d_figureannotate3d_label image2d × text → image2d GPU: yes (allow-list) — Returns an image (image2d): text with a leader line attached to a 3-D anchor. · examples: annotate3d_figureannotate3d_measure image2d → image2d GPU: yes (allow-list) — Returns an image (image2d): the distance between two 3-D points (in mesh units), shown as a projected line and a value. · examples: annotate3d_figureannotate3d_project points → table GPU: none — Returns a table (dict): pixel coordinates, forward distance and in-frame/occluded verdicts for 3-D points (:func:project_anchors). · examples: annotate3d_figureannotate3d_scale_bar image2d → image2d GPU: yes (allow-list) — Returns an image (image2d): a bar of length in mesh units, laid on the surface and projected. · examples: annotate3d_figurecutout points → points GPU: none — Remove an axis-aligned box region in space and return (kept, kept_idx) (mimicking a local dropout). · examples: sensor_segelastic_deform points → points GPU: none — Elastic deformation by a smooth random displacement field (correlation length sigma, RMS amplitude alpha). · examples: sensor_segjitter points → points GPU: none — Add isotropic Gaussian noise N(0, sigma) to each point (mimicking sensor position noise). · examples: augment_pointcloudrandom_dropout points → points GPU: none — Randomly remove a ratio fraction of the points and return (kept, kept_idx) (mimicking dropout). · examples: augment_pointcloudrandom_rotation points → points GPU: none — Apply a random rotation and return (rotated, R) (mimicking a change of viewpoint). · examples: augment_pointcloud, sh_descriptor_retrieval, shape_retrievalrandom_scale points → points GPU: none — Apply a uniform scale s ~ U(lo, hi) about the origin and return (scaled, s). · examples: augment_pointcloudvol_boundary voxel → voxel GPU: inside a chain only (allow-list) — Boundary shell of a binary volume (the 3-D region_boundary). · examples: roi_domain_boundaryvol_boundary_points voxel → points GPU: yes (allow-list) — Boundary shell as an (N, 3) point cloud in (z, y, x) order. · examples: roi_domain_boundaryaabb points → primitive GPU: none — Axis-aligned bounding box. Returns (min (3,), max (3,)). · examples: hull_boundsconvex_hull points → mesh GPU: none — Convex hull of a point set -> (V, F) with outward-oriented triangles. · examples: hull_boundsconvex_hull_gap points × points → table GPU: none — Gap (shortest distance) between the convex hulls of two vertex sets, returned with certified lower and upper bounds. · examples: convex_hull_gap_clearancemin_enclosing_sphere points → primitive GPU: none — Point set (N,3) → the (approximate) minimum enclosing sphere containing every point, {center(3), radius}. · examples: hull_boundsobb points → primitive GPU: none — Oriented bounding box by PCA. · examples: hull_boundsbundle_adjust pose × points → table GPU: none — Optimise camera poses and 3-D points jointly by minimising the reprojection error. → dict{cameras, points, rmse, cost}. · examples: bundle_adjustmean_reprojection_error pose × points → measurement GPU: none — Returns the RMS reprojection error (pixels) over all observations of a bundle adjustment. · examples: bundle_adjustproject points → keypoints GPU: none — Project 3-D points (n,3) to 2-D (n,2) with a camera (rvec, t, K) (perspective division). · examples: bundle_adjustestimate_normals points → normals GPU: none — Point-cloud normals made consistently outward (pointing away from the neighbourhood centroid). → (N,3). · examples: cylinder_axis_metrology, feature_register, oriented_normalsgaussian_curvature points → signal GPU: none — Gaussian curvature K = k1·k2 (invariant to flipping the normal). → (N,). · examples: curvature_grasp, curvature_shape_indexmean_curvature points → signal GPU: none — Mean curvature H = (k1+k2)/2. → (N,). A quantity that depends on the orientation. · examples: curvature_shape_index, minimal_surfacesprincipal_curvatures points → curvature GPU: none — The principal curvatures at each point (k1 >= k2). → (k1 (N,), k2 (N,)). · examples: curvature_grasp, itokawa_curvature, minimal_surfacesshape_index points → descriptor GPU: none — Koenderink’s shape index s∈[-1,1] (convex sphere +1, cylinder +0.5, saddle 0, concave sphere −1). → (N,). · examples: curvature_grasp, itokawa_curvaturearc_length points → measurement GPU: none — The cumulative arc length of a curve and its total. → (cumulative (N,), total float). · examples: space_curve, torus_knot_curvecurvature_torsion points → pairs GPU: none — The curvature κ and torsion τ at each point (a reparameterisation-invariant closed form). → (kappa (N,), tau (N,)). · examples: space_curve, torus_knot_curvefit_spline_curve points → points GPU: none — Smooth and resample an ordered 3-D point sequence with a B-spline. → (M,3). For smoothing noisy trajectories and edges. · examples: bspline_freeformfrenet_frame points → frame GPU: none — The Frenet frame (tangent T, principal normal N, binormal B) at each point. → (T, N, B), each (Npts,3) unit vectors. · examples: space_curve, torus_knot_curveresample_uniform points → points GPU: none — Resample to n points evenly spaced along the arc length (linear interpolation). → (n,3). · examples: bspline_freeformcylinder_unwrap voxel → voxel GPU: yes (allow-list) — Unwrap the cylindrical surface of a voxel volume into (height × θ × r) — for inspecting the inner and outer walls of cylindrical parts and pipes. The axis is z (the D axis). · examples: curvilinear_projfit_zernike image2d → table GPU: none — A disc image → Zernike coefficients (the polar-coordinate surface fit of optics and wavefront metrology). Returns {(n,m): coef}. · examples: curvilinear_projpolar_unwrap image2d → image2d GPU: none — Unwrap an image’s annulus or disc into a (θ × r) rectangle (industrial: inspecting labels, rings and bodies of revolution). · examples: curvilinear_projregister_cpd_rigid points × points → pose GPU: none — EM-estimate rotation and translation with the rigid version of Coherent Point Drift (CPD). · examples: motion_sceneregister_nonrigid points × points → points GPU: none — Bring src toward dst with non-rigid ICP. · examples: nonrigid_deformtps_fit points × points → deformation GPU: none — Fit a 3-D thin-plate spline from control-point correspondences. · examples: nonrigid_deformtps_warp deformation × points → points GPU: none — Applies the thin-plate-spline (TPS) deformation fitted by tps_fit to a point set. · examples: nonrigid_deformbilateral_filter_depth depth → depth GPU: yes (allow-list) — A bilateral filter for depth images (edge-preserving denoising). → float64 (H,W). · examples: depth_denoisefill_holes depth → depth GPU: none — Interpolate invalid pixels (holes) from their valid neighbours by harmonic (Laplace) relaxation. → float64 (H,W). · examples: depth_denoisejoint_bilateral depth × image2d → depth GPU: yes (allow-list) — Joint / cross bilateral: the depth is what gets smoothed, while the range weights come from the differences in the guide. → float64 (H,W). · examples: sensor_segmatch_sh_descriptor voxel × voxel → measurement GPU: none — The cosine similarity between two SH descriptors (rotation-invariant shape matching). Closer to 1 means a more similar shape. The voxel × SH column. · examples: sh_descriptor_retrieval, shape_descriptorsh_descriptor voxel → descriptor GPU: none — The spherical-harmonic descriptor. Returns the SH band energy ‖f_l(r)‖ of concentric shells as (radius × frequency). · examples: sh_descriptor_retrieval, shape_descriptorhough_plane_3d voxel → primitive GPU: native (device argument) — Plane detection (the 3-D lift of the 2-D Hough line). Uses the gradient as the normal and votes into (normal n, distance d) space. · examples: detect_primitives_3dhough_sphere_3d voxel → primitive GPU: none — Sphere detection (the 3-D lift of the 2-D Hough circle). Votes the centre = p + sgn·r·n for each radius r. · examples: detect_primitives_3dvol_bounding_box voxel → primitive GPU: none — Tight axis-aligned bounding box of a mask’s foreground, in voxel indices. · examples: rle_region_efficiency, roi_domain_boundaryvol_crop_domain voxel → voxel GPU: none — Crop a volume to the tight bounding box of a domain (HALCON crop_domain). · examples: roi_domain_boundaryvol_reduce_domain voxel × voxel → voxel GPU: none — Restrict a volume to a domain mask (HALCON reduce_domain, voxel-wise). · examples: roi_domain_boundaryvol_tiled_map voxel → voxel GPU: inside a chain only (allow-list) — Apply a shape-preserving volume operator in overlapping z-slabs to bound peak memory. · examples: rle_region_efficiencyvol_uncrop voxel → voxel GPU: none — Paste a cropped sub-volume back into the full frame (inverse of :func:vol_crop_domain). · examples: roi_domain_boundarycanny3d voxel → voxel GPU: none — 3-D Canny edge detection (non-maximum suppression + hysteresis). · examples: edges_3dedge_points voxel → points GPU: inside a chain only (allow-list) — Turn an edge mask into an (M,3) coordinate point set (for downstream chamfer / Hough). · examples: edges_3dgradient3d voxel → gradient GPU: yes (allow-list) — Smooths a volume with a Gaussian, then takes the 3-D gradient (magnitude and vector) by central differences. · examples: edges_3dlink_edges voxel → voxel GPU: none — Label an edge mask into connected components with 26-neighbour connectivity. · examples: sensor_seglog_zero_crossings voxel → voxel GPU: yes (allow-list) — Zero-crossing edges of the Laplacian of Gaussian. · examples: edges_3dcurvature_maps voxel → curvature GPU: native (device argument) — Principal curvatures of a level set → the shape index S (Koenderink) and curvedness. Closed form (Kindlmann 2003). · examples: diff_featuresedt_jfa voxel → sdf GPU: native (device argument) — 3-D Euclidean distance transform via the Jump Flooding Algorithm (GPU). Each voxel → the distance to its nearest seed. · examples: diff_featuresedt_jfa_vector voxel → flow_dense GPU: native (device argument) — Displacement from each voxel to the nearest seed (3, D, H, W) (flow_dense, dz, dy, dx [voxel]), computed with GPU JFA. · examples: nearest_seed_partitionhessian3d voxel → hessian GPU: native (device argument) — The six independent components of the 3-D Hessian (fzz, fyy, fxx, fzy, fzx, fyx). Separable conv3d (second/first order × smoothing). · examples: diff_featuressobel3d voxel → gradient GPU: native (device argument, inside a chain only) — The 3-D gradient (gz, gy, gx). Separable conv3d of the derivative [-1,0,1] × the smoother [1,2,1]. · examples: diff_featuresvol_euler_number voxel → measurement GPU: none — Euler characteristic of a binary volume, split into its three Betti numbers. · examples: ct_porosity_and_fibre_morphometryvol_frangi voxel → voxel GPU: yes (allow-list) — 3-D Frangi vesselness — multiscale tubular-structure enhancement. · examples: vessel_metrology, volume_downsamplingvol_gradient_magnitude voxel → voxel GPU: yes (allow-list) — 3-D Sobel gradient magnitude sqrt(gz**2 + gy**2 + gx**2). · examples: vessel_metrologyvol_granulometry voxel → measurement GPU: none — Pore / particle size distribution of a binary volume (opening series). · examples: ct_porosity_and_fibre_morphometryvol_hessian_blobness voxel → voxel GPU: yes (allow-list) — Blob-like (spherical) response from the Hessian eigenvalues at one scale. · examples: vessel_metrologyvol_local_maxima voxel → points GPU: yes (allow-list) — 3-D local-maxima (peak) detection. · examples: molecule_atom_count, vessel_metrologyvol_local_std voxel → voxel GPU: yes (allow-list) — Unbiased local standard deviation inside a cubic window. · examples: ct_porosity_and_fibre_morphometryvol_local_thickness voxel → voxel GPU: none — Local thickness map: the diameter of the largest ball that covers each voxel. · examples: ct_porosity_and_fibre_morphometryvol_orientation_coherence voxel → voxel GPU: none — How strongly the local structure points one way (3-D structure tensor). · examples: ct_porosity_and_fibre_morphometryvol_sato voxel → voxel GPU: yes (allow-list) — 3-D Sato tubeness — the simpler two-eigenvalue line filter. · examples: vessel_metrologycompute_fpfh points × normals → descriptor GPU: none — Compute the FPFH descriptor (N, 3*n_bins) (Rusu 2009). · examples: fpfh_correspondenceharris3d_keypoints voxel → keypoints GPU: native (device argument) — 3-D Harris keypoint detection (the 3-D version of the 2-D Harris corner detector). · examples: feature_registeriss_keypoints points → indices GPU: none — ISS (Intrinsic Shape Signatures, the 3-D Harris equivalent) keypoint detection. · examples: feature_registerregister_fpfh points × points → pose GPU: none — Estimate the rigid alignment (R,t) without an initial guess using FPFH descriptors and RANSAC. · examples: feature_registerregister_shot points × points → pose GPU: none — Sparse feature matching with SHOT descriptors plus RANSAC rigid pose estimation (the whole pipeline). · examples: feature_registerregister_spin points × points → pose GPU: none — Sparse-feature rigid alignment without an initial guess, using Spin Image descriptors and RANSAC. · examples: feature_registershot_descriptor points × normals → descriptor GPU: none — The SHOT descriptor (Tombari 2010). It builds a local reference frame at each keypoint and takes a spherical support. · examples: feature_registereval_bspline_curve bspline_curve → points GPU: none — Evaluate the curve tck at n evenly spaced points over the parameter u∈[0,1] (splev). · examples: bspline_freeformeval_bspline_surface bspline_surface × image2d × image2d → image2d GPU: none — Evaluate a fitted surface tck (bisplev). Two modes: scattered points (the default) or a grid. · examples: bspline_freeformfit_bspline_curve points → bspline_curve GPU: none — Fit a B-spline curve to an ordered point sequence (M,D) (splprep, parametric). · examples: bspline_freeformfit_bspline_surface image2d × image2d × image2d → bspline_surface GPU: none — Least-squares fit a bicubic (default) B-spline surface to scattered (x, y, z) (bisplrep). · examples: bspline_freeformsurface_residual image2d × image2d × image2d × bspline_surface → measurement GPU: none — Return the residual statistics between scattered data and a surface tck (the form error = the deviation from the fit). · examples: bspline_freeformvol_fft_bandpass voxel → voxel GPU: inside a chain only (allow-list) — Gaussian band-pass lowpass(high) - lowpass(low): keeps structure between two scales. · examples: deconv_fft_restorevol_fft_highpass voxel → voxel GPU: yes (allow-list) — Gaussian high-pass — the exact complement 1 - lowpass (the two sum to the input). · examples: deconv_fft_restorevol_fft_lowpass voxel → voxel GPU: yes (allow-list) — Gaussian low-pass: keeps structure coarser than 1/cutoff (voxels, or mm with spacing). · examples: deconv_fft_restorefuse_to_voxel any → voxel GPU: none — Fuse several structures into one common density voxel volume (TRIZ integration). items=[(data, kind, params_dict), …]. · examples: transforms_reprregister_cross any × any → pose GPU: none — Rigid registration between structures of different kinds. Convert both to point clouds → a registrar (fpfh = large rotations / icp = needs a coarse init). · examples: transforms_reprfarthest_point_sampling points → indices GPU: none — Farthest-point sampling by geodesic distance (uniform thinning). → the selected index sequence (n,) int. · examples: geodesic_distance, pointcloud_downsamplinggeodesic_distances points → signal GPU: none — Geodesic distances from a source to every point (Dijkstra on the kNN graph). → (N,) float (inf where unreachable). · examples: geodesic_distancegeodesic_mesh mesh → signal GPU: none — Geodesic distance from a source to each vertex by Dijkstra on the triangle mesh’s edge graph. → (V,) float. · examples: pcl_geodesicknn_graph points → graph GPU: none — Each point’s k nearest-neighbour indices and Euclidean distances (excluding itself). → (idx (N,k) int, dist (N,k) float). · examples: pcl_geodesicvol_affine voxel → voxel GPU: none — General affine resampling (scipy.ndimage.affine_transform). · examples: vol_geometry_transformvol_resize voxel → voxel GPU: none — Resample a volume to a new grid (scipy.ndimage.zoom, cell semantics). · examples: vol_geometry_transformvol_rotate voxel → voxel GPU: inside a chain only (allow-list) — Rotate a volume in the plane of an axis pair (scipy.ndimage.rotate). · examples: vol_geometry_transformangle_3points points → measurement GPU: none — The angle at three points (vertex b, in degrees). ∠ABC. · examples: geometry_metrologyangle_between_lines primitive → measurement GPU: none — Returns the acute angle in degrees between the direction vectors of two lines (orientation ignored, 0-90°). · examples: geometry_metrologyangle_between_planes primitive → measurement GPU: none — The dihedral angle between two planes (normals n1, n2; in degrees). · examples: geometry_metrologyangle_line_plane primitive → measurement GPU: none — The angle between a line (direction d) and a plane (normal n), in degrees. · examples: geometry_metrologydistance_line_line primitive → measurement GPU: none — The distance between two lines (skew lines included). Falls back to point-line distance when they are parallel. · examples: geometry_metrologydistance_point_line (halcon: distance_point_line) points × primitive → measurement GPU: none — Returns the perpendicular distance from a point to a line (point on the line + direction), in 2-D or 3-D. · examples: geometry_metrologydistance_point_plane points × primitive → measurement GPU: none — Returns the distance from a point to a plane (unsigned, in the units of the input coordinates). · examples: geometry_metrologydistance_segment_segment primitive → measurement GPU: none — Shortest distance between finite line segments and the pair of their closest points. → (distance, cp, cq). · examples: convex_hull_gap_clearance, geometry_metrologyfit_box3 points → primitive GPU: none — Oriented box fit by PCA (fast, noise-tolerant; the same construction as pcseg.obb). · examples: oriented_bounding_boxfit_circle3 points → primitive GPU: none — 3-D circle fit to (depth, row, col) points: fit the supporting plane, then a circle. · examples: primitive_fitting_3dfit_circle_3d points → primitive GPU: none — Point set → a 3-D circle (fit the plane, then fit a 2-D circle within it). Returns (center, radius, normal). · examples: geometry_metrologyfit_line3 points → primitive GPU: none — Total-least-squares 3-D line fit to (depth, row, col) points. · examples: primitive_fitting_3dfit_line_3d points → primitive GPU: none — Point set → a least-squares line (through the centroid, direction = the largest principal axis). Returns (point, direction). · examples: geometry_metrologyfit_plane3 points → primitive GPU: none — Least-squares 3-D plane fit to (depth, row, col) points. · examples: primitive_fitting_3dfit_plane_3d points → primitive GPU: none — Point set → a least-squares plane (through the centroid, normal = the smallest principal axis, plus the RMS residual). Returns (point, normal, resid). · examples: geometry_metrologyfit_sphere3 points → primitive GPU: none — Algebraic (Kåsa) least-squares sphere fit to (depth, row, col) points: · examples: primitive_fitting_3d, roi_domain_boundaryfit_sphere_3d points → primitive GPU: none — Point set → a least-squares sphere (algebraic fit). Returns (center, radius). For pipe and ball metrology. · examples: geometry_metrologyfit_surface_principal_axes points → table GPU: none — Rotate a slanted warped surface to PCA axes, then fit polynomial z’=f(x’,y’). · examples: primitive_fitting_3dintersect_line_plane primitive → position GPU: none — Line ∩ plane → a point (None when they are parallel). · examples: geometry_metrologyintersect_planes primitive → primitive GPU: none — Plane ∩ plane → a line (a point on it and a direction). None when they are parallel. · examples: geometry_metrologyline_from_2points points → primitive GPU: none — Two points → a line (a point on it and a unit direction). Two coordinates fix the line (2-D and 3-D alike). · examples: geometry_metrologyplane_from_3points points → primitive GPU: none — Three points → a plane (a point on it and a unit normal). Three coordinates fix the plane (2-D and 3-D alike). · examples: geometry_metrologysmallest_box3 points → primitive GPU: none — Near-minimum-volume oriented bounding box (the 3-D smallest_rectangle2). · examples: oriented_bounding_boxsmallest_box3_axis points → primitive GPU: none — Axis-aligned bounding box (the 3-D smallest_rectangle1). · examples: oriented_bounding_boxsmallest_sphere3 points → primitive GPU: none — Minimum enclosing sphere of (depth, row, col) points (Welzl’s exact algorithm). · examples: primitive_fitting_3destimate_covariances points → descriptor GPU: none — Plane-to-plane covariances (N,3,3): each point’s local covariance with its eigenvalues replaced by (ε,1,1). · examples: gicp_registergicp points × points → pose GPU: none — Estimate the rigid transform (R,t) by Generalized-ICP (covariance-weighted Mahalanobis ICP). · examples: gicp_registervol_equalize voxel → voxel GPU: inside a chain only (allow-list) — Histogram equalisation of a volume (HALCON equ_histo_image). · examples: gray_window_levelvol_gamma voxel → voxel GPU: yes (allow-list) — Gamma (power-law) correction on the volume’s own range (HALCON pow_image). · examples: gray_window_levelvol_stretch voxel → voxel GPU: none — Percentile contrast stretch to [0, 1] (robust scale_image_max). · examples: gray_window_levelvol_window_level voxel → voxel GPU: inside a chain only (allow-list) — CT window/level (HU windowing) — the radiologist’s daily linear remap. · examples: gray_window_levelproject_cylindrical points → image2d GPU: none — Project into a cylindrical range image (z_bins, h_res). Azimuth (columns) × z (rows); the pixel is the horizontal radius ρ = hypot(x,y). · examples: curvilinear_projproject_spherical points → image2d GPU: none — Project into the spherical range image of a spinning LiDAR (v_res, h_res). Empty cells are 0; nearer points win (minimum range). · examples: lidar_projectionunproject_spherical image2d → points GPU: yes (allow-list) — Spherical range image → 3-D points (M, 3). Only the cells with range > 0 are back-projected, at their bin-centre angles. · examples: lidar_projectionmatch_chamfer_3d voxel × voxel → position GPU: none — Chamfer / distance-field matching (robust to partial views and occlusion). The voxel × chamfer column. · examples: matching_localizematch_curvature_3d voxel × voxel → position GPU: none — Curvature (shape-index) matching. The voxel × curvature column — the heart of the line-to-surface lift. · examples: matching_localizematch_hough_3d voxel × voxel → position GPU: none — Generalized Hough 3-D (Ballard R-table voting). The voxel × Hough column. · examples: matching_localizematch_mip_2d voxel × voxel → position GPU: none — MIP projection → 2-D NCC (structure = voxel → 2-D, method = NCC, transform = orthogonal MIP). · examples: matching_localizematch_points_ncc points × points → position GPU: none — Point-set to point-set matching (structure = point cloud × method = NCC, transform = splat). Locates the model within the scene. · examples: matching_localizematch_shape_3d voxel × voxel → position GPU: none — 3-D shape-based (gradient-orientation) matching = the voxel version of the 2-D shapematch_gpu (“contour matching”). · examples: matching_localizefind_surface_pose points × points → pose GPU: none — Find where a known object (model point cloud) lies in a scene point cloud by point-pair-feature (PPF) voting and ICP (pose). · examples: find_surface_pose_bracketmatch_logpolar_z voxel × voxel → rot_scale GPU: none — Recover rotation about z and isotropic scale by log-polar × phase correlation (Fourier-Mellin). · examples: shape_desc_posematch_pca points × points → pose GPU: none — PCA pose matching (structure = point cloud × method = principal-axis alignment). · examples: shape_desc_posematch_phase_3d voxel × voxel → shift GPU: none — 3-D phase correlation (FFT). Returns the integer shift (dz, dy, dx) that aligns b to a. · examples: shape_desc_posemoment_axes points → axes GPU: none — The centroid and principal axes (the eigenvectors of the inertia tensor) of a point set or weighted points. The basis of pose estimation. · examples: itokawa_pose_canonicalpose_nms_symmetry table × points × table → table GPU: none — Suppress only symmetry-equivalent poses within a model-space distance. · examples: bop_pose_stage1ppf_pose_hypotheses table × points → table GPU: none — Return the top-N PPF poses instead of collapsing the vote to one pose. · examples: bop_pose_stage1distance_ridge voxel → voxel GPU: yes (allow-list) — Extract the ridge of the EDT (the local maxima of the distance field) as the medial axis. Returns (ridge_mask, edt). · examples: pcl_geodesicmedial_axis_points voxel → points GPU: yes (allow-list) — Turn the medial voxels into a point set with their local radius (= that point’s EDT value). Returns (points, radius). · examples: medial_topologymedial_match voxel × voxel → measurement GPU: none — A coarse matching score between two voxel shapes based on their medial (topology + radius distribution). Returns [0,1]. · examples: medial_topologyskeleton_branches3d voxel → voxel GPU: none — Cut a 3-D skeleton at its junctions into branches (segments). The 3-D version of the 2-D r2_split_skeleton_lines. · examples: medial_topologyskeleton_endpoints3d voxel → voxel GPU: none — Return the end points of a 3-D skeleton (at most one skeleton voxel in the 26-neighbourhood) as a voxel mask. · examples: medial_topologyskeleton_graph3d voxel → table GPU: none — Assembles a 3D skeleton into a graph of nodes (junctions and endpoints) and branches (length and radius). · examples: medial_topologyskeleton_junctions3d voxel → voxel GPU: none — Return the junctions of a 3-D skeleton (three or more skeleton voxels in the 26-neighbourhood) as a voxel mask. · examples: medial_topologyskeleton_prune3d voxel → voxel GPU: none — Prune the whiskers (short branches) of a 3-D skeleton. Endpoint removal repeated length times = branches of length <= length are removed. · examples: medial_topologyskeletonize_vol voxel → voxel GPU: none — Thin a 3-D binary voxel volume into a one-voxel-wide skeleton. A wrapper around skimage’s Lee (1994) method. · examples: medial_topologytopology_signature voxel → table GPU: none — Build a topology descriptor from the 26-neighbourhood degrees of a skeleton. Returns the counts of end points, junctions, ordinary points and isolated points. · examples: medial_topologyvol_distance_transform voxel → voxel GPU: yes (allow-list) — Exact Euclidean distance transform of a binary volume. · examples: medial_topology, molecule_atom_count, nearest_seed_partition, vessel_metrologyvol_nearest_label voxel → voxel GPU: none — Label volume (D, H, W) in which each zero voxel is given the nearest non-zero label (Voronoi partition of the labels, voxel). · examples: nearest_seed_partitionvol_nearest_seed_vector voxel → flow_dense GPU: none — Displacement vector from each voxel to the nearest seed voxel (3, D, H, W) (flow_dense, components dz, dy, dx [voxel]). · examples: nearest_seed_partitionboundary_vertices mesh → indices GPU: none — Indices of the vertices lying on open edges (the boundary) → (K,). · examples: mesh_decimate, mesh_propsdecimate_qem mesh → mesh GPU: none — Quadric-error-metric edge-collapse decimation toward target_faces. · examples: mesh_decimate, mesh_lod_download, mesh_resolution_demoface_areas mesh → signal GPU: none — Area of each face of a triangle mesh → (M,). · examples: mesh_propsface_normals mesh → normals GPU: none — The face normals of a triangle mesh (the unit normal of each triangle). → (M,3). · examples: mesh_propslaplacian_smooth mesh → mesh GPU: none — Triangle-mesh smoothing by the umbrella Laplacian. → (verts, faces). · examples: mesh_smoothmesh_area mesh → measurement GPU: none — The surface area of a triangle mesh (the sum of all triangle areas). → float. · examples: dl_mesh_curvature, mesh_props, minimal_surfacesmesh_volume mesh → measurement GPU: none — Signed volume enclosed by a closed triangle mesh → float. · examples: hull_bounds, mesh_props, minimal_surfacestaubin_smooth mesh → mesh GPU: none — Non-shrinking smoothing by the Taubin λ |
μ filter. → (verts, faces). · examples: mesh_smooth |
vertex_curvature mesh → curvature GPU: none — The mean curvature magnitude at each vertex of a triangle mesh. → (N,). · examples: dl_mesh_curvature, mesh_props, minimal_surfacesvertex_normals mesh → normals GPU: none — The vertex normals of a triangle mesh (unit normals aggregated with area weights). → (N,3). · examples: mesh_propschamfer_distance points × points → measurement GPU: none — The symmetric Chamfer distance = 0.5*(mean_a min_b + mean_b min_a). → scalar. Smaller is a closer match. · examples: itokawa_pose_canonical, itokawa_shape_match, mesh_lod_download, metrics_eval, poisson_surface_reconfscore points × points → measurement GPU: none — F-score @ tau = the harmonic mean of precision and recall. → (f, precision, recall). The standard reconstruction metric. · examples: metrics_evalhausdorff_distance points × points → measurement GPU: none — The symmetric Hausdorff distance = max(max_a min_b, max_b min_a). → scalar. The worst-case discrepancy. · examples: convex_hull_gap_clearance, mesh_lod_download, pointcloud_downsampling, poisson_surface_reconm3c2_distance points × points → signal GPU: none — Measures the difference between point clouds from 2 epochs along the normal direction (M3C2). → the 2 values (distance, lod). · examples: metrics_evalnormal_consistency points × normals → measurement GPU: none — Normal agreement over nearest-neighbour correspondences = mean |
cos(na, nb) | (orientation ignored). → [0,1]. 1 = perfect agreement. · examples: metrics_eval |
pose_error pose × pose → table GPU: none — Pose error = (rotation angle [deg], translation norm). For comparing a registration result against ground truth. → (rot_deg, trans_err). · examples: itokawa_self_registerrmse_correspondence points × points → measurement GPU: none — RMSE over known correspondences (same index) = sqrt(mean |
a_i − b_i | ²). → scalar. For judging the registration residual. · examples: metrics_eval |
voxel_iou voxel × voxel → measurement GPU: none — The IoU (intersection over union) of voxel occupancy. → [0,1]. Volumetric agreement. · examples: metrics_evalcentral_moments points → table GPU: none — The centroid-centred central moments μ_{pqr} (translation invariant; keys are (p,q,r)). · examples: moment_invariantsinertia_tensor points → matrix GPU: none — The inertia tensor (3,3) of a point set (from the central second moments; uniform mass, total mass 1). · examples: moment_invariantsmoment_invariants points → descriptor GPU: none — A shape feature vector invariant to translation, rotation and scale (Sadjadi–Hall style, plus higher-order radial distributions). · examples: moment_invariantsprincipal_moments points → descriptor GPU: none — The eigenvalues of the inertia tensor (the principal moments, sorted descending, rotation invariant). · examples: shape_desc_posemorph_blackhat3d voxel → voxel GPU: native (device argument) — 3-D black-hat = closing − vol. Extracts the dark structures and holes smaller than the structuring element. · examples: diff_featuresmorph_close3d voxel → voxel GPU: native (device argument) — 3-D closing = dilation → erosion. Fills the dark structures (gaps and cavities) smaller than the structuring element. · examples: morphology_3dmorph_dilate3d voxel → voxel GPU: native (device argument) — 3-D greyscale dilation (the local max over a structuring element of radius r). Expands the bright regions. · examples: morphology_3dmorph_erode3d voxel → voxel GPU: native (device argument) — 3-D greyscale erosion (the local min over the structuring element). Shrinks the bright regions. se is the same as for dilate. · examples: morphology_3dmorph_gradient3d voxel → voxel GPU: native (device argument) — 3-D morphological gradient = dilation − erosion. Extracts boundaries and surfaces (an edge source in place of Sobel). · examples: morphology_3dmorph_open3d voxel → voxel GPU: native (device argument) — 3-D opening = erosion → dilation. Removes the bright structures (spikes and grains) smaller than the structuring element. · examples: morphology_3dmorph_tophat3d voxel → voxel GPU: native (device argument) — 3-D white top-hat = vol − opening. Extracts the bright structures smaller than the structuring element (keypoint pre-processing). · examples: diff_features, morphology_3dscene_flow_lk voxel × voxel → flow_dense GPU: none — Lucas-Kanade scene flow (the 3-D version of 2-D optical flow). A per-voxel motion field d = (dz, dy, dx). · examples: motion_sceneestimate_flow points × points → flow_scattered GPU: none — The 3-D displacement vector field (N, 3) from each point of pts0 to its nearest neighbour in pts1 (nearest-neighbour flow). · examples: motion_scenefit_rigid points × points → pose GPU: none — Estimate the rigid transform (R, t) from correspondences by the closed-form Kabsch algorithm (pts_from[i] -> pts_to[i]). · examples: motion_scenesegment_rigid_motions points × points → labels GPU: none — Split two point sets into the rigid bodies whose motion agrees (multi-body segmentation by iterated RANSAC). · examples: motion_segestimate_oriented_normals points → normals GPU: none — PCA normal estimation combined with Hoppe’s global orientation. → oriented unit normals (N,3). · examples: oriented_normalsorient_normals points × normals → normals GPU: none — Orient the normals globally consistently by Hoppe’s method (MST propagation). → (N,3). · examples: oriented_normalsesdf voxel → sdf GPU: yes (allow-list) — Occupancy grid → Euclidean signed distance field (ESDF): outside = + to the nearest occupied, inside = − to the nearest free. · examples: occupancy_esdfinflate voxel → voxel GPU: none — A bool occupancy grid with the obstacles inflated by radius (in world units) — i.e. ESDF <= radius counts as occupied. · examples: sensor_segoccupancy_grid points → voxel GPU: none — Point cloud (N,3) → a 3-D occupancy voxel grid, bool (a voxel a point falls into counts as occupied). · examples: occupancy_esdfquery_distance sdf × points → signal GPU: none — The ESDF values (M,) at arbitrary world coordinates (M,3) (mode = ‘trilinear’ interpolation or ‘nearest’). · examples: occupancy_esdffresnel_reflectance measurement → measurement GPU: none — Fresnel reflectance (unpolarised = the s/p average). The share that splits into reflection and transmission at a transparent interface. · examples: snell_refractionnormal_from_reflection vector × vector → vector GPU: none — Recover a mirror surface’s normal from the incident and reflected rays (deflectometry). n ∝ (r − d), pointing against the incident ray. · examples: sensor_segreflect vector × normals → normals GPU: none — Specularly reflect the incident direction d at a surface with normal n. r = d − 2(d·n)n. · examples: sensor_seg, snell_refractionrefract vector × normals → normals GPU: none — Snell refraction (vector form). d = the incident ray (toward the surface), n = the outward normal on the incident side, indices eta1 → eta2. · examples: snell_refractionsnell_angle measurement → measurement GPU: none — Angle of incidence (deg) → angle of refraction (deg). n1 sinθi = n2 sinθt. Beyond the critical angle it is NaN (total internal reflection). · examples: snell_refractionintegrate_normals normalmap → image2d GPU: none — Normal field → height field z by Frankot-Chellappa integration. → z, HxW (a constant offset is free; referenced to zero mean). · examples: photometric_stereophotometric_stereo (halcon: photometric_stereo) images → normalmap GPU: yes (allow-list) — Lambertian photometric stereo: recover normals and albedo from N images taken under known light directions. → (normals HxWx3, albedo HxW). · examples: photometric_stereorender_lambertian normalmap → image2d GPU: none — Normals + albedo + light direction → a Lambertian image (inspection-sample generation / GT verification / the forward model of inverse rendering). → HxW. · examples: photometric_stereo, render_shadesurface_normals image2d → normalmap GPU: yes (allow-list) — Height field z (HxW) → unit normals (H,W,3). n ∝ (−dz/dx, −dz/dy, 1). The forward depth → normal conversion. · examples: photometric_stereoplane_sweep_depth image2d × image2d → depth GPU: none — Estimate a dense depth map by plane-sweep stereo. → (H,W) depth. · examples: plane_sweep_depthwarp_by_plane image2d → image2d GPU: yes (allow-list) — Inverse-warp img by the homography H. → out[y,x] = img(H·(x,y,1)) (bilinear). · examples: motion_scenegeodesic_dome no input → mesh GPU: none — Geodesic sphere from a subdivided icosahedron — Euler decides the shape. · examples: geodesic_domedlt_pose points × keypoints → pose GPU: none — Recover the camera pose from 3-D–2-D correspondences by DLT (K known). → (R (3,3), t (3,)). At least six points are needed. · examples: pnp_pose_outliers, pose_estimationpnp_ransac points × keypoints → pose GPU: none — Outlier-robust PnP (RANSAC plus a final DLT refit). → (R, t, inlier_mask, info). · examples: pnp_pose_outliers, pose_estimationreprojection_error points × keypoints → measurement GPU: none — Reprojection error (RMS pixels). For judging how well a pose fits. → scalar. · examples: pnp_pose_outliers, pose_estimationmean_edge_error pose → measurement GPU: none — The RMS of the edge residuals (how consistent the pose graph is). → scalar. · examples: sfm_reconoptimize_pose_graph pose → table GPU: none — Optimise the global poses from relative-pose constraints and loop closures. → dict{poses, rmse, cost}. · examples: pose_graph_slamrelative_pose pose × pose → pose GPU: none — T_i⁻¹ ∘ T_j = the relative pose i←j. pose_* = [rvec |
t] (6,). → (rvec_ij (3,), t_ij (3,)). · examples: pose_graph_slam, sfm_recon |
mls_smooth points → points GPU: none — Drop noise by projecting each point onto a local polynomial surface (Moving Least Squares smoothing). · examples: pcl_geodesicradius_outlier_removal points → points GPU: none — Remove the points with fewer than min_neighbors neighbours within radius (isolated-point removal). · examples: convex_hull_gap_clearance, pcl_geodesicstatistical_outlier_removal points → points GPU: none — Remove the points whose mean distance to their k neighbours is a global outlier (statistical outlier removal). · examples: pcl_geodesicvolume_downsample voxel → voxel GPU: inside a chain only (allow-list) — Block-pool a (D, H, W) volume by an integer factor per axis (data decimation). · examples: volume_downsamplingvoxel_grid_downsample points → points GPU: none — Thin a point set on a lattice of edge voxel_size, collapsing each cell to one centroid point (deterministic). · examples: pointcloud_downsamplingvol_edge_probe voxel → table GPU: none — Sub-sample edges along the probe p0 -> p1. · examples: wall_thickness_probevol_profile_line voxel → pairs GPU: none — Gray-value profile along the straight probe p0 -> p1. · examples: wall_thickness_probevol_wall_thickness voxel → signal GPU: none — Wall thicknesses along the probe p0 -> p1 — the industrial-CT measurement itself. · examples: wall_thickness_probebearing_angle_image depth → image2d GPU: yes (allow-list) — A bearing-angle image: the angle between the line of sight along the scan direction and the local surface (a classic range-image descriptor). → HxW in degrees. · examples: sensor_segdepth_to_organized_points depth → pointmap GPU: inside a chain only (allow-list) — An organized depth image → grid-aligned 3-D points (H,W,3). · examples: range_imagenormals_from_depth depth → normalmap GPU: yes (allow-list) — Organized depth → oriented unit normals (H,W,3). The cross product of the 3-D points of neighbouring pixels (using the grid structure, O(HW)). · examples: range_imageocclusion_edges depth → image2d GPU: none — Detect depth discontinuities (the foreground/background boundary = occlusion edges). → bool HxW. · examples: range_imagealpha_shape_boundary points → indices GPU: none — The indices of the boundary points by alpha shapes (point set → boundary points). · examples: sfm_reconalpha_shape_mesh points → mesh GPU: none — The triangulated surface mesh by alpha shapes (point set → (vertices, faces)). · examples: alpha_shape_topologyestimate_alpha points → measurement GPU: none — Return a recommended alpha from the point set’s scale (based on the median nearest-neighbour distance). · examples: alpha_shape_topology, sfm_reconpoisson_lite points → mesh GPU: none — Point set (N,3) → a surface mesh (vertices(V,3), faces(F,3)) — a lightweight screened-Poisson approximation. · examples: poisson_surface_reconicp_point2plane points × points × normals → pose GPU: none — Refine the rigid transform to high accuracy with point-to-plane ICP (Gauss-Newton, small-angle approximation). · examples: refinementicp_point2point_3d points × points → pose GPU: none — Refine point sets by point-to-point ICP (Kabsch/SVD). · examples: gicp_register, itokawa_self_register, itokawa_shape_match, partial_overlap_icprefine_lm voxel × voxel × position → table GPU: none — Sub-voxel refinement of the translation (plus isotropic scale / intensity gain) by Levenberg-Marquardt. · examples: refinementrefine_peak_newton score × position → position GPU: none — Refine the integer peak of a score/correlation volume to sub-voxel accuracy by 3-D Newton (iterative optimisation). · examples: refinementrefine_rotation_z voxel × voxel × angle → angle GPU: none — Gauss-Newton refinement of the rotation angle about z (Lucas-Kanade on SSD, one parameter). · examples: refinementrefine_translation_lk voxel × voxel × position → position GPU: none — Sub-voxel refinement of the 3-D translation by inverse-compositional Lucas-Kanade with Gauss-Newton. · examples: refinementfilter_by_volume voxel → voxel GPU: none — Return a bool mask with the connected components below min_voxels removed. · examples: region_props_3dinner_box3 voxel → primitive GPU: none — The largest axis-aligned box fully inscribed in a binary voxel region (the 3-D counterpart of the 2-D inner_rectangle1). · examples: inner_box_inspectionlabel_components voxel → labels GPU: none — Label a 3-D binary volume into connected components. · examples: region_props_3d, watershed3dlargest_component voxel → voxel GPU: none — Return the bool mask of the largest (most voxels) connected component. · examples: region_props_3dregion_props voxel → table GPU: none — Return the list of region properties of each connected component. · examples: region_props_3dvol_label voxel → labels GPU: inside a chain only (allow-list) — 3-D connected-component labelling with a selectable neighbourhood. · examples: ct_bone_segmentation, molecule_atom_count, vessel_metrologyvol_region_props labels → table GPU: none — Per-component quantitative descriptors from a label volume. · examples: vessel_metrologyinlier_ratio points × points → measurement GPU: none — The inlier ratio of a correspondence set = the fraction with ‖T·source[i] − target[i]‖ < thresh. → [0,1]. · examples: reg_evalregistration_recall points × points → measurement GPU: none — 3DMatch-style per-pair registration success = 1.0 (success) / 0.0 (failure). · examples: reg_evalrmse_inliers points × points → measurement GPU: none — The RMSE over the inlier correspondences (residual < thresh) and the inlier count. → (rmse, n_inliers). · examples: reg_evalrotation_translation_error pose × pose → table GPU: none — The relative rotation error (geodesic angle [deg], RRE) and relative translation error (RTE) between two 4×4 transforms. · examples: reg_evalambient_occlusion mesh → image2d GPU: none — Render the mesh into an AO map image (H, W) in [0,1]. · examples: render_aoantialias image2d → image2d GPU: none — Downscale a high-resolution image by an integer factor ss (area-average anti-aliasing). · examples: render_ssaabrdf_hapke normalmap → image2d GPU: none — Shade a normal map with the Hapke reflectance law (opposition effect + multiple scattering + macroscopic roughness θ̄) and return I/F (H, W). · examples: itokawa_regolith_herobrdf_lommel_seeliger normalmap → image2d GPU: none — Shade a normal map with the Lommel-Seeliger reflectance law (regolith that stays bright to the limb) and return I/F (H, W). · examples: itokawa_regolith_herocast_shadow mesh × vector → image2d GPU: none — Compute a mesh’s cast / soft shadows and return a visibility map (H,W) ∈ [0,1]. · examples: render_beauty, render_shadowedge_alias_energy image2d → measurement GPU: none — The aliasing (jaggy) energy of edges = the RMS of the Laplacian (smaller is smoother). · examples: render_beauty, render_ssaamatcap_shade normalmap × image2d → image2d GPU: none — MatCap: map view-space normals onto a lit-sphere texture to transfer a material’s look. → (H, W[, C]). · examples: render_shadephong_shade normalmap → image2d GPU: none — Shade a normal map with the Phong reflection model (ambient + diffuse + specular). → (H, W). · examples: render_beauty, render_shadepoints_render points → rgbimage GPU: none — Render an (N, 3) point cloud to an RGB image (H, W, 3): anti-aliased splats, depth-sorted, deterministic. · examples: points_render_basicsproject_points points → keypoints GPU: none — 3-D point set (N,3) → image coordinates (u,v) and depth. Pinhole (the forward direction of depth_to_points). · examples: pnp_pose_outliers, pose_estimationrender_beauty mesh → rgbimage GPU: none — Render a mesh into one “showcase still 3-D” image with every quality layer combined → RGB (size, size, 3) float [0,1]. · examples: anatomical_hand, render_beautyrender_point_depth points → depth GPU: none — Point set → a depth image (z-buffer; each pixel takes the depth of its nearest point). For synthesising observations and inspection samples. · examples: sfm_reconrender_regolith mesh → rgbimage GPU: none — Render an asteroid’s regolith physically based (Hapke + ray-cast shadows at the Sun’s angular diameter + zero ambient) → RGB (size,size,3). · examples: itokawa_regolith_herorender_shaded normalmap → image2d GPU: none — Normal map (H,W,3) + light direction → a Lambertian shaded image (appearance-sample generation, the bridge to optics). · examples: render_aorender_volume_projection voxel → image2d GPU: yes (allow-list) — Project a voxel volume to 2-D from an arbitrary viewpoint (mode = xray = attenuation integral / mip = maximum). For DRR (X-ray) and world-model observations. · examples: ct_hand_radiographshadow_raycast mesh × vector → image2d GPU: none — Cast rays directly at the mesh and return the sunlight visibility (H,W) ∈ [0,1] (no shadow map). · examples: itokawa_regolith_herosupersample_mesh mesh → image2d GPU: none — Render a mesh anti-aliased by SSAA -> a float image (H, W) (or (H, W, C)). · examples: render_ssaatonemap_aces image2d → image2d GPU: yes (allow-list) — Compress HDR into [0, 1] LDR with the ACES filmic approximation (Narkowicz 2015). → float64. · examples: render_tonemaptonemap_reinhard image2d → image2d GPU: none — Compress HDR into [0, 1] LDR with Reinhard tone mapping. → float64, the same shape as the input. · examples: render_beauty, render_tonemapmesh_decimate_preserving mesh → table GPU: none — Decimation that keeps the detailed regions and reports what it lost (table). · examples: mesh_resolution_demomesh_detail_map mesh → table GPU: none — Per-vertex coarseness and detail of a mesh (table). · examples: mesh_resolution_demomesh_edge_stats mesh → table GPU: none — Edge-length and face-area percentiles with non-uniformity ratios (table). · examples: mesh_resolution_demomesh_isotropic_remesh mesh → mesh GPU: none — Incremental isotropic remeshing to a uniform target_edge (mesh). · examples: mesh_resolution_demomesh_lod_chain mesh → table GPU: none — Decimation levels with the measured geometric error of each (table). · examples: mesh_resolution_demomesh_reduction_report mesh × mesh → table GPU: none — What a reduction (decimation, remesh, voxelisation) lost, in numbers (table). · examples: mesh_resolution_demomesh_sample_points mesh → points GPU: none — Surface samples at a stated spacing — area-weighted random or Poisson-disk (points). · examples: mesh_resolution_demomesh_select_lod table → table GPU: none — The coarsest LOD level whose geometric error projects below pixel_tolerance (table). · examples: mesh_resolution_demomesh_split_long_edges mesh → mesh GPU: none — Bisect edges longer than max_edge until none remains — adaptive refinement (mesh). · examples: mesh_resolution_demopc_density points → table GPU: none — Local spacing per point and the cloud’s non-uniformity (table). · examples: mesh_resolution_demopc_density_equalize points → points GPU: none — Fill the sparse regions, then thin the dense ones: uniform spacing (points). · examples: mesh_resolution_demopc_fill_sparse points → points GPU: none — Insert points where the local spacing exceeds spacing, on the local PCA plane (points). · examples: mesh_resolution_demopc_lod_chain points → table GPU: none — Poisson-disk levels at doubling spacings (table). · examples: mesh_resolution_demopc_poisson_disk points → points GPU: none — Blue-noise thinning: keep points greedily so that no two are closer than radius (points). · examples: mesh_resolution_demopc_thinning_report points × points → table GPU: none — What a point-cloud thinning removed, and whether it touched the rare points (table). · examples: mesh_resolution_demovol_gaussian_psf measurement → voxel GPU: none — A normalised (sums to 1) 3-D Gaussian PSF kernel; sigma is a scalar or per-axis. · examples: deconv_fft_restorevol_richardson_lucy voxel × voxel → voxel GPU: none — Richardson–Lucy deconvolution of a non-negative volume by a known PSF. · examples: deconv_fft_restorevol_rle_bbox rle_region → primitive GPU: none — Tight bounding box (z0, y0, x0, z1, y1, x1) (exclusive upper bounds), from the runs. · examples: rle_region_efficiencyvol_rle_centroid rle_region → position GPU: none — Centroid (z, y, x) of the region, computed on the runs (no decode). · examples: rle_region_efficiencyvol_rle_components voxel → rle_region GPU: none — Split a binary volume into per-component VolRLE regions. · examples: rle_region_efficiencyvol_rle_decode rle_region → voxel GPU: none — Decode a VolRLE back to a dense (D, H, W) float64 {0, 1} volume. · examples: rle_region_efficiencyvol_rle_difference rle_region × rle_region → rle_region GPU: none — Set difference a \ b on the runs (no decode). · examples: rle_region_efficiencyvol_rle_encode voxel → rle_region GPU: none — Encode a binary volume as x-runs (the 3-D HALCON-region representation). · examples: rle_region_efficiencyvol_rle_intersect rle_region × rle_region → rle_region GPU: none — Intersection of two RLE regions on the runs (no decode). · examples: rle_region_efficiencyvol_rle_union rle_region × rle_region → rle_region GPU: none — Union of two RLE regions, computed on the runs (no decode). · examples: rle_region_efficiencyvol_rle_volume rle_region → measurement GPU: none — Voxel count of the region, computed on the runs (no decode). · examples: rle_region_efficiencyfit_cone points → primitive GPU: none — Fit an infinite cone to a point set and return {apex, axis, half_angle, residual}. · examples: fit_primitives_extfit_ellipsoid points → primitive GPU: none — Algebraically fit a triaxial ellipsoid of arbitrary pose to a point set and return {center, axes, radii, residual}. · examples: fit_primitives_extfit_torus points → primitive GPU: none — Fit a torus to a point set and return {center, axis, R, r, residual}. · examples: fit_primitives_extransac_cylinder points × normals → primitive GPU: none — Outlier-robust RANSAC cylinder fitting (point normals are required). · examples: ransac_primransac_line points → primitive GPU: none — Outlier-robust RANSAC line fitting. · examples: geometry_metrologyransac_plane points → primitive GPU: none — Outlier-robust RANSAC plane fitting. · examples: ransac_primransac_sphere points → primitive GPU: none — Fits a sphere (centre and radius) to a point cloud with outlier-robust RANSAC. · examples: ransac_primnearest_neighbor_flow points × points → flow_scattered GPU: none — The 3-D displacement vector field (N, 3) from each point of pts0 to its nearest neighbour in pts1. · examples: scene_flow_rigidrigid_flow points × points → pose GPU: none — Estimate the single rigid motion that explains pts0 -> pts1, via nearest-neighbour correspondences and Kabsch (ICP-like). · examples: scene_flow_rigidsmooth_flow points × points → flow_scattered GPU: none — Return a regularised flow (N, 3): the nearest-neighbour flow locally smoothed by neighbourhood averaging. · examples: scene_flow_rigidbox_sdf coordgrid → sdf GPU: none — The exact signed distance field of an axis-aligned box (negative inside, positive outside). · examples: gear_metrology, render_beauty, sdf_csgcapsule_sdf coordgrid → sdf GPU: none — Exact signed distance field of a capsule formed by thickening the segment a–b by radius radius. · examples: procedural_hand, sdf_csgcylinder_sdf coordgrid → sdf GPU: none — Exact signed distance field of a finite-length cylinder (flat caps at both ends) (negative inside, positive outside). · examples: sdf_csggrid_coords no input → coordgrid GPU: none — Build the grid of voxel-centre coordinates for CSG evaluation (the same lattice convention as occupancy). · examples: gear_metrology, molecule_atom_count, procedural_hand, render_beauty, sdf_csg, sfm_reconplane_sdf coordgrid → sdf GPU: none — Exact signed distance field of a half-space. fast is an optional path with measured relative difference 1.5e-10 at 1e6; the default is exact. · examples: sdf_csgsdf_intersect sdf × sdf → sdf GPU: none — The intersection of two SDFs, A∩B = the element-wise max(a, b) (inside only where both are inside). · examples: gear_metrology, render_beauty, sdf_csgsdf_offset sdf → sdf GPU: inside a chain only (allow-list) — Move an SDF’s zero level set by a distance r along the normal = sdf − r (r>0 inflates, r<0 shrinks). · examples: sfm_reconsdf_smooth_union sdf × sdf → sdf GPU: yes (allow-list) — A smoothly rounded union (polynomial smooth-min). k>0 rounds the seam with a radius of about k. · examples: render_beautysdf_subtract sdf × sdf → sdf GPU: inside a chain only (allow-list) — The difference A\B = max(a, −b) (inside A and outside B = inside −b). · examples: sdf_csgsdf_union sdf × sdf → sdf GPU: none — The union of two SDFs, A∪B = the element-wise min(a, b) (inside if either is negative). · examples: gear_metrology, render_beauty, sdf_csgsphere_sdf coordgrid → sdf GPU: none — The signed distance field of a sphere: |p − center| − R (negative inside, positive outside). · examples: annotate3d_figure, gear_metrology, molecule_atom_count, procedural_hand, render_beauty, sdf_csg, sfm_recontorus_sdf coordgrid → sdf GPU: none — Exact signed distance field of a torus (doughnut) (negative inside, positive outside). · examples: sdf_csgeuclidean_cluster points → labels GPU: none — Distance clustering by the connected components of the proximity graph at radius tol (−1 = noise). · examples: object_segmentationplane_segmentation points → labels GPU: none — Extract up to max_planes planes one after another by iterated RANSAC (leftover points get −1). · examples: object_segmentationregion_growing points → labels GPU: none — Grow regions by normal similarity and give the connected smooth regions the same label (the variant without a curvature gate). · examples: sensor_segvol_watershed voxel → labels GPU: none — Marker-controlled 3-D watershed segmentation (optional — scikit-image). · examples: molecule_atom_counta3_distribution points → descriptor GPU: none — The distribution of the angle three random points (A, B, C) subtend at vertex B (Osada 2002’s A3). · examples: shape_desc_posed2_distribution points → descriptor GPU: none — The distribution of Euclidean distances between random point pairs (Osada 2002’s D2). · examples: shape_desc_posedescribe points → descriptor GPU: none — A global shape descriptor concatenating D2 + A3 + extent. · examples: denoise_evolution, shape_desc_pose, shape_retrievalextent_signature points → descriptor GPU: none — The ratios of the extent along the PCA principal axes (the eigenvectors of the covariance). · examples: shape_desc_poseshape_distance descriptor × descriptor → measurement GPU: none — The distance between two descriptors. Smaller means a more similar shape. · examples: moment_invariants, shape_desc_pose, shape_retrievalcarve images → voxel GPU: none — Discretise bounds into res^3 voxels and keep those that project inside every silhouette (space carving). · examples: space_carvingcarve_look_at vector → pose GPU: none — Builds a camera pose (R, t) that can be passed to carve / synthesize_silhouette. · examples: space_carvingsynthesize_silhouette points → image2d GPU: none — Project a 3-D point set into a (K,R,t) camera and return the silhouette (H,W bool) that is True where pixels are occupied. · examples: space_carvingvisual_hull images → voxel GPU: none — Return the visual hull of multi-view silhouettes as voxel occupancy (an alias of :func:carve). · examples: space_carvingabsolute_phase image2d × image2d → image2d GPU: inside a chain only (allow-list) — Turn a wrapped phase into an absolute one by fixing its fringe order from a coarse but absolute phase estimate. · examples: structured_light_scandecode_fringe images → depth GPU: none — Decode a phase-shift image series in one go: wrapped → unwrap → (subtract the reference to get) height. · examples: structured_lightdepth_from_focus (halcon: depth_from_focus) images → depth GPU: none — Estimate height/depth from differently focused images as the best-focus position at each pixel. · examples: ftp_and_focus_depthfringe_ftp_phase image2d → depth GPU: none — Recover height/phase from one fringe image using Takeda Fourier-transform profilometry. · examples: ftp_and_focus_depthgraycode_decode images → image2d GPU: yes (allow-list) — A series of Gray-code bit images → an integer fringe-order map (the absolute order). · examples: graycode_structured_light, structured_light_scansynthesize_fringes image2d → images GPU: inside a chain only (allow-list) — Synthesise an N-step phase-shifted fringe image series from a known height map (for tests and sample generation). · examples: ftp_and_focus_depth, structured_lighttriangulate_column image2d → depth GPU: yes (allow-list) — Triangulate the depth Z from the “projector column number” of each camera pixel (the final stage of structured light). · examples: structured_light_scanunwrap_phase_2d image2d → image2d GPU: none — Unwrap a wrapped phase into a continuous one with skimage.restoration.unwrap_phase. · examples: structured_lightwrapped_phase images → image2d GPU: yes (allow-list) — Compute the wrapped phase (−π, π] from an N-step phase-shifted fringe image series. · examples: structured_light, structured_light_scanfit_superquadric points → primitive GPU: none — Fit a superquadric to a point set with least_squares and return dict{a, eps, R, t, residual}. · examples: superquadric_fitinside_outside points → signal GPU: none — The inside-outside function F of a superquadric (surface = 1, inside < 1, outside > 1). · examples: superquadric_fitsample_surface vector → points GPU: none — Sample the surface points of a superquadric parametrically in (eta, omega). · examples: mesh_lod_download, superquadric_fitsuperquadric_residual points → measurement GPU: none — The Gross-Boult volume-corrected residual mean((sqrt(a1 a2 a3)(F^eps1 − 1))²). · examples: superquadric_fitcurve3d_tube_mesh points → mesh GPU: none — A space curve as a tube mesh — the MATLAB tubeplot, with a volume you can check. · examples: minimal_surfacesgyroid_isosurface no input → mesh GPU: none — The gyroid — a triply periodic surface from its nodal approximation. · examples: minimal_surfacesgyroid_solid_mask no input → voxel GPU: none — The gyroid as a printable solid: the shell within ±thickness of the level set. · examples: minimal_surfacesminimal_surface no input → mesh GPU: none — A classical minimal surface, from its exact parametrisation. · examples: minimal_surfacesminimal_surface_bend no input → mesh GPU: none — The catenoid-helicoid bend — every member of the family is still minimal. · examples: minimal_surfacesbackground_flatten image2d → image2d GPU: inside a chain only (allow-list) — Fit and subtract a low-order surface (uneven illumination) from an image = shading correction. → flattened. · examples: geometry_metrologyeval_poly_surface poly_surface × image2d × image2d → image2d GPU: yes (allow-list) — Evaluate the model at (x,y) → z (returned in the shape of x). · examples: contours_to_terrainfit_poly_surface image2d × image2d × image2d → poly_surface GPU: none — Scattered (x,y,z) → a polynomial least-squares z=f(x,y). Returns model (coef/powers/degree/rms/pv). · examples: contours_to_terrainsurface_form_error image2d → measurement GPU: yes (allow-list) — Height-field grid → the residual from an ideal (polynomial) surface = the form error (flatness deg 1 / sphericity deg 2). → (residual, rms, pv). · examples: geometry_metrologydetect_reflection_symmetry points → primitive GPU: none — Choose the best mirror-symmetry plane among candidates whose normals are the PCA principal axes (through the centroid). · examples: dl_mesh_symmetry, itokawa_symmetry_honest, reflection_symmetry, symmetrydetect_rotational_symmetry points → primitive GPU: none — Choose the best rotational symmetry (axis × order) with the PCA principal axes as candidate axes. · examples: rotational_symmetry_fold, symmetryreflect_points points → points GPU: none — Mirror a point set in a plane (point plane_point, normal plane_normal). → (N,3). · examples: reflection_symmetryreflection_symmetry_score points → measurement GPU: none — Reflection-symmetry score = chamfer(mirrored, original) / the median nearest-neighbour spacing (smaller is more symmetric; scale invariant). → float. · examples: dl_mesh_symmetry, reflection_symmetrybump_normals_fbm normalmap × pointmap → normalmap GPU: yes (allow-list) — Perturb a normal map with the gradient of a seeded multi-octave height field. · examples: itokawa_regolith_herodisplacement_band_weights mesh → matrix GPU: none — Per-octave, per-vertex band gate (K, N) in [0,1]. · examples: itokawa_regolith_heromesh_displace_fbm mesh → mesh GPU: none — Roughen a mesh by displacing vertices along their normals with seeded fBm noise → (V, F). · examples: itokawa_regolith_heromesh_displace_spectrum mesh → mesh GPU: none — Displace vertices along their normals with a stated amplitude spectrum, band-limited. · examples: itokawa_regolith_heromesh_edge_lengths mesh → signal GPU: none — Local edge length of a triangle mesh, per vertex, per face or per unique edge. · examples: itokawa_regolith_heromesh_scatter_boulders mesh → mesh GPU: none — Scatter partly-buried boulders on a mesh (power-law sizes, seeded) → (V, F) · examples: itokawa_regolith_heromesh_subdivide mesh → mesh GPU: none — Refine a triangle mesh → (V, F) by midpoint subdivision or adaptive tessellation. · examples: itokawa_regolith_heroterrain_region_mask mesh → signal GPU: none — Per-face terrain weights (M,) in [0,1]: 0 = smooth regolith “sea”, 1 = rough highland. · examples: itokawa_regolith_herodepth_to_points depth → points GPU: none — Depth map (2.5-D) → point cloud (pinhole back-projection). It connects the depth row to every method. · examples: structured_light_scan, transforms_represtimate_point_normals points → normals GPU: none — Point set (N,3) → unit normals (the smallest eigenvector of the local k-neighbourhood covariance = PCA). · examples: fpfh_correspondencegaussians_to_voxel points → voxel GPU: none — 3DGS (anisotropic Gaussians) → a density voxel volume. Each Gaussian is placed at its mean with its opacity, then smoothed by the mean scale. · examples: transforms_reprmesh_to_points mesh → points GPU: none — Mesh (vertices + faces) → a surface point set (area-weighted uniform sampling). The mesh → point-cloud conversion. · examples: mesh_decimatemesh_to_voxel mesh → voxel GPU: native (device argument, inside a chain only) — Mesh (vertices + faces) → a density voxel volume. Uniform sampling on the faces → splat (it connects the mesh row to every method). · examples: transforms_reprpoints_to_voxel points → voxel GPU: none — Point set (N,3) → a density voxel volume (size³). Splatted with scatter_add, optionally Gaussian-smoothed. · examples: sh_descriptor_retrieval, shape_desc_posesdf_to_occupancy sdf → voxel GPU: none — SDF → an occupancy voxel volume (at or below iso = inside = 1). The way back from an SDF to voxels. · examples: transforms_reprsigned_distance_field voxel → sdf GPU: native (device argument) — Occupancy/density voxels → a signed distance field SDF (inside < 0, outside > 0). edt_jfa applied to both sides. · examples: transforms_reprto_points voxel × points × mesh × depth × gaussians → points GPU: none — Any 3-D structure → a point set (the common representation). It funnels all five structures into one entry point. · examples: transforms_reprtsdf_from_depth depth → sdf GPU: yes (allow-list) — Depth map (2.5-D) → a TSDF volume (the standard representation of RGB-D reconstruction). The depth → TSDF conversion. · examples: transforms_reprvoxel_to_mesh voxel → mesh GPU: none — Voxel → mesh (marching cubes, skimage). Returns (verts, faces, normals). The voxel → mesh conversion. · examples: mesh_smoothvoxel_to_mips voxel → images GPU: none — 3-D → maximum-intensity projections along the three orthogonal directions. The entry point for applying 2-D methods (e.g. accel’s 2-D NCC). · examples: transforms_reprextract_surface_points sdf → points GPU: none — Extract surface points (M,3) from the TSDF zero crossing (no marching cubes needed; linear interpolation). · examples: transforms_repr, tsdf_fusion_demofuse depth → sdf GPU: none — Fuse a depth series into one TSDF volume with new_volume + integrate. Returns (tsdf, weight). · examples: tsdf_fusion_demointegrate sdf × depth → sdf GPU: none — Integrate one depth frame into the volume by projective TSDF (in place, a weighted running average). · examples: transforms_repressential_8point image2d × image2d → matrix GPU: none — The essential matrix E directly from correspondences and K. → E (3,3). · examples: sfm_reconfundamental_8point image2d × image2d → matrix GPU: none — Estimate the fundamental matrix F by the normalised eight-point algorithm (rank 2 enforced). → F (3,3). At least eight points are needed. · examples: two_view_poserecover_pose image2d × image2d → pose GPU: none — Recover the relative pose (R,t) and the 3-D structure from correspondences and K (disambiguated by cheirality). → (R, t_unit, points3d). · examples: two_view_posesampson_distance image2d × image2d → signal GPU: none — The Sampson distance of the epipolar constraint (the first-order geometric error, per correspondence). → (N,). · examples: two_view_posetriangulate image2d × image2d → points GPU: none — DLT triangulation: correspondences from two views plus the projection matrices → 3-D points. → (N,3). · examples: sfm_reconfit_circle_geometric keypoints → table GPU: none — Fit a circle and radius to (row, col) points, including short arcs, by geometric least squares. · examples: fit_ops_from_knowhowfit_curve_principal_axis keypoints → table GPU: none — Rotate a slanted curved edge to its principal axis, then fit polynomial y’=f(x’). · examples: fit_ops_from_knowhowregion_perimeter_estimate mask → measurement GPU: none — Estimate a binary region’s perimeter with a chosen estimator. · examples: shape_factors_closed_formphase_correlation_shift image2d × image2d → table GPU: none — Estimate the subpixel translation needed to align two images by phase-only correlation. · examples: fit_ops_from_knowhowMath ops that support visual measurement (linear algebra / statistics / interpolation, polynomials) + computable entry points into complex analysis (contour integrals, Cauchy’s integral formula, the argument principle, Laurent coefficients / residues, conformal maps, Cauchy-Riemann residuals). For FFT / complex images see complexops and volfreq; for 1-D functions see funct1d.
cplx_argument_principle cpoints × cpoints → measurement GPU: none — Argument principle: count zeros minus poles enclosed by a contour, from sampled values of f alone. · examples: math_complexcplx_cauchy_value cpoints × cpoints → cscalar GPU: none — Cauchy’s integral formula: recover f(w) inside a contour from its values on the contour. · examples: math_complexcplx_contour_circle no input → cpoints GPU: none — Sample a circle as a closed contour — the standard integration path. · examples: math_complexcplx_contour_integral cpoints × cpoints → cscalar GPU: none — Closed contour integral ∮ f(z) dz by the chordal trapezoidal rule. · examples: math_complex, representation_conversioncplx_cr_residual cimage → measurement GPU: none — Cauchy-Riemann residual of a sampled complex field — “is this field holomorphic?” as a number. · examples: math_complex, poc_complex_plane_fieldscplx_domain_colour cimage → rgbimage GPU: yes (allow-list) — Domain colouring: turn a complex field into an RGB image you can read. · examples: poc_complex_plane_fieldscplx_escape_time no input → image2d GPU: none — How many steps of z -> z**2 + c it takes to leave the escape disc. · examples: poc_complex_plane_fieldscplx_joukowski cpoints → cpoints GPU: none — Joukowski (Zhukovsky) conformal map w = z + c^2 / z. · examples: math_complexcplx_laurent_coeffs cpoints × cpoints → table GPU: none — Laurent (and Taylor) coefficients on a uniformly sampled circle — residues included. · examples: math_complexcplx_mobius cpoints → cpoints GPU: none — Möbius (linear fractional) map w = (a z + b) / (c z + d). · examples: math_complexcplx_newton_basins signal → labels2d GPU: none — Which root of a polynomial does Newton’s method fall into, from each point? · examples: poc_complex_plane_fieldscplx_plane_grid no input → cimage GPU: none — Turns a rectangular window of the complex plane into a grid (laid out like an image: row 0 is the top, i.e. the larger imaginary part). · examples: poc_complex_plane_fieldscplx_poly_eval signal × cpoints → cpoints GPU: yes (allow-list) — Evaluate a polynomial on the complex plane (Horner, complex-capable). · examples: math_complexcplx_rational_field roots × roots → cimage GPU: none — Sample a rational function R(z) = gain * prod(z - zeros) / prod(z - poles). · examples: poc_complex_plane_fieldscplx_winding_number cpoints → measurement GPU: none — Winding number of a closed contour around a point (turning number). · examples: math_complex, poc_complex_plane_fieldsjoukowski_circulation no input → measurement GPU: none — The Kutta circulation Gamma = 4*pi*a*U*sin(alpha + beta) for that section. · examples: poc_complex_plane_fieldsmandelbrot_interior cimage → mask GPU: yes (allow-list) — Closed-form interior test for the main cardioid and the period-2 bulb. · examples: poc_complex_plane_fieldspotential_flow_joukowski no input → cimage GPU: none — Inviscid flow past a Joukowski aerofoil, as a complex velocity field. · examples: poc_complex_plane_fieldscircle_packing_apollonian no input → table GPU: none — Apollonian gasket from a Descartes quadruple — every circle a theorem. · examples: poc_theorems_as_picturescurve_locality pairs → table GPU: none — Points k apart along the curve — how far apart are they on the plane? · examples: poc_theorems_as_picturesford_circles no input → table GPU: none — Ford circles for the Farey fractions — tangency is an integer identity. · examples: poc_theorems_as_picturesifs_fractal no input → pairs GPU: none — Chaos game on an iterated function system — the dimension is a closed form. · examples: poc_theorems_as_picturesifs_similarity_dimension no input → measurement GPU: none — Moran’s equation sum(r_i**d) = 1 solved for d — from the maps alone. · examples: poc_theorems_as_picturesneighbour_index_gaps pairs → signal GPU: none — How far apart in index are a point’s nearest neighbours — parastichy as a number. · examples: poc_theorems_as_picturesphyllotaxis_pattern no input → pairs GPU: none — Vogel’s spiral — the angle that packs best, and the spirals it makes. · examples: poc_theorems_as_picturesspace_filling_curve no input → pairs GPU: none — Hilbert / Moore / scan orders on a 2**order square — a permutation, checked. · examples: poc_theorems_as_picturesdynsys_bifurcation_map no input → pairs GPU: none — The orbit diagram of a 1-D map — period doubling, as points you can count. · examples: poc_what_a_picture_cannot_checkdynsys_correlation_dimension points → measurement GPU: none — Grassberger-Procaccia correlation dimension — the slope of log C(r). · examples: poc_what_a_picture_cannot_checkdynsys_lyapunov_spectrum no input → signal GPU: none — The Lyapunov spectrum by tangent flow + QR — and the sum you can check. · examples: poc_what_a_picture_cannot_checkdynsys_poincare_section table → pairs GPU: none — Where a trajectory crosses a plane — with the crossing point interpolated. · examples: poc_what_a_picture_cannot_checkode_flow_states no input → table GPU: none — Integrate a named vector field — the trajectory, with the order you paid for. · examples: poc_what_a_picture_cannot_checkode_vector_field_grid no input → flow2d GPU: none — Sample a named field on a grid — a flow2d the existing viewers take. · examples: poc_what_a_picture_cannot_checkassign_hungarian matrix → table GPU: none — Solves the assignment problem for a cost matrix (n, m) (Hungarian method of Kuhn 1955 / Munkres 1957, scipy implementation). · examples: estimation_tourcrlb_gaussian signal × signal → table GPU: none — Cramér–Rao lower bound under white Gaussian noise (standard deviation sigma). · examples: estimation_tourhist_distance signal × signal → measurement GPU: none — Distance and divergence between 2 histograms (non-negative, normalized by their sum). · examples: gallery_math_stats_linalgkalman_smooth matrix × matrix × matrix × matrix × matrix × signal × matrix → table GPU: none — Kalman filter (forward) and Rauch–Tung–Striebel smoother (backward) for the linear Gaussian state-space model x_{k+1} = F x_k + w (w ~ N(0,Q)), z_k = H x_k + v (v ~ N(0,R)). · examples: estimation_tour, poc_real_bg_kalman_trackingmat_expm matrix → matrix GPU: none — Matrix exponential e^A (Padé approximation + scaling-and-squaring, scipy). · examples: gallery_math_stats_linalgmat_logm matrix → matrix GPU: none — Principal matrix logarithm log A (the X with e^X = A whose eigenvalues have imaginary parts in (−π, π], scipy). · examples: gallery_math_stats_linalgse3_exp signal → matrix GPU: none — Exponential map of SE(3): 6-dimensional twist ξ = (v, ω) (translational velocity v, rotation vector ω) → 4×4 rigid-body transform. · examples: estimation_tourse3_log matrix → signal GPU: none — Logarithm map of SE(3): 4×4 rigid-body transform → 6-dimensional twist ξ = (v, ω) (rotation angle < π). Gate: se3_log(se3_exp(ξ)) = ξ. · examples: estimation_tourstat_chi2_gof signal → table GPU: none — χ² goodness-of-fit test: whether the counts observed match the expected counts (uniform by default). Degrees of freedom = number of bins − 1. · examples: gallery_math_stats_linalgstat_ks_test signal → table GPU: none — Kolmogorov–Smirnov test. Given y, a 2-sample test (whether both come from the same distribution); without it, goodness of fit to the standard normal distribution. · examples: gallery_math_stats_linalgstat_ttest_paired signal × signal → table GPU: none — Paired t-test: whether the mean of the differences d = x − y from measuring the same subjects 2 times is 0. · examples: gallery_math_stats_linalgstat_ttest_welch signal × signal → table GPU: none — Welch’s t-test: the difference in means of 2 groups without assuming equal variances (degrees of freedom by Welch–Satterthwaite). · examples: estimation_tourangle_defect mesh → table GPU: none — Per-vertex angle defect (discrete Gaussian curvature) K_v = 2π − Σ(angles of the triangles at that vertex). For boundary vertices, π − Σ (geodesic curvature). · examples: geometry_tourdelaunay_triangulate matrix → table GPU: none — Triangulation of planar points (N, 2) or tetrahedralization of spatial points (N, 3) (Delaunay, scipy.spatial = Qhull). · examples: geometry_tourgeodesic_heat mesh → table GPU: none — Geodesic distance on a surface by the heat method (Crane et al. 2013). source is a vertex index (or a sequence of indices; default vertex 0). The mesh may be given as (vertices, faces) or as 1 mesh tuple. · examples: geometry_tourgeodesic_heat_grid image2d → table GPU: none — Computes obstacle-avoiding geodesic distance on the grid of a 2-D image or 3-D volume by the heat method (grid version of Crane et al. 2013). · examples: geometry_tourmesh_euler_characteristic mesh → table GPU: none — V − E + F of a triangle mesh and, for a closed orientable surface, the genus g = (2 − χ)/2. · examples: geometry_tourmesh_torus no input → mesh GPU: none — Closed triangle mesh (vertices, faces) of a torus (doughnut). Major radius R, tube radius r (R > r > 0). · examples: geometry_tournurbs_circle no input → table GPU: none — A degree-2 NURBS that represents a circle exactly (Piegl & Tiller Example 7.1: the 4 corners and the midpoints of the 4 sides of a square, corner weights 1/√2). · examples: geometry_tournurbs_curve (halcon: gen_contour_nurbs_xld) matrix → table GPU: none — Evaluates a NURBS curve (weighted; in general it does not pass through the control points). · examples: geometry_tour, machine_vision_tournurbs_revolve matrix → table GPU: none — Surface of revolution obtained by sweeping a planar NURBS curve (r, z) 1 full turn around the z axis (Piegl & Tiller §8.5). · examples: geometry_tournurbs_surface no input → table GPU: none — Evaluates a NURBS surface (tensor product). · examples: gallery_math_numerics_filtersinterp_cubic signal × signal × signal → signal GPU: none — Cubic-spline interpolation (scipy.interpolate.CubicSpline). · examples: math_metrologyinterp_linear signal × signal × signal → signal GPU: none — Piecewise-linear interpolation of (x, y) samples at query xq. · examples: math_metrology, poc_thermal_radiometryinterp_scattered points × signal × points → table GPU: none — Values at query from scattered samples — sensor nets, boreholes, weather. · examples: poc_datacenter_thermal_field, poc_multibeam_bathymetry, poc_stockpile_volumepoly_eval signal × signal → signal GPU: none — Evaluate a polynomial (coefficients highest-power-first) at x. · examples: math_metrology, signal_filterpoly_fit signal × signal → table GPU: none — Least-squares polynomial fit with its conditioning on the record. · examples: math_metrology, poc_strain_history, poc_thermal_radiometry, signal_filterpoly_roots signal → roots GPU: none — All roots of a polynomial (coefficients highest-power-first) — complex included. · examples: math_metrologymat_cholesky matrix → table GPU: none — Cholesky factorisation A = L @ Lᵀ of a symmetric positive-definite matrix. · examples: gallery_math_stats_linalgmat_cond matrix → measurement GPU: none — Spectral (2-norm) condition number s_max / s_min — the numerical canary of the whole linalg family. · examples: math_metrologymat_eig matrix → table GPU: none — Eigen-decomposition of a general square matrix A V = V diag(w) (complex in general). · examples: gallery_math_stats_linalgmat_eigh matrix → table GPU: none — Eigen-decomposition of a symmetric matrix (LAPACK syevd). · examples: math_metrology, poc_thermal_radiometrymat_lstsq matrix × signal → table GPU: none — Least-squares solution of an over-determined system A x ≈ b (LAPACK gelsd, SVD-based). · examples: math_metrology, poc_colocalization_crosstalk, poc_sea_ice_concentration, poc_solar_limb_darkeningmat_lu matrix → table GPU: none — LU factorisation P @ A = L @ U (L unit lower, U upper). · examples: gallery_math_stats_linalgmat_pinv matrix → matrix GPU: yes (allow-list) — Moore-Penrose pseudo-inverse via SVD, with the cutoff explicit. · examples: math_metrology, poc_machine_condition_fusionmat_qr matrix → table GPU: none — QR factorisation A = Q @ R (Q with orthonormal columns, R upper triangular). · examples: numerics_tourmat_solve matrix × signal → signal GPU: none — Solve the square linear system A x = b (LAPACK gesv, LU with partial pivoting). · examples: math_metrology, poc_colocalization_crosstalkmat_svd matrix → table GPU: none — Singular value decomposition A = U @ diag(s) @ Vt (LAPACK gesdd). · examples: math_metrology, poc_water_levelbessel signal → signal GPU: none — Bessel functions. kind = "j" (J of the 1st kind) / "y" (Y of the 2nd kind) / "i", "k" (modified). · examples: gallery_math_numerics_filterschebyshev_coeffs_nd image2d → table GPU: none — Computes N-dimensional Chebyshev coefficients from values sampled on a tensor-product Chebyshev–Lobatto grid (DCT-I). · examples: numerics_tourchebyshev_eval_nd table × matrix → signal GPU: none — Evaluates the coefficients from chebyshev_coeffs_nd at points (M, d) (per axis T_k(t) = cos(k·arccos t)). · examples: numerics_tourchebyshev_nodes no input → signal GPU: none — n Chebyshev points on the interval [a, b] (in ascending order). · examples: numerics_tourerf signal → signal GPU: none — Error function erf(x) = (2/√π) ∫_0^x e^{−t²} dt. · examples: numerics_tour, poc_battery_electrode_breathing, poc_bga_ball_type_roundtrip, poc_change_detection_misreg, poc_crack_width_timeseries, poc_dic_strain, poc_die_tilt_tsv_overlay, poc_dimensional_inspection, poc_exoplanet_transit, poc_fresco_craquelure, poc_mri_bias_field, poc_search_sweep_width, poc_settlement_significance, poc_star_astrometry, representation_roundtriperfc signal → signal GPU: none — Complementary error function erfc(x) = 1 − erf(x). For large x, computing 1 − erf by subtraction loses digits, so it is kept separately (at x = 10, 1 − erf becomes 0 but erfc is 2.1e−45). · examples: poc_dfm_thickness_overhang, poc_itof_multifreqgauss_cubature no input → table GPU: none — Nodes (n^dim, dim) and weights for quadrature over the box [a, b]^dim (a, b may also be per axis) by a tensor product of Gauss–Legendre rules. · examples: gallery_math_numerics_filtersgauss_quadrature no input → table GPU: none — Nodes and weights of n-point Gauss quadrature. ∫ f ≈ Σ w_k f(x_k). · examples: numerics_tourintegrate_hamiltonian signal × signal → table GPU: none — Integrates a named Hamiltonian system (mass 1) in time. Return value {"t","q","p","energy","energy_drift","method","system"}. · examples: numerics_tourinterp_barycentric signal × signal × signal → signal GPU: none — Evaluates at x the polynomial (degree len−1) through the points (xk, yk) with the barycentric formula (Berrut & Trefethen 2004). · examples: numerics_tourlow_discrepancy no input → matrix GPU: none — Low-discrepancy point sequence (n, dim) in [0, 1)^dim. · examples: numerics_touresprit_doa matrix → table GPU: none — ESPRIT (Roy & Kailath 1989): solves for the directions without a grid, from the array’s invariance under a “shift by 1 element”. · examples: spectral_tourhilbert_analytic signal → table GPU: yes (allow-list) — The analytic signal z = x + i·H[x] (negative frequencies removed via FFT), and the amplitude, instantaneous phase and instantaneous frequency read from it. · examples: spectral_tourlomb_scargle signal × signal × signal → table GPU: none — Lomb–Scargle periodogram of an unevenly sampled time series (t, y) (with the time offset τ of Scargle 1982, after subtracting the mean). · examples: spectral_tourmusic_doa matrix → table GPU: none — MUSIC (Schmidt 1986): searches for the directions orthogonal to the noise subspace of the covariance. · examples: spectral_tourn_sources_mdl matrix → table GPU: none — Estimates the number of sources from snapshots by the MDL criterion (Wax & Kailath 1985). · examples: gallery_math_numerics_filtersula_snapshots signal → matrix GPU: none — Generates the complex snapshots (M, K) received by a uniform linear array (an input whose direction-of-arrival answer is known in advance). · examples: spectral_tourstat_correlation matrix → matrix GPU: none — Pearson correlation matrix of (N, D) observations → (D, D). · examples: math_metrology, poc_colocalization_crosstalk, poc_ct_fidelity, poc_machine_condition_fusion, poc_thermal_radiometrystat_covariance matrix → matrix GPU: none — Sample covariance matrix of (N, D) observations → (D, D). · examples: math_metrology, poc_thermal_radiometrystat_describe signal → table GPU: none — Five-number-plus summary of a 1-D sample, as a plain dict. · examples: math_metrology, poc_thermal_radiometrystat_histogram signal → pairs GPU: none — Histogram of a 1-D sample with the binning explicit. · examples: math_metrology, poc_thermal_radiometrystat_zscore signal → signal GPU: inside a chain only (allow-list) — Standardise a 1-D sample: (x - mean) / std (population ddof=0). · examples: math_metrologyabel_inverse signal → signal GPU: none — Recovers an axisymmetric distribution f(r) from the projection A(y) (inverse Abel transform = tomography of an axisymmetric object). · examples: transforms_tourabel_inverse_image image2d → table GPU: none — Turns an image of an axisymmetric object taken from the side (vertical = direction of the symmetry axis, horizontal = distance from the axis) into a cross-section image by applying the inverse Abel transform row by row. · examples: transforms_tourabel_revolve image2d → voxel GPU: none — Revolves a cross-section f(z, r) ((H, R), r = 0, dr, …) around the symmetry axis into a 3-D volume (H, 2R−1, 2R−1). · examples: transforms_tourabel_transform signal → signal GPU: none — Maps an axisymmetric distribution f(r) (samples at r = 0, dr, 2dr, …) to its projection A(y) (forward Abel transform). · examples: transforms_tourdct_transform image2d → table GPU: none — Orthonormal DCT-II (with inverse=True, DCT-III = the inverse transform) in N dimensions. · examples: transforms_tourdwt_inverse table → image2d GPU: none — Restores the original array from the result of dwt_transform (being orthonormal, it is the transpose of the analysis). · examples: transforms_tourdwt_transform image2d → table GPU: yes (allow-list) — Multi-level, N-dimensional discrete wavelet transform with Daubechies dbN (exactly orthonormal with periodic boundaries). · examples: transforms_tourhankel_image image2d → table GPU: yes (allow-list) — Computes an axisymmetric image’s 2-D Fourier transform with a radial Hankel transform. memory_budget selects a low-memory path measured within 1e-10. · examples: transforms_tourhankel_transform signal × signal → table GPU: none — Hankel transform of order p, F(ν) = 2π ∫_0^∞ f(r) J_p(2πνr) r dr, by the quasi-discrete method. · examples: perf_hankel_plan_and_piv_stream, transforms_tourlaplace_inverse_talbot signal × signal × signal → signal GPU: none — Numerical inverse Laplace transform of a rational function F(s) = num(s)/den(s) (fixed Talbot method). · examples: transforms_tourtf_bilinear signal × signal → table GPU: none — Maps a continuous-time system to a discrete-time system with the Tustin (bilinear) transform s = K (z − 1)/(z + 1). · examples: gallery_math_numerics_filterstf_freq_response signal × signal × signal → table GPU: none — Frequency response H(jω) (the content of a Bode plot). ω is in rad/s. The phase is in degrees, unwrapped to be continuous. · examples: transforms_tourtf_impulse_response signal × signal × signal → signal GPU: none — Impulse response h(t) = L⁻¹[H(s)] (t) (the strictly proper part; the delta of the direct feedthrough term is not returned). · examples: transforms_tourtf_poles_zeros signal × signal → table GPU: none — Poles, zeros, DC gain and stability of H(s) = num/den. · examples: transforms_tourtf_step_response signal × signal × signal → signal GPU: none — Unit step response y(t) = L⁻¹[H(s)/s] (t). · examples: transforms_tourwavelet_filters no input → table GPU: none — Builds the filters of the Daubechies orthonormal wavelet dbN by the textbook construction (spectral factorization). · examples: gallery_math_numerics_filterswave_dominant_frequency image2d → table GPU: none — Return the frequency, period and orientation of the strongest periodicity of an image (the largest non-DC 2-D FFT peak) (table). · examples: wave_dominant_frequency_gratingwave_fringe_period image2d → measurement GPU: none — The period of a striped image, measured back out of it (pixels). · examples: poc_beats_fringes_and_screens, wave_dominant_frequency_gratingwave_grating_orders no input → table GPU: none — Where a grating sends each order: d (sin_out - sin_in) = m lambda solved for the angle. · examples: poc_beats_fringes_and_screens, poc_spectrometer_illuminationwave_membrane_mode no input → matrix GPU: none — One eigenmode of a vibrating membrane — the shape the sand draws. · examples: poc_beats_fringes_and_screenswave_mode_frequencies no input → signal GPU: none — The eigenvalue ladder of a membrane — a closed form you can check against. · examples: poc_beats_fringes_and_screenswave_nodal_lines matrix → mask GPU: none — Where a signed field changes sign — the nodal set, as a mask. · examples: poc_beats_fringes_and_screenswave_two_slit no input → image2d GPU: none — Two-slit interference on a screen — built from the physics, not the fringe formula. · examples: poc_beats_fringes_and_screensThe layer above the lens and below the pixel. Geometric optics (thin-lens imaging, ABCD ray transfer, depth of field, cos⁴ vignetting) / wave optics (Airy pattern, angular-spectrum propagation, Fraunhofer diffraction, Gaussian beams) / imaging quality (PSF→MTF, diffraction-limited MTF, Zernike wavefront statistics) / polarisation (Jones, Stokes, Mueller) / material property tables (matprop), optical fibres (fiber), sensor characteristics (sensorchar), global light transport and more.
cie_xyz_from_wavelength signal → points GPU: yes (allow-list) — Wavelength [nm] → the CIE 1931 2° colour-matching functions (x̄, ȳ, z̄). Returns the input shape plus a trailing 3. · examples: appearance_structural_colour, poc_chromatic_confocalgrating_rgb normalmap → rgbimage GPU: none — Normal map + light + view → the rainbow colours of diffraction, (H, W, 3) in linear sRGB. · examples: appearance_structural_colourgrating_wavelengths no input → vector GPU: none — Solve the grating equation d(sinθ_out − sinθ_in) = mλ for λ. · examples: appearance_structural_colour, poc_beats_fringes_and_screensspectrum_to_srgb signal → vector GPU: none — Spectral reflectance → linear sRGB (before gamma). Normalised so a white surface (reflectance 1) becomes (1,1,1). · examples: appearance_structural_colour, poc_material_optical_library, poc_pigment_unmixing, poc_simcal_thin_film, poc_white_balancethin_film_reflectance signal → signal GPU: yes (allow-list) — The spectral reflectance of a thin film (thickness d, index n_film). The exact characteristic-matrix solution (all multiple reflections included). · examples: appearance_structural_colour, simcal_tourthin_film_rgb normalmap → rgbimage GPU: none — Normal map + view → the colour of thin-film interference, (H, W, 3) in linear sRGB. · examples: appearance_structural_colourward_anisotropic normalmap → image2d GPU: none — Ward’s anisotropic reflection (an elliptical-Gaussian microfacet). The stretched highlight of a hairline finish. · examples: appearance_structural_colourcavity_strain_transfer no input → pairs GPU: none — Magnitude |
H(f) | of the arm-cavity transfer function from strain h(f) to output phase (pairs). · examples: poc_gw_detector_pseudo_simulation |
fabry_perot_response no input → table GPU: none — Design quantities of a Fabry-Perot cavity (FSR, finesse, linewidth, pole, power gain, storage time) in closed form. · examples: poc_gw_detector_pseudo_simulationmichelson_dc_readout no input → table GPU: none — Antisymmetric-port power, strain sensitivity and shot-noise limit of a Michelson offset by φ₀ from the dark fringe. · examples: poc_gw_detector_pseudo_simulationpdh_error_signal no input → pairs GPU: none — Pound-Drever-Hall error signal ε(δ) as a function of the detuning δ [Hz] from resonance (pairs). · examples: poc_gw_detector_pseudo_simulationquantum_noise_budget no input → table GPU: none — Quantum noise of a conventional (no signal recycling) Fabry-Perot Michelson — shot, radiation pressure and the standard quantum limit. · examples: poc_gw_detector_pseudo_simulationcoherent_image image2d × image2d → image2d GPU: yes (allow-list) — Coherent image intensity of an amplitude/phase object through a pupil (image2d). · examples: poc_fourier_ptychography, poc_laser_line_speckle_floorlaser_line_coherent no input → image2d GPU: none — A sheet-of-light laser line on a rough surface, imaged with its speckle (image2d). · examples: poc_laser_line_speckle_floor, poc_light_section_step_weld_floor, poc_weld_bead_profilespeckle_field no input → image2d GPU: none — Laser speckle intensity from a rough surface seen through a circular pupil (image2d). · examples: poc_laser_line_speckle_floorspeckle_reduction no input → table GPU: none — Predicted speckle contrast after reduction (table). · examples: poc_laser_line_speckle_floorspeckle_statistics image2d → table GPU: yes (allow-list) — First- and second-order statistics of a speckle intensity image (table). · examples: poc_laser_line_speckle_floortriangulation_speckle_limit no input → table GPU: none — Speckle floor of laser triangulation (table): δz = C λ / (2π sin u_obs sin θ). · examples: poc_laser_line_speckle_floor, poc_weld_bead_profilechromatic_confocal_limits table → table GPU: none — From the calibration table, give in closed form the measuring range, axial resolution, largest tilt that still returns light and minimum film thickness. · examples: poc_chromatic_confocalchromatic_confocal_peaks pairs → table GPU: none — Pick the peak wavelengths of a return spectrum (one, or the two faces of a transparent body) to sub-bin precision. · examples: poc_chromatic_confocal, poc_spectrometer_illuminationchromatic_confocal_probe no input → table GPU: none — Build the wavelength → focus-position calibration table (the ticks of the rainbow ruler) from an objective lens prescription. · examples: poc_chromatic_confocal, poc_spectrometer_illuminationchromatic_confocal_readout table × table → table GPU: none — Map peak wavelengths back to heights (z) through the calibration table and, for two peaks, give the thickness of the transparent layer. · examples: poc_chromatic_confocal, poc_spectrometer_illuminationchromatic_confocal_spectrum table → pairs GPU: none — Synthesise the chromatic confocal return spectrum from the surface position and the layer stack (forward model). · examples: poc_chromatic_confocal, poc_spectrometer_illuminationconfocal_axial_response no input → pairs GPU: none — Axial response I(z) of a confocal microscope (detected intensity against the defocus z [µm]) as pairs. · examples: poc_chromatic_confocalchief_ray table → table GPU: none — Trace the chief ray (through the stop centre) at one field (table). · examples: lens_optimize_demo, poc_lens_solves_afocal, poc_lens_tolerancing, poc_optics_drawings, poc_photograph_through_prescription, poc_telecentric_metrologychromatic_shift table → table GPU: none — Focal shift, image-height shift and spot size versus wavelength (table). · examples: lens_optimize_demo, poc_material_optical_library, poc_photograph_through_prescription, poc_zmx_public_verifyexample_system no input → table GPU: none — A named example: "singlet" (plano-convex BK7, f≈100), "doublet" (a cemented achromat, BK7/SF2, f≈100), "paraboloid" (f/2 paraboloid mirror — stigmatic on axis), "sphere_mirror" (same radius, spherical), "asphere" (plano-hyperbolic N-BK7 singlet, flat toward the object, exit conic k = −n² — Descartes’ stigmatic lens, f≈100 at f/4), "catalog_doublet" (the doublet with real N-BK7 / N-SF2 Sellmeier glass). · examples: anim3d_lens_aberrations, lens_calibration_loop_demo, lens_defect_dataset_demo, lens_design_demo, lens_optimize_demo, optimized_lens_tolerance_sensitivityglass no input → table GPU: none — A dispersive medium from its d-line index nd and Abbe number vd. · examples: lens_design_demo, lens_optimize_demo, poc_industrial_oct, poc_lens_global_search, poc_material_optical_library, poc_optics_drawingsglass_catalog no input → table GPU: none — A catalogue glass by name (table), or the list of names when name is None. · examples: lens_optimize_demo, poc_material_optical_library, poc_telecentric_metrologylens_system no input → table GPU: none — Build a validated sequential prescription (the table every other op consumes). · examples: anim3d_lens_aberrations, lens_calibration_loop_demo, lens_defect_dataset_demo, lens_design_demo, lens_optimize_demo, optical_design_metrics, plenoptic_capture_pipeline, poc_chromatic_confocal, poc_lens_file_roundtrip, poc_lens_global_search, poc_lens_merit_operands, poc_lens_solves_afocal, poc_lens_tolerancing, poc_material_optical_library, poc_noncoaxial_optics, poc_optics_drawings, poc_photograph_through_prescription, poc_plenoptic_camera, poc_tdi_linescan, poc_telecentric_metrology, poc_zoom_configurationsopd_map table → image2d GPU: none — Optical path difference over the exit pupil, in waves (image2d). · examples: lens_design_demoopd_samples table → table GPU: none — OPD (waves) at grid pupil samples: returns (px, py, opd, valid). · examples: anim3d_lens_aberrations, poc_lens_tolerancing, poc_noncoaxial_opticsparaxial_trace table → table GPU: none — First-order properties of the prescription: focal lengths, pupils, image. · examples: anim3d_lens_aberrations, lens_defect_dataset_demo, lens_design_demo, optical_design_metrics, poc_chromatic_confocal, poc_lens_file_roundtrip, poc_lens_global_search, poc_lens_merit_operands, poc_lens_solves_afocal, poc_material_optical_library, poc_noncoaxial_optics, poc_optics_drawings, poc_photograph_through_prescription, poc_plenoptic_camera, poc_tdi_linescan, poc_telecentric_metrology, poc_zmx_public_verify, poc_zoom_configurationsray_aiming table → table GPU: none — How well the pupil rays reach the stop at one field: counts, residual and pupil extent (table). · examples: optical_design_metricsray_bundle table → table GPU: none — Trace a pupil-filling bundle at one field; returns the raw trace plus image_xy (N,2), chief_xy (2,), pupil (N,2) normalised coordinates and opl0 (start-of-ray optical path offsets). · examples: anim3d_lens_aberrations, poc_lens_file_roundtrip, poc_lens_merit_operands, poc_lens_solves_afocal, poc_lens_tolerancing, poc_noncoaxial_optics, poc_photograph_through_prescription, poc_zmx_public_verifyray_fan table → pairs GPU: none — Transverse ray aberration along one pupil diameter (pairs). · examples: anim3d_lens_aberrations, lens_design_demoseidel_coefficients table → table GPU: none — Third-order (Seidel) aberration sums in per_surface and total. · examples: anim3d_lens_aberrations, lens_design_demo, poc_lens_file_roundtrip, poc_lens_solves_afocalsellmeier no input → table GPU: none — A dispersive medium from three-term Sellmeier constants (table). · examples: lens_optimize_demoset_vignetting table → table GPU: none — Compute the vignetting factors that remove every aperture-clipped ray, as “set vignetting” does (table). · examples: optical_design_metricsspot_diagram table → pairs GPU: none — Transverse ray intersections on the image plane for one field point. · examples: lens_design_demo, poc_lens_file_roundtripspot_stats table → table GPU: none — RMS / geometric spot radius (mm) and centroid for one field point (table). · examples: anim3d_lens_aberrations, lens_design_demo, lens_optimize_demo, optical_design_metrics, poc_lens_solves_afocal, poc_photograph_through_prescription, poc_zmx_public_verifythick_lens no input → table GPU: none — Closed-form thick lens in air: EFL, back/front focal lengths, principal points. · examples: lens_design_demo, poc_material_optical_librarytolerance_analysis table → table GPU: none — Monte-Carlo manufacturing tolerances + per-parameter sensitivities (table). · examples: lens_design_demo, poc_optics_drawingswavefront_from_opd table → table GPU: none — OPD map → Zernike coefficients (waves) → RMS / PV / Strehl, in one call (table). · examples: anim3d_lens_aberrations, lens_design_demowith_aiming table → table GPU: none — Copy of system with a ray-aiming mode and/or vignetting factors set (table). · examples: optical_design_metricswith_wavelength table → table GPU: none — The same prescription evaluated at another wavelength (indices re-resolved; default the F line). · examples: anim3d_lens_aberrations, poc_chromatic_confocal, poc_lens_file_roundtrip, poc_lens_global_search, poc_lens_merit_operands, poc_material_optical_library, poc_photograph_through_prescriptiondrawing_dxf table → text GPU: none — Writes a drawing as DXF R12 (AC1009) ASCII (text) — the smallest complete file a CAD program accepts, standard library only. · examples: poc_optics_drawingsdrawing_raster table → rgbimage GPU: none — Renders a drawing to an RGB image (uint8, (H, W, 3)) (rgbimage) — with matplotlib (optional dependency), paper size × dpi. · examples: poc_lens_file_roundtrip, poc_noncoaxial_optics, poc_optics_drawingsdrawing_svg table → text GPU: none — Writes a drawing as SVG text (text) — standard library only, coordinates in real millimetres, paper size = drawing × scale. · examples: poc_optics_drawingsdxf_entities text → table GPU: none — Reads the ENTITIES of a DXF (R12 ASCII; LWPOLYLINE from R2000 on is accepted too) back into drawing entities (table). · examples: poc_optics_drawingslens_element_drawing table → table GPU: none — Manufacturing drawing of a single lens (table, a drawing dict) — ISO 10110 notation with a section view, the three-field data table and a title block. · examples: poc_optics_drawingslens_section_drawing table → table GPU: none — Meridional lens layout (table, a drawing dict) — the prescription’s surfaces, edges, stop and image plane, real rays coloured by field, and dimensions. · examples: poc_lens_file_roundtrip, poc_optics_drawingsnoncoaxial_drawing table → table GPU: none — Section / setup drawing of a folded system (table, a drawing dict) — the surfaces, mirrors, beamsplitters, image plane and rays of a raytrace3d system, projected onto the meridional plane in global coordinates. · examples: poc_noncoaxial_opticssvg_entities text → table GPU: none — Reads an SVG (the shape drawing_svg writes: line / polyline / polygon / circle / path with M…A… and M…L… / text) back into drawing entities (table), flipping y back to the drawing model’s upward axis. · examples: poc_optics_drawings, poc_real_sem_metal_layervision_setup_drawing table → table GPU: none — Machine-vision setup drawing (table, a drawing dict) — side and top views drawn from optscene.vision_layout. · examples: poc_optics_drawingsfiber_bundle_coupling no input → table GPU: none — Fraction of light that enters a light guide (fibre bundle) and comes out. · examples: poc_fiber_light_guidefiber_lp_modes no input → table GPU: none — LP_lm modes of a weakly guiding step-index fibre: solves the characteristic equation and returns u, w and the normalised propagation constant b of each mode (table). · examples: poc_fiber_light_guidefiber_mode_field_diameter no input → table GPU: none — Mode field diameter (MFD) of LP01 in µm —— the 1/e² diameter of the Gaussian with the largest overlap with the exact field. · examples: poc_fiber_light_guidefiber_numerical_aperture no input → table GPU: none — Numerical aperture NA = √(n_core² − n_clad²), the acceptance half-angle (degrees) and the relative index difference Δ. Indices are numbers or material names. · examples: poc_fiber_light_guidefiber_v_number no input → table GPU: none — Normalised frequency V = 2π a NA / λ and whether the fibre is single-mode (V < 2.4048, the first zero of J0). · examples: poc_fiber_light_guidematerial_group_index no input → pairs GPU: none — Group index n_g(λ) = n − λ dn/dλ as pairs (λ [nm], n_g) (the material is a name in materials). · examples: poc_fiber_light_guidematerial_gvd no input → pairs GPU: none — Material dispersion parameter D(λ) = −(λ/c) d²n/dλ² in ps/(nm·km), as pairs (λ [nm], D). · examples: poc_fiber_light_guidefilm_color no input → table GPU: none — Interference colour as the film thickness varies (the wafer colour chart), seen under D65 with the CIE 1931 colour-matching functions. · examples: poc_thin_film_reflectometryfilm_thickness_fft pairs → table GPU: none — Film thickness from the period of the interference fringes in a reflectance spectrum (FFT method), with dispersion corrected from the material table’s n(λ). · examples: poc_thin_film_reflectometryfilm_thickness_fit pairs → table GPU: none — Film thickness by fitting the transfer-matrix model to a reflectance spectrum (non-linear least squares: a global grid search, then local refinement). · examples: poc_thin_film_reflectometryfilm_thickness_map images → table GPU: none — Per-pixel film thickness from a spectral image (reflectance per band) or an RGB image (look-up table plus parabolic refinement). · examples: poc_thin_film_reflectometrymultilayer_reflectance no input → pairs GPU: none — Spectral reflectance (or transmittance / absorptance) of a multilayer film as pairs (λ nm, value): the exact characteristic-matrix (transfer-matrix) solution. · examples: poc_simcal_thin_film, poc_thin_film_reflectometryblast_normals normalmap → normalmap GPU: yes (allow-list) — Lay the non-directional micro-roughness of bead blasting / a matte finish onto the normals. · examples: machined_metal_and_materials, poc_illumination_cone_vs_na, poc_telecentric_metrologyfinish_catalog no input → table GPU: none — Finish name → its default parameters (αx, αy, grain). · examples: machined_metal_and_materialsfinish_shade normalmap → rgbimage GPU: none — Shade a metal surface by material × finish → linear sRGB (H, W, 3). · examples: machined_metal_and_materials, poc_telecentric_metrologymicro_normals normalmap → normalmap GPU: none — Cut the machining marks themselves into the normals (lathe feed marks, the ridges of a knurl). · examples: machined_metal_and_materials, poc_illumination_cone_vs_na, poc_telecentric_metrologytangent_field no input → normalmap GPU: none — Build the direction of the lay as a tangent field of (H, W, 3). · examples: machined_metal_and_materialsfp_capture image2d × image2d → table GPU: yes (allow-list) — Simulate the set of low-resolution images taken under oblique illumination from an LED array (table, kind=”fp_stack”). · examples: poc_fourier_ptychographyfp_design no input → table GPU: none — Fourier ptychography performance in closed form before measuring (table): synthetic NA, cut-off period, spectral overlap ratio, number of LEDs and pixel sampling. · examples: poc_fourier_ptychographyfp_element_contrast image2d × table → table GPU: none — Measure the modulation of the three bars of every USAF element and read how far the image resolves (table). · examples: poc_fourier_ptychographyfp_reconstruct table → table GPU: none — Recover the high-resolution amplitude and phase from the set of low-resolution images (table, kind=”fp_result”). Refuses if it does not converge. · examples: poc_fourier_ptychographyfp_stack_from_images volume × signal × signal → table GPU: none — Turn an image set from an instrument or public data into this family’s table (table, kind=”fp_stack”). · examples: poc_fourier_ptychographyfp_usaf_target no input → table GPU: none — Object made of tiled USAF 1951 chart elements (table): amplitude (dark bars), phase (bar phase is phase_rad), or both. · examples: poc_fourier_ptychographyabcd_matrix table → matrix GPU: none — Compose a paraxial system into one 2x2 ray-transfer (ABCD) matrix. · examples: optics_imagingabcd_trace matrix → table GPU: none — Propagate one paraxial ray through an ABCD matrix. · examples: optics_imagingdepth_of_field no input → table GPU: none — Photographic depth of field: near limit, far limit and hyperfocal distance. · examples: lightfield_depth, optics_imaging, poc_photograph_through_prescriptionrelative_illumination no input → pairs GPU: none — Natural vignetting: relative image-plane illuminance versus field angle. · examples: optics_imaging, poc_photograph_through_prescription, poc_search_sweep_width, poc_tdi_linescanthin_lens no input → table GPU: none — Gaussian thin-lens imaging: where the image lands and how big it is. · examples: lightfield_depth, optics_imagingbeer_lambert_transmittance signal → signal GPU: inside a chain only (allow-list) — Beer–Lambert internal transmittance T = exp(−σ·L). The green cast of coloured and thick glass. · examples: glass_and_mirror_optics, poc_pv_thermal_survey, poc_thermal_radiometry, poc_water_transparent_mediaprism_min_deviation_deg signal → signal GPU: none — A prism’s angle of minimum deviation [deg]. It varies with wavelength through the dispersion of real glass — that is why you see a rainbow. · examples: glass_and_mirror_opticsrefract_rays points × points → points GPU: none — The vector form of Snell refraction. Total internal reflection is decided per ray; returns (direction, TIR mask). · examples: glass_and_mirror_optics, poc_water_transparent_mediaslab_transmittance signal → signal GPU: yes (allow-list) — The transmittance of a parallel plate (window glass). Includes multiple reflections at both faces and internal absorption. · examples: glass_and_mirror_optics, machined_metal_and_materialsdarkfield_scatter_relation no input → table GPU: none — Converts between the dark field D (a visibility ratio) and the width σ of the scattering-angle distribution (published formula for Gaussian scattering). · examples: grating_interferometrydpc_integrate table → table GPU: none — Integrates the differential phase (fringe phase shift φ) along the grating’s sensitive direction back to the wavefront phase Φ [rad]. · examples: grating_interferometry, poc_grating_interferometrygrating_step_period_estimate images → table GPU: none — Estimates how many steps make one period (P) from a phase-stepping stack, as the minimum of the sine-fit residual. · examples: grating_interferometry, poc_grating_interferometrygrating_stepping_simulate image2d → images GPU: inside a chain only (allow-list) — Builds a phase-stepping image stack (N, H, W) from three maps: transmission, differential phase and dark field (forward model). · examples: grating_interferometry, poc_grating_interferometrygrating_three_image_retrieve images × images → table GPU: yes (allow-list) — Separates transmission, differential phase and dark field from two phase-stepping stacks (with and without the sample). · examples: grating_interferometry, poc_grating_interferometrytalbot_carpet no input → table GPU: none — Talbot carpet: the intensity I(x, z) behind a binary grating (π phase, π/2 phase or absorption) in closed form as a sum over diffraction orders. · examples: grating_interferometry, poc_grating_interferometrytalbot_grating_design no input → table GPU: none — Grating-interferometer geometry: self-image distances of the first grating (fractional Talbot distances), fringe and analyser-grating periods, source-grating period (closed form). · examples: grating_interferometry, poc_grating_interferometrytalbot_source_visibility no input → table GPU: none — How much the fringe visibility drops for a given source size and source grating (Lau condition), in closed form as an incoherent sum. · examples: grating_interferometry, poc_grating_interferometrycamera_response_debevec images → table GPU: none — Inverse camera response from an exposure series by Debevec & Malik’s least squares (table). · examples: poc_hdr_glossy_metal_inspectioncamera_response_linear no input → table GPU: none — Inverse response of a linear sensor: X = (Z − offset) / gain (table). · examples: poc_hdr_glossy_metal_inspectioncamera_response_robertson images → table GPU: none — Inverse camera response by Robertson, Borman & Stevenson’s alternating estimate (table). · examples: poc_hdr_glossy_metal_inspectionexposure_fusion_mertens images → image2d GPU: none — Fuse an exposure series directly into one well-exposed image (image2d; RGB lists also work). · examples: poc_hdr_glossy_metal_inspectionhdr_dynamic_range no input → table GPU: none — Measured dynamic range of an HDR capture (EMVA 1288 definition) with its closed form (table). · examples: poc_hdr_glossy_metal_inspectionhdr_exposure_series_simulate image2d → images GPU: none — Shoot a known-radiance scene as an exposure series with an EMVA 1288 sensor model (images). · examples: poc_hdr_glossy_metal_inspectionhdr_merge images → image2d GPU: none — Merge an exposure series into a relative radiance map (image2d). · examples: poc_hdr_glossy_metal_inspectionhdr_radiance_error image2d × image2d → table GPU: none — Error of an estimated radiance map against the true one, after one fitted scale (table). · examples: poc_hdr_glossy_metal_inspectioncoaxial_illumination no input → table GPU: none — Coaxial (half-mirror) lighting: the round-trip T*R budget and the image a camera sees (table). · examples: poc_spectrometer_illuminationdefect_contrast table → table GPU: none — Contrast of topographic and pigment defects under a light (table). · examples: illumination_design_demoillumination_design no input → table GPU: none — Rank the standard light families for a surface / defect pairing (table). · examples: illumination_design_demo, poc_solder_fillet_aoiillumination_field table → image2d GPU: none — Irradiance on the specimen of an illumination train (image2d), by paraxial backward tracing. · examples: poc_document_scan, poc_spectrometer_illuminationillumination_train no input → table GPU: none — A microscope illumination train (kohler or critical) laid out paraxially (table). · examples: poc_spectrometer_illuminationillumination_uniformity image2d → table GPU: none — Uniformity figures of an irradiance map (table). · examples: illumination_design_demoirradiance_map table → image2d GPU: none — Irradiance on the part plane (image2d, units of intensity / mm²). · examples: illumination_design_demolight_source no input → table GPU: none — An emitter set for a standard machine-vision light family (table). · examples: illumination_design_demo, poc_pocket_interreflection, poc_pod_lighting, virtual_machine_visionlighting_sweep no input → pairs GPU: none — Defect contrast versus ring-light elevation angle (pairs). · examples: illumination_design_demosolid_angle_boundaries table → table GPU: none — Closed-form slope thresholds of a smooth specular facet (table). · examples: poc_illumination_cone_vs_nasolid_angle_brightness table → table GPU: none — Brightness of a smooth or rough specular facet versus its slope (table). · examples: poc_illumination_cone_vs_nasolid_angle_light no input → table GPU: none — A light defined by the cone of directions it delivers to every point (table). · examples: poc_illumination_cone_vs_nasolid_angle_render normalmap × table → image2d GPU: none — Image of a normal map under a cone light through a lens of NA view_na (image2d). · examples: poc_illumination_cone_vs_nasolid_angle_sweep no input → pairs GPU: none — Contrast of a facet against flat ground versus the illumination half-angle (pairs). · examples: poc_illumination_cone_vs_naedge_spread image2d → table GPU: none — Builds an ESF finer than a pixel from the ROI of a slanted edge (ISO 12233). · examples: poc_pixel_shift, poc_veiling_glareencircled_energy image2d → pairs GPU: none — Encircled energy of a point-spread function: the fraction of the energy inside a circle of radius r. · examples: optical_design_metrics, poc_zoom_configurationsenergy_radii image2d → table GPU: none — The radius that holds a given fraction of a point-spread function’s energy (table). · examples: optical_design_metricsensquared_energy image2d → pairs GPU: yes (allow-list) — Ensquared energy of a point-spread function: the fraction of the energy inside a square of half-width w. · examples: optical_design_metricsmtf50 pairs → measurement GPU: none — The frequency at which the SFR (pairs: frequency, value) first drops below 0.5 (linear interpolation). If it never drops below 0.5, ValueError (it does not silently return “0.5 or above up to the top of the measurable range” as the maximum value). · examples: poc_lens_file_roundtrip, poc_pixel_shift, poc_veiling_glaremtf_diffraction no input → pairs GPU: none — The diffraction-limited MTF of a circular pupil (closed form). · examples: optics_imaging, poc_lens_file_roundtrip, poc_pixel_shift, poc_slanted_edge_sfr_limits, poc_veiling_glaremtf_tangential_sagittal image2d → table GPU: yes (allow-list) — Tangential and sagittal MTF from the 2-D transform of a point-spread function (table). · examples: optical_design_metricspsf_to_mtf image2d → pairs GPU: yes (allow-list) — Radially-averaged MTF of a measured point-spread function. · examples: optics_imaging, poc_lens_file_roundtrip, poc_veiling_glare, poc_zmx_public_verifysfr_from_edge table → pairs GPU: none — Derives the SFR (MTF measured from an edge) from the ESF. · examples: poc_pixel_shift, poc_veiling_glareveiling_glare_index image2d × image2d × image2d → table GPU: none — Veiling glare (stray light) index: mean brightness at the centers of the black spots / mean brightness of the white background (following the approach of ISO 9358). · examples: poc_veiling_glarewavefront_stats table → table GPU: none — Wavefront error statistics from a Zernike expansion: RMS, PV and Strehl. · examples: optics_imaging, poc_zernike_aberrationscalibration_views table → table GPU: none — Synthetic camera-calibration views of a planar target through the designed lens (table). · examples: lens_calibration_loop_demodefect_dataset no input → table GPU: none — Synthetic defect images through a designed lens, with aligned masks (table). · examples: lens_defect_dataset_demodistortion_map table → table GPU: none — Real chief-ray height versus the paraxial one, and the remap grid (table). · examples: lens_defect_dataset_demo, poc_photograph_through_prescription, poc_zmx_public_verifypsf_from_opd table → image2d GPU: none — Diffraction PSF of the real, aberrated pupil (image2d, sums to 1). · examples: lens_defect_dataset_demo, optical_design_metrics, poc_zmx_public_verifyrender_through_lens image2d × table → image2d GPU: none — Render an ideal irradiance image as the sensor behind system would record it (image2d). · examples: lens_defect_dataset_demo, poc_zmx_public_verifythrough_focus_mtf table → table GPU: none — Tangential and sagittal MTF at chosen spatial frequencies for a range of image-plane positions (table). · examples: lensfile_tolerance_worst_mtf, optical_design_metricsbrewster_angle_deg no input → measurement GPU: none — Brewster angle [deg] = atan(n2/n1) — at this angle the p-polarised reflection is exactly zero. · examples: example_polarization_metal, glass_and_mirror_opticscritical_angle_deg no input → measurement GPU: none — Critical angle of total internal reflection [deg] = asin(n2/n1). Raises ValueError unless n1 > n2 (it does not exist otherwise). · examples: glass_and_mirror_opticsfresnel_conductor signal → signal GPU: yes (allow-list) — Reflectance at a metal interface (complex refractive index n + ik). The incident side is assumed to be vacuum/air. · examples: example_polarization_metal, glass_and_mirror_optics, poc_material_optical_library, poc_polarization_specularfresnel_dielectric signal → signal GPU: yes (allow-list) — Fresnel reflectance at a dielectric interface (array-capable, total internal reflection included). · examples: example_polarization_metal, glass_and_mirror_optics, poc_phase_measuring_deflectometry, poc_polarization_specular, poc_pv_thermal_survey, poc_shape_from_polarizationitof_capture depth → table GPU: none — Depth map → raw indirect-ToF signal (K phase-step buckets per modulation frequency, in electrons). Returns a table (dict). · examples: poc_3d_sensor_modalities, poc_itof_multifreqitof_flying_pixel_mask depth → image2d GPU: none — Depth map → mask of flying pixels (pixels floating between foreground and background), (H, W) (1.0 = floating). · examples: poc_3d_sensor_modalities, poc_itof_multifreq, tof_realdataitof_multipath_separate table → table GPU: none — Phasors measured at equally spaced frequencies → depth and strength of each path (matrix pencil). Returns a table. · examples: poc_itof_multifreqitof_noise_budget no input → table GPU: none — Closed-form depth noise of indirect ToF (one pixel, one frequency, K equally spaced steps). Returns a table. · examples: poc_3d_sensor_modalities, poc_itof_multifreqitof_phase_amplitude table → table GPU: none — K-step raw signal → phase, amplitude, offset, wrapped depth and a per-pixel depth-noise estimate (table). · examples: poc_3d_sensor_modalities, poc_itof_multifreqitof_unwrap_error_rate no input → table GPU: none — Estimated probability that multi-frequency unwrapping (maximum-likelihood decoding) picks the wrong wrap order. Returns a table. · examples: poc_itof_multifreqitof_unwrap_multifreq table → table GPU: none — Phases at several frequencies → depth (multi-frequency unwrapping). Returns a table. · examples: poc_itof_multifreqitof_wiggling_correct table → table GPU: none — Phase and depth with the harmonic cyclic error (wiggling) corrected. Returns a table. · examples: poc_itof_multifreqlens_add_configuration table → table GPU: none — Return a copy of system with one more configuration appended (table). · examples: poc_zoom_configurationslens_configuration_metrics table → table GPU: none — List one metric (EFL, back focal length, RMS spot, MTF, encircled energy) per configuration (table). · examples: poc_zoom_configurationslens_configuration_table table → table GPU: none — Return the multi-configuration table (rows = what changes between configurations, columns = configurations) (table). · examples: poc_zoom_configurationslens_configurations table → table GPU: none — Resolve a multi-configuration prescription into one lens_system per configuration (table). · examples: poc_zoom_configurationslens_with_configuration table → table GPU: none — Return configuration k (0-based) of a multi-configuration prescription as a resolved lens_system (table). · examples: poc_zoom_configurationslens_file_read no input → table GPU: none — Read a .zmx sequential lens prescription into a Fullseye prescription (table). · examples: lensfile_tolerance_worst_mtf, optical_design_metrics, poc_lens_file_roundtrip, poc_lens_solves_afocal, poc_zmx_public_verify, poc_zoom_configurationslens_file_report no input → table GPU: none — Inventory of a .zmx file without importing it: what would be read / ignored / refused (table). · examples: poc_lens_file_roundtriplens_file_system table → table GPU: none — The imported prescription as a raytrace.lens_system at one field and wavelength (table). · examples: poc_lens_file_roundtriplens_file_write table → table GPU: none — Write a prescription as .zmx text that :func:lens_file_read and design programs read (table). · examples: poc_lens_file_roundtrip, poc_lens_solves_afocal, poc_zoom_configurationsglass_nearest no input → table GPU: none — Return the k catalogue glasses nearest to (n_d, V_d), with their distances (table). · examples: poc_lens_global_searchlens_global_search table → table GPU: none — Collect local optima with multi-start local optimisation (lensopt.optimize_lens) and return them in merit order (table). · examples: poc_lens_global_searchlens_substitute_glasses table → table GPU: none — Replace the model glasses (n_d, V_d) of a system by the k-th nearest catalogue glass (table). · examples: poc_lens_global_searchmerit_boundary_operands table → table GPU: none — Turn manufacturing bounds into table rows: edge thickness of every glass, centre-thickness and air-gap ranges (table). · examples: poc_lens_merit_operandsmerit_contributions table → table GPU: none — Show which rows dominate the merit function: a table of percentages, largest first (table). · examples: poc_lens_merit_operandsmerit_default table → table GPU: none — Build the default merit function as an operand table: whole-pupil ray rows plus the EFL hold (table). · examples: optimized_lens_tolerance_sensitivity, poc_lens_merit_operandsmerit_evaluate table → table GPU: none — Apply an operand table to a prescription and return each row’s value, target, weight, contribution and share (table). · examples: poc_lens_merit_operandsmerit_operands_list no input → table GPU: none — List the operands of the merit function: name, meaning, unit and arguments (table). · examples: poc_lens_merit_operandsoptimize_lens_operands table → table GPU: none — Minimise the operand-table merit function by Levenberg-Marquardt; glass can be a variable too (table). · examples: optimized_lens_tolerance_sensitivity, poc_lens_merit_operandsbokeh_shape table → table GPU: none — The out-of-focus footprint of a point source - the intersection of the pupil images, the cat’s eye -> dict. · examples: poc_photograph_through_prescriptionexit_pupil_samples table → table GPU: none — Sample points on the exit pupil of system (position and radius from the paraxial trace) -> dict. · examples: poc_photograph_through_prescriptionlens_scene no input → table GPU: none — Build and validate a simple 3-D scene for :func:render_scene_through_lens -> dict (the scene table). · examples: plenoptic_capture_pipeline, poc_photograph_through_prescription, poc_plenoptic_camerarender_compare_prescriptions no input → table GPU: none — Render the same scene through two or more prescriptions and tabulate how good each picture is -> dict. · examples: poc_photograph_through_prescriptionrender_ghost_overlay table → table GPU: none — The two-reflection ghosts of a bright point, as electrons on the sensor -> dict. · examples: poc_photograph_through_prescriptionrender_scene_through_lens table → table GPU: none — Photograph a :func:lens_scene through the prescription system: sensor-side ray tracing -> dict. · examples: poc_photograph_through_prescriptionscene_radiance no input → table GPU: none — Radiance along object-space rays hitting a :func:lens_scene -> dict. · examples: poc_dehazingtrace_sensor_rays table → table GPU: none — Trace rays from sensor points through exit-pupil points backwards to object space -> dict. · examples: poc_photograph_through_prescriptionafocal_system table → table GPU: none — Build an afocal system (telescope, beam expander): flag a given system as afocal, or make an ideal two-lens telescope (table). · examples: poc_lens_solves_afocallens_afocal_report table → table GPU: none — Angular magnification, exit pupil and angular aberrations per field (in arcminutes) of an afocal system (table). · examples: poc_lens_solves_afocallens_apply_solves table → table GPU: none — Return a copy of the prescription with every solve resolved: the rules stay, R / t become the solved values (table). · examples: poc_lens_solves_afocallens_image_surface table → table GPU: none — Return a prescription with a curved image surface: rays meet this surface, and spot, OPD and MTF are measured on it (table). · examples: poc_lens_solves_afocallens_petzval_radius table → table GPU: none — Petzval radius in image space: the radius of the image surface that removes the third-order field curvature (table). · examples: poc_lens_solves_afocallens_solve_clear table → table GPU: none — Remove the solve rule of a surface: the solved values stay as plain numbers (table). · examples: poc_lens_solves_afocallens_solve_set table → table GPU: none — Attach a solve rule to a surface and return the solved prescription (table). · examples: poc_lens_solves_afocallens_solves_list table → table GPU: none — List the solves in place: rule, solved value, achieved quantity and error (table). · examples: poc_lens_solves_afocallens_zmx_solves_roundtrip table → table GPU: none — Write the solves to a .zmx, read it back and write again: check that this is a fixed point (table). · examples: poc_lens_solves_afocallaser_line_center_centroid image2d → table GPU: none — Sub-pixel centre of a bright laser line in every column by the intensity centroid (table). · examples: poc_3d_sensor_modalities, poc_weld_bead_profilelaser_line_center_gauss image2d → table GPU: none — Sub-pixel line centre per column by a Gaussian fit = weighted parabola on ln I (table). · examples: poc_light_section_step_weld_floorlaser_line_center_steger image2d → table GPU: none — Sub-pixel line centre by Steger’s Hessian method (table). · examples: poc_light_section_step_weld_floorlight_plane_calibrate table × table × matrix → table GPU: none — Fit the laser plane n · X = d (camera frame) from lines on known planes (table). · examples: poc_light_section_step_weld_floorlight_section_floor_sweep no input → table GPU: none — Sweep one quantity and return simulated vs closed-form height uncertainty (table). · examples: poc_light_section_step_weld_floorlight_section_height_map images × table → depth GPU: none — Height map over (frame, image column) from a scan (depth; NaN = not measured). · examples: poc_light_section_step_weld_floorlight_section_profile table × table → points GPU: none — Triangulate line centres into 3-D points: viewing ray ∩ laser plane (points). · examples: poc_light_section_step_weld_floorlight_section_render table × pairs → image2d GPU: none — Image of the laser line on a surface profile seen by the rig’s camera (image2d). · examples: poc_light_section_step_weld_floorlight_section_rig no input → table GPU: none — A light-section rig with known geometry (table): pinhole camera + laser plane. · examples: poc_light_section_step_weld_floorlight_section_scan images × table → points GPU: none — Scan: frame k sees the part moved by k · step_mm → one point cloud in the part’s frame (points). · examples: poc_light_section_step_weld_floorlight_section_speckle_floor no input → table GPU: none — Speckle floor of a light-section height, simulated and in closed form side by side (table). · examples: poc_3d_sensor_modalities, poc_light_section_step_weld_floorlight_section_targets table → table GPU: none — Known horizontal planes Z = h (gauge blocks, a step, the base) as camera-frame planes (table). · examples: poc_light_section_step_weld_floorlight_section_uncertainty_budget no input → table GPU: none — Uncertainty budget of a light-section height as a GUM table (table). · examples: poc_light_section_step_weld_floorform_factors_2d table → matrix GPU: none — Patch-to-patch form factors of a concave 2-D (extruded) cross-section by Hottel’s crossed-strings rule. · examples: poc_3d_sensor_modalities, poc_interreflection_fringe_error, poc_itof_multifreqfringe_multipath_phase_error no input → table GPU: none — Phase measured when a direct fringe phasor and a global phasor add: arg(a1 e^{iφ1} + a2 e^{iφ2}), its bias against φ1, and the worst case asin(a2/a1). · examples: poc_interreflection_fringe_errorgroove_profile no input → table GPU: none — Split a concave cross-section (V-groove, circular trough, fillet or any concave polyline) into patches, one camera pixel column each. · examples: converge_tour, poc_3d_sensor_modalities, poc_interreflection_fringe_error, poc_itof_multifreqhigh_frequency_patterns no input → images GPU: none — Shifted high-frequency projector patterns: binary stripes with fill ratio α, a checkerboard, or phase-shifted sinusoids (one or several periods). · examples: poc_interreflection_fringe_errormicro_phase_decode images → table GPU: yes (allow-list) — Decode a narrow-band high-frequency fringe set (micro phase shifting, Gupta & Nayar 2012) into an absolute projector coordinate, ordering the fringes by the beat of the first two periods. · examples: poc_interreflection_fringe_errorpredict_fringe_phase_error table → table GPU: none — Predict, per camera pixel, the fringe-phase bias and height error that interreflection causes in phase-shifting profilometry, from the light-transport matrix. · examples: poc_interreflection_fringe_errorrender_transport table × images → images GPU: yes (allow-list) — Render camera images of a concave Lambertian cross-section under projector patterns, through the light-transport matrix (direct + interreflection). · examples: poc_interreflection_fringe_errorseparate_direct_global images → table GPU: yes (allow-list) — Separate direct and global (interreflection) components from images under shifted high-frequency patterns, from per-pixel L_max and L_min (Nayar et al. 2006). · examples: poc_interreflection_fringe_errortof_multipath_phase no input → table GPU: none — Continuous-wave time-of-flight depth when several light paths reach one pixel: the phase of the phasor sum, and its bias against the direct path. · examples: poc_interreflection_fringe_error, poc_itof_multifreqtof_transport_depth table → table GPU: none — AMCW time-of-flight depth of a concave Lambertian cross-section (a room corner) with every interreflection delayed by its path length: complex radiosity, per-pixel depth bias. · examples: poc_interreflection_fringe_error, poc_itof_multifreqtransport_matrix_radiosity table → table GPU: none — Light-transport matrix of a Lambertian concave cross-section: radiosity B = T E with T = (I − diag(ρ)F)^-1 diag(ρ). · examples: poc_interreflection_fringe_error, poc_itof_multifreqlens_field_profile table → table GPU: none — Relative illumination and MTF for each image height, by ray tracing (table, object at a finite distance — the line-scan use). · examples: poc_tdi_linescanlinescan_acquire image2d → table GPU: none — Image a reflectance map web with a TDI line-scan camera while it is transported past the sensor (table). · examples: poc_tdi_linescanlinescan_lens_columns table → table GPU: none — Turn the image-height table of lens_field_profile into illumination and blur for each pixel column of a line sensor (table). · examples: poc_tdi_linescanlinescan_lens_example no input → table GPU: none — Two models of a line-scan imaging system (a table from raytrace.lens_system). · examples: poc_tdi_linescantdi_snr no input → table GPU: none — SNR of a TDI sensor for each stage count N (table) — the EMVA 1288 linear model scaled by the number of stages. · examples: poc_tdi_linescantdi_sync_mtf no input → table GPU: none — MTF of the blur caused by a TDI synchronisation error and by yaw (a skewed web) (closed form, table). · examples: poc_tdi_linescanlockin_amplitude video → image2d GPU: none — Amplitude map A of the part of every pixel that follows the reference -> (H, W) image. · examples: poc_lockin_imaginglockin_demodulate video → table GPU: none — Per-pixel quadrature demodulation of an image sequence against a sinusoidal reference -> dict of maps. · examples: poc_lockin_imaginglockin_noise_floor no input → table GPU: none — Closed-form noise of the lock-in amplitude and phase for white noise -> dict. · examples: poc_lockin_imaginglockin_phase video → image2d GPU: none — Phase map phi (radians, (-pi, pi]) of the part of every pixel that follows the reference -> (H, W) image. · examples: poc_lockin_imaginglockin_ring_normals table → table GPU: none — Surface normals from the first-harmonic response of a dipole-modulated ring -> dict of maps. · examples: poc_lockin_imaginglockin_ring_synthesize image2d → video GPU: none — A Lambertian relief lit by a ring of modulated sources -> image sequence (T, H, W). · examples: poc_lockin_imaginglockin_separate video → table GPU: none — Separate coded lights and the uncoded rest by least squares against zero-mean codes -> dict of maps. · examples: poc_lockin_imaginglockin_thermal_wave image2d → video GPU: none — Steady-state surface temperature of a plate heated by a sinusoidal flux, per pixel -> image sequence (T, H, W). · examples: poc_lockin_imaging, poc_thermal_drift_metrologylockin_walsh_codes no input → matrix GPU: none — Orthogonal zero-mean on/off codes for coded intermittent lighting -> (n_codes, n_frames) matrix of +-1. · examples: poc_lockin_imagingclearcoat_shade rgbimage × normalmap → rgbimage GPU: none — Put a transparent top coat over the surface (car paint, ceramic glaze, glossy plastic). · examples: machined_metal_and_materials, poc_telecentric_metrologymaterial_catalog no input → table GPU: none — Material name → its defaults (diffuse roughness / clear-coat strength and roughness / the sheen of cloth). · examples: machined_metal_and_materialsoren_nayar normalmap → image2d GPU: none — Shading of a rough diffuse surface (Oren–Nayar). How paper, plaster, concrete and the Moon look. · examples: machined_metal_and_materialssheen_shade normalmap → image2d GPU: none — The rim sheen of cloth (velvet, satin). The more grazing to the view, the brighter. · examples: machined_metal_and_materialssubsurface_approx normalmap → image2d GPU: none — An approximation of translucent wrap-around light (leaves, skin, marble, milky plastic). · examples: machined_metal_and_materialswetness rgbimage → rgbimage GPU: yes (allow-list) — The base colour of a wet surface. The diffuse gets darker (and the specular grows). · examples: machined_metal_and_materialsabbe_number no input → table GPU: none — Refractive indices at the Fraunhofer lines, Abbe numbers (d and e systems) and partial dispersion P_g,F. · examples: anim3d_lens_aberrations, poc_chromatic_confocal, poc_material_optical_libraryacoustic_impedance_mismatch no input → table GPU: none — Return the acoustic-impedance mismatch at normal incidence between two materials. · examples: poc_material_optical_librarycarbon_black_absorption no input → pairs GPU: none — Absorption coefficient α [1/mm] added by carbon black (the pigment of black plastics). · examples: poc_equipment_selection_map, poc_hyperspectral_foreign_matterglass_map no input → table GPU: none — Points of the Abbe diagram (V_d vs n_d): name / class / nd / vd / PgF for every visibly transparent material. · examples: poc_lens_global_search, poc_material_optical_library, poc_optics_drawingsmaterial_absorption no input → pairs GPU: none — Absorption-coefficient curve α(λ) = 4πk/λ [1/cm] as pairs (λ [nm], α). · examples: poc_material_optical_librarymaterial_acoustic no input → table GPU: none — Return acoustic properties and provenance stored in a material record. · examples: poc_material_optical_librarymaterial_dispersion no input → pairs GPU: none — Dispersion curve n(λ) as pairs (λ [nm], n), evenly spaced n_points. · examples: poc_fiber_light_guide, poc_material_optical_librarymaterial_electron_properties no input → table GPU: none — Electron-beam properties (per-element Z, A and mass fraction, density, secondary-electron escape depth and generation energy). · examples: poc_virtual_sem_kv_cd_bsematerial_extinction no input → pairs GPU: none — Extinction-coefficient curve k(λ) as pairs (λ [nm], k); 0 where no k table exists. · examples: poc_material_optical_librarymaterial_from_curves no input → table GPU: none — Build a material record from measured n(λ) (and k(λ)) given as pairs (λ [nm], value). · examples: poc_material_optical_librarymaterial_from_sellmeier no input → table GPU: none — Build a material record from Sellmeier coefficients (n² − 1 = Σ Bᵢ λ²/(λ² − Cᵢ), λ in µm, Cᵢ in µm²). · examples: poc_dual_energy_xray, poc_material_optical_librarymaterial_nir_absorption no input → pairs GPU: none — Near-infrared (0.9–2.5 µm) absorption coefficient α(λ) [1/mm] (natural log) as a sum of absorption bands. · examples: poc_equipment_selection_map, poc_hyperspectral_foreign_mattermaterial_optical_constants no input → table GPU: none — Optical constants n, k at one wavelength, with the absorption coefficient, complex permittivity and normal-incidence reflectance. · examples: poc_chromatic_confocal, poc_industrial_oct, poc_material_optical_library, poc_nir_silicon_transmissionmaterial_record no input → table GPU: none — The record of one material (class, aliases, primary sources per wavelength segment, catalogue values). · examples: poc_material_optical_librarymaterial_reflectance no input → pairs GPU: none — Reflectance R(λ) of an air-to-material interface as pairs (λ [nm], R) (Fresnel, complex index). · examples: poc_chromatic_confocal, poc_material_optical_librarymaterial_table no input → table GPU: none — List the bundled material table (name, class, wavelength range, n_d, V_d, source). · examples: poc_material_optical_librarymaterial_transmittance no input → pairs GPU: none — Transmittance T(λ) of a plane-parallel plate of thickness thickness_mm as pairs (λ [nm], T). · examples: poc_fiber_light_guide, poc_material_optical_library, poc_nir_silicon_transmissionnir_model_info no input → table GPU: none — One material of NIR_BAND_MODELS as a table with source grades (bands, components, water, scattering, refractive index). · examples: poc_equipment_selection_map, poc_hyperspectral_foreign_matterplate_focus_shift no input → table GPU: none — Focus shift and spherical aberration of imaging through a plane-parallel plate (wafer, window, cover glass), in closed form. · examples: poc_chromatic_confocal, poc_material_optical_library, poc_nir_silicon_transmissionread_glass_catalog_agf no input → table GPU: none — Read a glass catalogue (the .agf form of optical design software) into a list of material records (table). · examples: poc_material_optical_librarysilicon_free_carrier_absorption no input → pairs GPU: none — Free-carrier absorption α_fc(λ) [1/cm] of doped silicon as pairs (λ [nm], α). · examples: poc_material_optical_librarythermo_optic_coefficient no input → table GPU: none — dn/dT (absolute, in vacuum) of a glass and the index change Δn from the reference temperature, by the catalogue formula A. · examples: poc_material_optical_library, poc_thermal_drift_metrologymetal_mirror_rgb no input → vector GPU: none — The colour of a metal mirror (linear sRGB). n,k → spectral reflectance → CIE colour-matching functions → sRGB. · examples: glass_and_mirror_optics, poc_illumination_cone_vs_na, poc_material_optical_library, poc_telecentric_metrologymetal_optical_constants signal → pairs GPU: none — Look up a metal’s complex refractive index (n, k) by wavelength (visible range, linear interpolation). · examples: glass_and_mirror_optics, poc_material_optical_librarymoire_differential_shift no input → table GPU: none — Reads the displacement with common errors removed, from two pairs with opposite pitch differences (A = (p_m, p_w), B = (p_w, p_m)). · examples: poc_moire_alignment, poc_moire_screenmoire_magnification no input → table GPU: none — Period and direction of the moiré fringes, the displacement magnification M and the capture range (closed form). · examples: poc_moire_alignment, poc_moire_screenmoire_mark_read image2d × image2d → table GPU: none — Reads one alignment mark from a measured image and a reference image (taken at zero displacement). · examples: poc_moire_alignment, poc_moire_screenmoire_overlay_image no input → image2d GPU: none — Synthesises the camera image of two overlaid gratings (an alignment mark). · examples: poc_moire_alignment, poc_moire_screenmoire_phase image2d → table GPU: none — Reads the fringe phase (referenced to the image origin x = 0), its amplitude and the number of fringes. · examples: poc_moire_alignment, poc_moire_screenmoire_phase_crlb no input → table GPU: none — How finely the fringe phase and the displacement can be read under white Gaussian noise (closed-form lower bound). · examples: poc_moire_alignment, poc_moire_screenmoire_phase_to_shift no input → table GPU: none — Fringe phase change to displacement δ (nm): δ = Δφ / (dφ/dδ), dφ/dδ = ±2π / p of the grating that moved. · examples: poc_moire_alignment, poc_moire_screenmoire_talbot_gap no input → table GPU: none — Talbot effect of a proximity gap: how much of the mask grating’s image survives across the gap, and with which sign. · examples: poc_moire_alignment, poc_moire_screenbeamsplitter_branches no input → table GPU: none — The two branches of a plate beamsplitter in a converging beam (table). · examples: poc_noncoaxial_opticsghost_analysis table → table GPU: none — Two-reflection ghosts of every surface pair (table): focus, size on the sensor and relative intensity. · examples: poc_noncoaxial_optics, poc_photograph_through_prescriptionghost_image table → image2d GPU: none — Image-plane irradiance of the image plus all two-reflection ghosts of a point source (image2d). · examples: poc_noncoaxial_opticsghost_path table → table GPU: none — Real-ray polylines of one two-reflection ghost (table): the path i < j, its rays and energy. · examples: poc_noncoaxial_opticsimage_orientation table → table GPU: none — Image orientation through folds (table): reflections, handedness, rotation. · examples: poc_noncoaxial_opticsnoncoaxial_example no input → table GPU: none — A named non-coaxial example system (table): folds, a periscope, a beamsplitter, a tilted plate, Scheimpflug. · examples: poc_lens_file_roundtrip, poc_noncoaxial_opticsnoncoaxial_layout table → table GPU: none — Global pose of every record (table): surface vertices, rotation matrices, the axis polyline. · examples: poc_lens_file_roundtrip, poc_noncoaxial_opticsnoncoaxial_spot table → table GPU: none — RMS / geometric spot radius (mm) and centroid on the (possibly tilted) image plane (table). · examples: poc_noncoaxial_opticsnoncoaxial_system no input → table GPU: none — Build a validated non-coaxial sequential system (table) — surfaces, coordinate breaks, folds, plates. · examples: poc_lens_file_roundtrip, poc_noncoaxial_optics, poc_photograph_through_prescriptionnoncoaxial_trace table → table GPU: none — Trace pupil-filling real-ray bundles through the 3-D system (table). · examples: poc_noncoaxial_opticsscheimpflug_tilt no input → table GPU: none — Scheimpflug condition for a tilted object plane (table; closed form, optionally real rays). · examples: poc_noncoaxial_opticssurface_reflectance no input → table GPU: none — Residual reflectance of one surface from the material table and its coating (table). · examples: poc_noncoaxial_opticstilted_plate_shift no input → table GPU: none — Plane-parallel plate tilted by θ: lateral shift, focus shifts and astigmatism (table, closed form). · examples: poc_noncoaxial_opticsoct_ascan table → table GPU: none — k-linear spectral interferogram → A-scan (reflection amplitude along depth, table). · examples: poc_industrial_octoct_bscan table → image2d GPU: none — Bundle of B-scan spectral interferograms → cross-sectional image (depth × lateral, table; declared in the ledger as a 20 log10 image, image2d). · examples: poc_industrial_octoct_bscan_boundaries image2d → table GPU: none — Trace interfaces laterally across a B-scan image (image2d → table). Also works on an instrument’s output figure. · examples: poc_industrial_octoct_bscan_flatten table × signal → table GPU: none — Flatten a B-scan along a surface and return the laterally averaged depth profile (table → table). · examples: poc_industrial_octoct_bscan_simulate no input → table GPU: none — A bundle of spectral interferograms forming a B-scan, scanned laterally across a cross-section (sample2d) (table). · examples: poc_industrial_octoct_design no input → table GPU: none — OCT performance in closed form before measuring (table): axial resolution, depth range, sensitivity roll-off, SNR, lateral resolution and depth of focus. · examples: poc_industrial_octoct_dispersion_broadening no input → table GPU: none — How much an A-scan peak broadens from a dispersion mismatch, a material (length L, round trip) present only in the sample arm (table, closed form). · examples: poc_industrial_octoct_dispersion_compensate table → table GPU: none — Numerical dispersion compensation (table → table): turn the DC-removed, k-linear spectrum into an analytic signal and multiply by exp(−i(a2Δk² + a3Δk³)). · examples: poc_industrial_octoct_dispersion_estimate table → table GPU: none — Estimate the dispersion-compensation coefficients a2 and a3 from a measured spectrum (table → table). · examples: poc_industrial_octoct_from_spectra matrix × signal → table GPU: none — Turn raw spectra recorded by an instrument into the table this family’s ops read (matrix → table), the entry point for real devices and public data. · examples: poc_industrial_octoct_interferogram no input → table GPU: none — The spectral interferogram of one OCT measurement of a layer stack (sample) (table). · examples: poc_industrial_octoct_k_linearize table → table GPU: none — Resample a spectral interferogram onto a uniform k grid (table → table). · examples: poc_industrial_octoct_layer_thickness table → table GPU: none — Interface peaks of an A-scan → optical and physical layer thicknesses (table). Refuses when the interfaces cannot be separated or seen. · examples: poc_industrial_octanaglyph_crosstalk rgbimage × rgbimage → table GPU: inside a chain only (allow-list) — Return previews and wrong-eye/right-eye energy ratios. · examples: poc_omni360_inspectionanaglyph_from_ods rgbimage × rgbimage → rgbimage GPU: none — Extract an ODS viewport pair and compose a colour-filter view. · examples: omni360_roundtripcubemap_from_equirect rgbimage → rgbvideo GPU: none — Resample an equirectangular image into six cubemap faces. · examples: omni360_roundtripequirect_defect_unwrap_pipe image2d → table GPU: none — Unwrap the cylindrical wall; equirect longitude is circumference and latitude is axial. · examples: poc_omni360_inspectionequirect_filter_gaussian image2d → image2d GPU: none — Gaussian-filter a panorama with longitude scale adapted to latitude. · examples: poc_omni360_inspectionequirect_from_cubemap rgbvideo → rgbimage GPU: none — Resample six cubemap faces into an equirectangular image. · examples: omni360_roundtripequirect_from_fisheye_pair images → table GPU: none — Stitch two calibrated fisheyes and report overlap, seam error and blind spots. · examples: poc_allsky_cloud_cover, poc_omni360_inspectionequirect_from_perspectives images → table GPU: none — Blend a calibrated perspective rig into an equirectangular image. · examples: omni360_roundtripequirect_rotate rgbimage × matrix → rgbimage GPU: yes (allow-list) — Apply a proper three-dimensional rotation to a panorama. · examples: poc_omni360_inspectionequirect_stabilize images → table GPU: none — Estimate and remove camera rotations from an equirectangular sequence. · examples: poc_omni360_inspectionequirect_weight_map no input → image2d GPU: none — Return cosine-latitude weights, optionally normalised to four pi. · examples: poc_omni360_inspectionods_depth_to_disparity image2d → image2d GPU: yes (allow-list) — Convert radial depth to ODS horizontal pixel disparity. · examples: poc_omni360_inspectionods_disparity_to_depth image2d → image2d GPU: yes (allow-list) — Convert ODS horizontal pixel disparity to radial depth. · examples: poc_omni360_inspectionods_render no input → images GPU: none — Render ODS rays using scene_fn(origins, directions). · examples: omni360_roundtripomni_anaglyph_compose rgbimage × rgbimage → rgbimage GPU: none — Compose a colour-filter stereo image; Dubois matrices follow the 2001 least-squares paper. · examples: poc_omni360_inspections_psnr image2d × image2d → measurement GPU: none — Compute PSNR at deterministic near-uniform sphere samples. · examples: omni360_roundtripstereo360_sbs rgbimage × rgbimage → rgbimage GPU: inside a chain only (allow-list) — Pack a panorama pair side by side. · examples: omni360_roundtripstereo360_top_bottom rgbimage × rgbimage → rgbimage GPU: none — Pack a panorama pair top and bottom. · examples: omni360_roundtripstereo_pack rgbimage × rgbimage → rgbimage GPU: none — Pack two eye images in a named display layout. · examples: omni360_roundtripstereo_parallax_budget no input → table GPU: none — Report physical parallax and the common one- and three-percent limits. · examples: poc_omni360_inspectionvideo360_tile_coverage pairs → table GPU: none — Report which longitude-latitude streaming tiles a view path touches. · examples: poc_omni360_inspectionvideo360_viewport_track rgbvideo → rgbvideo GPU: none — Extract a moving viewport from an equirectangular frame sequence. · examples: poc_omni360_inspectionviewport_from_equirect rgbimage → rgbimage GPU: none — Extract a rectilinear viewer viewport from an equirectangular image. · examples: omni360_roundtrip, poc_omni360_inspectionws_psnr image2d × image2d → measurement GPU: none — Compute cosine-latitude weighted spherical PSNR. · examples: omni360_roundtrip, poc_omni360_inspectionbend_singlet no input → table GPU: none — A thin singlet of given focal length at a Coddington shape factor (table). · examples: lens_optimize_demomerit_function table → table GPU: none — The DLS merit Σ residual² and its parts for one prescription (table). · examples: lens_optimize_demo, poc_lens_file_roundtrip, poc_lens_merit_operandsoptimize_lens table → table GPU: none — Damped-least-squares (Levenberg–Marquardt) optimisation of a prescription (table). · examples: lens_optimize_demo, poc_lens_file_roundtripbrazilian_disc_stress no input → table GPU: none — Closed-form plane stress σx, σy, τxy of a diametrically compressed disc (Brazilian disc) → dict. · examples: photoelastic_roundtrip, poc_photoelasticitycubic_photoelastic_birefringence image2d × image2d × image2d → table GPU: none — Stress birefringence Δn and slow axis of a cubic crystal on a {100} plane (e.g. a Si wafer) → dict. · examples: photoelastic_roundtripkirsch_plate_stress no input → table GPU: none — Closed-form σx, σy, τxy and polar components for an infinite plate with a hole under uniaxial tension (Kirsch solution) → dict. · examples: photoelastic_roundtripphotoelastic_phase_estimate polsweep → table GPU: none — Closed-form inversion of polarisation images to retardation δ and principal axis θ → dict. · examples: photoelastic_roundtrip, poc_photoelasticityphotoelastic_polarization_images image2d → polsweep GPU: none — Images of a specimen under circularly polarised light taken by a polarisation camera (0/45/90/135 deg) or a six-intensity polarimeter → (K, H, W). · examples: photoelastic_roundtrip, poc_photoelasticityphotoelastic_retardation image2d → table GPU: none — Stress-optic law of an isotropic material δ = 2π t C (σ1−σ2)/λ → dict (rad, nm, fringe order and material fringe value). · examples: photoelastic_roundtrip, poc_photoelasticitypolariscope_intensity image2d → image2d GPU: yes (allow-list) — Closed-form intensity of plane and circular polariscopes in dark and bright field (isochromatics and isoclinics). · examples: photoelastic_roundtrip, poc_photoelasticityprincipal_stress image2d × image2d × image2d → table GPU: none — Principal stresses σ1 ≥ σ2 of a plane stress state, their difference, and the direction of σ1 (isoclinic angle) → dict. · examples: photoelastic_roundtrip, poc_photoelasticityretardation_convert image2d → image2d GPU: inside a chain only (allow-list) — Unit conversion of a retardation (rad / deg / nm / waves = fringe order). · examples: photoelastic_roundtrip, poc_photoelasticityretardation_from_birefringence image2d → table GPU: inside a chain only (allow-list) — Retardation from a birefringence Δn → dict (returns rad, nm and fringe order side by side). · examples: photoelastic_roundtripretardation_unwrap_multiwavelength images → table GPU: yes (allow-list) — Absolute retardation (nm) from wrapped retardations at several wavelengths (assuming no dispersion) → dict. · examples: photoelastic_roundtripsilicon_piezo_optic_coefficients no input → table GPU: none — Piezo-optic coefficients π11−π12 and π44 [Pa⁻¹] of single-crystal silicon, returned with their source → dict. · examples: photoelastic_roundtripfalse_color_metric rgbimage → table GPU: none — Amount of false colour: statistics of the colour-difference (BT.601 Cb, Cr) magnitude. · examples: poc_pixel_shiftpixel_shift_capture rgbimage × matrix → video GPU: none — Capture with a shifted sensor: integrate the scene exactly over the pixel aperture (a square box) and return Bayer or monochrome raw frames. · examples: poc_pixel_shift, poc_simcal_pixel_shiftpixel_shift_merge video × matrix → rgbimage GPU: none — Merge pixel-shift frames by binning them onto the grid with the nominal shifts. No interpolation (only the mean of the samples at each grid point). · examples: poc_pixel_shift, poc_simcal_pixel_shiftpixel_shift_motion_mask video × matrix → image2d GPU: none — Map of moved pixels (H·scale, W·scale) (1.0 = moved, 0.0 = static or undecidable). · examples: poc_pixel_shiftpixel_shift_pattern no input → matrix GPU: none — Nominal pixel-shift sequence (N, 2) (dr, dc) [sensor pixels] with the actuator error added. · examples: poc_pixel_shiftpixel_shift_resolution_budget no input → table GPU: none — Closed-form budget of whether pixel shift raises resolution (lens-limited or pixel-limited). · examples: poc_pixel_shift, poc_simcal_pixel_shiftmla_surface no input → table GPU: none — Describe a periodic spherical-cap microlens array surface. · examples: plenoptic_capture_pipeline, poc_plenoptic_cameraplenoptic_capture table × table → table GPU: none — Trace a raw plenoptic frame and its white calibration image. · examples: plenoptic_capture_pipeline, poc_plenoptic_cameraplenoptic_decode image2d × table → lightfield GPU: none — Rectify a calibrated raw frame and return L[v,u,y,x]. · examples: plenoptic_decode_pipeline, poc_plenoptic_cameraplenoptic_mla_calibrate image2d → table GPU: none — Fit a rotated rectangular lenslet lattice to peaks of a white frame. · examples: poc_plenoptic_cameraplenoptic_refocus_depth lightfield × table → table GPU: none — Convert light-field refocus slope(s) to object distance in metres. · examples: poc_plenoptic_cameraplenoptic_system table × table × table → table GPU: none — Assemble a main lens, MLA and sensor and report F-number matching. · examples: plenoptic_capture_pipeline, poc_plenoptic_camerajones_apply cimage × jones → jones GPU: none — Push a Jones vector through a Jones matrix: [Ex', Ey'] = J @ [Ex, Ey]. · examples: optics_imaging, type_connectivity_tourjones_element no input → cimage GPU: none — A 2x2 complex Jones matrix for one polarisation element. · examples: optics_imaging, type_connectivity_tourmueller_apply matrix × stokes → stokes GPU: none — Push a Stokes vector through a Mueller matrix: S' = M @ S. · examples: optics_imaging, poc_photoelasticity, poc_polarization_specular, polarization_camera_pipelinemueller_checks matrix → table GPU: none — Say whether a 4x4 matrix is a physically realisable Mueller matrix, and how depolarising it is. · examples: polarization_camera_pipelinemueller_element no input → matrix GPU: none — A 4x4 real Mueller matrix for one polarisation element. · examples: optics_imaging, poc_mueller_dofp_observability, poc_photoelasticity, poc_polarization_specular, polarization_camera_pipelinemueller_from_intensities signal → matrix GPU: none — Recover a Mueller matrix from intensities measured through known generator / analyser states (polarimetric least squares). · examples: polarization_camera_pipelinemueller_partial_polarizer no input → matrix GPU: none — Mueller matrix of a linear polariser with a finite extinction ratio (a linear diattenuator). → (4, 4), or (*shape, 4, 4) for an angle field. · examples: polarization_camera_pipelinepolarization_demosaic image2d → polsweep GPU: none — Split a polarisation-sensor mosaic into the four analyser images. · examples: poc_shape_from_polarization, polarization_camera_pipelinepolarization_demosaic_color image2d → rgbvolume GPU: yes (allow-list) — Split a colour polarisation-sensor mosaic (Sony IMX250MYR family, a 4x4 block = a 2x2 Bayer block whose every colour site is itself a 2x2 block of polarisers) into four RGB images: (4, H, W, 3) in :data:POLARIZATION_SWEEP_ANGLES order, each channel interpolated to full resolution. The rgbvolume sort carries it (four “slices” of RGB). · examples: polarization_camera_pipelinestokes_analyze stokes → table GPU: none — Read a Stokes vector: degree of polarisation, azimuth, ellipticity. · examples: optics_imaging, polarization_camera_pipeline, specular_photometric, type_connectivity_tourstokes_from_jones jones → stokes GPU: none — Jones vector -> Stokes vector (the four measurable intensities). · examples: optics_imaging, type_connectivity_tourform_factor_matrix table → matrix GPU: none — All patch-to-patch view factors F_ij of a radiosity_patches set (occlusion by the scene’s rays). · examples: poc_pocket_interreflectionform_factor_parallel_rects no input → measurement GPU: none — View factor between two identical, parallel, directly opposed rectangles a × b at distance c (Howell’s catalogue C-11, closed form). · examples: poc_pocket_interreflectionform_factor_perpendicular_rects no input → measurement GPU: none — View factor from a rectangle w × l to a rectangle h × l sharing the edge of length l at 90° (Howell’s catalogue C-14, closed form). · examples: poc_pocket_interreflectionform_factor_polygons points × points → measurement GPU: none — View factor F_ij between two flat convex polygons (triangles or quads) in 3-D, numerically. · examples: poc_pocket_interreflectionradiosity_patches no input → table GPU: none — Build a set of flat radiosity patches (rad_patches table) from polygons or from an optscene scene. · examples: poc_pocket_interreflectionradiosity_progressive_3d table × signal → table GPU: none — Progressive-refinement radiosity (Cohen et al. 1988, shooting, eqs. 7–8) on a 3-D patch set, with the evidence that it converged. · examples: poc_pocket_interreflectionrender_optscene_gi table × table × table → table GPU: none — Inspection render with interreflection: the photometry of render_optscene plus n bounces (or the converged sum) between Lambertian patches. · examples: poc_pocket_interreflectionairy_radius_um no input → measurement GPU: none — Radius to the first dark ring of the Airy disc [µm] = 1.22 · λ · N (closed form). · examples: vision_layout_from_catalogcamera_rays table → points GPU: none — Camera dict → rays for every pixel: origins (H·W, 3), directions (H·W, 3). · examples: poc_itof_multifreq, poc_nir_silicon_transmission, poc_pocket_interreflection, studio_raytrace_scenecovers_sensor table × table → table GPU: none — Whether the lens covers that sensor (image circle versus diagonal). · examples: vision_layout_from_catalogdataset_throughput table → table GPU: none — The result of :func:inspection_dataset → a measured summary of generation throughput. · examples: virtual_machine_visiondefocus_blur rgbimage × image2d × table → rgbimage GPU: none — Apply depth-of-field blur from a ground-truth depth map (ideal pinhole image → the image of a real lens). · examples: poc_focus_stacking, virtual_machine_visiondiffraction_blur rgbimage × table → rgbimage GPU: none — Apply the diffraction blur set by the aperture (the Airy disc approximated by a Gaussian). · examples: vision_layout_from_catalogenv_lightbox points → signal GPU: none — The environment of a light box (a broad ceiling light plus faintly lit surroundings). Achromatic. · examples: studio_raytrace_sceneenv_studio points → signal GPU: none — Radiance of a studio environment (direction → brightness). Achromatic. · examples: studio_raytrace_sceneillumination_visibility table × points × table → signal GPU: none — The visible fraction of the emitters seen from each point, in [0, 1] (i.e. cast shadow). · examples: studio_raytrace_sceneinspection_dataset table × table × table → table GPU: none — Generate n training images for a visual-inspection AI, with pixel-perfect labels. · examples: virtual_machine_visioninterface_budget table → table GPU: none — Return the bandwidth-limited maximum frame / line rate from the link’s transfer bandwidth. · examples: vision_layout_from_cataloglayout_capture table → table GPU: none — Shoot exactly as the layout says (spectrum → diffraction → depth of field → sensor). · examples: poc_nir_silicon_transmission, poc_optics_drawings, vision_layout_from_cataloglens_catalog no input → table GPU: none — Data sheet of industrial lenses, looked up by part number. Narrow it with maker / mount. · examples: vision_layout_from_cataloglens_spec no input → table GPU: none — A lens’s specification. NA and f-number may be given either way round (N = 1/(2·NA)). · examples: poc_nir_silicon_transmission, poc_optics_drawings, vision_layout_from_cataloglight_catalog no input → table GPU: none — Data sheet of lights (keyed by “maker model”). Narrow it with maker / kind. · examples: vision_layout_from_cataloglight_spec no input → table GPU: none — A light’s specification. The geometry is left to illumdesign.light_source; the properties of the light are added here. · examples: poc_nir_silicon_transmission, poc_optics_drawings, studio_raytrace_scene, vision_layout_from_cataloglight_wavelengths table → pairs GPU: none — Reduce a source’s spectrum to the few wavelengths and weights used for imaging. · examples: vision_layout_from_cataloglinescan_capture table × table × table → table GPU: none — Shoot with a line-scan / TDI camera (stacking one line at a time while the part moves). · examples: vision_layout_from_catalogobserve_surface no input → table GPU: none — Assemble an observation optic and shoot the finished surface of a named material (a one-line entry point). · examples: vision_layout_from_catalogoptical_budget no input → table GPU: none — Work out the resolution budget of an observation optic in closed form (see whether it holds up before you shoot). · examples: vision_layout_from_catalogoptical_camera no input → table GPU: none — Build an ideal pinhole from real specifications (focal length, pixel pitch, resolution, working distance). · examples: poc_focus_stacking, poc_pocket_interreflection, studio_raytrace_scene, virtual_machine_vision, vision_layout_from_catalogoptscene_defect_mask table × table → image2d GPU: none — The ground-truth mask of defect pixels (H, W). Use this as the label for training and evaluation. · examples: studio_raytrace_scene, virtual_machine_visionoptscene_depth table × table → image2d GPU: none — The ground-truth depth (H, W) [mm]. It is z along the optical axis, not the slant range from the viewpoint. · examples: virtual_machine_visionoptscene_instances table × table → table GPU: none — Defects returned one instance at a time (class, pixel mask, bounding box, area). · examples: virtual_machine_visionoptscene_mask table × table → image2d GPU: none — A bool ground-truth mask (H, W) of the pixels where primitive number index is visible. · examples: virtual_machine_visionrandom_defects table → table GPU: none — Create random defects on a part (scratches, cracks, pits, stains, dents, foreign matter). · examples: virtual_machine_visionreflect_rays points × points → points GPU: none — Specular reflection d − 2(d·n)n. The partner of glassmirror.refract_rays (the reflecting side was missing). · examples: studio_raytrace_sceneregister_light no input → text GPU: none — Register a light you have into the catalogue (enter the data-sheet values as they are). · examples: vision_layout_from_catalogrender_optscene table × table × table → rgbimage GPU: none — Shoot for inspection: place real luminaires in physical units and count the direct light (with ground truth). · examples: poc_nir_silicon_transmission, poc_pocket_interreflection, virtual_machine_visionrender_studio table × table → rgbimage GPU: none — Draw a picture to show: environment light, interreflection, refraction and dispersion (no photometric ground truth). · examples: studio_raytrace_scenescene_box no input → table GPU: none — An axis-aligned box part (AABB). half_size_mm is the half size along each axis [mm]. · examples: poc_nir_silicon_transmission, poc_optics_drawings, poc_pocket_interreflection, studio_raytrace_scene, vision_layout_from_catalogscene_cylinder no input → table GPU: none — A finite cylinder parallel to the z-axis (with end caps). The shape a machining finish actually sits on. · examples: virtual_machine_visionscene_difference table × table → table GPU: none — Cut cavity out of solid (the CSG difference). The only way to make a hollow part. · examples: poc_pocket_interreflection, studio_raytrace_scenescene_material no input → table GPU: none — Make one material. kind is one of three: lambert / conductor / dielectric. · examples: poc_material_optical_library, poc_nir_silicon_transmission, poc_pocket_interreflection, studio_raytrace_scene, virtual_machine_vision, vision_layout_from_catalogscene_plane no input → table GPU: none — A horizontal plane at z = z_mm (a stage or conveyor). half_size_mm makes it a finite sheet. · examples: poc_pocket_interreflection, virtual_machine_visionscene_sphere no input → table GPU: none — A sphere part. center_mm is (x, y, z) [mm] and radius_mm > 0. · examples: virtual_machine_visionsensor_capture rgbimage → rgbimage GPU: none — Radiance → the output of a real sensor (shot noise, read noise, saturation, quantisation). · examples: vision_layout_from_catalogsensor_catalog no input → table GPU: none — Data sheet of real sensors (with Basler’s EMVA1288 measurements). · examples: vision_layout_from_catalogsensor_diagonal_mm table → measurement GPU: none — The sensor diagonal [mm]. Compare it with the lens’s image circle to see whether it is covered. · examples: vision_layout_from_catalogsensor_spec no input → table GPU: none — An image sensor’s specification. It holds only the values on the side that decides the number of electrons. · examples: poc_nir_silicon_transmission, poc_optics_drawings, vision_layout_from_catalogsurface_defect table × image2d → table GPU: none — Paste a 2-D defect map onto a part’s surface (it eats the output of defectgen directly). · examples: studio_raytrace_scenesurface_finish table → table GPU: none — Cut a machining lay into a part’s surface (turning marks, hairline, knurl, matte blast, grinding marks). · examples: virtual_machine_visiontrace_rays table × points × points → table GPU: none — Shoot a bundle of rays and return the first intersection (the public op the renderers are built on). · examples: anim3d_lens_aberrations, poc_chromatic_confocal, poc_lens_file_roundtrip, poc_lens_solves_afocal, poc_noncoaxial_optics, poc_plenoptic_camera, poc_pocket_interreflection, poc_telecentric_metrology, studio_raytrace_scenevision_layout table × table × table → table GPU: none — Bundle sensor, lens, light and scene, and return the derived quantities in closed form. · examples: poc_nir_silicon_transmission, poc_optics_drawings, vision_layout_from_catalogemva_bspline_regression signal × signal → table GPU: yes (allow-list) — Least-squares cubic B-spline fit and its slope (General section 6.6, Eqs. 44-49). · examples: poc_emva1288_in_camera_processingemva_dark_current signal × signal → table GPU: none — Dark current (Section 7.1): the slope of a straight-line fit of the mean (and variance) of dark images against exposure time. · examples: poc_emva1288_sensoremva_defect_pixels image2d → table GPU: none — Characterization of defect pixels (Section 8.8): logarithmic histogram (Eqs. 73–75) and accumulated histogram (Eq. 77), and the number of pixels exceeding a threshold. · examples: poc_emva1288_in_camera_processing, poc_emva1288_sensoremva_dynamic_range no input → table GPU: none — Dynamic range DR = μ_p.sat / μ_p.min (Eq. 28) as a ratio, in dB (20 log10) and in bits (log2). · examples: poc_emva1288_in_camera_processing, poc_emva1288_sensoremva_exposure_for_snr signal → signal GPU: none — Exposure needed for a given SNR, μ_p(SNR) = SNR²/(2η) (1 + √(1 + 4(σ²_d + σ²_q/K²)/SNR²)) (Eq. 25, the inverse of Eq. 21). · examples: poc_emva1288_sensoremva_filter_distortion matrix → table GPU: none — How much in-camera linear preprocessing moves the EMVA 1288 Linear numbers: closed forms (this family’s derivation, not equations of the standard). · examples: poc_emva1288_in_camera_processingemva_highpass image2d → table GPU: none — Highpass filter that removes uneven illumination (section 8.1; the older version is appendix C.5, Eqs. 84-87). · examples: poc_emva1288_in_camera_processing, poc_emva1288_sensoremva_linearity_error signal × signal → table GPU: none — Linearity error LE (Eqs. 58–63). Fits y = μ_y − μ_y.dark against exposure H weighted by the relative deviation, 1/y² (Eqs. 59–61), and takes as LE the mean absolute value of the relative deviation δy[i] = 100 (y − (a0 + a1 H))/(a0 + a1 H) [%] over the points between 5 and 95 % of saturation. · examples: poc_emva1288_in_camera_processing, poc_emva1288_sensoremva_noise_whiteness image2d × image2d → table GPU: none — Is the temporal noise independent between pixels (assumption 3 of Linear section 1.2) and between consecutive images (assumption 3 of Linear and General)? · examples: poc_emva1288_in_camera_processingemva_pair_statistics image2d × image2d → table GPU: none — From 2 images taken at the same exposure, computes the mean, temporal variance and spatial variance (Eqs. 16, 18, 32). · examples: poc_emva1288_in_camera_processing, poc_emva1288_sensor, poc_tdi_linescanemva_photon_exposure signal → signal GPU: none — Mean photons per pixel from the sensor-plane irradiance, μ_p = A E t_exp/(hc/λ) (Eq. 3), in the standard’s handy units (Eq. 4). · examples: poc_emva1288_sensoremva_photon_transfer signal × signal → table GPU: none — Derives the system gain K and the dark noise σ_d from the photon transfer curve (Eqs. 50, 53, 54). · examples: poc_emva1288_in_camera_processing, poc_emva1288_sensoremva_ptc_linearity_check signal × signal → table GPU: yes (allow-list) — Is the photon transfer curve straight (section 6.6, Eq. 51)? The check for whether the Linear K may be used. · examples: poc_emva1288_in_camera_processing, poc_emva1288_sensoremva_quantum_efficiency signal × signal → table GPU: none — Derives the quantum efficiency η from the slope of the response (characteristic curve) (Eqs. 49, 52). · examples: poc_emva1288_in_camera_processing, poc_emva1288_sensoremva_sensitivity_threshold no input → table GPU: none — Absolute sensitivity threshold (the exposure at which SNR = 1, Eqs. 26, 27). · examples: poc_emva1288_in_camera_processing, poc_emva1288_sensoremva_snr_curve signal → matrix GPU: none — SNR of the linear model (Eq. 21) and SNR of the ideal sensor (Eq. 23). · examples: poc_emva1288_in_camera_processing, poc_emva1288_sensoremva_spatial_nonuniformity volume × volume → table GPU: none — DSNU and PRNU (Eqs. 33-42, 65-67). · examples: poc_emva1288_in_camera_processing, poc_emva1288_sensoremva_spectrogram image2d → table GPU: yes (allow-list) — Horizontal and vertical spectrograms (section 8.6, Eqs. 70-72). · examples: poc_emva1288_sensoremva_total_snr signal → matrix GPU: none — Total SNR including the spatial nonuniformity (section 8.5, Eqs. 68, 69). · examples: poc_emva1288_sensoremva_general_nonuniformity volume × volume → table GPU: none — DSNU and PRNU in input (photon) units (General section 8, Eqs. 55, 56, 58, 59). · examples: poc_emva1288_in_camera_processingemva_general_relative_qe signal × signal → table GPU: yes (allow-list) — Quantum efficiency relative to the reference wavelength, η(λ)/η(λ_ref) (General section 9.4, Eqs. 73, 74). · examples: poc_emva1288_in_camera_processingemva_general_sensitivity signal × signal × signal → table GPU: yes (allow-list) — Characteristic curve, input SNR, absolute sensitivity threshold, DR and dark noise in photons (General sections 2.1-2.4, 6.6-6.8). · examples: poc_emva1288_in_camera_processingaolp_to_azimuth image2d → table GPU: inside a chain only (allow-list) — Turn the angle of linear polarisation into the two candidate azimuths of the surface normal (the pi ambiguity), diffuse and specular differing by 90 degrees. · examples: poc_shape_from_polarizationdolp_to_zenith image2d → table GPU: yes (allow-list) — Invert DoLP to the set of zenith angles that produce it — one for the diffuse model, two (straddling Brewster) for the specular model. · examples: poc_shape_from_polarizationsfp_disambiguate table → normalmap GPU: none — Pick one normal per pixel from the candidate set of :func:sfp_normals, using a stated prior — convexity with Brewster-ridge segmentation, or a coarse depth / normal map. · examples: poc_shape_from_polarizationsfp_dolp_model image2d → image2d GPU: yes (allow-list) — Degree of linear polarisation of reflected (specular) or emitted (diffuse) light versus zenith angle, from the Fresnel equations. · examples: poc_shape_from_polarizationsfp_estimate_index image2d × image2d → table GPU: none — Estimate the refractive index from DoLP observed at known zenith angles — a least-squares fit of the Fresnel curve, plus Brewster’s n = tan(theta_B) at the DoLP maximum for the specular model. · examples: poc_shape_from_polarizationsfp_height normalmap → image2d GPU: none — Integrate a normal map to a height map with Frankot-Chellappa on a mirror-extended domain, so the periodic boundary of the FFT does not bend the result. · examples: poc_phase_measuring_deflectometry, poc_shape_from_polarizationsfp_normals polsweep → table GPU: none — From a polariser sweep to the explicit set of candidate surface normals per pixel — 2 for the diffuse model, 4 for the specular model (2 zeniths x 2 azimuths). · examples: poc_shape_from_polarizationsfp_render normalmap → polsweep GPU: none — Render the images a 4-direction polarisation camera records of a dielectric surface with the given normal map (the forward model of shape from polarisation). · examples: poc_shape_from_polarizationbandpass_spectrum no input → pairs GPU: none — Transmittance of a band-pass filter (super-Gaussian). · examples: poc_equipment_selection_map, poc_nir_silicon_transmissionblackbody_spectrum no input → pairs GPU: none — Spectral radiance of a blackbody L(λ, T), in W m⁻² sr⁻¹ nm⁻¹ (Planck’s law, SI 2019 constants). · examples: poc_equipment_selection_map, poc_nir_silicon_transmission, poc_simcal_thin_film, poc_thin_film_reflectometrycie_illuminant_a no input → pairs GPU: none — Relative spectral power distribution of CIE standard illuminant A (the CIE 15:2004 defining formula, 100 at 560 nm). · examples: poc_nir_silicon_transmissionenergy_to_photons pairs → pairs GPU: none — Turn an energy spectrum (W/nm) into a photon-number spectrum (photons s⁻¹ nm⁻¹): multiply by λ/(hc). · examples: poc_fiber_light_guide, poc_nir_silicon_transmissionhyperspectral_band_weights no input → matrix GPU: none — Linear map W (B × L) from reflectance to electrons per band; electrons = W @ R(λ) (before noise). · examples: poc_equipment_selection_map, poc_hyperspectral_foreign_matterhyperspectral_capture pairs → table GPU: none — Electrons and noise per band when one reflectance spectrum is imaged through a halogen lamp × optics × bands × InGaAs. · examples: poc_hyperspectral_foreign_matteringaas_photodiode_qe no input → pairs GPU: none — External quantum efficiency (electrons per photon) of an InGaAs photodiode from the direct-gap absorption edges of the absorber and the window. · examples: poc_equipment_selection_map, poc_hyperspectral_foreign_matterkubelka_munk_reflectance pairs → pairs GPU: none — Diffuse reflectance of a scattering layer in the Kubelka–Munk closed form (from an absorption-coefficient curve). · examples: poc_hyperspectral_foreign_matterled_spectrum no input → pairs GPU: none — Relative spectral distribution of an LED (1 at the peak). · examples: poc_chromatic_confocal, poc_fiber_light_guide, poc_nir_silicon_transmissionsilicon_photodiode_qe no input → pairs GPU: none — External quantum efficiency (electrons per photon) of a Si photodiode, from the n,k of Si. · examples: poc_equipment_selection_map, poc_fiber_light_guide, poc_nir_silicon_transmission, scintillator_sensor_tourspectral_integral pairs → measurement GPU: none — Wavelength integral of a curve ∫ s(λ) dλ (trapezoid rule, λ in nm). Given an interval, only inside it (ends linearly interpolated). · examples: poc_equipment_selection_map, poc_fiber_light_guide, poc_nir_silicon_transmissionspectral_integral_table pairs → table GPU: none — Build a reusable cumulative trapezoid table for repeated band integrals. · examples: poc_nir_silicon_transmissionspectral_product pairs × pairs → pairs GPU: none — Product of two curves on the wavelengths of a (b linearly interpolated). Multiply source × transmittance × QE one at a time. · examples: poc_fiber_light_guide, poc_nir_silicon_transmissionspectral_reflectance_from_material no input → pairs GPU: none — Diffuse reflectance spectrum of a grain or fragment from the material table’s near-infrared absorption bands (the observed-object side). · examples: poc_hyperspectral_foreign_matterspectral_stats pairs → table GPU: none — Summary of a curve: peak wavelength and value, centroid wavelength, full width at half maximum (crossings by linear interpolation), integral. · examples: poc_nir_silicon_transmissionczerny_turner_design no input → table GPU: none — First-order design of a Czerny–Turner spectrometer (plane grating + two concave mirrors): camera focal length, coma-free mirror angle and the wavelength mapping. · examples: poc_spectrometer_illuminationgrating_dispersion no input → table GPU: none — Solve the grating equation mλ = d(sin α + sin β) and tabulate angular and reciprocal linear dispersion, resolving power and the overlapping orders. · examples: poc_spectrometer_illuminationspectrometer_bandpass table → table GPU: none — Spectrometer bandpass (FWHM of the instrument line shape) per wavelength, from the slit, the pixels and diffraction. · examples: poc_spectrometer_illuminationspectrometer_slit_image table → table GPU: none — Trace the image of a long slit in 3-D and report smile (spectral-line curvature) and keystone (wavelength-dependent spatial magnification). · examples: poc_spectrometer_illuminationspectrometer_spectrum table × pairs → pairs GPU: none — Input spectrum → detector pixel readings, with higher-order images overlapping the first order. · examples: poc_spectrometer_illuminationcorrosion_mask no input → image2d GPU: none — The mottling of rust, patina and grime (a 0–1 mask). · examples: machined_metal_and_materialsmetallic_flake_normals no input → normalmap GPU: none — Build the normal field of the flakes (aluminium platelets) in metallic paint. · examples: machined_metal_and_materialsrough_transmission signal → pairs GPU: yes (allow-list) — Split the transmission of ground glass into a “straight-through” and a “diffuse” component. · examples: machined_metal_and_materialsweave_normals no input → normalmap GPU: none — The normal field of a weave (cloth, carbon fibre, wire mesh). Two orthogonal periodic ridges. · examples: machined_metal_and_materials, poc_pixel_shiftwood_grain no input → image2d GPU: none — Build the colour modulation of wood grain (annual rings) and the direction of its fibres. · examples: machined_metal_and_materialschief_ray_angle table → table GPU: none — The real chief ray from the object point at field_mm through the stop centre: its object-side angle (the telecentricity) and where it lands on the image. · examples: poc_optics_drawings, poc_simcal_telecentric, poc_telecentric_metrologydefocus_spot_vs_depth table → pairs GPU: none — RMS blur radius on the fixed image plane as the object moves by ±Δz (µm; the ray bundle is traced exhaustively over a grid of slopes). · examples: poc_telecentric_metrologylens_equivalent_pinhole table → table GPU: none — Map the chief-ray geometry onto a pinhole camera (pose, K) for render3d.render_mesh. · examples: poc_telecentric_metrologymagnification_vs_depth table → pairs GPU: none — Magnification m(Δz) as the object moves along the axis (fixed image plane; real chief-ray image height over object height). · examples: poc_telecentric_metrologytelecentric_lens no input → table GPU: none — Prescriptions of three imaging lenses made from the same singlet by moving only the stop (a raytrace.lens_system table). · examples: poc_optics_drawings, poc_telecentric_metrologytelecentricity_error table → table GPU: none — How differently the same dimension reads on the image when it sits on the upper and lower faces of a step of step_height_mm. · examples: poc_telecentric_metrologyvignetting_vs_field table → pairs GPU: none — For each object height, the solid angle (area in slope space) of the bundle that reaches the image, relative to on axis (vignetting). · examples: poc_telecentric_metrologytem_amorphous_film no input → image2d GPU: none — Projected potential of an amorphous film in V Å (the standard specimen for Thon rings, image2d). · examples: poc_tem_ctf_thon_ringstem_ctf no input → image2d GPU: none — 2-D contrast transfer function (DC at the centre, fftshift order, shape shape). · examples: poc_tem_ctf_thon_ringstem_ctf_correct image2d → image2d GPU: yes (allow-list) — CTF correction (image2d). method="phase_flip": F⁻¹[ F(I − ⟨I⟩) · sign(CTF) ] (phase flipping, amplitudes unchanged) / "wiener": F⁻¹[ F(I − ⟨I⟩) · CTF / (CTF² + 1/snr) ]. · examples: poc_tem_ctf_thon_ringstem_ctf_estimate image2d → table GPU: none — Estimate defocus (and astigmatism) from the Thon rings in the power spectrum of a micrograph (table). · examples: poc_tem_ctf_thon_ringstem_ctf_profile no input → table GPU: none — 1-D radial CTF curve (with envelopes) and a table of its zeros. · examples: poc_tem_ctf_thon_ringstem_image_weak_phase image2d → image2d GPU: yes (allow-list) — TEM bright-field image (intensity with mean 1, image2d) from a projected potential v_z in V Å. · examples: poc_sem_tem_same_particle, poc_tem_ctf_thon_ringstem_multislice image2d → table GPU: yes (allow-list) — Simple multislice (Cowley–Moodie, in Kirkland’s form): returns the exit wave (table). · examples: poc_sem_tem_same_particle, poc_tem_ctf_thon_ringstem_power_spectrum image2d → image2d GPU: yes (allow-list) — Average of tiled periodograms (Welch, Hann window) as a 2-D array in fftshift order (image2d). · examples: poc_tem_ctf_thon_ringstem_projected_potential no input → image2d GPU: none — Atom positions to the potential projected along z, v_z(x, y) in V Å (periodic boundary, image2d). · examples: poc_sem_tem_same_particle, poc_tem_ctf_thon_ringstem_scherzer no input → table GPU: none — Scherzer defocus and point resolution (table). · examples: poc_tem_ctf_thon_ringstem_wavelength no input → table GPU: none — Electron wavelength (with the relativistic correction) and interaction constant for an accelerating voltage kv in kV, as a table. · examples: poc_sem_tem_same_particle, poc_tem_ctf_thon_ringstolerance_compensators no input → table GPU: none — Describe deterministic bounded re-optimisation variables in lensopt grammar. · examples: poc_lens_tolerancingtolerance_criteria no input → table GPU: none — Validate performance criteria and their optional min/max limits. · examples: lensfile_tolerance_worst_mtf, optimized_lens_tolerance_sensitivity, poc_lens_tolerancingtolerance_monte_carlo table × table × table → table GPU: none — Run deterministic fail-closed Monte Carlo and report yield with Wilson 95 % bounds. · examples: lensfile_tolerance_worst_mtf, poc_lens_tolerancingtolerance_report table → text GPU: none — Create a compact assembly report as a dict or plain text. · examples: poc_lens_tolerancingtolerance_sensitivity table × table × table → table GPU: none — Central differences, distribution-aware linear RSS, and inverse tolerances. · examples: optimized_lens_tolerance_sensitivity, poc_lens_tolerancingtolerance_table table → table GPU: none — Build validated tolerance rows, one independent manufacturing variable per row. · examples: lensfile_tolerance_worst_mtf, optimized_lens_tolerance_sensitivity, poc_lens_tolerancingtolerance_table_from_zmx table × text → table GPU: none — Read tolerance NOTE lines written by :func:tolerance_table_zmx. · examples: poc_lens_tolerancingtolerance_table_zmx table → text GPU: none — Serialise rows as NOTE lines; public native TOL syntax was not assumed. · examples: poc_lens_tolerancingcylinder_lens_caustic no input → table GPU: none — The paraxial focus and the real-ray caustic of a cylinder (a rod or a bottle) in a collimated beam -> dict. · examples: poc_water_transparent_mediafresnel_water_air no input → table GPU: none — Fresnel reflectance and transmittance of the air-water interface -> dict. · examples: poc_water_inspection_images, poc_water_transparent_mediaocean_height_field no input → table GPU: none — A Tessendorf (2001) FFT sea surface at time t -> dict (height, slopes, normal map, displacement). · examples: poc_water_inspection_images, poc_water_transparent_mediaocean_spectrum no input → table GPU: none — One-dimensional wave spectrum S(omega) of a wind sea, with its significant height and peak period -> dict. · examples: poc_water_transparent_mediaphase_function_hg no input → table GPU: none — The Henyey-Greenstein phase function, normalised over the sphere -> dict. · examples: poc_water_transparent_mediarefracted_view no input → table GPU: none — Where an underwater point appears to a camera above a flat or wavy surface (Fermat’s principle) -> dict. · examples: poc_water_transparent_mediascattering_phase_petzold no input → table GPU: none — The measured volume scattering function of natural waters (Petzold 1972) as a phase function -> dict. · examples: poc_water_transparent_mediasnell_window no input → table GPU: none — Snell’s window seen from a point under the surface, and the apparent depth of a flat interface -> dict. · examples: poc_water_transparent_mediaunderwater_image rgbimage × image2d × image2d → table GPU: none — The image of a scene recorded through water (revised Jaffe-McGlamery model) -> dict. · examples: poc_water_transparent_mediawater_attenuation no input → table GPU: none — Absorption, scattering and diffuse attenuation of water, and the transmittance over depth -> dict. · examples: poc_geodetic_height_frames, poc_water_inspection_images, poc_water_transparent_mediabottle_background_map no input → table GPU: none — Where on a flat patterned background each pixel of a (part-)filled bottle looks -> dict (the map u in mm). · examples: poc_bottle_pattern_inversebottle_fit_from_pattern no input → table GPU: none — Read the bottle back from the distortion of a background pattern -> dict (radius, wall, indices, fill line, and how well each is known). · examples: poc_bottle_pattern_inversebottle_image no input → table GPU: none — A side view of a cylindrical bottle, part filled with a liquid, ray-cast row by row -> dict. · examples: poc_bottle_pattern_inverse, poc_water_inspection_imagescaustic_floor_segmentation image2d → table GPU: inside a chain only (allow-list) — Segment the caustic lines of a floor irradiance image -> dict (mask, threshold, line period). · examples: poc_water_inspection_imagescaustic_irradiance image2d → table GPU: none — The irradiance a collimated light leaves on a flat floor below a wavy water surface -> dict. · examples: poc_water_inspection_imagesfill_level_from_image image2d → table GPU: none — The fill line measured from a side-view bottle image -> dict (level in mm above the bottom row, row, confidence). · examples: poc_bottle_pattern_inverse, poc_water_inspection_imagesunderwater_inspection_image rgbimage × image2d → table GPU: none — A hull or pipe inspection image: a lamp at the camera lights a wall through water -> dict (image, per-pixel SNR). · examples: poc_water_inspection_imageswet_dry_inspection_pair image2d × image2d → table GPU: none — The same textured plate rendered dry and wet, and the contrast of its defect in each -> dict. · examples: poc_water_inspection_imageswet_surface_appearance no input → table GPU: none — The darkening and the gloss of a surface under a thin water film (Lekner & Dorf 1988; Twomey et al. 1986) -> dict. · examples: poc_water_inspection_imagesairy_pattern no input → image2d GPU: none — The diffraction-limited PSF of a circular pupil (Airy pattern). · examples: anim3d_lens_aberrations, optics_imaging, poc_pixel_shift, poc_veiling_glareangular_spectrum_propagate cimage → cimage GPU: yes (allow-list) — Exact scalar free-space propagation of a complex field (angular spectrum). · examples: optics_imaging, poc_grating_interferometrydefocus_from_shift no input → measurement GPU: none — Defocus wavefront error (waves at the pupil edge) of an axial focus shift. · examples: optics_imaging, poc_nir_silicon_transmissionfour_f_filter cimage × cimage → cimage GPU: yes (allow-list) — 4f optical processor: the output after passing through 2 lenses and the filter in the Fourier plane. · examples: optics_four_f_processorfourier_plane_filter no input → cimage GPU: none — Complex transmission function H(fx, fy) placed in the Fourier plane of a 4f system. · examples: optics_four_f_processorfraunhofer_pattern image2d → image2d GPU: yes (allow-list) — Far-field (Fraunhofer) diffraction intensity of an aperture. · examples: optics_imaging, poc_beats_fringes_and_screensgaussian_beam no input → table GPU: none — Gaussian-beam propagation: spot size, wavefront curvature and Gouy phase. · examples: optics_imagingpupil_blur image2d × image2d → image2d GPU: none — Blur an image with the PSF of a pupil shape at one wavelength band. · examples: optics_imaging, poc_fourier_ptychography, poc_nir_silicon_transmissionpupil_psf image2d → image2d GPU: yes (allow-list) — Diffraction PSF of an arbitrary pupil shape with defocus (sums to 1). · examples: optics_imaging, poc_wavefront_aberration_limitslf_from_mla image2d → lightfield GPU: none — Decode a microlens-array raw frame into a (V, U, H, W) light field. · examples: lightfield_depthlf_stats lightfield → table GPU: none — Describe a light field: shape, angular centre, and the slope range it can carry. · examples: lightfield_depthlf_to_mla lightfield → image2d GPU: none — Re-interleave a light field into a microlens-array raw frame (exact inverse). · examples: lightfield_depth, plenoptic_decode_pipeline, poc_lightfield_depthlf_all_in_focus lightfield × image2d → image2d GPU: none — Composite one everywhere-sharp image by refocusing each pixel at its own slope. · examples: lightfield_depth, poc_compound_eyelf_depth_from_focus lightfield → image2d GPU: none — Per-pixel slope from the sharpness peak across the refocus sweep. · examples: lightfield_depth, plenoptic_decode_pipeline, poc_compound_eye, poc_lightfield_depth, poc_plenoptic_cameralf_disparity_to_depth image2d → depth GPU: yes (allow-list) — Slope (px per angular step) -> metric depth, the camera-array model. · examples: lightfield_depth, poc_lightfield_depthlf_epi_slope lightfield → image2d GPU: yes (allow-list) — Per-pixel slope from the EPI line orientation (structure tensor, refined by shearing). · examples: lightfield_depth, poc_lightfield_depthlf_plenoptic_design no input → table GPU: none — Size a plenoptic camera: what angular/spatial resolution and depth range you buy. · examples: lightfield_depth, poc_compound_eyelf_aperture_mask no input → image2d GPU: none — Angular weighting mask — the synthetic aperture you stop down or shape. · examples: lightfield_depth, poc_compound_eyelf_focal_stack lightfield → images GPU: none — Refocus at every slope in slopes — a focal stack from one exposure. · examples: lightfield_depthlf_refocus lightfield → image2d GPU: none — Shift-and-add refocus: the synthetic-aperture image focused at slope. · examples: lightfield_depth, plenoptic_decode_pipeline, poc_lightfield_depth, poc_plenoptic_cameralf_synthetic_aperture lightfield → image2d GPU: none — Refocus through a shaped aperture — and, with reduce="median", through occluders. · examples: lightfield_depth, poc_compound_eyelf_synthesize no input → lightfield GPU: none — Build a light field of textured layers at known slopes (the test bed). · examples: lightfield_depth, plenoptic_decode_pipeline, poc_compound_eyelf_center_view lightfield → image2d GPU: none — The centre viewpoint — the ordinary 2-D image a plenoptic camera also gives. · examples: lightfield_depthlf_epi lightfield → image2d GPU: inside a chain only (allow-list) — Epipolar-plane image — the slice whose line slope is the disparity. · examples: lightfield_depth, poc_lightfield_depthlf_subaperture lightfield → image2d GPU: none — One sub-aperture view — the image seen through one point of the pupil. · examples: lightfield_depth, poc_compound_eyelf_views lightfield → images GPU: none — The whole angular grid as a plain list of 2-D images (row-major over (v, u)). · examples: lightfield_depthphoton_sample image2d → image2d GPU: none — Poisson-sample an expected-photon image into an actual photon count image. · examples: photon_timeresolved, poc_colocalization_crosstalk, poc_search_sweep_widthphoton_statistics image2d → table GPU: none — Poisson statistics of a photon-count frame: is it really shot-noise limited? · examples: photon_timeresolvedphoton_uncertainty image2d → image2d GPU: inside a chain only (allow-list) — Per-pixel Poisson error bar of a photon-count frame. · examples: photon_timeresolved, poc_thermal_radiometrydtof_cube_depth histcube → depth GPU: none — Depth map from a (H, W, T) photon histogram cube — the dToF inversion. · examples: photon_timeresolved, poc_dtof_ranging, poc_itof_multifreq, poc_tof_cameradtof_cube_simulate depth → histcube GPU: none — Synthesise the (H, W, T) photon histogram cube a SPAD array produces. · examples: photon_timeresolved, poc_dtof_ranging, poc_itof_multifreq, poc_tof_cameradtof_depth counts → measurement GPU: none — Distance from a photon arrival-time histogram: d = c*t/2. · examples: photon_timeresolved, poc_dtof_ranginglifetime_fit counts → table GPU: none — Mono-exponential fluorescence lifetime from a TCSPC decay histogram. · examples: photon_timeresolvedlifetime_phasor counts → table GPU: none — Phasor (frequency-domain) representation of a decay — the fit-free view. · examples: photon_timeresolvedspad_deadtime_apply countrate → countrate GPU: none — Distort a true photon rate by the detector’s dead time (counts lost). · examples: photon_timeresolved, poc_dtof_rangingspad_deadtime_correct countrate → countrate GPU: none — Recover the true photon rate from a dead-time-distorted measured rate. · examples: photon_timeresolvedtcspc_coates_correct counts → counts GPU: none — Undo TCSPC pile-up exactly (Coates’s estimator) — the early-photon bias. · examples: photon_timeresolved, poc_dtof_rangingtcspc_background_subtract counts → counts GPU: none — Remove the ambient-light / dark-count floor from an arrival-time histogram. · examples: photon_timeresolved, poc_dtof_rangingtcspc_irf_convolve counts → counts GPU: none — Blur an arrival-time histogram by the instrument response (timing jitter). · examples: photon_timeresolvedtcspc_simulate no input → counts GPU: none — Synthesise a single-pixel photon arrival-time histogram with a known answer. · examples: photon_timeresolved, poc_dtof_rangingtcspc_stats counts → table GPU: none — Descriptors of an arrival-time histogram: peak, centroid, width, background. · examples: photon_timeresolvedanscombe_inverse image2d → image2d GPU: yes (allow-list) — Invert :func:anscombe_transform — algebraically, or without bias. · examples: photon_timeresolvedanscombe_transform image2d → image2d GPU: inside a chain only (allow-list) — Anscombe variance-stabilising transform: Poisson counts -> ~unit-variance. · examples: photon_timeresolveddeflectometry_phase_to_slope image2d × image2d → normalmap GPU: yes (allow-list) — Two absolute screen phases (fringes along u and v) → a normal map (H, W, 3) on the surface grid. · examples: poc_phase_measuring_deflectometrydeflectometry_render image2d → images GPU: yes (allow-list) — Height field → the camera’s image of the screen’s mirror reflection (forward simulation). → list of images (each (H, W), [0, 1]). · examples: poc_phase_measuring_deflectometrydeflectometry_rig no input → table GPU: none — Put the geometry of a deflectometry rig (camera, screen, field of view) into one table (dict). · examples: poc_phase_measuring_deflectometrydeflectometry_screen_pattern no input → images GPU: none — The pattern shown on the screen (on the screen’s pixel grid). → list of images (each (rows, cols), values [0, 1]). · examples: poc_phase_measuring_deflectometrydeflectometry_sensitivity no input → table GPU: none — Before measuring, give the smallest detectable slope, the height-slope ambiguity coefficient and the focus blur in closed form. → dict. · examples: poc_phase_measuring_deflectometryslope_to_curvature normalmap → image2d GPU: none — Normal map (H, W, 3) → a curvature map (H, W). One derivative of the slopes, no integration to height. · examples: poc_phase_measuring_deflectometryilluminant_from_dichromatic_planes rgbimage × labels → vector GPU: none — Recover the illuminant colour from two or more materials. → unit 3-vector. · examples: poc_white_balance, specular_photometricspecular_coefficient_map rgbimage → image2d GPU: yes (allow-list) — The scalar interface (specular) coefficient of the dichromatic model. → (H, W). · examples: specular_photometricspecular_diffuse_split rgbimage → rgbimage GPU: none — Split a linear-RGB image into its diffuse (body) and specular (interface) parts. → (diffuse, specular), both (H, W, 3). · examples: specular_photometricspecular_free_transform rgbimage → rgbimage GPU: inside a chain only (allow-list) — Project out the illuminant direction: the part of the image a highlight cannot touch. → (H, W, 3). · examples: poc_leaf_disease_area, specular_photometricphotometric_residual images → image2d GPU: yes (allow-list) — How badly the Lambertian model fails, per pixel. → (H, W) RMS residual. · examples: specular_photometricphotometric_stereo_robust images → normalmap GPU: none — Photometric stereo that survives shadows and highlights. → (normals, albedo, inliers). · examples: poc_3d_sensor_modalities, poc_shape_from_polarization, specular_photometricpolarization_dolp_map polsweep → image2d GPU: none — Degree of linear polarisation, per pixel. → (H, W) in [0, 1]. · examples: example_polarization_metal, perf_polarization_analyze, poc_polarization_specular, polarization_camera_pipeline, specular_photometricpolarization_render image2d × image2d → polsweep GPU: inside a chain only (allow-list) — Forward model of a polariser sweep: turn a known split into the frames a polarisation camera would record. → (N, H, W). · examples: example_polarization_metal, poc_polarization_specular, specular_photometricpolarization_separate polsweep → image2d GPU: none — Split a polariser sweep into its unpolarised and linearly polarised radiance. → (diffuse, specular), both (H, W). · examples: perf_polarization_analyze, poc_polarization_specular, specular_photometricpolarization_stokes polsweep → stokes GPU: none — The scene-integrated Stokes vector of a polariser sweep. → (4,), ready for :func:optics.stokes_analyze. · examples: perf_polarization_analyze, poc_polarization_specular, polarization_camera_pipeline, specular_photometricpolarization_stokes_map polsweep → table GPU: none — Per-pixel linear Stokes images with DoLP and AoLP maps from an analyser sweep (4 DoFP angles or any N >= 3, least squares). → dict of (H, W) maps. · examples: poc_polarization_specular, polarization_camera_pipelinebrdf_blinn_phong normalmap → image2d GPU: none — Blinn’s half-vector specular lobe. → (H, W) in [0, 1]. · examples: poc_shape_from_polarization, specular_photometricbrdf_microfacet normalmap → image2d GPU: none — GGX / Trowbridge-Reitz microfacet specular BRDF. → (H, W), units 1/sr. · examples: poc_solder_fillet_aoi, specular_photometricdichromatic_render normalmap → rgbimage GPU: none — Forward dichromatic model: render a known highlight so a separation can be checked against it. → (H, W, 3). · examples: specular_photometriccomplex_steerable_decompose image2d → table GPU: none — Complex oriented sub-band decomposition of one frame -> dict. · examples: motion_magnificationcomplex_steerable_reconstruct table → image2d GPU: none — Invert :func:complex_steerable_decompose -> (H, W) real image. · examples: motion_magnificationmotion_magnify video → table GPU: yes (allow-list) — Scale the in-band motion of a clip by alpha -> dict. · examples: motion_magnification, poc_motion_magnification, quaternion_monogenicdisplacement_series video → pairs GPU: yes (allow-list) — Whole-frame displacement waveform -> (T, 2) array of (dx, dy). · examples: motion_magnification, poc_motion_magnification, quaternion_monogenicphase_displacement video → table GPU: yes (allow-list) — Sub-pixel displacement field from local phase -> dict. · examples: motion_magnification, poc_beam_modal_video, poc_motion_magnification, quaternion_monogenicsynthesize_translation no input → video GPU: none — A clip whose displacement is known in closed form -> (T, H, W) video. · examples: motion_magnification, poc_motion_magnification, quaternion_monogenicband_snr video → table GPU: none — Measure what a clip’s temporal band contains, and what it costs -> dict. · examples: motion_magnification, poc_motion_magnificationtemporal_band_power video → image2d GPU: yes (allow-list) — Per-pixel mean-square power inside a temporal band -> (H, W) map. · examples: motion_magnification, poc_motion_magnificationtemporal_bandpass video → video GPU: yes (allow-list) — Ideal temporal band-pass of every pixel’s time series -> (T, H, W). · examples: motion_magnification, poc_beam_modal_video, poc_motion_magnificationquat_conjugate_image qimage → qimage GPU: none — Per-pixel quaternion conjugate (w, -x, -y, -z). → (H, W, 4). · examples: quaternion_monogenicquat_image_multiply qimage × qimage → qimage GPU: yes (allow-list) — Hamilton product of a quaternion image with a quaternion or a field. → (H, W, 4). · examples: quaternion_monogenicquat_normalize_image qimage → qimage GPU: none — Per-pixel normalisation to unit modulus. → (H, W, 4). · examples: quaternion_monogenicquat_color_filter qimage → qimage GPU: none — Keep or remove one colour direction, exactly. → (H, W, 4). · examples: quaternion_monogenicquat_color_rotate qimage → qimage GPU: none — Rotate every pixel’s colour about an RGB axis: q x conj(q). → (H, W, 4). · examples: quaternion_monogenicquat_norm qimage → image2d GPU: none — Per-pixel quaternion modulus |q| = sqrt(w^2+x^2+y^2+z^2). → (H, W). · examples: quaternion_monogenicquaternion_to_rgb qimage → rgbimage GPU: inside a chain only (allow-list) — Vector part of a quaternion image, as linear RGB. → (H, W, 3). · examples: quaternion_monogenicrgb_to_quaternion rgbimage → qimage GPU: none — Embed a colour image as pure quaternions 0 + R i + G j + B k. → (H, W, 4). · examples: quaternion_monogeniciqft2 qimage → qimage GPU: yes (allow-list) — Inverse quaternion Fourier transform of a centred spectrum. → (H, W, 4). · examples: quaternion_monogenicqft2 qimage → qimage GPU: yes (allow-list) — Quaternion (hypercomplex) 2-D Fourier transform. → (H, W, 4) centred spectrum. · examples: quaternion_monogenicquat_correlate qimage × qimage → qimage GPU: yes (allow-list) — Quaternion cross-correlation sum_s conj(a(s)) * b(s+t). → (H, W, 4). · examples: quaternion_monogenicriesz_displacement video → table GPU: yes (allow-list) — Sub-pixel displacement field from the monogenic phase. → dict. · examples: quaternion_monogenicriesz_displacement_series video → pairs GPU: yes (allow-list) — Whole-frame displacement waveform from the monogenic phase. → (T, 2). · examples: quaternion_monogenicriesz_motion_magnify video → table GPU: yes (allow-list) — Scale a clip’s in-band motion by alpha, by the Riesz route. → dict. · examples: quaternion_monogenicmonogenic_amplitude qimage → image2d GPU: inside a chain only (allow-list) — Local amplitude sqrt(f^2 + R1^2 + R2^2) of a monogenic signal. → (H, W). · examples: perf_monogenic_metrics, quaternion_monogenicmonogenic_orientation qimage → image2d GPU: none — Local orientation atan2(R2, R1) of a monogenic signal. → (H, W). · examples: perf_monogenic_metrics, quaternion_monogenicmonogenic_phase qimage → image2d GPU: yes (allow-list) — Local phase atan2(|R|, f) of a monogenic signal. → (H, W). · examples: perf_monogenic_metrics, quaternion_monogenicmonogenic_signal image2d → qimage GPU: none — The monogenic signal of an image at one scale. → (H, W, 4). · examples: perf_monogenic_metrics, quaternion_monogenicriesz_transform image2d → qimage GPU: none — The 2-D Riesz transform of an image, as a pure quaternion field. → (H, W, 4). · examples: quaternion_monogenicbeamform_delay_sum beatcube → signal GPU: none — Delay-and-sum (Bartlett) angle spectrum for one range-Doppler cell. · examples: fmcw_range_doppler, poc_multibeam_bathymetrybeamform_doa beatcube → table GPU: none — Direction(s) of arrival for one range-Doppler cell, in degrees. · examples: fmcw_range_doppler, poc_multibeam_bathymetryfmcw_design no input → table GPU: none — Bin widths, resolutions and aliasing limits of an FMCW configuration. · examples: fmcw_range_dopplerfmcw_range_profile beatcube → signal GPU: none — Range-only profile: the fast-time FFT magnitude, averaged over the rest. · examples: fmcw_range_dopplerfmcw_window_apply beatcube → beatcube GPU: none — Apply a periodic window along the range and/or Doppler axis of a beat cube. · examples: fmcw_range_dopplerrange_doppler_map beatcube → image2d GPU: none — The 2-D FFT of a beat cube -> a (n_doppler, n_range) magnitude map. · examples: fmcw_range_dopplerrange_doppler_peaks image2d → table GPU: none — Detections from a range-Doppler map: bin indices back to metres and m/s. · examples: fmcw_range_dopplerfmcw_beat_simulate no input → beatcube GPU: none — Synthesise the complex (A, C, S) beat cube for known targets. · examples: fmcw_range_dopplerbearing_defect_frequencies no input → table GPU: none — The four characteristic rates of a rolling-element bearing, from geometry. · examples: acoustic_condition_monitoring, poc_bearing_diagnosis, poc_machine_condition_fusioncepstrum signal → table GPU: yes (allow-list) — The spectrum of the log spectrum — periodic structure in frequency. · examples: acoustic_condition_monitoring, poc_web_roll_periodicityenvelope_spectrum signal → table GPU: none — Band-pass, demodulate, transform — where a bearing defect actually shows. · examples: acoustic_condition_monitoring, poc_bearing_diagnosisspectral_kurtosis signal → table GPU: none — Which frequency band is impulsive — i.e. where to demodulate. · examples: acoustic_condition_monitoring, poc_bearing_diagnosiscoherence signal × signal → table GPU: none — Ordinary coherence: how much of y is linearly explained by x. · examples: acoustic_condition_monitoring, poc_zebra_stripes_fly_eyegcc_delay signal × signal → measurement GPU: none — Measures the time difference of arrival between 2 channels by generalized cross-correlation (GCC). → (delay, table). · examples: acoustic_condition_monitoringtransfer_function signal × signal → table GPU: none — Estimate H(f) with x in and y out, with its coherence. · examples: acoustic_condition_monitoring, poc_leak_localizationapply_weighting signal → signal GPU: yes (allow-list) — Apply an A / C / Z frequency weighting to a signal, zero-phase. · examples: acoustic_condition_monitoringequivalent_level signal → measurement GPU: none — The energy-equivalent level of a record, in dB relative to ref. · examples: acoustic_condition_monitoringoctave_bands no input → table GPU: none — Fractional-octave band centres and edges, from the defining construction. · examples: acoustic_condition_monitoring, poc_rail_corrugationoctave_spectrum signal → table GPU: none — Band levels in dB, summed over fractional-octave bands by Parseval. · examples: acoustic_condition_monitoring, poc_rail_corrugationpercentile_level signal → table GPU: yes (allow-list) — Statistical levels: L_N is the level exceeded N % of the time. · examples: acoustic_condition_monitoringweighting_response signal → signal GPU: yes (allow-list) — The A / C / Z frequency-weighting curve, in dB, at the given frequencies. · examples: acoustic_condition_monitoringangular_resample signal → table GPU: none — Resample a time record onto the shaft-angle axis (computed order tracking). · examples: acoustic_condition_monitoringorder_spectrum signal → table GPU: none — Amplitude against shaft order — the spectrum a run-up should be read in. · examples: acoustic_condition_monitoringsynthesize_bearing_signal no input → signal GPU: none — A resonance amplitude-modulated at a known defect rate — the ground truth. · examples: acoustic_condition_monitoring, poc_bearing_diagnosis, poc_machine_condition_fusionsynthesize_speed_ramp no input → table GPU: none — A run-up: components locked to shaft order, optionally one fixed in Hz. · examples: acoustic_condition_monitoringistft table → signal GPU: none — Invert :func:stft by weighted overlap-add — exactly. · examples: acoustic_condition_monitoringstft signal → table GPU: none — Short-time Fourier transform that keeps the phase and can be inverted. · examples: acoustic_condition_monitoringstft_cola_check no input → table GPU: none — Does this (window, hop) pair satisfy COLA, and how exactly? · examples: acoustic_condition_monitoringacoustic_interface_coefficients table → table GPU: none — Pressure reflection/transmission at every interface of a stack, energy check R^2 + (Z1/Z2) T^2 = 1, and the phase-inversion flag Z2 < Z1 (table). · examples: poc_sam_hybrid_bonding_voidsacoustic_layer_stack no input → table GPU: none — Layered stack for normal-incidence pulse-echo: couplant, layers (material, thickness in m) from the top, and a half-space substrate (table).acoustic_material_table no input → table GPU: none — Built-in acoustic material table: density, longitudinal speed, impedance Z = rhoc, attenuation alpha0f^n, with a source and a verified flag per entry (table). · examples: poc_sam_hybrid_bonding_voidsecho_phase_polarity table → table GPU: none — Classify an interface echo by its phase relative to the front-surface echo: in phase (Z rises), inverted (Z drops) or quadrature (thin-layer, sign not meaningful) (table). · examples: poc_sam_hybrid_bonding_voidspulse_echo_ascan table → table GPU: none — RF A-scan of a layered stack for a broadband pulse at normal incidence: transfer-matrix stack response, water path and power-law attenuation (table). · examples: poc_sam_hybrid_bonding_voidssam_cscan labels2d × table → table GPU: none — Focused-transducer C-scan of a 2-D bond map: per-frequency Gaussian lateral PSF, time gate at an interface, amplitude, phase, in-phase (signed) and signed-peak images (table). · examples: poc_sam_hybrid_bonding_voidssam_frequency_tradeoff table → table GPU: none — Optimal SAM frequency for a void of given size at a buried interface: lateral fill (1 - 2^-(a/w)^2, w = k_reslambda_wF#) against two-way attenuation; closed form when all losses go as f^2 (table). · examples: poc_sam_hybrid_bonding_voidschromatic_confocal_height sweep → measurement GPU: none — Surface height from one confocal return spectrum — the wavelength is the height. · examples: coherence_scanningcsi_design no input → table GPU: none — The axial limits of a coherence-scanning setup, from the source spectrum. · examples: coherence_scanning, poc_interferometry_stepcsi_envelope sweep → signal GPU: none — Coherence envelope of a z-scan interferogram (analytic-signal magnitude). · examples: coherence_scanningcsi_peak_position sweep → measurement GPU: none — Surface height from one z-scan: the position of the coherence envelope peak. · examples: coherence_scanningchromatic_confocal_simulate no input → sweep GPU: none — Synthesise the confocal return spectrum of a surface at a known height. · examples: coherence_scanningcsi_signal_simulate no input → sweep GPU: none — Synthesise the z-scan interferogram of one pixel over a known surface height. · examples: coherence_scanningcsi_stack_simulate depth → zscan GPU: none — Synthesise the (Z, H, W) scan stack an interference microscope records. · examples: coherence_scanning, poc_interferometry_stepcsi_contrast_map zscan → image2d GPU: none — Peak fringe modulation per pixel — the contrast (and validity) map. · examples: coherence_scanning, poc_interferometry_stepcsi_height_map zscan → depth GPU: none — Height map from a (Z, H, W) coherence-scanning stack — the CSI inversion. · examples: coherence_scanning, poc_focus_stacking, poc_interferometry_steplattice_moire_peak signal × table → table GPU: none — How sharp the strongest low-frequency component of a sampled signal is — the moire a lattice makes of a texture it cannot resolve. · examples: poc_moire_screen, poc_print_registration, poc_zebra_stripes_fly_eyesampling_alias_distance no input → table GPU: none — The distance beyond which a periodic target aliases on a sampling lattice. · examples: poc_zebra_stripes_fly_eyefly_flow_from_directions matrix × table → matrix GPU: none — Six directional responses per ommatidium in, one local flow vector out. · examples: poc_fly_optomotor_steering, poc_zebra_stripes_fly_eyefly_t4t5_field matrix × table → matrix GPU: none — Direction-selective response over the whole eye, in the six hexagonal directions. · examples: poc_fly_optomotor_steering, poc_zebra_stripes_fly_eyefly_hs_readout matrix × table → measurement GPU: none — Horizontal-system wide-field readout: opponent sum over the upper field. · examples: poc_fly_visionfly_lamina_filter matrix → matrix GPU: none — Photoreceptor adaptation + the lamina’s band-pass: intensities in, contrast out. · examples: poc_fly_optomotor_steeringfly_onoff_split matrix → matrix GPU: none — Split a contrast movie into the ON and OFF channels the medulla carries. · examples: poc_fly_optomotor_steeringfly_hex_lattice no input → table GPU: none — Hexagonal ommatidial lattice: viewing directions of a compound eye. · examples: poc_fly_optomotor_steering, poc_fly_vision, poc_print_registration, poc_zebra_stripes_fly_eyefly_vogel_lattice no input → table GPU: none — A Fibonacci (Vogel-spiral) compound eye: the same ommatidia count and the same mean spacing as the hexagonal eye, no lattice at all. · examples: poc_print_registration, poc_zebra_stripes_fly_eyefly_expansion_readout matrix × table → table GPU: none — Time-to-contact from the flow over the whole eye — and the aperture effect’s 2x. · examples: poc_zebra_stripes_fly_eyefly_lgmd_eta signal → signal GPU: none — LGMD/eta looming response from an expanding subtended angle. · examples: poc_fly_visionfly_tau_from_expansion signal → signal GPU: yes (allow-list) — Time-to-contact from optical expansion — the tau margin. · examples: poc_fly_vision, poc_zebra_stripes_fly_eyefly_emd_response signal × signal → signal GPU: none — Hassenstein-Reichardt correlator between two adjacent ommatidial signals. · examples: poc_fly_vision, poc_zebra_stripes_fly_eyefly_hex_quantize signal → signal GPU: yes (allow-list) — Quantizes the ommatidial signals the same way the eye does: logarithmic compression followed by n bits per ommatidium (mode="onoff" gives 2 channels, ON / OFF). · examples: poc_eye_to_brainfly_hex_resample image2d × table → signal GPU: none — Resample a pinhole image onto an ommatidial lattice (the eye’s view). · examples: poc_fly_optomotor_steering, poc_fly_visionfly_egomotion_from_flow matrix × table → table GPU: none — Least-squares rotation of the eye from its flow field — and how badly the eye’s own shape conditions the answer. · examples: poc_fly_optomotor_steeringfly_eye_merge table × table → table GPU: none — Several lattices seen as one wide eye — the viewing directions of all of them. · examples: poc_fly_optomotor_steeringfly_matched_filter table → matrix GPU: none — The flow field one unit of self-motion writes on the eye — the template a wide-field neuron is matched to. · examples: poc_fly_optomotor_steeringfly_sky_1f no input → image2d GPU: none — Synthetic equirectangular sky panorama with a banded 1/f azimuthal texture. · examples: poc_fly_optomotor_steering, poc_fly_visionfly_view_plane_texture table → signal GPU: none — What each ommatidium sees of a periodic frontal surface — integrated analytically. · examples: poc_zebra_stripes_fly_eyetraj_tau_dot points × signal → table GPU: none — Distance, approach speed, tau and tau-dot along a measured 3-D trajectory. · examples: poc_zebra_stripes_fly_eyefly_dsi signal → table GPU: none — Direction-selectivity index and preferred direction from tuning responses. · examples: poc_fly_visionanomaly_image_auroc signal × signal → table GPU: none — Image-level AUROC from one anomaly score per image and a good/defective label per image (table). · examples: anomaly_eval_metrics, poc_ai_built_inspection_scored, poc_good_sample_variation_model, poc_patch_anomalyanomaly_image_f1_max signal × signal → table GPU: none — Best image-level F1 over all thresholds from one anomaly score per image and a good/defective label (table).anomaly_operating_point signal × signal → table GPU: none — Pick the highest threshold whose defect recall is guaranteed to be at least recall at confidence (table). · examples: poc_patch_anomalyanomaly_pixel_auroc video × video → table GPU: none — Pixel-level AUROC of anomaly score maps against ground-truth defect masks (table). · examples: anomaly_eval_metrics, poc_good_sample_variation_model, poc_patch_anomalyanomaly_pixel_f1_max video × video → table GPU: none — Best pixel-level F1 over all thresholds of anomaly score maps against defect masks (table). · examples: poc_patch_anomalyanomaly_pro video × video → table GPU: yes (allow-list) — Per-region overlap (PRO) curve and its normalised area AUPRO up to fpr_max (table). · examples: anomaly_eval_metrics, poc_good_sample_variation_model, poc_patch_anomalyanomaly_region_overlap video × video → table GPU: inside a chain only (allow-list) — Per-region overlap of a binary defect prediction with the ground-truth regions at one operating point (table). · examples: anomaly_eval_metrics, poc_ai_built_inspection_scored, poc_good_sample_variation_model, poc_patch_anomalypatch_features image2d → table GPU: yes (allow-list) — Classical patch features on a grid: one D-vector per patch (table). · examples: poc_patch_anomalypatchbank_fit video → table GPU: none — Build a memory bank of good patch features, thinned by greedy k-centre covering (table). · examples: poc_ai_built_inspection_scored, poc_patch_anomalypatchbank_score image2d × table → table GPU: none — Score one image by the distance of each patch to its k nearest good patches in the bank (table). · examples: poc_ai_built_inspection_scored, poc_patch_anomalypatchdist_fit video → table GPU: none — Learn a normal distribution of the patch feature at every grid position from good images (table). · examples: poc_patch_anomalypatchdist_score image2d × table → table GPU: none — Score one image against a per-position normal distribution: the Mahalanobis distance per patch (table).spc_capability signal → table GPU: none — Process capability indices Cp and Cpk from measurements and spec limits. · examples: poc_spcspc_cusum signal → table GPU: none — Tabular CUSUM chart for individual measurements. · examples: poc_spcspc_ewma signal → table GPU: none — EWMA control chart for individual measurements (Roberts 1959). · examples: poc_spcspc_xbar_r matrix → table GPU: none — Shewhart Xbar-R control chart from subgroup measurements. · examples: poc_spcmsa_anova_table table → table GPU: none — Analysis-of-variance table for a crossed two-factor design (part x operator x replicate) (table). · examples: poc_measurement_system_analysismsa_attribute_agreement table → table GPU: none — Agreement between appraisers on attribute (pass/fail) inspection (table). · examples: poc_measurement_system_analysis, poc_weed_rice_ratiomsa_bias_linearity table → table GPU: none — Bias against a reference value and how that bias depends on the reference (linearity) (table). · examples: poc_measurement_system_analysismsa_gauge_rr table → table GPU: none — Gauge repeatability and reproducibility by the analysis-of-variance method (table). · examples: poc_measurement_system_analysisspc_mt_distance matrix → table GPU: none — Score observations against an MT-method unit space. · examples: poc_mt_hidden_fault, poc_spcspc_mt_sn_ratio signal → table GPU: none — Larger-the-better SN ratio of abnormal-sample distances, in decibels. · examples: poc_spcspc_mt_unit_space matrix → table GPU: none — Build an MT-method unit space from known-good observations. · examples: poc_mt_hidden_fault, poc_spcspc_hotelling_t2 matrix → table GPU: none — Multivariate SPC by Hotelling’s T² with the control limit of the phase being charted. · examples: poc_spcpod_ahat_fit table → table GPU: none — Fit the â-vs-a regression by maximum likelihood with left and right censoring (table). · examples: poc_equipment_selection_map, poc_pod_lighting, poc_sam_hybrid_bonding_voidspod_decision_tradeoff table × signal → table GPU: none — Trade-off table of (a50, a90, a90/95, false-call probability) as the decision threshold a_dec is varied (table). · examples: poc_pod_lightingpod_false_call signal → table GPU: none — Probability of a false call from the responses noise of unflawed sites and the decision threshold a_dec (table). · examples: poc_equipment_selection_map, poc_pod_lighting, poc_sam_hybrid_bonding_voidspod_from_ahat table → table GPU: none — From the â-vs-a regression and the decision threshold a_dec: the POD(a) curve and a50 / a90 / a90/95 (table). · examples: poc_equipment_selection_map, poc_pod_lighting, poc_sam_hybrid_bonding_voidspod_hitmiss_fit table → table GPU: none — Fit POD(a) to binary found/missed data with a generalised linear model (table). · examples: poc_pod_lighting, poc_sem_wafer_defect_edge_bias, poc_si_wafer_pl_defect_visibility, poc_vial_particle_podproportion_interval no input → table GPU: none — Return the point estimate and confidence limits for the binomial proportion k/n (table). · examples: poc_vial_particle_pod, proportion_interval_audittrials_for_all_success no input → scalar GPU: none — Return the minimum trial count needed for all successes to establish p >= p_min at one-sided confidence (scalar). · examples: proportion_interval_auditgum_expanded table → table GPU: none — Welch-Satterthwaite effective degrees of freedom, coverage factor k and expanded uncertainty U (table). · examples: poc_light_section_step_weld_floor, poc_measurement_system_analysisgum_monte_carlo table → table GPU: none — Monte Carlo propagation of distributions (GUM Supplement 1, JCGM 101) (table). · examples: poc_measurement_system_analysisgum_propagate table → table GPU: none — Law of propagation of uncertainty (GUM 5.2, with correlations) (table). · examples: poc_measurement_system_analysisgum_standard_uncertainty table → table GPU: none — Convert uncertainty components from the shape of their distribution into standard uncertainties (table). · examples: poc_measurement_system_analysisgum_validate table × table → table GPU: none — Validate the propagation-law result against the Monte Carlo result (table). · examples: poc_measurement_system_analysisvarmodel_alignment video → table GPU: yes (allow-list) — Translation offset of every good sample against the typical position of the stack, and the margin to the tolerance (table). · examples: poc_good_sample_variation_modelvarmodel_band_k no input → table GPU: none — Half-width k (in spread units) of the tolerance band for a declared two-sided per-pixel false-alarm rate (table).varmodel_calibrate table × video → table GPU: none — Re-derive the band half-width k from held-out good images, for data that break the normal assumption (table). · examples: poc_good_sample_variation_modelvarmodel_fit (halcon: train_variation_model) video → table GPU: yes (allow-list) — Learn a per-pixel variation model (centre, spread, band half-width k) from a stack of good samples (table). · examples: poc_good_sample_variation_model, poc_patch_anomalyvarmodel_score image2d × table → table GPU: none — Score one image against a varmodel_fit model: z map in sigmas, out-of-band map and a per-region explanation (table). · examples: poc_good_sample_variation_model, poc_patch_anomalyvial_spin_stop_sequence no input → video GPU: none — Generate a post-spin-stop vial image sequence and per-object ground-truth trajectories. · examples: poc_vial_particle_podtrack_moving_particles video → table GPU: none — Separate moving objects and stationary glass scratches in an image sequence and return a trajectory table. · examples: poc_vial_particle_podgraph_kcore matrix → table GPU: none — k-core (or weighted s-core) decomposition of a wiring matrix — every node’s core index. · examples: poc_worm_core_persistsgraph_rich_club_curve matrix → table GPU: none — Rich-club coefficient φ(k) for every k, against the degree-preserving null. · examples: poc_worm_core_persistsgraph_degree_summary matrix → table GPU: none — Degrees, density and reciprocity of a directed wiring matrix. · examples: graphinv_three_phyla, poc_connectome_lr_symmetrygraph_physarum_path matrix → table GPU: none — Shortest path by the slime mould’s tube dynamics (Tero et al. 2010) on a weighted graph. · examples: poc_physarum_mazegraph_physarum_transport matrix × signal → table GPU: none — L1 optimal transport (the Beckmann problem) on a weighted graph by the slime mould’s tube dynamics. · examples: poc_physarum_transportphysarum_route image2d → table GPU: none — Minimum-cost route through a cost image found by the slime mould’s tube dynamics. · examples: poc_physarum_mazephysarum_transport_image image2d × image2d → table GPU: none — Earth mover’s distance between two mass images by the slime mould’s tube dynamics. · examples: poc_physarum_transportgraph_cycle3 matrix → table GPU: none — Number of directed 3-cycles i -> j -> k -> i as tr(B^3) / 3. · examples: graphinv_three_phylagraph_degree_preserving_null matrix → table GPU: none — Compare 3-cycles and reciprocity against a degree-preserving null model. · examples: graphinv_three_phylacar_dubins_path matrix → table GPU: none — Shortest forward-only path of a car between two poses (Dubins 1957) by the six closed-form words. · examples: poc_car_parking, poc_driving_schoolcar_hybrid_astar image2d × matrix → table GPU: none — Hybrid A* (Dolgov, Thrun, Montemerlo and Diebel 2010): a car’s path through an occupancy grid. · examples: poc_car_parking, poc_driving_schoolcar_reeds_shepp_path matrix → table GPU: none — Shortest path of a car that may reverse, between two poses (Reeds and Shepp 1990), by closed form. · examples: poc_car_parkinggraph_core_persistence table → table GPU: none — Which nodes sit in the innermost core of every individual — K wirings on one node order. · examples: poc_worm_core_persistsgraph_edge_consensus table → table GPU: none — How many individuals share each connection — K wiring matrices on one node order. · examples: poc_connectome_across_decades, poc_connectome_across_wormsgraph_strength_growth matrix × matrix → table GPU: none — Where the new synapses went — one wiring matrix a (earlier) against b (later). · examples: poc_worm_synapses_vs_neuritesgraph_swap_symmetry matrix → table GPU: none — How much of the wiring survives exchanging node pairs (a left/right test). · examples: graphinv_three_phyla, poc_connectome_lr_symmetrytree_from_swc text → table GPU: none — Parse an SWC text (or a path to a .swc file) into a checked tree table. · examples: poc_skeleton_run_length_vs_voi, poc_swc_tree_truth, poc_worm_neurites_grow, poc_worm_synapses_vs_neuritestree_morphometry table → table GPU: none — Counts and lengths of a tree table (from :func:tree_from_swc). · examples: poc_swc_tree_truth, poc_worm_neurites_grow, poc_worm_synapses_vs_neuritestree_run_length table × signal → table GPU: none — Expected run length (ERL) of a skeleton under a candidate labelling of its nodes. · examples: poc_skeleton_run_length_vs_voitree_sholl table → table GPU: none — Sholl analysis: segments crossing spheres (3-D) or circles (a projection) around the root. · examples: poc_swc_tree_truth, poc_worm_neurites_growtext_candidates matrix → table GPU: none — Narrows the connected components of the SWT down to character candidates (width spread, aspect ratio, size). · examples: poc_text_region_truthtext_lines table → table GPU: none — Groups character-candidate boxes into lines (vertically overlapping, horizontally close, similar stroke width). · examples: poc_text_region_truthswt_map image2d → table GPU: none — Stroke Width Transform — writes, at every pixel, the width of the stroke that contains it. · examples: poc_text_region_truthcrt_displacement image2d × image2d → table GPU: none — Local displacement from band phases at several wavelengths, unwrapped by CRT -> dict. · examples: poc_residue_crtharmonic_rotation image2d × image2d → table GPU: none — Absolute in-plane rotation of image relative to reference over 360 degrees -> dict. · examples: poc_residue_crtresidue_crt matrix × signal → table GPU: none — Weighted robust CRT over real periods -> dict. · examples: poc_itof_multifreq, poc_residue_crtresidue_fault_locate matrix × signal → table GPU: none — Which band is corrupted? (redundant residue number system) -> dict. · examples: poc_residue_crtresidue_integer_crt signal × signal → table GPU: none — Exact integer CRT (Garner’s mixed-radix algorithm) -> dict. · examples: poc_residue_crtvx_nonlinear_filter image2d × matrix → image2d GPU: yes (allow-list) — Nonlinear filter (Section 3.38): median / minimum (erosion) / maximum (dilation) of the values of the pixels where the mask is true (REQ-0325, 0330). · examples: gallery_openvx_spec_valuesvx_remap image2d × matrix × matrix → image2d GPU: none — remap (Section 3.44): output (x, y) = input (map_x[y, x], map_y[y, x]) (REQ-0392). The tables have the shape of the output; in the coordinates, input pixel centers are at integers. · examples: gallery_openvx_spec_valuesvx_warp_affine image2d × matrix → image2d GPU: yes (allow-list) — Affine transform (Section 3.56). Inverse mapping: output pixel (x, y) is taken from input (x0, y0) (REQ-0498): x0 = M[0,0]·x + M[0,1]·y + M[0,2], y0 = M[1,0]·x + M[1,1]·y + M[1,2]. · examples: gallery_openvx_spec_valuesvx_warp_perspective image2d × matrix → image2d GPU: yes (allow-list) — Perspective transform (Section 3.57). Inverse mapping: x0 = M[0]·(x, y, 1), y0 = M[1]·(x, y, 1), z0 = M[2]·(x, y, 1), output (x, y) = input (x0/z0, y0/z0) (REQ-0508). Pixels with z0 = 0 are filled as outside. · examples: gallery_openvx_spec_valuesvx_magnitude image2d × image2d → image2d GPU: yes (allow-list) — Gradient magnitude (Section 3.31). The conceptual definition of REQ-0270 as is: z = uint16(sqrt(double(uint32(x·x) + uint32(y·y))) + 0.5), mag = z > 32767 ? 32767 : z. Both input and output are S16. · examples: gallery_openvx_spec_values, type_connectivity_tourvx_phase image2d × image2d → image2d GPU: yes (allow-list) — Gradient phase (Section 3.41): shifts ϕ = atan2(gy, gx) into 0 ≤ ϕ < 2π and maps it to 0–255 (REQ-0364). Output U8. · examples: gallery_openvx_spec_valuesvx_sobel3x3 image2d → table GPU: yes (allow-list) — Sobel 3×3 (Section 3.46): applies G_x = [[−1,0,1],[−2,0,2],[−1,0,1]], G_y = [[−1,−2,−1],[0,0,0],[1,2,1]] (REQ-0415) as a correlation. · examples: gallery_openvx_spec_values, type_connectivity_tourvx_histogram image2d → pairs GPU: yes (allow-list) — Histogram (Section 3.26): a pixel value I goes into the bin i = (I − offset) × numBins / range (offset ≤ I < offset + range, REQ-0230). Pixels outside the range are not counted. The bin is determined by integer division (truncation). · examples: gallery_openvx_spec_valuesvx_table_lookup image2d × signal → image2d GPU: none — Table lookup (Section 3.47): output = table[pixel value + offset] (REQ-0421). Accepts U8 and S16 (REQ-0422). The output dtype is the table’s dtype. · examples: gallery_openvx_spec_valuesvx_nonmax_suppression image2d → image2d GPU: none — Non-maximum suppression (Section 3.39). A pixel (x, y) survives only if, within the window, it is ≥ its preceding neighbors (the row above and the left in the same row) and > its following neighbors (REQ-0337). This asymmetry is why exactly 1 pixel survives on a flat peak. Nonzero pixels of mask are not compared and are kept as is (nor are they used in comparisons for other pixels, REQ-0336). Suppressed pixels become 0 for U8 and INT16_MIN for S16 (REQ-0335). Neighbors that fall outside the window are not compared. · examples: gallery_openvx_spec_valuesThe name says driving, but the content is a ledger of physics-simulation and robot PoCs: besides driving (courses, traffic, decisions, CARLA / CommonRoad), categories such as touch (tac), peg-in-hole (peg), polishing (polish), grinding (grind), cutting (cutting), granular media (granular / scoop), powder X-ray diffraction (pxrd) and ball games (ball / puck) live side by side. Look things up by category name.
adg_build table → table GPU: none — Action dependency graph (Hönig, Kiesel, Tinka, Durham, Ayanian 2019). · examples: poc_agv_fleetadg_execute table → table GPU: none — Executes according to the ADG. At each time step, each vehicle stops with probability delay_prob (slipping, people, delays in loading). · examples: poc_agv_fleetgrid_distances image2d → image2d GPU: none — Shortest number of moves on the grid to goal (BFS; obstacles are impassable). Unreachable cells are inf. · examples: gallery_drive_city_terrain, poc_braid_homotopy_classesmapf_cbs image2d → table GPU: none — Conflict-Based Search (Sharon, Stern, Felner, Sturtevant 2015). A collision-free plan with optimal sum of costs. · examples: poc_agv_fleet, poc_braid_homotopy_classesmapf_ecbs image2d → table GPU: none — CBS with focal search at the high level (the same idea as the high level of ECBS, Barer et al. 2014). Sum of costs is within w times the optimum. · examples: poc_agv_fleetmapf_joint_astar image2d → table GPU: none — A* with the positions of all vehicles as 1 single state. Optimal solution for small problems only (the ground truth for the CBS gate). · examples: poc_agv_fleetmapf_prioritized image2d → table GPU: none — Prioritized planning: plans 1 vehicle at a time in order, avoiding the paths of vehicles already decided (reservation table). · examples: poc_agv_fleet, poc_braid_homotopy_classesnaive_execute table → table GPU: none — Naive execution for comparison: uses only the plan’s sequence of cells and advances whenever the next cell is free (no ordering agreement). · examples: poc_agv_fleetplan_conflicts table → table GPU: none — List of conflicts: same cell at the same time (vertex), passing each other (edge), following (follow). · examples: poc_agv_fleet, poc_braid_homotopy_classesplan_cost table → scalar GPU: none — Sum of costs: the sum over vehicles of the time each finally arrives at its goal (it must not move after arriving). · examples: gallery_drive_city_terrain, poc_braid_homotopy_classesvda5050_check table → table GPU: none — Checks the structural rules of a VDA 5050 order (our own second (independent) implementation, separate from the official JSON schema). · examples: poc_agv_fleetvda5050_order table → table GPU: none — Turns the plan of 1 vehicle (sequence of cells) into a VDA 5050 order (dict). Waits are removed, and the cell centers become nodes. · examples: poc_agv_fleetwarehouse_grid no input → any GPU: none — Warehouse grid made of shelf rows and aisles (True = drivable). · examples: poc_agv_fleetaic_from_rss no input → scalar GPU: none — Akaike information criterion from a least-squares residual sum of squares: AIC = n ln(RSS/n) + 2k (Gaussian noise, variance estimated by maximum likelihood, constant term dropped). Only differences between models fitted to the same data are meaningful (the absolute value depends on scale and n). n ≤ k, RSS ≤ 0 and non-finite values raise ValueError (RSS = 0 is AIC = −∞ and the model-selection question does not arise). · examples: poc_video_physics_consistencyapex_sequence no input → signal GPU: none — Apex heights h_k = e^{2k} h₀ (k = 0..n) of a drop-and-bounce sequence. · examples: poc_ball_bounceball_params no input → table GPU: none — Ball table. The default is a table tennis ball (ITTF: diameter 40 mm, 2.7 g, thin shell). · examples: gallery_drive_ballistics, gallery_drive_kendama_racket, poc_ball_bounce, poc_cd_spin_joint, poc_table_tennis_bounce, poc_table_tennis_rally_loop, poc_table_tennis_spin, poc_video_physics_consistencyballistic_vs_thrust signal × points × table → table GPU: none — Fits both “gravity + drag” (:func:drag_fit) and “gravity + drag + constant specific thrust” (:func:thrust_fit) to the same trajectory and returns the AIC difference (:func:aic_from_rss) ΔAIC = AIC_ballistic − AIC_thrust. Returns {"ballistic", "thrust"} (the two fits) plus "aic_ballistic", "aic_thrust", "delta_aic", "thrust_norm". No verdict is returned (the :mod:imgforensics convention): read it by parsimony — the thrust model has 3 more parameters and lowers RSS slightly even on pure noise, so unless it wins by more than the penalty 2Δk the simpler (ballistic) model is kept. Noise-only ΔAIC scatters with −2Δk as its lower bound and roughly a χ²(Δk) width (median about −2Δk + 1; strictly a mixture, since some fits hit the wall C_d = 0), and because the thrust fit starts from the ballistic solution ΔAIC ≥ −2Δk holds. The customary “decisive” value is 10 (false positives well below 1 %), but no threshold is bundled; the caller decides. When the thrust fit’s RSS is below 10× the discretisation floor rss_floor (a noise-free track, or one resolved finer than the grid) it raises ValueError — AIC compares noise, not rounding (the noise-free truth gave ΔAIC = +144 at the default dt, 2026-10-23). · examples: poc_video_physics_consistencybounce table × table → table GPU: none — Update of velocity and angular velocity at the instant a rigid sphere hits a plane (Coulomb friction, the 2 regimes of Cross 2002 / Garwin 1969). · examples: gallery_drive_ballistics, poc_ball_bounce, poc_table_tennis_bouncebounce_total_time no input → scalar GPU: none — Total time from dropping from height h₀ until coming to rest = √(2h₀/g)·(1 + e)/(1 − e) (closed form of a geometric series, e < 1). · examples: poc_ball_bouncecontact_angular_momentum table → signal GPU: none — Angular momentum about the contact point L_c = I ω + m (p − p_c) × v = I ω + m r (n × v). Invariant across the bounce (theorem). · examples: poc_ball_bouncecup_catch_check no input → table GPU: none — Geometric test of whether the ball enters a cup (center, axis, radius): the ball’s center lies within (cup_radius − ball_radius) of the cup axis, at a height within 1.5 times the ball radius from the cup surface (0 ≤ height ≤ 1.5 r), and the speed is ≤ v_rel_max. {"caught", "lateral", "height", "speed"}. ValueError if the cup is smaller than the ball. · examples: gallery_drive_ballisticsdrag_coefficient_sphere signal → signal GPU: none — Empirical formula for the drag coefficient of a smooth sphere (Morrison 2013, Re ≲ 1e6): 24/Re + 2.6(Re/5)/(1 + (Re/5)^1.52) + 0.411(Re/263000)^−7.94/(1 + (Re/263000)^−8) + 0.25(Re/1e6)/(1 + Re/1e6). For a table tennis ball (Re ≈ 1–5 × 10⁴) it is 0.39–0.41 (0.392 at Re 1.6 × 10⁴ = 6 m/s, 0.406 at 5 × 10⁴, 0.426 at 1 × 10⁵; it drops to 0.17 in the drag crisis near Re ≈ 3 × 10⁵). · examples: gallery_drive_ballistics, poc_cd_spin_jointdrag_fit signal × points × table → table GPU: none — Fits the “gravity + drag” model to a trajectory (t_i, p_i) with 7 parameters (p₀, v₀, C_d) (5 for planar input) — the no-thrust version of :func:thrust_fit (:func:flight_fit keeps C_d known with 6 parameters; this one identifies C_d too). The result keys and the entrance checks (dt ≤ sample spacing, iters ≥ 1, vacuum refused) are those of :func:thrust_fit, with thrust a zero vector. From a ground-truth trajectory C_d returns to 1e-4 (gate). · examples: poc_video_physics_consistencyfit_aero signal × points × table → table GPU: none — Identifies the aerodynamic coefficients as well from a trajectory: the 8 parameters (p₀, v₀, C_d, C_L) by Gauss–Newton (ω known, C_L fitted as a constant). Drag goes with the 2nd power of speed and Magnus with ω × v, so C_L is hard to determine unless the trajectory is non-straight (with spin, long enough) (cond = condition number of the Jacobian is returned together with rms, so you can tell). Return value {"p0", "v0", "cd", "cl", "rms", "cond", "iters"}. For a ground-truth trajectory (made with constant C_L) it recovers to 1e-6 (gate). · examples: gallery_drive_ballistics, poc_cd_spin_jointfit_bounce table → table GPU: none — Recovers (e, μ) in closed form from (v, ω) before and after a bounce (identification). e = −v_n’/v_n. μ is the ratio of the magnitude of the tangential impulse J_t = m(v_t’ − v_t) to J_n = m(v_n’ − v_n) — an equality in the regime that keeps sliding, a lower bound (μ ≥ |
J_t | /J_n) in the regime that switches to rolling partway (grip). Which one applies is told by whether the slip velocity of the contact point after the bounce is 0 (grip). Return value {"e", "mu", "mu_is_lower_bound", "regime", "J_n", "J_t"}. · examples: gallery_drive_ballistics |
fit_parabola signal × points → table GPU: none — Least-squares fit of p = p₀ + v₀ t − ½ g t² ẑ to observations (t_i, p_i) (linear, closed form). {"p0", "v0", "g", "rms"}. Recovers vacuum ground truth to 1e-9 (gate). · examples: poc_ball_bounce, poc_video_physics_consistencyfit_spin signal × points × table → table GPU: none — Reads the spin from how the ball curves: fits the equations of motion with drag + Magnus to a trajectory (t_i, p_i) (an interval without bounces) with the 9 parameters (p₀, v₀, ω) by Gauss–Newton (the aerodynamic coefficients are the values in bp = assumed known). · examples: poc_cd_spin_joint, poc_table_tennis_spinfit_spin_aero signal × points × table → table GPU: none — Reads drag and spin together (:func:fit_spin with a free C_d): fits the drag + Magnus equations of motion to a trajectory (t_i, p_i) (an interval without bounces) with the 10 parameters (p₀, v₀, ω, C_d) by Levenberg–Marquardt (fit_cl=True frees the lift coefficient scale κ too, for 11 parameters). · examples: poc_cd_spin_jointflight_fit signal × points × table → table GPU: none — Fits the equations of motion with drag + Magnus (ω known) to observations (t_i, p_i) (an interval without bounces) with the 6 parameters of the initial state (p₀, v₀) by Gauss–Newton (finite-difference Jacobian). A parabola fit absorbs drag and Magnus into g and v₀, so its prediction bends — this one corresponds to the “tracking with an aerodynamic model” of prior work. Return value {"p0", "v0", "rms", "iters", "t0"} (p₀ and v₀ are the state at t = t[0]). Given a ground-truth trajectory it recovers it to 1e-9 (gate). · examples: poc_ball_bounce, poc_table_tennis_bounceflight_ode table → table GPU: none — RK4 for gravity + drag + Magnus (+ spin decay). Return value {"t" (N,), "p" (N, 3), "v" (N, 3), "omega" (N, 3)} (t = 0, dt, …, ≤ t_end). In vacuum (rho = 0) it matches :func:flight_vacuum (gate). · examples: gallery_drive_ballistics, gallery_drive_kendama_racket, poc_ball_bounce, poc_cd_spin_joint, poc_table_tennis_bounce, poc_table_tennis_spin, poc_video_physics_consistencyflight_simulate table × table → table GPU: none — Joins flight and bounces on the table (the plane z = table_z, only within table_xy = (xmin, xmax, ymin, ymax)), locating each contact time within its interval by bisection. Return value {"t", "p", "v", "omega" (N, 3), "contacts": [{"t", "p", "v_in", "v_out", "omega_in", "omega_out", "regime"}], "rest_t"}. The ball has radius r, so contact occurs where the center reaches table_z + r. Bounces go on forever (Zeno), so once |
v_n | at contact < v_rest, the ball is set down on the table (from then on z is fixed and horizontal motion continues without friction; rest_t = that time, or None if it never happens). · examples: poc_ball_bounce, poc_table_tennis_bounce, poc_table_tennis_rally_loop, poc_table_tennis_spin |
flight_state_at table → table GPU: none — Advances the state (p₀, v₀, ω) by T seconds with the equations of motion (if T < 0, it rewinds: the RK4 step is made negative). {"p", "v", "omega"}. · examples: poc_ball_bounce, poc_table_tennis_bounceflight_vacuum signal → points GPU: none — Parabola in vacuum (closed form): p(t) = p₀ + v₀ t − ½ g t² ẑ. t is a scalar or (N,); the return value is (3,) or (N, 3). · examples: gallery_drive_kendama_racket, poc_ball_bounceimpact_params no input → table GPU: none — Impact table: normal coefficient of restitution e ∈ [0, 1] (a number, or a function |
v_n | → e, to match measurements in which it decreases with impact speed) and Coulomb friction coefficient μ ≥ 0. · examples: gallery_drive_ballistics, gallery_drive_kendama_racket, poc_ball_bounce, poc_table_tennis_bounce, poc_table_tennis_rally_loop, poc_table_tennis_spin |
incline_slip_angle no input → scalar GPU: none — Angle θ = atan μ [rad] at which an object starts to slide on an incline with static friction coefficient μ. · examples: gallery_drive_ballisticsmagnus_lift_coefficient signal → signal GPU: none — Lift coefficient C_L = 1 / (2 + 1/S) from the spin ratio S = rω/ |
v | (0 as S → 0, 0.5 as S → ∞; an empirical formula widely used in the ball literature). · examples: gallery_drive_ballistics, poc_cd_spin_joint |
mu_from_stop_distance no input → scalar GPU: none — μ = v₀² / (2 g d) from the stopping distance. · examples: gallery_drive_ballisticspendulum_period no input → scalar GPU: none — Period of a small-amplitude pendulum 2π√(L/g). · examples: gallery_drive_ballisticsrestitution_from_apexes signal → table GPU: none — Estimates e from a sequence of apex heights (≥ 2, positive): log h_k is linear in k with slope 2 log e → least squares. {"e", "h0", "residual"}. · examples: poc_ball_bouncerestitution_from_intervals signal → table GPU: none — Estimates e from a sequence of contact times (≥ 3, increasing): intervals T_{k+1} = e T_k → the slope of log T_k is log e. {"e", "residual"}. · examples: poc_ball_bounceroll_slide_state table → table GPU: none — Whether a sphere on a plane is rolling or sliding: slip velocity of the contact point s = v_t − r(ω × n). {"slip_speed", "rolling"} (rolling if |
s | < 1e-9). · examples: gallery_drive_ballistics |
slide_stop_distance no input → scalar GPU: none — Stopping distance of an object sliding on a horizontal plane with initial speed v₀ = v₀² / (2μg) (μ > 0). · examples: gallery_drive_ballistics, poc_air_hockey_intercepttether_simulate no input → table GPU: none — Motion of a point mass tied to the hand handle by an inextensible string (length L) (the kendama ball). · examples: poc_kendamathrust_fit signal × points × table → table GPU: none — Fits the “gravity + drag + constant specific thrust” model to a trajectory (t_i, p_i) with 10 parameters (p₀, v₀, C_d, a_T) by Levenberg–Marquardt (finite-difference Jacobian, C_d ≥ 0 kept by projection). p is either (N, 3) world points or the (N, 2) planar (x, z) track lifted from a monocular side view (then the y component has neither observation nor unknown: 7 parameters, n = 2 × samples). bp is a :func:ball_params table (mass, frontal area, air density, g; radius is used only to give the frontal area — for a car pass the r whose A = πr² is the frontal area). Returns {"p0", "v0", "cd", "thrust" (3,), "thrust_norm", "rms", "rss", "rss_floor", "n", "k", "dims", "cond", "iters", "t0"} (n = number of residuals, k = number of parameters moved; the inputs of :func:aic_from_rss). From a thrusted ground-truth trajectory a_T returns to 1e-5 m/s²; from a trajectory made with zero thrust thrust_norm is 1e-5 or less (gate). rss_floor is the upper bound of the sum of squares that the error ≤ a dt²/8 of linearly interpolating the RK4 grid onto the sample times can leave in the residuals. dt must not exceed the sample spacing (beyond it the model is piecewise linear between samples), iters must be ≥ 1, and in vacuum (rho = 0) C_d cannot be identified — each is a ValueError. · examples: poc_video_physics_consistencythrust_ode table → table GPU: none — RK4 for gravity + drag + a constant specific thrust (thrust per unit mass [m/s²], fixed in direction and magnitude in world coordinates). No spin (ω = 0). Returns {"t" (N,), "p" (N, 3), "v" (N, 3)} (t = 0, dt, …, ≤ t_end). With a zero thrust it matches :func:flight_ode (ω = 0) to 1e-12, and in vacuum (rho = 0) it matches the closed form p₀ + v₀ t + ½ (a_T − g ẑ) t² to 1e-9 (gate). The smallest model for “almost a rocket” footage; a thrust fixed to the body that turns with it is only approximated (the shorter the segment, the better). t_end / dt must be finite numbers, bp the table from :func:ball_params (a missing key, a non-finite value or zero mass is a ValueError), and the step count t_end / dt is capped at 5×10⁶ (this stops a t passed in ms instead of seconds). · examples: poc_video_physics_consistencytime_stretch_from_gravity no input → table GPU: none — Inverts, in closed form, the time-stretch factor of a video from the fitted gravitational acceleration. In footage whose time axis was stretched by k (slow motion or a relabelled frame rate) the trajectory keeps its shape while g appears as g/k², so k = √(g_ref / g_fit). Returns {"k", "g_fit", "g_ref", "log_k"} (log_k = ln k is 0 without tampering and its sign tells faster/slower; when passing to :func:imgforensics.evidence_quantile use |
log_k | as the “larger is stronger” evidence). g_fit ≤ 0, non-finite values and g_ref ≤ 0 raise ValueError (no stretch factor is defined for a trajectory whose gravity points up or is absent). · examples: poc_video_physics_consistency |
ball_detect image2d → table GPU: none — Extracts ball candidates from an image: threshold → connected components → brightness-weighted subpixel centroid, equivalent radius, fill fraction. · examples: poc_ball_bounce, poc_driving_longitudinal, poc_driving_school, poc_driving_weather, poc_kendama, poc_table_tennis_bounce, poc_table_tennis_spinball_track table → table GPU: none — Links the per-frame candidate lists detections[k] = ball_detect(frame_k) into 1 trajectory (the candidate closest to the constant-velocity prediction, within max_jump px). · examples: poc_ball_bounce, poc_table_tennis_spinbounce_detect signal × signal → table GPU: none — Extracts contact candidates from a height sequence z(t): local minima where the downward velocity turns upward (minimum over min_gap samples before and after). Return value {"index" (M,), "t" (M,), "z" (M,)}. · examples: poc_ball_bounce, poc_table_tennis_bounce, poc_table_tennis_spinkalman_ca points → table GPU: none — Kalman filter with a constant-acceleration model (position observations (N, D); state = position, velocity, acceleration × D). · examples: poc_air_hockey_intercept, poc_ball_bouncemarker_direction no input → signal GPU: none — Position of a marker in the image (col, row) → direction on the sphere (unit vector in the camera frame, front hemisphere: x right, y up, z toward the viewer). · examples: poc_ball_bounce, poc_table_tennis_bounce, poc_table_tennis_spinreproject points × matrix × matrix → matrix GPU: none — World points (N, 3) → (col, row) as (N, 2) (NaN where depth ≤ 0). · examples: poc_ball_bounce, poc_kendama, poc_table_tennis_bounce, poc_table_tennis_spinspin_from_marker_sequence any → table GPU: none — Reads the angular velocity from the marker directions dirs[k] over a sequence of frames ((M_k, 3) unit vectors; None for frames where none is found) (2 stages). · examples: poc_table_tennis_bounce, poc_table_tennis_spinspin_from_markers points × points → table GPU: none — Angular velocity vector ω [rad/s] from pairs of marker directions (before (M, 3), after (M, 3), unit vectors). · examples: poc_ball_bouncetrack_triangulate table × any × any → table GPU: none — Triangulates the per-camera trajectories (return values of :func:ball_track) into a 3-D trajectory: {"frame", "p" (N, 3), "reproj_rms" (N,)} (only frames seen in 2 or more views). · examples: poc_ball_bounce, poc_table_tennis_spintriangulate_dlt matrix × any × any → table GPU: none — Multi-view triangulation of 1 point (linear DLT, SVD): uvs (C, 2), poses (C, 4, 4), Ks (C, 3, 3). Return value {"p" (3,), "reproj_rms" px, "n_views"}. Views with NaN are skipped. ValueError if there are fewer than 2 views. · examples: poc_ball_bounce, poc_kendamaadd_ball table × table → scalar GPU: none — Adds a ball to the world at pose (p, R). The per-face labels (ball 23 / marker 24) are kept as is. Return value = index into objects. · examples: poc_ball_bounce, poc_cd_spin_joint, poc_table_tennis_bounce, poc_table_tennis_spinball_mesh no input → table GPU: none — Ball mesh (origin = center) and markers. markers = [(dir, angle_deg), …] gives multiple markers (if None, 1 marker at marker_dir). Return value {"V", "F", "color" (M,3), "label" (M,) (23 or 24), "radius", "markers": [unit vector …]}. · examples: poc_ball_bounce, poc_cd_spin_joint, poc_table_tennis_bounce, poc_table_tennis_spinball_set_pose table × matrix → any GPU: none — Sets the pose of ball i to (p, R) (rewrites only the vertices). · examples: poc_ball_bounce, poc_table_tennis_bounce, poc_table_tennis_spinball_truth table × table → table GPU: none — Ground-truth projection of ball i: (col, row) of the center, image radius [px] (≈ f·r/depth), (col, row) of the marker center (NaN if on the back side). · examples: poc_ball_bouncecamera_rig table → table GPU: none — Cameras surrounding the platform (n = 2: diagonally above both ends, n = 4: 4 corners). Returns [{"pose", "K", "eye", "width", "height"}, …], all looking at the center of the platform. · examples: poc_ball_bounce, poc_table_tennis_spinicosphere no input → any GPU: none — Mesh (V, F) (outward) obtained by subdividing a regular icosahedron (20 faces) 4-way subdiv times and projecting it onto the sphere. · examples: gallery_mesh_seg_sun_gainsrotation_from_omega no input → matrix GPU: none — Rotation matrix for rotating at angular velocity ω [rad/s] for dt seconds (Rodrigues). R_{k+1} = R(ω dt) R_k. · examples: poc_ball_bounce, poc_table_tennis_bounce, poc_table_tennis_spintable_params no input → table GPU: none — Table tennis table parameters (default = ITTF standard). · examples: gallery_drive_kendama_racket, poc_ball_bounce, poc_cd_spin_joint, poc_table_tennis_bounce, poc_table_tennis_rally_loop, poc_table_tennis_spintable_world table → table GPU: none — World of the table (top + white lines + net) and the floor. Origin = center of the tabletop, x = length (±1.37), y = width (±0.7625), z up. The top surface of the tabletop is at z = height. · examples: poc_ball_bounce, poc_cd_spin_joint, poc_table_tennis_bounce, poc_table_tennis_spinbraid_artin_images signal × scalar → table GPU: none — Artin representation of a braid: images (freely reduced words) of the generators x₁..xₙ of the free group F_n.braid_class_representatives any → table GPU: none — Partitions several plans (output of any planner) into homotopy classes and picks the lowest-cost plan in each class as its representative. · examples: poc_braid_homotopy_classesbraid_equivalent signal × signal × scalar → table GPU: none — Whether two braid words represent the same braid (are related by the relations alone). · examples: poc_braid_homotopy_classesbraid_from_trajectories any → table GPU: none — Builds a braid word (a sequence of crossing signs) from planar trajectories (and stationary obstacle points). · examples: poc_braid_homotopy_classesbraid_reduce signal × scalar → signal GPU: none — Reduces a braid word by Dehornoy handle reduction. Returns the empty word ⇔ the braid is trivial (same class). · examples: poc_braid_homotopy_classesdynnikov_act any × signal → table GPU: none — Applies a braid word to arbitrary Dynnikov coordinates (a; b) (integer or real —— the formulas are piecewise linear). · examples: poc_braid_homotopy_classesdynnikov_coordinates signal × scalar → table GPU: none — Dynnikov coordinates of the braid acting on the standard curve diagram E = (0, …, 0; −1, …, −1) (integers, no overflow). · examples: poc_braid_homotopy_classesgrid_hole_points image2d → matrix GPU: none — One representative point per grid hole (connected component of blocked cells not touching the border): the centre [x, y] of the blocked cell nearest the centroid. · examples: poc_braid_homotopy_classesgrid_paths_to_xy any → any GPU: none — Converts grid paths (each agent’s (row, col) sequence) into (K, T, 2) [x, y] = [col, −row] (shorter paths are padded with their last point). · examples: poc_braid_homotopy_classeshomotopy_class_compare any × any → table GPU: none — Whether two path families with the same start and end points (multi-agent plans) are in the same homotopy class. · examples: poc_braid_homotopy_classeshomotopy_shortest_paths image2d × any × any → table GPU: none — On a grid (True = traversable, 4-neighbourhood), the k shortest paths from start to goal in distinct homotopy classes, shortest first. · examples: poc_braid_homotopy_classespairwise_winding any → matrix GPU: none — Relative winding number for each pair of strands [turns] (total change of the argument of the relative vector / 2π). Symmetric matrix, zero diagonal. · examples: poc_braid_homotopy_classescamera_pose_to_carla matrix → any GPU: none — render3d world → camera 4×4 → CARLA camera [x, y, z, roll, pitch, yaw]. Inverse of :func:carla_camera_pose. · examples: poc_carla_bridgecarla_camera_pose any → matrix GPU: none — World pose of a CARLA camera → render3d / driveworld world → camera 4×4 (same type as :func:driveworld.camera_pose). A CARLA camera looks along local +x with right = +y and up = +z; render3d looks along −z with right = +x and up = +y. · examples: poc_carla_bridgecarla_depth_decode rgb → image2d GPU: yes (allow-list) — Raw image of the CARLA depth camera (24 bit: R low, G, B high) → distance from the image plane [m]. d = code / (2²⁴ − 1) · 1000. · examples: poc_carla_bridgecarla_depth_encode image2d → rgb GPU: yes (allow-list) — Distance from the image plane [m] → CARLA raw depth image (uint8 (H,W,3)). inf and values above 1000 m map to the maximum; negative values and NaN raise ValueError. · examples: poc_carla_bridgecarla_intrinsics no input → matrix GPU: none — K of a CARLA camera (horizontal field of view fov, f = W / (2 tan(fov/2)), principal point (W/2, H/2)). · examples: gallery_drive_carla_bridgecarla_label_map image2d → image2d GPU: inside a chain only (allow-list) — CARLA semantic segmentation (uint8 image of tags) → Fullseye label image (int, −1 = empty/unlabeled). Unknown tags raise ValueError. · examples: poc_carla_bridgecarla_label_unmap image2d → image2d GPU: yes (allow-list) — Fullseye label image → CARLA tag image (uint8, representative tag). Inverse of :func:carla_label_map (identity on the label side). · examples: poc_carla_bridgecarla_labels no input → table GPU: none — Table of CARLA 0.9.16 semantic tags: [{"tag", "carla", "label", "fullseye"}, …] (29 rows, in tag order). · examples: poc_carla_bridgecarla_pose_to_world any → matrix GPU: none — CARLA [x, y, z, roll, pitch, yaw] → Fullseye 4×4 (world ← object, right-handed: the signs of y and yaw are flipped). R_f = M R_c M, t_f = M t_c (M = diag(1, −1, 1)). The object’s local frame is x forward, y left, z up (same as the cars in driveworld). · examples: gallery_drive_carla_bridgecarla_rotation_angles matrix → any GPU: none — 3×3 (CARLA’s formula) → (roll, pitch, yaw) [deg]. pitch = asin(R₂₀), yaw = atan2(R₁₀, R₀₀), roll = atan2(−R₂₁, R₂₂). The degenerate case |
pitch | = 90° raises ValueError. · examples: poc_carla_bridge |
carla_rotation_matrix no input → matrix GPU: none — CARLA / UE4 (roll, pitch, yaw) [deg] → 3×3 (the same formula as the rotation part of carla.Transform.get_matrix(), kept left-handed). · examples: gallery_drive_carla_bridgecarla_scene_check table → table GPU: none — Checks the keys, shapes and dtypes of a scene record and returns a summary (ValueError if it does not pass). Return value = {"width", "height", "has_lead", "has_instance", "meta"(dict), "n_tags"}. · examples: gallery_drive_carla_bridgecarla_scene_load any → table GPU: none — Reads a scene record (npz) → dict (meta becomes a dict; depth [m] is decoded and added). Missing or corrupted items raise ValueError. · examples: poc_carla_bridgecarla_scene_render table → table GPU: none — Re-shoots a scene record in our own world (same K, same mounting height, same field of view) → driveworld.world_camera images (color / label / depth …) + pose + K. The counterpart for viewing side by side with the CARLA image. · examples: gallery_drive_carla_bridgecarla_scene_save table → any GPU: none — Writes a scene record to npz (after validating it). Returns the path written. · examples: poc_carla_bridgecarla_scene_synthetic no input → table GPU: none — Turns our own world (straight road + lead vehicle) into a scene record in CARLA conventions (same keys and types as a captured recording). · examples: gallery_drive_carla_bridge, poc_carla_bridgecarla_scene_world table → table GPU: none — Scene record → our own world (straight road + lead vehicle placed at the recorded pose). Keeping the relative placement of camera and lead vehicle, normalizes the camera to (20, 0) facing +x (CARLA map coordinates are not used). Without a lead vehicle, only the road. · examples: gallery_drive_carla_bridgecarla_transform_matrix any → matrix GPU: none — CARLA [x, y, z, roll, pitch, yaw] → 4×4 (world ← object, kept in CARLA coordinates) = Transform.get_matrix(). · examples: poc_carla_bridgecarla_xy_yaw any → any GPU: none — CARLA pose → carpath / driveworld (x, y, yaw) (flips the signs of y and yaw; yaw in radians). · examples: gallery_drive_carla_bridgeintrinsics_to_carla matrix → matrix GPU: none — Inverse of :func:intrinsics_to_fullseye (shifts the principal point back by 0.5). · examples: gallery_drive_carla_bridgeintrinsics_to_fullseye matrix → matrix GPU: none — CARLA K (pixel corners at integers, principal point W/2) → Fullseye / render3d K (pixel centers at integers, principal point (W−1)/2). Just shifts the principal point by 0.5. · examples: gallery_drive_carla_bridge, poc_carla_bridgelead_from_depth image2d × image2d × matrix → table GPU: none — Rule-based distance to the lead vehicle (same formula for both worlds): depth_median = median depth of the car pixels in the central band of the image (width band × W) (constant, since the rear face is parallel to the image plane), row_distance = horizontal distance from the car’s bottom row via the flat-road formula (driveenv.road_row_distance), bbox = (top, bottom, left, right), n_pixels, found. If there are no car pixels, found = False (distance inf). · examples: gallery_drive_carla_bridgelead_truth_depth table → scalar GPU: none — Closed form from the recorded pose: image-plane distance [m] to the center of the lead vehicle’s rear face. rear face = center − half length × lead vehicle’s forward direction, image-plane distance = (rear face − camera)·camera forward direction. inf without a lead vehicle. · examples: gallery_drive_carla_bridge, poc_carla_bridgescene_pair_table table → table GPU: none — Score and line up one scene recording with both CARLA’s image and your own world image. Return value = {"truth", "carla": {...lead_from_depth}, "fullseye": {...}, "carla_error", "fullseye_error", "width", "height", "view"} (error = depth_median − true value, true value is :func:lead_truth_depth). · examples: poc_carla_bridgeworld_pose_to_carla matrix → any GPU: none — Fullseye 4×4 (world ← object) → CARLA [x, y, z, roll, pitch, yaw]. Inverse of :func:carla_pose_to_world. · examples: gallery_drive_carla_bridgecr_checker_result any → table GPU: none — Reads the JSON written by the official checker under WSL (tools/check_solution_json.py). · examples: poc_driving_commonroadcr_collision table × table → table GPU: none — Collision with obstacles (rectangle-vs-rectangle SAT, per time_step) and road boundary (whether the vehicle’s 4 corners lie inside the union of the lanelet polygons). · examples: poc_driving_commonroadcr_drive table → table GPU: none — Runs our own driver (longitudinal IDM + pure pursuit) on a CommonRoad planning problem. · examples: poc_driving_commonroadcr_drive_sweep table → table GPU: none — Rule-based gap acceptance: tries a grid of driver parameters in order, gentlest first, and returns the first run that passes all gates. · examples: poc_driving_commonroadcr_feasible table → table GPU: none — Kinematic feasibility (a second (independent) implementation of the same idea as the grader’s solution_feasible). · examples: poc_driving_commonroadcr_read any → table GPU: none — Reads CommonRoad 2020a XML (a string or a path). · examples: poc_driving_commonroadcr_route table → table GPU: none — Produces a sequence of lanelets by BFS over successors (fewest hops), chains their centerlines and resamples every step m. · examples: poc_driving_commonroadcr_solution_xml table × table → any GPU: none — Returns the official solution XML (same form as commonroad-io CommonRoadSolutionWriter) as a string. · examples: poc_driving_commonroadcr_synthetic no input → any GPU: none — Returns, as a string, a minimal CommonRoad 2020a XML for tests and CI. · examples: poc_driving_commonroadks_step any × any → any GPU: none — Advances the kinematic single-track (KS) model by dt with RK4 under a piecewise-constant input u = (δ̇, a). Reference point = center of the rear axle. · examples: poc_driving_commonroadcourse_contains table × points → signal GPU: none — Bool array telling, by the even-odd rule, whether points lie inside the drivable area (the element’s polygon, or the union of the elements for a layout). · examples: poc_driving_school, poc_world_terraincourse_crank no input → table GPU: none — Crank course (Z-shaped): entry → left 90° → B → right 90° → exit. · examples: poc_driving_school, poc_driving_towncourse_crossing no input → table GPU: none — Railroad crossing: a track crosses a road of width w (along the x axis) at a right angle. Straights of length approach lie on both sides of the crossing surface (gauge + 2 outer rail strips = 2.6 m). rails (2, 2, 2) are the segments of the 2 rails (x = L/2 ± gauge/2, across the full road width), crossing_zone = (x0, x1) is the crossing surface, stop_lines (1, 2, 2) lies in the left lane stop_setback before the crossing surface. The polygon is a rectangle (the rails are metadata). Standard: gauge 1.1, outer rail strip 0.75 → params["regulation"]. Area = w·(2(rail_outer + gauge/2) + 2·approach). · examples: poc_driving_schoolcourse_intersection no input → table GPU: none — Four-way intersection on the main course: 2 roads of width w cross at right angles at the origin, each arm has length arm (from the edge of the crossing area), and the 4 concave corners are rounded off with radius corner_radius. · examples: poc_driving_longitudinal, poc_driving_school, poc_driving_weathercourse_layout table × table → table GPU: none — Places multiple elements by rigid motions (x, y, yaw) and combines them into 1 dict. · examples: poc_driving_longitudinal, poc_driving_school, poc_driving_weather, poc_ttc_rss, poc_world_terraincourse_loop no input → table GPU: none — Loop course (oval): returns {"elements": [...], "placements": [...]} with 2 straights + 2 semicircles placed around the origin (pass it as is to :func:course_layout). Counterclockwise: south straight (eastbound, y = −R) → east semicircle → north straight (westbound, y = +R) → west semicircle. The straights overlap the semicircles by overlap at both ends (an overlap so that no curb rises at the seams when converted to 3-D; the sum of the areas counts that part twice). Standard (ordinary license): a straight driving section of 80 m or more, width 8 m or more. · examples: poc_driving_school, poc_ttc_rss, poc_world_terraincourse_loop_bend no input → table GPU: none — Semicircle at the end of the loop course (turning 180° to the left): entry (0, 0, 0) → around the center (0, R) → exit (0, 2R, π). The polygon is the half annulus bounded by the outer arc (radius R + w/2) and the inner arc (R − w/2). Area = π R w (closed form); the polygon is smaller by the amount lost to approximating the arcs with polylines and converges as arc_pts increases. Standard (loop course): width 8 m or more, roughly oval. · examples: poc_driving_school, poc_driving_towncourse_occupancy table → image2d GPU: none — Rasterizes a course (element or layout) into an occupancy grid (occ bool [row = y, col = x], extent). · examples: poc_driving_schoolcourse_parallel_parking no input → table GPU: none — Parallel parking: a parking bay of length car_length + extra (default 7.5 m) × width car_width at the roadside of a road of width road_width (x ∈ [0, 2·approach + bay_length]). No figures in the statutes (the attachment to the official notice is a drawing) — the default is a customary value. · examples: poc_driving_schoolcourse_road no input → table GPU: none — Connector road (part of the main course): a straight of width w and length L. An element for leading the exit of a task course back to the loop course or for extending the main course. Standard (main course): width 7 m or more, must connect to the loop course. Area = w·L. · examples: gallery_drive_city_terrain, gallery_drive_japan_roads, gallery_drive_world_objects, poc_driving_longitudinal, poc_driving_school, poc_driving_town, poc_driving_weathercourse_s_curve no input → table GPU: none — Curved course (S-shaped): straight E → left arc (central angle 2π·f) → right arc (same) → straight E. · examples: poc_driving_school, poc_driving_towncourse_slope no input → table GPU: none — Slope course: a rectangular road (along the x axis) that climbs a gentle slope to height height, has a flat top section top, and descends a steep slope. · examples: poc_driving_longitudinal, poc_driving_schoolcourse_turnaround no input → table GPU: none — Turnaround course (T-shaped): a parking bay (width bay_width along the road, depth depth) at the middle of one side of a road of width w (x ∈ [0, 2E + bay_width]), with an entrance/exit section E on each side of the bay mouth. · examples: poc_driving_schoolconflict_zone_intervals any → table GPU: none — Times [t_in, t_out] during which a vehicle occupies the conflict zone (where 2 paths overlap inside the intersection) (closed form, arrays allowed). · examples: poc_driving_crossingcrossing_clear_time no input → table GPU: none — Time (closed form) from starting at the stop line until the rear end of the vehicle passes the far edge of the railroad crossing + beyond. · examples: poc_driving_crossingcrossing_gate_state signal → table GPU: yes (allow-list) — Evaluates the railroad-crossing state machine (crossing warning signal + crossing gate) at times t (array). · examples: poc_driving_crossingcrossing_lamp_signal no input → any GPU: none — Returns the brightness (0..1) of the 2 red flashing lamps at times t (array): shape (n, 2), column 0 = left, column 1 = right. · examples: poc_driving_crossingcrossing_stop_check table → table GPU: none — Scores how a railroad crossing is traversed (Art. 33(1)-(2), Art. 50(2), Rules of the Road (Kyosoku) 6-1-1(1)(3)(4)(5)). · examples: poc_driving_crossing, poc_driving_towncrossing_timing_check no input → table GPU: none — Compares the 3 times at a railroad crossing (warning start, end of gate-arm motion, train arrival) against the standard and minimum values of the interpretation standard (arrays = per train). · examples: poc_driving_crossingcrosswalk_overtake_check table → table GPU: none — Whether the vehicle moved ahead of a vehicle traveling in front within a crosswalk etc. or the zone m before it (Art. 38(3)). · examples: poc_driving_crossingcrosswalk_stopped_vehicle_check table → table GPU: none — Whether the vehicle made a mandatory stop before passing alongside and moving ahead of a vehicle stopped at a crosswalk etc. (or just before it) (Art. 38(2)). · examples: poc_driving_crossingexit_room_check any → table GPU: none — Whether there is room on the far side of the railroad crossing (likewise for crosswalks and intersections) for the vehicle to stop (Art. 50(2)). Arrays allowed. · examples: poc_driving_crossinglamp_pair_phase signal × signal → table GPU: none — Estimates the common blinking frequency and the phase difference from 2 brightness time series (pixels of the 2 lamps) via the cross-spectrum. · examples: poc_driving_crossinglegal_stop_intervals any → any GPU: none — Intervals (m, 2) of rear-end positions at which the car body [rear, rear + car_length] fits entirely while avoiding the no-stopping-or-parking sections (merged (k, 2)). · examples: poc_driving_crossingno_stopping_zones table → table GPU: none — Builds the no-stopping-or-parking sections of Art. 44(1) from facilities along the road. · examples: poc_driving_crossingobstruction_decel any → table GPU: none — Constant deceleration required for a vehicle on the crossing road (distance dist to the zone, speed speed) not to enter the zone before t_free (closed form, arrays allowed). · examples: poc_driving_crossingparking_position_check no input → table GPU: none — Whether the car body [rear, front] overlaps a no-stopping-or-parking section. zones_result = return value of no_stopping_zones. · examples: poc_driving_crossingpriority_rule table → table GPU: none — At an intersection without traffic control, whether the own vehicle (own) yields to a vehicle on the crossing road (cross) (Art. 36(1)-(3)). · examples: poc_driving_crossingsight_triangle_distance no input → scalar GPU: none — How far along the track can be seen when there is a building at the corner (sight triangle). · examples: poc_driving_crossingtrack_sight_distance any → any GPU: none — Distance along the track that must be visible so that no train arrives before the crossing is cleared = v_train · (clear_time + margin). · examples: poc_driving_crossingcut_depth_from_side rgb × table × scalar × scalar → table GPU: none — Cutting depth (mm) from the top surface of the food item in the face-view image (saturation edge, subpixel per column → median) and the cutting-edge line. · examples: poc_food_cutting_measurecut_force_atkins scalar × scalar → table GPU: none — Closed form of the cutting force for soft solids (scale = toughness R × cut width w, linear (1st order) in R and w). Returns a dict (N). · examples: poc_food_cutting_measurecut_force_csv_load any × any → table GPU: none — Reads the CSV of blade forces written by a finite element cutting simulation (line 1 is Rcforc, line 2 the column names, columns alternate between time and the 3 force components). · examples: poc_food_cutting_measurecut_force_fit signal × signal × scalar → table GPU: none — Estimates toughness R (J/m²) by least squares through the origin from the force series F (N) during cutting and the cut width w_eff (mm). · examples: poc_food_cutting_measurecut_surface_roughness rgb × scalar × scalar × signal → table GPU: none — Treats the silhouette of the end face after cutting (subpixel per row) as a profile, fits a least-squares line and outputs ISO 4287 parameters (µm). · examples: poc_food_cutting_measurecutting_edge_render table × any × scalar × scalar × scalar → rgb GPU: none — Image along the cutting edge (RGB). Dark background, food item (main body on the right) and blade (single-bevel, flat face on the slice side). · examples: poc_food_cutting_measurecutting_episode_synth no input → table GPU: none — Builds 1 cutting episode from closed-form motion (quasi-static, rigid-plastic food item + compliant wrist that is soft only vertically). Returns a dict (columns are numpy arrays). · examples: poc_food_cutting_measure, poc_knife_tactile_toughnesscutting_face_render table × scalar × scalar × scalar → rgb GPU: none — Face-view image (RGB, (H, W, 3) float). Layers wall → cutting board → blade → food item (front) by analytic coverage rendering. · examples: poc_food_cutting_measurecutting_scene any → table GPU: none — Parameters (dict) of the synthetic scene. kind="face" = face view (camera along the normal of the blade face), "edge" = view along the cutting edge. · examples: poc_food_cutting_measure, poc_knife_tactile_toughnesscutting_wrist_mjcf table × scalar → any GPU: none — Blade scene with a compliant wrist (MJCF string, mujoco not required). The blade has 1 vertical slide joint (spring k and damping); the food item and board are visual only. · examples: poc_food_cutting_measurefood_cut_width scalar × scalar × scalar × scalar → scalar GPU: none — Length in x over which the cutting-edge line (height edge_z_at_xc at the center of the food item, inclination θ) lies below the top surface of the food item = cut width (mm, closed form). · examples: poc_food_cutting_measure, poc_knife_tactile_toughnessforce_from_wrist_displacement signal × signal × scalar → signal GPU: none — With a compliant wrist (vertical spring k, N/mm), the pushing force is F = k (z_meas − z_cmd): the amount by which the blade stays above the command is the force (array in N). · examples: poc_food_cutting_measureknife_edge_track rgb → table GPU: none — Extracts the cutting-edge line, the spine and the tip from the face-view image (rule-based only). · examples: poc_food_cutting_measureslice_push_from_track scalar × signal × signal → scalar GPU: none — Computes ξ from the trajectory (x, z) of 1 point on the blade (from the image) and the cutting-edge inclination θ (from the image). The velocity is the direction of a line fit to the trajectory (ξ is a ratio). · examples: poc_food_cutting_measureslice_push_ratio scalar × scalar × scalar → scalar GPU: none — Slice/push ratio ξ from the cutting-edge inclination θ (x-z, counterclockwise) and the blade velocity (vx, −vz) (vz > 0 is downward). · examples: poc_food_cutting_measureslice_thickness_profile rgb × scalar × scalar → table GPU: none — In the image along the cutting edge, finds per row the subpixel positions of the “food item end face” and the “flat face of the blade”; the difference = slice thickness (mm). · examples: poc_food_cutting_measureknife_load_from_pads table × table × table × scalar → table GPU: none — Readings of 2 pads (:func:pegtactile.pad_tactile_read) → the push V, pull H and moment M_x the blade receives from the food item, and the blade contact position Ly. · examples: poc_knife_tactile_toughnesstorsion_partial_slip scalar × scalar × table → table GPU: none — Partial slip when a torsion M [N·m] about the normal is applied to a spherical pad (Hertz, normal force P): stick radius c, twist angle β, and the ratio to full slip. · examples: poc_knife_tactile_toughness, poc_tactile_dipole_torquetoughness_from_pads any × signal → table GPU: none — Sequence of :func:knife_load_from_pads results and the cutting width w_eff [mm] (from the image, :func:cutting.food_cut_width) → toughness R and a summary of the contact position. · examples: poc_knife_tactile_toughnessaliased_frequency any → any GPU: none — The apparent frequency when flicker of frequency f [Hz] is sampled at frame rate fps (closed form). · examples: poc_driving_crossing, poc_driving_decisionsbus_departure_yield_check table → table GPU: none — Scores whether the ego vehicle behind obstructed the lane change of a bus that signaled departure from a bus stop (Road Traffic Act Art. 31-2). · examples: poc_driving_decisionscheck_sequence_score table → table GPU: none — Scores the sequence “safety check → signal → (about 3 s / 30 m) → maneuver → cancel signal” before a lane change or a right/left turn. · examples: poc_driving_decisionsconvex_mirror_fov no input → table GPU: none — Field of view of a convex mirror (spherical, radius radius, aperture diameter aperture) seen by an eye on the axis at eye_distance (from the vertex). · examples: poc_driving_decisionsdilemma_zone any → table GPU: none — Dilemma zone of the amber (yellow) signal (Gazis, Herman, Maradudin 1960). · examples: poc_driving_decisionsdoppler_shift any → any GPU: none — Heard frequency when the source moves and the listener is stationary (closed form). · examples: poc_driving_decisionsdoppler_track signal → table GPU: none — Estimates the instantaneous frequency from the siren sound and determines whether it is approaching or receding. · examples: poc_driving_decisionsflash_frequency signal → table GPU: none — Estimates the flashing frequency from the brightness time series of a pixel (or the mean of a region) (the highest peak of the FFT). · examples: poc_driving_crossing, poc_driving_decisionsmirror_aim_normal no input → any GPU: none — Mirror normal that reflects a ray arriving from the eye eye at the mirror center mirror_center into the direction look_dir (works in 2D and 3D). · examples: poc_driving_decisions, poc_driving_passmirror_blind_zone no input → table GPU: none — The region to the left rear of the ego vehicle that is covered neither by the left door mirror nor by direct view (2D, top view). · examples: poc_driving_decisionsmirror_reflection_matrix no input → any GPU: none — 4×4 homogeneous matrix of the reflection in the plane mirror_plane = (n_x, n_y, n_z, d) (point X lies on the mirror ⇔ n·X = d; n is normalized). · examples: gallery_drive_mirrors_crowdsmirror_virtual_camera any → table GPU: none — A virtual camera that captures the image seen in a plane mirror. · examples: poc_driving_decisionspredict_amber_onset table → table GPU: none — Estimates the start of the vehicle amber from observations of the parallel pedestrian signal ((t, state) in time order, state ∈ green / flash / red). · examples: poc_driving_decisionssignal_phase_plan no input → table GPU: none — Timetable of a 2-phase traffic signal (main road A and its parallel pedestrian signal, cross road B). Time 0 = start of A’s green. · examples: poc_driving_decisionssignal_state table → any GPU: none — State (an array of strings) at time t (wrapped by the cycle) under the signal_phase_plan timetable. Intervals are [start, end). · examples: poc_driving_decisionssiren_signal no input → table GPU: none — Synthesizes the sound of a moving ambulance siren (alternating two tones) as heard by a stationary microphone. · examples: poc_driving_decisionstdoa_bearing signal × signal → table GPU: none — Bearing of the sound source from the time difference of arrival at 2 microphones (left = +y, right = −y, spacing mic_spacing) (far-field approximation). · examples: poc_driving_decisionsyield_maneuver_check table → table GPU: none — Scores the ego vehicle’s behavior when an emergency vehicle approaches, against Road Traffic Act Art. 40. · examples: poc_driving_decisionsdiabolo_axis_from_image rgb × table × table → table GPU: none — From 1 frame, finds the center of the near cup’s rim center_rim and the axis axis (pointing toward the camera). Diabolo center center = center_rim − (L/2) axis. No learning. · examples: poc_diabolo_model_and_visiondiabolo_camera no input → table GPU: none — Perspective camera (default = looking along −x from 1.4 m in front, world z up). Returns {"C", "R"(rows = right, down, forward), "K", "shape", "look_at"}. Raises ValueError: position and look-at point coincide, vertical line of sight, invalid image size or field of view. · examples: poc_diabolo_model_and_visiondiabolo_dynamics_step table × matrix × matrix × scalar × table → table GPU: none — Advances the paper’s analytic model by 1 step (diabolo = point mass + auxiliary spheroid + gravity). · examples: poc_diabolo_model_and_visiondiabolo_marker_phase rgb × table × table × table → table GPU: none — Reads the rotation phase ψ (from body-frame e1, right-handed) and the arc width of the rotational blur |
ω | ·exposure [rad] from the markers in 1 frame. · examples: poc_diabolo_model_and_vision |
diabolo_params no input → table GPU: none — Dictionary of diabolo and string dimensions. kind = red / blue / patterned / green (mass, diameter, length and bearing from Table I of the paper). · examples: poc_diabolo_model_and_visiondiabolo_render table × table → rgb GPU: none — Renders 1 frame of the diabolo by ray tracing (RGB float (H, W, 3), [0, 1]). · examples: poc_diabolo_model_and_visiondiabolo_scene_mjcf table → any GPU: none — MJCF string of the second (independent) implementation’s scene (mujoco not required): spatial tendon stick tip → diabolo → stick tip with length limit = string (a one-sided constraint = pulls only when stretched, i.e. the same physics as the exact frictionless-pulley model, solved by a different method: soft constraints and implicit velocity updates). The stick tips are mocap (positions written each step). The diabolo is a free-joint rigid body (mass = Table I of the paper, inertia assumed; rotation is not coupled to the string). If wrap_axle = True, the tendon wraps around the axle cylinder (radius r) (passing underneath, unverified). Raises ValueError: params shape, timestep ≤ 0, solref is not 2 positive numbers. · examples: poc_diabolo_model_and_visiondiabolo_simulate signal × signal × any × scalar × scalar × table → table GPU: none — Advances the diabolo up to t_end in steps of dt under the stick motion sticks. · examples: poc_diabolo_model_and_visiondiabolo_spheroid signal × signal × scalar → table GPU: none — The 2 stick tips (foci) and the string length → auxiliary spheroid: a = l/2, c = |
x_L − x_R | /2, b = √(a² − c²) (the correct form of Eq. 1). · examples: poc_diabolo_model_and_vision |
diabolo_spin_from_markers signal × signal × scalar × scalar → table GPU: none — Per-frame phase ψ_k (mod 2π) and blur arc width → rotation speed ω, in rad/s (about the axis, right-handed). · examples: poc_diabolo_model_and_visiondiabolo_state_sequence matrix × any × table → signal GPU: none — Runs only the paper’s state transitions from the position series X (N, 3) and the sticks (N, 2, 3) (for classifying observed trajectories; the dynamics are not solved). Non-finite rows keep the previous state (frames the tracker lost). Returns state names of shape (N,). Raises ValueError: shape, length, spelling. · examples: poc_diabolo_model_and_visiondiabolo_throw_catch_truth signal × signal × matrix × table → table GPU: none — The first time at which the parabola (closed form) from the release state (p0, v0), after its apex, enters the region “below the plane joining the sticks and s < c_F” relative to the catching sticks sticks (fixed (2, 3)) (the paper’s FLYING → ON_STRING condition + the plane rule; the caller checks that the string is taut). · examples: poc_diabolo_model_and_visiondiabolo_track any × table × table → table GPU: none — Frame sequence → diabolo center (N, 3), axis (N, 3), alarm ok (N,) and residual (N,). Uses :func:diabolo_axis_from_image per frame (no learning, no reliance on the previous frame). Frames that cannot be estimated get NaN with ok = False. Raises ValueError: the frame sequence is empty or not a sequence. · examples: poc_diabolo_model_and_visionspheroid_closest signal × table → table GPU: none — Point x → closest point on the spheroid surface point, signed distance s (> 0 inside, the paper’s definition of s) and outward unit normal normal (direction of the gradient at the closest point). · examples: poc_diabolo_model_and_visionstring_tension_from_sag signal × signal × signal × scalar → table GPU: none — Computes the tension from the V shape of the string (the 2 stick tips and the axle position) (frictionless pulley = equal tension on both sides). · examples: poc_diabolo_model_and_visionstring_tension_static scalar × table → table GPU: none — Sticks stopped at the same height with spacing 2c, diabolo at rest at the lowest point: sag b = √(a² − c²), tension T = m g a / (2b), angle of the string from horizontal atan2(b, c). Raises ValueError: spacing outside (0, string). · examples: poc_diabolo_model_and_visiondose_cv_from_sizes any × scalar × scalar → table GPU: none — Content CV of 1 dose from measured particle sizes (particle-count fluctuation only, Poisson), with its bias and interval. · examples: poc_dose_uniformity_from_grindingdose_cv_lognormal scalar × scalar × scalar × scalar → table GPU: none — CV of the content of 1 dose (drug dose_mg) taken from a powder with log-normal particle sizes (particle-count fluctuation only). · examples: poc_dose_uniformity_from_grindinggrind_time_for_dose_cv signal × signal × scalar × scalar → table GPU: none — Fits a comminution law to the time course of the moment diameter D63 and back-calculates the grinding time needed for the content CV to fall to the target. · examples: poc_dose_uniformity_from_grindingbeta_from_mor scalar → scalar GPU: none — Visibility → extinction coefficient β = −ln(contrast)/visibility (inverse of :func:mor_from_beta). · examples: poc_driving_weatherenv_params no input → table GPU: none — Bundles the rendering conditions (passed to :func:env_render). · examples: poc_driving_weatherenv_render table × matrix × matrix → table GPU: none — Renders sun, sky, shadows, lamps, headlights, fog, rain and glare in physical units. · examples: poc_driving_weatherfog_beta_from_profile any × any × scalar × scalar × scalar → table GPU: none — Measures the fog extinction coefficient β from the vertical luminance curve of the road surface (the approach of Hautière et al. 2006). · examples: poc_driving_weatherjulian_day any → scalar GPU: none — Julian day (UT). when = a timezone-aware datetime (converted to UTC), or a number (taken as the Julian day as is). · examples: gallery_drive_lateral_envkoschmieder any × any × scalar × any → any GPU: none — Koschmieder’s law: apparent luminance of an object at distance d, L = L₀ e^{−βd} + L_h (1 − e^{−βd}) (arrays allowed). · examples: gallery_drive_lateral_envmor_from_beta scalar → scalar GPU: none — Extinction coefficient β [1/m] → visibility = −ln(contrast)/β. Default 0.05 = WMO meteorological optical range (MOR ≈ 2.996/β); 0.02 = Koschmieder (3.912/β). · examples: gallery_drive_lateral_envroad_row_distance any × scalar × scalar × scalar → any GPU: none — Image row on a flat road surface → horizontal distance from the camera to the road point (exact). Rows above the horizon give inf. · examples: poc_driving_weathersight_stop_speed scalar × scalar × scalar → scalar GPU: none — Maximum speed v* at which the car can stop within the visible distance sight: drivelong.stopping_distance_grade(v*) = sight. · examples: poc_driving_weathersun_at any × scalar × scalar → table GPU: none — Solar altitude and azimuth for a date/time (a timezone-aware datetime or a Julian day). The formulas are taken as is from :func:geocam.sun_position (NOAA solar position equations = low-precision version of Meeus “Astronomical Algorithms” Chapter 25, NOAA refraction), adding the date/time handling and the Earth–Sun distance. · examples: poc_driving_weathersun_events scalar × scalar × scalar × scalar × scalar → table GPU: none — Times of sunrise, solar noon and sunset for the day (local calendar date), plus the azimuths of sunrise/sunset and the altitude at solar noon. · examples: poc_driving_weathersun_illuminance scalar → table GPU: none — Solar illuminance [lx] under clear sky (cloud cover cloud ∈ [0, 1]): direct_normal (surface facing the sun), diffuse (scattered, on a horizontal surface), air_mass. · examples: poc_driving_weathersun_vector scalar × scalar → any GPU: none — Unit vector in the direction of the sun (world frame, pointing from the ground toward the sun). · examples: poc_driving_weathertone_map any × scalar → any GPU: none — Hue-preserving tone compression for an HDR camera: m = per-pixel max channel × exposure, display = luminance × exposure × (1 + m/4)/(1 + m) — linear for m ≪ 1, the max channel reaches exactly 1 at m = 2, and brighter pixels are divided so that their max channel is 1 (color ratios = chromaticity unchanged; lamps do not turn white from saturation; assumed: an in-vehicle HDR camera). · examples: gallery_drive_lateral_envveil_chroma_limit any × scalar → scalar GPU: none — For a lamp of color color (RGB ratio) and luminance luminance, the W* [cd/m²] at which adding white light W (veil, fog airlight) makes the chromaticity distance |
(c L + W·1)/ | c L + W·1 | − c/ | c | (the same quantity as the chroma of balltrack.ball_detect) reach tol. · examples: poc_driving_weather |
veiling_luminance any × any → any GPU: none — Veiling luminance L_v [cd/m²] of disability glare (arrays allowed). E_glare = illuminance [lx] of the light source at the eye, θ = angle between light source and line of sight [deg]. · examples: gallery_drive_lateral_envbeverloo_fit signal × signal × scalar × scalar → table GPU: none — Fits log W = log(C ρ_b √g) + n log(D₀ − k d) to a series of discharge rates W_i(D0_i) by least squares and returns the exponent n and the coefficient C (ground truth n = 2.5, C ≈ 0.58). Returns: n, C, rms_log (log residual). Raises ValueError: fewer than 3 points / a point with D0 ≤ k d / W ≤ 0. · examples: poc_granular_heap_reposebeverloo_rate scalar × scalar × scalar → scalar GPU: none — Beverloo’s discharge law W = C ρ_b √g (D₀ − k d)^{5/2} [kg/s] (Beverloo et al. 1961; coefficients C ≈ 0.58, k ≈ 1.4 as compiled by Nedderman 1992). D0 = diameter of the circular orifice [m], d = particle size [m], bulk_density = bulk density. · examples: poc_granular_heap_repose, poc_powder_scoop_pourcone_profile_px signal × scalar × scalar → signal GPU: none — Cross-section c(u) [px] of the cone’s generatrix (u = distance from the axis [px]). · examples: gallery_drive_soil_tactilecontainer_fill_level image2d → table GPU: none — Reads the fill fraction and the tilt of the powder surface from a side image of the container interior (powder coverage; container inner dimensions = image). · examples: poc_granular_heap_reposecontainer_synth scalar → table GPU: none — Synthesizes the powder coverage seen from the side inside a transparent container (flat surface, tilt allowed). Ground truth = fill_frac. · examples: poc_granular_heap_reposedatum_tilt_check table → table GPU: none — Judges from the return value of :func:repose_angle_silhouette (left/right slope angles and ground tilt) whether the reference plane is tilted. · examples: poc_geodetic_height_frames, poc_granular_heap_reposedischarge_synth scalar × scalar × scalar × scalar × scalar × scalar → table GPU: none — Synthesizes a sequence of heightmaps in which powder falling from a circular orifice D0 at the Beverloo rate piles up below into a cone with angle of repose φ. · examples: poc_granular_heap_reposedispense_mass_from_video any × scalar × scalar × signal → table GPU: none — Dispensed mass and discharge rate from a sequence of heightmaps — heap volume of each frame × ρ_b, and a linear fit against time (least squares). · examples: poc_granular_heap_reposeheap_mass scalar × scalar → scalar GPU: none — m = ρ_b V [kg]. bulk_density is the bulk density [kg/m³] (not the particle density — a heap of 2500 kg/m³ glass spheres has a packing fraction ≈ 0.6 and ρ_b ≈ 1500 kg/m³). Raises ValueError: volume < 0, density ≤ 0. · examples: poc_granular_heap_reposeheap_scene_mjcf scalar × scalar → table GPU: none — MJCF string of a scene with rigid spheres stacked in a flat-bottomed hopper (square orifice, side orifice_d) (no mujoco needed, listed in the ledger). · examples: poc_granular_heap_reposeheap_spheres_select matrix × scalar × scalar × scalar → table GPU: none — Selects only the spheres that belong to the heap: below the bin’s floor plate (z < floor_height − r) and within 3 times the bin radius. Spheres left in the bin (the flat-bottom dead zone) and spheres that rolled away are not part of the heap. Returns: pos (selected centers), n_in_bin, n_runaway, radius_95 (rough heap radius). Raises ValueError: fewer than keep_min remain (no heap formed — so that nothing is silently measured when 600 of 1,200 spheres ran off a smooth table). · examples: poc_granular_heap_reposeheap_synth_cone scalar × scalar → table GPU: none — Synthesizes a conical heap with a known angle of repose (side image = anti-aliased coverage, heightmap = height at cell centers). · examples: poc_granular_heap_reposeheap_volume_cone scalar × scalar → table GPU: none — Closed form for a conical heap — given exactly 2 of R, H, phi_deg, returns the remaining one and the volume. · examples: poc_granular_heap_repose, poc_powder_scoop_pourheap_volume_heightmap image2d × scalar → scalar GPU: none — Heap volume from a heightmap Σ (z − z_ground) pitch² [m³]. ground is the ground height with the same shape (None = 0). Negative heights (below the ground) are clipped to 0 — holes are not subtracted from the heap. Raises ValueError: shape, pitch. · examples: poc_granular_heap_reposehopper_discharge_rate signal × signal × scalar → table GPU: none — Discharge rate [kg/s] from the series m(t) of mass below the floor plate — fits a line only to the band from lo to hi of the total mass (excluding start-up and the final stop; Beverloo’s steady-flow assumption). Returns: rate, n_frames (frames in the band), t_range, rms [kg]. Raises ValueError: fewer than 3 frames in the band (discharge too fast to leave any frames — does not silently return a 2-point slope) / timestamps not monotonic. · examples: poc_granular_heap_reposepowder_flowability_class scalar → table GPU: none — Angle of repose → flowability class (USP <1174> Table 1, original source Carr 1965). · examples: poc_granular_heap_reposerepose_angle_heightmap image2d × scalar → table GPU: none — Angle of repose φ from a heightmap — mode of the histogram of demops.dem_slope gradients. · examples: poc_granular_heap_reposerepose_angle_silhouette image2d → table GPU: none — Reads the angle of repose φ from a side image (powder coverage) — fits a line separately to the left and right slopes, excluding the toe and the apex. · examples: poc_granular_heap_reposespheres_render_shaded matrix × scalar × scalar × scalar × scalar → rgb GPU: none — Renders the side orthographic projection with shading (numpy z-buffer, Lambert). For GIFs. Returns (rows, cols, 3) [0, 1]. · examples: poc_granular_heap_repose, poc_powder_scoop_pourspheres_to_heightmap matrix × scalar × scalar × scalar → image2d GPU: none — Top-view heightmap from the sphere centers pos (n, 3) [m] and the radius (maximum height of the sphere surfaces in each cell, 0 if none). The grid divides [-extent, extent]² with step pitch. · examples: poc_granular_heap_reposespheres_to_silhouette matrix × scalar × scalar × scalar × scalar → image2d GPU: none — Orthographic coverage image seen from the side (y direction), from the sphere centers (union of disks, anti-aliased). Row 0 is at the top. · examples: poc_granular_heap_repose, poc_powder_scoop_pourspoon_tilt_critical scalar × scalar × scalar → scalar GPU: none — Tilt θ_c [deg] at which powder starts to spill from a spoon (2-D cross-section, quasi-static, no wall friction — own derivation). · examples: poc_granular_heap_reposespoon_tilt_dispense scalar × scalar × scalar × scalar → table GPU: none — Fraction of powder dispensed at tilt θ (same 2-D model as :func:spoon_tilt_critical, exact tan(φ − θ)). · examples: poc_granular_heap_reposeae_band_power signal × scalar → table GPU: none — Computes the AE band power in 2 ways (one with the definition from the published analysis code, the other from the density spectrum of acoustics.stft). · examples: poc_powder_grinding_aeae_read_csv any → signal GPU: none — Converts a raw AE CSV (header_lines header rows + 1 ADC sample per 1 row) into a voltage signal [V]. · examples: poc_powder_grinding_aeae_size_correspondence signal × signal → table GPU: none — Correspondence between AE band power and D50 (monotonicity, correlation, log–log slope α, P ∝ D50^α). · examples: poc_powder_grinding_aebreakage_first_order_fit signal × signal → table GPU: none — Fits the first-order breakage rate w(t) = w₀ exp(−S t) (Deniz 2004, Eq. (2); source: Austin). · examples: poc_powder_grinding_aecomminution_energy scalar × scalar → table GPU: none — Closed forms of the comminution laws (Reddy Eqs. (1) and (5)-(7)). Give exactly one of x_product and energy. · examples: poc_dose_uniformity_from_grinding, poc_powder_grinding_aecomminution_law_fit signal × signal → table GPU: none — Fits a comminution law to the time course of particle size d(t) (assuming energy ∝ t; see the module header). The error is measured in log(diameter). · examples: poc_powder_grinding_aeparticle_image_d50 image2d × scalar → table GPU: yes (allow-list) — D10 / D50 / D90 [µm] from the particles in a coverage image. The area is the sum of coverage within the label (counts the partial pixels at the edge; does not swell with the threshold). · examples: poc_dose_uniformity_from_grinding, poc_powder_grinding_aeparticle_image_synth scalar × scalar × scalar → table GPU: none — Coverage image strewn with non-overlapping discs (particle projections), plus ground truth (log-normal diameters [µm], pitch µm/px). · examples: poc_dose_uniformity_from_grinding, poc_powder_grinding_aeparticle_size_dx table × scalar → scalar GPU: none — Diameter Dq [µm] at cumulative volume q % (D10 / D50 / D90 are q = 10 / 50 / 90). · examples: poc_powder_grinding_aeparticle_size_oversize table × scalar → scalar GPU: none — Volume fraction above diameter x [µm] (oversize R(x), 0-1). The cumulative at the ends is interpolated in log(diameter) (the same convention as the default of :func:particle_size_dx). · examples: poc_powder_grinding_aeparticle_size_read any → table GPU: none — Reads a laser-diffraction particle-size-distribution CSV (header key,value rows + a table starting with SizeClasses). · examples: poc_dose_uniformity_from_grinding, poc_powder_grinding_aeparticle_size_synth scalar × scalar → table GPU: none — Particle size distribution of a log-normal volume distribution allocated to the same size classes as the instrument (with ground truth). · examples: poc_dose_uniformity_from_grinding, poc_powder_grinding_aereplicate_compare any → table GPU: none — Lays out the scatter between independent trials and the differences between groups (materials) on the same scale. · examples: poc_powder_grinding_aegs_catalog_html table → table GPU: none — Writes a single self-contained catalogue HTML page where several 3DGS models are chosen from a list of thumbnails and viewed. · examples: gsplat_product_viewergs_from_world table → table GPU: none — Returns a 3DGS with Gaussians attached to the faces of the world (world = a driveworld world dict: V, F, face_color, objects). · examples: gsplat_product_viewer, poc_kendamags_read_file no input → table GPU: none — Reads a 3D Gaussian Splatting file and returns the Gaussians’ centers, colors, opacities, scales and orientations. · examples: gallery_drive_world_iogs_render table × matrix → table GPU: none — Renders a 3DGS with a camera (pose = world→camera 4×4, K 3×3; same convention as driveworld.world_camera: looks along −Z, rows grow downward). · examples: poc_kendamags_render_fn table → any GPU: none — Returns render_fn(world, cam) → (H, W, 3) (the plug-in point for replacing the rendering of :func:kendamaworld.camera_perceiver): on each call it re-attaches the Gaussians to the world’s current vertices with :func:gs_update and calls :func:gs_render with cam (dict: pose, K, width, height). render_kw is passed through to gs_render unchanged. Has the attributes n_calls and n_pairs (cumulative). · examples: poc_kendamags_update table × table → table GPU: none — Recomputes the Gaussian centers and orientations from the world’s current vertices (in place; returns the same dict). · examples: poc_kendamags_viewer_html table → table GPU: none — Turns a 3DGS into a single self-contained HTML page that can be rotated in the browser (no external URLs, no CDN, works offline). · examples: gsplat_product_viewer, gsplat_trained_producthumanoid_clip_mesh table → table GPU: none — Mesh at walked distance distance [m] ({"V","F","color","label","dims"}, origin = directly below the hips, +x = forward). · examples: gallery_drive_world_objects, poc_driving_humanoidshumanoid_impostors table → table GPU: none — Pre-renders the clip (:func:humanoid_walk_clip) from the views of n_yaw azimuths × n_phase phases. · examples: poc_driving_humanoidsworld_camera_impostors table × matrix × matrix → table GPU: none — Captures the world with :func:driveworld.world_camera and pastes the impostors of actors comparing front and back by depth. · examples: poc_driving_humanoidsworld_pose_humanoid table → any GPU: none — Sets world object i (a humanoid_clip_mesh placed with :func:driveterrain.add_mesh_object) to the posture at walked distance distance and moves it to (x, y, yaw) (rewrites only the vertices; faces, colors, labels and dims are unchanged). · examples: gallery_drive_world_objectsglobal_to_tile no input → any GPU: none — Global coordinates → (i, j, x, y) (for comparison; far-away coordinates have already been rounded to the floating-point step). · examples: gallery_drive_world_iopose_normalize no input → any GPU: none — Carries the tile index up or down so that the coordinates of (tile, in-tile coordinates) fall within [0, tile). Returns (i, j, x, y). ★It moves only the in-tile coordinates instead of adding to global coordinates and dividing again — so the step size does not depend on distance. · examples: poc_driving_endless_maptile_digest table → any GPU: none — Fingerprint of a tile mesh (SHA-256 over the bytes of vertices, faces, labels and colors). Used for the bitwise-identical rebuild gate. · examples: poc_driving_endless_maptile_edge_crossing table → scalar GPU: none — Position where a road crosses an edge of tile (i, j) (in-tile coordinates, 0..tile along the edge). None if there is none. side ∈ {“E”, “W”, “N”, “S”}. ★Determined by the edge index: E of tile (i, j) and W of tile (i+1, j) are the same edge (same hash). · examples: poc_driving_endless_maptile_hash no input → scalar GPU: none — Derives a 64-bit integer from the index (i, j) of a tile (or grid point / edge), the world seed and a purpose salt (4 rounds of SplitMix64, integers only). Negative indices are handled too (folded into 64 bits as 2’s complement). The same input gives the same value on any environment. · examples: gallery_drive_world_iotile_height any × any × table → any GPU: none — Ground height [m] at point (x, y) in tile (i, j): Perlin noise on the global integer grid × relief, flat around roads (0 up to flat m, smoothstep over blend m). Grid index = tile index × cells + cell index (exact in integers); interpolation uses only the fraction within the cell — continuous across seams, and no loss of digits far away. · examples: poc_driving_endless_maptile_mesh table → table GPU: none — Ground grid mesh of tile (i, j) (in-tile coordinates) and the road surfaces. Returns {"V" (N, 3), "F" (M, 3), "label" (M,), "color" (M, 3), "roads", "ij" (return value of tile_roads)}. Ground = label 0, road = label 1 (roads are strips slightly above the ground). · examples: poc_driving_endless_maptile_params no input → table GPU: none — Tile table. tile = side length [m], cells = number of grid cells per tile (relief wavelength ≈ tile/cells), relief = relief amplitude [m], road_width [m]; flat within flat m of the road, blending back to relief over blend m (★flat is the width at which the ground does not rise above the road even when a triangle of the ground grid overlaps the road: half the road width + the grid diagonal — for a 10 m grid 3.5 + 14.1 ≈ 18 m; with 6 m the road was buried in the ground), p_road = probability that a road crosses an edge, jitter = offset of the in-tile junction (as a fraction of the tile side), seed = world seed. · examples: poc_driving_endless_maptile_road_distance any × any × table → any GPU: none — Distance from point (x, y) in tile (i, j) (in-tile coordinates) to the nearest road centerline. ★Also looks at the roads of the 8 neighboring tiles (shifting them into in-tile coordinates) — so that the tiles on both sides of a seam give the same distance near it. · examples: poc_driving_endless_maptile_roads table → table GPU: none — Roads inside a tile: the crossing points (in-tile coordinates), the junction, and the segments from the junction to each point. Returns {"hub" (2,), "ends" [(side, (x, y))], "segments" (K, 2, 2)} (empty if there are no crossing points). · examples: poc_driving_endless_maptile_stream table × table → table GPU: none — Keeps the (2·radius + 1)² tiles around the tile (i, j) the car is in and discards tiles that fall outside (cache is modified in place). Returns {"loaded": [(i, j)], "evicted": [(i, j)], "n": number of tiles held}. · examples: poc_driving_endless_maptile_uniform no input → scalar GPU: none — Maps the upper 53 bits of :func:tile_hash to a uniform real number in [0, 1) (exactly representable in double precision). · examples: gallery_drive_world_iobuilding_prisms any → any GPU: none — Extrudes building footprints up to their heights and merges them into one triangle mesh. · examples: gallery_drive_city_terrainbuildings_in_box table → any GPU: none — Returns only the buildings whose centroid (mean of the footprint vertices) lies in the box [xmin,xmax]×[ymin,ymax]. · examples: gallery_drive_city_terraincitygml_synthetic no input → any GPU: none — Creates a minimal CityGML 2.0 string with the same structure as the real thing (for tests and demos). · examples: gallery_drive_city_terrain, poc_driving_japan_townjapan_stats table → table GPU: none — Breakdown table of the road network: number of edges, total length and mean width per type, breakdown of where widths come from, and the number of notable nodes. · examples: poc_driving_japan_townjapan_world table → table GPU: none — Builds a 3-D world of a Japanese town (driveworld format) from the road network. · examples: poc_driving_japan_townjp_crossbuck_mesh no input → any GPU: none — Railroad-crossing warning sign (× mark, black border on yellow ground) + post. The plate faces +x. · examples: gallery_drive_japan_roadsjp_mirror_mesh no input → any GPU: none — Curve mirror (orange post + round mirror; the mirror faces +x). · examples: gallery_drive_japan_roadsjp_pole_mesh no input → any GPU: none — Builds the triangle mesh of a Japanese utility pole (concrete pole + crossarm). · examples: gallery_drive_japan_roadsjp_sign_stop_mesh no input → any GPU: none — Stop sign (regulatory sign 330-A): an inverted equilateral triangle on a red ground (side length side = 80 cm; border line and lettering white, rim and ground red — Appended Table 2, Remarks 1(3)3(8)) + post. The plate faces +x (toward oncoming cars). The corner rounding (R 5 cm) and the “Tomare” (STOP) lettering (character height 13 cm) are omitted (the lettering is shown by the road marking :func:jp_stop_marking_mesh). Returns (V, F, colors) with face colors. · examples: poc_driving_japan_townjp_stop_marking_length no input → scalar GPU: none — Total length [m] of the 3-character “Tomare” (STOP) row (= 3 × character height + 2 × character spacing = 9.2 m). · examples: gallery_drive_japan_roadsjp_stop_marking_mesh no input → any GPU: none — Road marking text “Tomare” (STOP) (non-statutory marking, white). Local coordinates: origin = lane center at the near end of the character row (the side closer to the car), +x = direction of travel, +y = left. · examples: poc_driving_japan_townlatlon_to_local any × any → any GPU: none — Latitude/longitude [deg] → planar coordinates (x east, y north) [m] in an equirectangular approximation around the origin origin = (lat0, lon0). · examples: poc_driving_japan_townosm_parse any → table GPU: none — Reads OSM XML (a string or a file path) and projects the nodes to local planar coordinates [m]. · examples: poc_driving_japan_townosm_road_graph table → table GPU: none — Builds a road network from the result of reading OSM. · examples: poc_driving_japan_townosm_road_loops table → table GPU: none — Boundary loops of the union of roads. Splits them into outer loops (road edges) and holes (city blocks) and simplifies them with Douglas–Peucker. · examples: poc_driving_japan_townosm_road_mask table → table GPU: none — Binary (2-valued) image of the union of roads, with edges drawn as line segments of given width (with round ends). · examples: poc_driving_japan_townosm_route table → table GPU: none — Turns the shortest path between 2 nodes (Dijkstra, respecting one-way streets) into a polyline along the lane center and lists the stop lines by arc length. · examples: poc_driving_japan_townosm_synthetic no input → any GPU: none — Minimal OSM XML for tests and fuzzing (the same elements as the real thing: bounds / node / way / tag). · examples: poc_driving_japan_townplateau_lod2_mesh any → table GPU: none — Reads LOD2 buildings from PLATEAU CityGML and returns a triangle mesh (V, F) in local metric coordinates together with per-building attributes. · examples: poc_plateau_venue_lod2plateau_parse any → table GPU: none — Stream-reads building footprint polygons, heights and ground elevations from PLATEAU CityGML. · examples: gallery_drive_city_terrain, poc_driving_japan_townpolygon_area any → scalar GPU: none — Signed area of a simple polygon (shoelace formula). Positive for counterclockwise. · examples: poc_driving_school, poc_real_sem_metal_layer, poc_thermal_drift_metrologyprism_mesh any → any GPU: none — Extrudes a footprint polygon into a prism of height height (no bottom face). · examples: poc_print_layer_inspectiontriangulate_polygon any → any GPU: none — Triangulates a simple polygon (convex or concave, no self-intersections) by ear clipping. · examples: gallery_drive_city_terraincatch_plan_ballistic table → any GPU: none — Plan that computes the cup’s arrival point from the slack ball’s (p, v) with the closed form of the parabola. Returns plan(t, p, v, cup_state) → dict. · examples: gallery_drive_kendama_racketcatch_plan_staged table → any GPU: none — Catch control with explicit stages (the same plan serves the big cup, small cup, base cup and candle: the cup orientation comes from the trick pose in kp). Returns plan(t, p, v, cup_state) → dict (the catch_plan of :func:kendama_simulate). · examples: poc_kendamacatch_success_rate table → table GPU: none — Success rate on the big cup: scatters the initial state n times (the ball hangs L below the pivot (the string hole of the cross-piece), with Gaussian perturbations σ = jitter_pos sideways and σ = jitter_vel on the velocity (tangential component)), swings up with :func:swing_up_plan (hand starting point origin), and carries the cup with :func:catch_plan_ballistic. · examples: poc_kendamaelliptic_k_agm no input → scalar GPU: none — Complete elliptic integral of the first kind K(k) = ∫₀^{π/2} dφ / √(1 − k² sin² φ) via the arithmetic-geometric mean: K(k) = π / (2·AGM(1, √(1 − k²))). |
k | < 1 (otherwise ValueError). Gate: K(0) = π/2, K(0.5) = 1.685750354812596 (published value, parameter m = k² = 0.25). · examples: poc_kendama |
hole_detect image2d → table GPU: none — Finds the dark disc (the ken-tip hole) in the ball’s image: inside the circle with ball center ball_center (col, row) and image radius ball_radius [px], the largest connected component of pixels whose brightness (mean of RGB) is below dark_ratio times the median ball brightness, whose saturation (max − min)/max ≥ min_sat (excludes the gray string), and whose chromaticity (RGB / |
RGB | ) lies at least min_chroma away from the median chromaticity of the ball (a shaded ball surface only loses brightness while its chromaticity stays the same — picking by brightness alone mistook shadows for the hole; measured and rejected). Returns {"found", "col", "row", "angle" (image angle from the ball center → hole centroid [rad], atan2(Δrow, Δcol)), "offset" (distance / ball_radius: 0 = facing, → 1 = rim), "ellipticity" (minor axis / major axis, from second moments: 1 = a circle seen head-on, → 0 = edge-on), "area" [px]}. If nothing is found, found is False, area is 0, and the rest are NaN. Seen head-on, the hole center coincides with the ball center; the further it turns sideways, the closer it moves to the rim and the more it flattens (offset ≈ sin φ, ellipticity ≈ cos φ, φ = angle between the hole axis and the line of sight). ValueError unless img is (H, W, 3) and ball_radius > 0. · examples: poc_kendama |
kendama_catch_check table → table GPU: none — Geometric test of whether the ball (radius r_b) rests on a cup (rim radius r_c < r_b, rim center cup_center, axis cup_axis, velocity v_cup). · examples: gallery_drive_kendama_racketkendama_combo_simulate table → table GPU: none — Combo: starting with the ball resting on the cup sequence[0], repeats “release → switch grip while it flies → carry the next cup directly under the landing point and catch it with matched speed” n_catch times or until the first failure (moshikame = (“ozara”, “chuzara”), 3 cups = (“ozara”, “kozara”, “chuzara”)). Hand hand0 = center of the cross-piece (switching grip only turns the wrist; no regrip: assumption). The first cup is caught via the swing-up of :func:kendama_simulate, and that hand’s position and velocity are passed as hand0 / hand_v0. · examples: poc_kendamakendama_params no input → table GPU: none — Kendama table. Default = preset="jka_16_2" (ball 60 mm, width 70 mm and overall length 180 mm are published values of the Japan Kendama Association (JKA); ken height 160 mm and cups 42 / 38 / 35 mm come from a user-provided description of the JKA 16-2 model (primary source not verified)). "recommended_large_cup" = big cup 49 mm, hole 24 mm. · examples: gallery_drive_kendama_racket, gallery_drive_world_objects, poc_kendamakendama_simulate table → table GPU: none — 2-phase kendama simulation: while the string is taut, the ball is tied to the pivot (the string hole of the cross-piece = hand + kp[“tie_offset”]) (projection method, the same as :func:ballistics.tether_simulate: with a fixed pivot in vacuum the trajectory is identical; string length = kp[“pendulum_length”]); once slack, free fall (gravity + drag, kp[“bp”]; rho = 0 for vacuum). Every step, :func:kendama_catch_check (big cup = hand + kp[“cup_offset”], axis kp[“cup_axis”]) judges the catch, and the simulation ends once caught. · examples: poc_kendamanoisy_perceiver no input → any GPU: none — Adds isotropic Gaussian noise to perception: perceive(t, p, v) → (p̂, v̂) (position σ = noise_pos [m], velocity σ = noise_vel [m/s]). A negative σ raises ValueError. rng = numpy.random.Generator. · examples: gallery_drive_kendama_racketparabola_fit_g no input → table GPU: none — Fits the parabola p(t) = p_r + v_r (t − t_ref) − ½ g (t − t_ref)² ẑ by least squares with gravity g (−z) known (6 unknowns = position and velocity). · examples: gallery_drive_kendama_racketpendulum_launch_speed no input → scalar GPU: none — Giving this speed at the bottom yields amplitude θ₀ (energy conservation): v₀ = √(2gL(1 − cos θ₀)). θ₀ ∈ [0, π]. · examples: poc_kendamapendulum_period_exact no input → scalar GPU: none — Period 4√(L/g)·K(sin(θ₀/2)) of a pendulum (a rod, or a string within the range where it does not go slack) with amplitude θ₀ ∈ (0, π). As θ₀ → 0 it tends to 2π√(L/g). · examples: poc_kendamapendulum_rod_simulate no input → table GPU: none — Rod pendulum (the constraint acts in both directions: it does not go slack) θ̈ = −(g/L) sin θ integrated with RK4. Returns {"t", "theta", "omega", "energy"} (energy = ½L²ω² − gL cos θ, unit mass). For comparison, to check the period theorem for θ₀ > π/2, where a string goes slack. · examples: poc_kendamaswing_up_apex table → table GPU: none — Closed form for how high a ball hanging straight down (L below the pivot, at rest) rises under :func:swing_up_plan. If the deceleration a > g, the string goes slack the instant deceleration begins (bang: T/2, trap: 2T/3), and the ball falls freely from the hand height z_s and speed v_s at that moment → apex z = tie_z + z_s − L + v_s²/(2g) (ball center measured from the hand’s starting point; L = effective string length, tie_z = height of the pivot above the hand). If a ≤ g, it does not go slack and the ball stops L below the pivot. Returns {"accel", "flies", "slack_t", "z_slack", "v_slack", "apex", "apex_above_handle", "apex_above_cup"} (apex_above_handle = apex − lift; apex_above_cup = that minus the height of the big cup’s rim: reaching the cup needs ≥ h_c, entering the cup’s window needs h_c ≤ … ≤ h_c + 1.5 r_b). · examples: poc_kendamaswing_up_lift table → scalar GPU: none — Closed form for the lift amount of the swing-up (bang): the lift that puts the ball’s apex apex_above_cup above the center of the receiving cup (the inverse of :func:swing_up_apex). apex − lift − cup_z = tie_z + lift/2 − L + 2 lift²/(g T²) − lift − cup_z = A, taken as a degree-2 equation in lift, positive root. Default A = max(h_c + 0.9 r_b, (top_offset − cup_z) + r_b + 0.035): an apex where the bottom of the ball clears the highest point of the kendama by 35 mm (the hold of :func:catch_plan_staged does not bring the cup closer until the ball has cleared it; during the clearance time ≈ 2√(2·0.035/g) = 0.17 s the cup is moved back sideways by 10 cm). Unless the deceleration 4·lift/T² exceeds g, the ball does not fly (ValueError). · examples: poc_kendamaswing_up_plan table → any GPU: none — Open-loop trajectory of the hand (center of the cross-piece; the string’s pivot and the big cup are offset from it by kp’s offsets and move with it): lifts straight up from origin by lift in T_lift seconds, then stays still. Returns a function t → (3,) (origin for t ≤ 0, at rest at origin + lift·ẑ for t ≥ T_lift). · examples: poc_kendamatether_slack_angle no input → any GPU: none — Angle θ_s (from straight down) at which the string goes slack for a ball with speed v₀ = √(2gL(1 − cos θ₀)) at the bottom (the energy at which a rod would stop at θ₀). · examples: poc_kendamatether_tension_fixed no input → scalar GPU: none — Tension T = m(v²/L + g cos θ) of an inextensible string with a fixed hand end (v = speed, θ = angle from straight down). If negative, “a string cannot push” = it goes slack. · examples: poc_kendamaadd_ken table × table → scalar GPU: none — Adds a ken to the world at pose (p = center of the cross-piece, R) (face labels 27/28/30/31 are kept as is). Returns the index into objects. · examples: gallery_drive_world_objectsadd_string table → scalar GPU: none — Adds the string (label 29, dark gray) to the world. Returns the index into objects. · examples: gallery_drive_world_objectscamera_perceiver table → any GPU: none — Perception that derives the ball’s (p̂, v̂) from images alone: perceive(t, p, v, scene) → (p̂, v̂) | None (for :func:kendama.kendama_simulate; with attribute observe_all = True it is called every step). The ground truth (p, v) is used only to render the world, and v is never read. · examples: poc_kendamaken_mesh table → table GPU: none — Mesh of the ken + cross-piece (big cup, small cup) + base cup. Origin = center of the cross-piece (hand), ken = +x (ken tip at +x), cross-piece axis = +z (big cup on top). · examples: gallery_drive_world_objects, poc_kendamaken_set_pose table × matrix → any GPU: none — Sets the pose of ken i to (p, R) (rewrites only the vertices). ValueError for an object that is not a ken. · examples: gallery_drive_world_objectsken_truth table × table → table GPU: none — Ground-truth projection of ken i_ken: the (col, row) of the rim center of the receiving cup (anchors[kp[“catch_cup”] + “_rim”] moved by the pose), its depth, the cup radius in the image [px] (using the big cup’s radius), and visible (in front of the camera with the pixel inside the image). Same form as ballworld.ball_truth. · examples: gallery_drive_world_objectskendama_clearance table → table GPU: none — Clearance [m] from the ball’s surface to the kendama (the solids of revolution of ken and cross-piece) (negative = the ball penetrates the kendama). With kp’s trick pose (R_ken, grip point grip), hand hand and ball center p_ball (each (3,) or (N, 3)). The distance to a solid of revolution equals exactly the 2-D distance to its meridian profile, so it does not depend on the mesh discretization. Returns {"gap" (N,), "ken" (N,), "cross" (N,)} (ken / cross = clearance to each part). The physics does not resolve ball-kendama collisions, so this quantity counts the steps where “the ball passed through the kendama” (used for gates and honest reporting). R_ken (iteration 19, grip switch in combos): pass the pose as (3, 3) or per-time (N, 3, 3) instead of kp[“R_ken”]. grip = override of the grip point (local). If both are None, behaves as before. · examples: poc_kendamakendama_pose table → table GPU: none — Sets the state of the kendama world: the ken (1 rigid body; grip point kp[“grip”] at hand hand, pose R_ken defaulting to the trick pose kp[“R_ken”] in kp: cross-piece center = hand − R·grip), the ball (center p_ball), and the string (cross-piece string hole → ball string hole). R_ball defaults to the rotation that points the ball’s string hole (−HOLE_AXIS_LOCAL) at the cross-piece’s string hole (the ball’s rotation is not solved: correct while taut, approximate in flight). Returns {"tie", "cup" (rim center of the receiving cup), "cup_axis", "cross" (cross-piece center), "string_hole", "hole_axis" (direction of the large hole, world), "R_ball"}. world is the one from :func:kendama_world (world[“kendama”] is required). · examples: poc_kendamakendama_rig table → table GPU: none — Set of cameras viewing the swing-up space (x, y ∈ ±0.4 m, z ∈ 0.55 to 1.45 m: hand 1.0 m, string 0.42 m, lift 0.265 m). n = 2: azimuth 0° and 90°; n = 4: every 90°. All look at target (default (0, 0, 1.0)). Returns [{"pose", "K", "eye", "width", "height"}, …] (same form as ballworld.camera_rig). · examples: gallery_drive_world_objects, poc_kendamakendama_world table → table GPU: none — A world of floor + ken (trick pose R_ken from kp, grip point kp[“grip”] at hand) + ball with hole + string. Origin on the floor, z up. The ball hangs below the cross-piece’s string hole by the effective string length (kp[“pendulum_length”]) (swung hang_deg from straight down toward hang_dir — with the diagonal (1, −1), the lateral offset is visible from both cameras at azimuth 0° and 90°). If p_ball is given, the ball is placed there. The floor is split into 0.25 m cells (as 1 large quad, any triangle reaching behind the camera is dropped whole and the floor vanishes). The return value’s world[“kendama”] = {"ken", "ball", "string"} (indices into objects) + "kp". · examples: gallery_drive_world_objects, poc_kendamastring_mesh no input → any GPU: none — A thin prism joining 2 points (the ball’s string hole p_ball and the cross-piece’s string hole p_cup) (4 sides + both ends, 8 vertices, 12 faces, outward-facing). Square cross-section of side 2·radius. ValueError if the two points coincide. · examples: gallery_drive_world_objectsstring_set table → any GPU: none — Moves both ends of string i to (p_ball, p_cup) (rewrites only the vertices). ValueError for an object that is not a string. · examples: gallery_drive_world_objectscolor_rule_mask rgbimage × table → table GPU: none — Classify RGB as white line, yellow line, or unknown with explicit HSV rules, returning masks and confidence. · examples: lane_ops_tourlane_boundary_fit keypoints → table GPU: none — Robustly fit the lane boundary x=c0+c1*y+c2*y² to top-view points (lateral x, forward y). · examples: lane_ops_tourlane_center_path table × table → table GPU: none — Return a lane-centre path and drivable band from the left and right boundaries. · examples: lane_ops_tourplane_topview_color rgbimage × matrix × matrix × signal → table GPU: none — Project a ground plane into a colour-preserving top view and return a validity mask plus pixel-to-world coordinates. · examples: lane_ops_tourstop_line_detect labels × table → table GPU: none — Detect the stop line and Japanese-style crosswalk as separate typed outputs. · examples: lane_ops_tourackermann_steer_angles any → table GPU: none — Ackermann inner and outer wheel steering angles (turning radius R at the center of the rear axle, wheelbase L, track width t). · examples: poc_driving_lateralbicycle_model_step any → any GPU: none — 1 step of the linear 2-wheel equivalent (bicycle) model (classic 4th-order Runge–Kutta; δ and u are constant within the step). · examples: poc_driving_lateralclothoid_design no input → table GPU: none — Quantities for joining a straight line → circle (radius R) with a clothoid of length L. · examples: poc_driving_lateralclothoid_points no input → table GPU: none — Points of a curve whose curvature is linear in arc length, κ(s) = κ₀ + (κ₁ − κ₀) s / length (part of a clothoid; a circular arc or straight line if κ₀ = κ₁). · examples: heightmap_depth_camera_tour, poc_driving_lateral, road_surface_tourcurvature_speed_plan any → table GPU: none — Speed planning that builds a speed limit from a curvature sequence and enforces acceleration/deceleration limits with 2 passes, forward and backward (a classical method). · examples: poc_driving_lateralcurve_speed_limit any → any GPU: none — Upper speed limit without sliding outward on a curve (radius R) with superelevation i and side-friction coefficient f: v = √(g R (i + f)/(1 − i f)) [m/s]. · examples: gallery_drive_lateral_envdesign_min_radius any → any GPU: none — Minimum curve radius from Eq. (3) of the commentary on the Road Structure Ordinance: R = V² / (127 (i + f)) [m] (V in km/h). · examples: gallery_drive_lateral_envfresnel_integrals any → any GPU: none — Fresnel integrals C(x) = ∫₀ˣ cos(π t²/2) dt, S(x) = ∫₀ˣ sin(π t²/2) dt (odd functions). · examples: gallery_drive_lateral_envfriction_circle_usage any → any GPU: none — Friction-circle utilization √(a_x² + a_y²) / (μ g) (above 1 = outside the friction circle = exceeds the force the tires can receive from the road surface). · examples: poc_driving_laterallateral_offset any → table GPU: none — Arc length s along a polyline path and lateral offset n (positive to the left of the direction of travel) of a point. Projection onto the nearest segment. · examples: poc_driving_lateralofftracking_circle no input → table GPU: none — Off-tracking transient (closed form): the vehicle pose and the radius of the inner wheel after the front-axle center has traveled arc length s since entering a circle of radius R. · examples: poc_driving_lateralpure_pursuit_circle_offset no input → table GPU: none — Steady-state circle radius ρ and lateral offset ρ − R (positive outward) when tracking a steady circle (radius R) with pure pursuit (referenced to the rear-axle center). · examples: poc_driving_lateralpure_pursuit_curvature any → table GPU: none — pure pursuit: curvature κ = 2 sin α / L_d for aiming from the rear-axle center (pose = (x, y, ψ), (N, 3) allowed) at the point a distance L_d ahead on the path. · examples: poc_driving_lateralrear_axle_path any → table GPU: none — Trajectory of the rear-axle center dragged without slip by a polyline trajectory of the front-axle center (an exact pursuit curve per segment). · examples: poc_driving_lateralroad_surface_heightmap table → depth GPU: none — Road surface height map from a centre-line alignment and cross-section rules, with the per-cell analytic truth (grade and cross slope). · examples: heightmap_depth_camera_tour, road_surface_tourstanley_steer any → table GPU: none — Stanley steering angle δ = ψ_e + atan2(−k e, k_s + v) (the lateral offset e of the front-axle center is positive to the left of the path; ψ_e = path heading − ψ). · examples: gallery_drive_lateral_envstanley_straight_decay no input → signal GPU: none — Closed form of the front-axle lateral offset e(t) under Stanley (unclipped) on a straight path. · examples: gallery_drive_lateral_envsteady_cornering no input → table GPU: none — Steady-state circular cornering of the linear 2-wheel equivalent (bicycle) model (speed u, turning radius R = u/r, left turn positive). · examples: gallery_drive_lateral_envtime_to_line_crossing no input → scalar GPU: none — TLC: time [s] until the vehicle (its reference point) reaches the lane boundary, assuming it drives a circle (or straight line) at its current curvature. · examples: poc_driving_lateralturn_maneuver_check table → table GPU: none — Checks how a left or right turn is made (Road Traffic Act Art. 34(1)-(2) / Rules of the Road (Kyosoku) 5-7-2). All numeric margins are assumptions (SOURCES). · examples: poc_driving_lateralundersteer_gradient no input → table GPU: none — Understeer gradient K = (m/L)(l_r/C_f − l_f/C_r) [rad/(m/s²)], and the characteristic / critical speed. · examples: poc_driving_laterallidar_scan mesh × table × matrix → table GPU: none — Fires 1 sweep of a LiDAR with pose T_sensor (world ← sensor) into the mesh world (V, F). · examples: poc_driving_schoollidar_spec no input → table GPU: none — Creates the spec dict of a rotating LiDAR (default: 32 beams, elevation −25…+15°, azimuth 0.2° = 1800 columns). · examples: poc_driving_schoolray_box_ranges points × points → signal GPU: none — Distance travelled by rays from the origin origin in directions dirs (...,3) until they enter an axis-aligned box (slab method). · examples: gallery_drive_city_terrainray_plane_range points × points → signal GPU: none — Distance travelled by rays from the origin origin in directions dirs (...,3) until they hit the plane ax+by+cz+d=0. · examples: poc_table_tennis_bouncecapture_margin vector × vector × scalar × points → measurement GPU: none — Signed distance of the LIPM capture point to the support set (0-step capturability). · examples: walking_ops_tourcom_from_silhouette mask → keypoints GPU: none — Centre of mass (centroid) of a binary silhouette, as (row, col) in image coordinates. A cheap proxy for the body COM projection when a full mass model is unavailable (evis/hillco posture). Returns (nan, nan) for an empty mask. · examples: consumer_hillco, walking_ops_tourcom_support_margin vector × points → measurement GPU: none — Static stability margin: signed distance from the COM ground-projection to the support-polygon boundary (McGhee & Frank 1968). · examples: consumer_hillco, consumer_onocollo, physical_ai_perception, walking_ops_tourcontact_points points × any → points GPU: none — Points lying within tol of a ground plane [a,b,c,d] = ground contacts. · examples: consumer_onocollo, walking_ops_tourfoot_slip_metrics any × mask × points → table GPU: none — Horizontal foot slip during stance, foot-measured progression, and a ‘body-only’ gate. · examples: walking_ops_tourfootstep_plan mask → table GPU: none — Alternating left/right footstep sequence over a foothold mask (exact shortest path). · examples: walking_ops_tourgait_phase matrix → table GPU: none — Classify each foot as stance (planted) or swing per frame from its height. · examples: consumer_hillco, consumer_onocollo, walking_ops_tourgait_step_events any × scalar × scalar × scalar → table GPU: none — Extract walking steps (liftoff -> swing -> touchdown) from foot trajectories, with hysteresis. · examples: walking_ops_tourlipm_capture_point points × points × scalar → points GPU: none — Instantaneous capture point of the linear inverted pendulum, xi = c + c_dot / omega. · examples: walking_ops_tourstatic_contact_force_lp points × normals × vector × scalar × scalar → table GPU: none — Static contact-force distribution under linearised friction cones (scipy.optimize.linprog). · examples: walking_ops_toursupport_line_margin vector × points → measurement GPU: none — Support margin that is defined for EVERY support set, including two-foot (segment) support. · examples: walking_ops_toursupport_polygon points → table GPU: none — Convex support polygon of the ground-contact points (ground x, y plane). · examples: consumer_hillco, consumer_onocollo, physical_ai_perception, walking_ops_tourhill_hold_brake_min scalar → scalar GPU: none — Minimum braking [m/s²] that keeps the car standing on a slope = max(0, |
a_creep − g sin θ | − c_rr g cos θ) (static friction balance). · examples: poc_driving_longitudinal |
hill_start_command scalar × scalar × scalar × scalar → any GPU: none — Command for a hill start. Holds until t_release (creep + braking b_hold). · examples: poc_driving_longitudinalhill_start_rollback scalar × scalar × scalar → table GPU: none — Rollback of a car stopped on an uphill (θ > 0) that releases the brake and gets drive a_drive after τ seconds (closed form without air resistance). · examples: poc_driving_longitudinallong_energy_residual table → any GPU: none — Residual of the energy balance (per unit mass [J/kg]): (½ v² + g z) − (½ v₀² + g z₀ + W_drive − W_brake − W_rr − W_drag). · examples: poc_driving_longitudinallong_params no input → table GPU: none — Parameters of the longitudinal motion (all defaults are assumptions; sources are in the module docstring). · examples: poc_driving_longitudinal, poc_driving_town, poc_driving_traffic, poc_driving_weatherlong_simulate scalar × scalar × any → table GPU: none — Integrates the longitudinal equation of motion with RK4 (steps are split at event times; see the module docstring). · examples: poc_driving_longitudinal, poc_driving_town, poc_driving_traffic, poc_driving_weatherplan_command table → any GPU: none — Turns :func:stop_line_plan into command(t, s, v). Before t0: before (None = hold speed); react / cruise hold speed (drive = cancels grade + rolling + air resistance; braking if negative on a downhill); brake1 / brake2 use the planned values; once stopped, hold (braking hold_brake (None = upper limit) + creep drive). · examples: poc_driving_longitudinal, poc_driving_weatherroad_eval table × scalar → any GPU: none — Looks up the road’s longitudinal profile at arc length l: (z, sin θ, cos θ). road = None (flat) / a number (constant grade angle θ [rad], z = l sin θ) / the dict from :func:road_profile. On a break point, the value of the following segment is used (right-continuous). · examples: poc_driving_longitudinalroad_profile table → table GPU: none — Turns a polyline of horizontal distance and height (x, z) (same form as profile of drivecourse.course_slope) into a longitudinal profile over arc length l along the road surface. · examples: poc_driving_longitudinalskill_test_score table → table GPU: none — Totals the demerit points of the driving skill test (National Police Agency, notice Hei-Un-Hatsu No. 12, Reiwa 4, detailed demerit items). · examples: gallery_drive_lateral_env, poc_driving_longitudinal, poc_driving_weatherskill_test_thresholds no input → table GPU: none — Numbers used for scoring (the official notice gives no distance or time figures; each value carries its source). · examples: gallery_drive_lateral_envstop_line_plan scalar × scalar → table GPU: none — From the moment of perception (time t0, dist_to_line from the front end to the stop line, speed v), plans a 2-stage braking that stops margin short of the stop line. · examples: poc_driving_longitudinal, poc_driving_weatherstopping_distance_grade scalar × scalar × scalar → scalar GPU: none — Closed form of the stopping distance = reaction distance v ρ + braking distance (1/(2k)) ln(1 + k v²/A), A = brake + g sin θ + c_rr g cos θ (v²/(2A) for k = 0). · examples: poc_driving_longitudinal, poc_driving_weatherevents_to_frames table → voxel GPU: none — Splits the events evenly in time into n_frames and sums the polarities per pixel into frames (T, H, W) (ON = +1, OFF = −1). · examples: gallery_drive_world_ioread_bvh no input → table GPU: none — Reads a BVH file and returns the skeleton and the world coordinates of the joints for all frames. · examples: gallery_drive_world_ioread_events no input → table GPU: none — Reads an event camera’s event stream (.txt / .csv / .npy / .npz). · examples: gallery_drive_world_iocross_covariance_reproducible points × points → matrix GPU: none — Returns the Kabsch / ICP cross-covariance H = (P − P̄)ᵀ (Q − Q̄) (3×3) with bits independent of the point order. · examples: poc_reproducible_icpfp64_emulation_probe no input → table GPU: none — Returns a table showing whether cuBLAS FP64 emulation (CUDA 13.0 Update 2 or later) is usable on this machine. · examples: poc_reproducible_icpkabsch_reproducible points × points → table GPU: none — Returns the rigid R and t minimizing |R p + t − q| (Kabsch 1976) with bits independent of the point order. · examples: poc_reproducible_icpmatmul_ozaki matrix × matrix → matrix GPU: none — Builds an FP64-accurate matrix product A @ B from exact low-precision partial products (Ozaki-I / Ozaki-II). · examples: poc_reproducible_icpmatmul_reproducible matrix × matrix → matrix GPU: none — Bitwise-reproducible A @ B with FP64 accuracy (ValueError if this cannot be guaranteed = fail-closed). · examples: poc_reproducible_icpozaki_error_bound matrix × matrix × scalar → matrix GPU: none — Guaranteed element-wise upper bound (a matrix) on the truncation error of matmul_ozaki(A, B, n_slices) (Ozaki-I). · examples: poc_reproducible_icpconvex_mirror_image any → table GPU: none — Virtual image in a convex mirror (paraxial, arrays allowed). Scenarios S064, S130. · examples: poc_driving_passconvex_mirror_misjudge any × any → table GPU: none — Misjudgment when the distance and speed of a car seen in a convex mirror are read as if it were a flat mirror (paraxial closed form, arrays allowed). Scenarios S064, S130. · examples: poc_driving_passcrest_safe_speed any → table GPU: none — Maximum speed at which the vehicle can stop within the visible distance (inverse of the stopping distance, closed form, arrays allowed). Scenario S065. · examples: poc_driving_passcrest_sight_distance no input → table GPU: none — Minimum sight distance over a crest vertical curve (parabola) (closed form). Scenarios S065, S081 (near the top of an uphill grade). · examples: poc_driving_passhill_meeting_yield no input → table GPU: none — Passing each other at a narrow spot on a slope: who yields (Rules of the Road (Kyosoku) 6-2-1(6). No explicit statutory provision). Scenario S128. · examples: gallery_drive_mirrors_crowdslane_change_follower_decel any → table GPU: none — Constant deceleration required for the following vehicle in the target lane not to come closer than min_gap to the ego vehicle (closed form, arrays allowed). Scenario S072. · examples: poc_driving_passlane_change_permitted table → table GPU: none — Whether a lane change is permitted (judgment by the statute). Scenarios S067, S072, S073. · examples: poc_driving_passmirror_image_side points → table GPU: none — Whether a point seen in a curve mirror appears to the left or right of the mirror center, and which way it appears to move (flat-mirror closed form). Scenarios S064, S130. · examples: gallery_drive_mirrors_crowdsmirror_road_coverage no input → table GPU: none — Extent of road visible in a curve mirror (convex arc or flat) (2-D top view, closed form). Scenarios S064, S130. · examples: poc_driving_passno_overtaking_zones table → table GPU: none — Builds the sections where overtaking under Art. 30 (lane changes or passing alongside for overtaking) is prohibited, from facilities along the road. Scenarios S081, S009, S130. · examples: poc_driving_passovertake_permitted table → table GPU: none — Whether overtaking may begin (judgment by the statute and the Rules of the Road (Kyosoku)). Scenarios S077, S078, S079, S080, S081, S083. · examples: poc_driving_passovertake_requirement no input → table GPU: none — Time and distance needed to overtake the lead vehicle, and the threshold distance within which no oncoming vehicle may be approaching (closed form). Scenarios S079, S086, S145 (Art. 28(4)). · examples: poc_driving_passovertake_return_gap no input → table GPU: none — Gap (between the rear of the ego vehicle and the front of the overtaken vehicle) at which the overtaken vehicle appears entirely in the rearview mirror. Scenarios S086, S145. · examples: poc_driving_passovertaken_conduct_check table → table GPU: none — Duties of the vehicle being overtaken (Art. 27). Scenario S085. · examples: poc_driving_passroundabout_entry_check table → table GPU: none — Whether entering the roundabout is permitted (Art. 37-2(1)-(2), Art. 35-2). Scenario S102. · examples: poc_driving_passroundabout_signal_check signal × signal → table GPU: none — Scores signaling inside a roundabout (Art. 53(2) and (4), Rules of the Road (Kyosoku) 5-5-1(2)). Scenario S069. · examples: poc_driving_passroundabout_signal_point any → table GPU: none — Position (angle traveled clockwise) at which to start the left turn signal when exiting a roundabout. Scenario S069. · examples: poc_driving_passfailure_confusion any × any → table GPU: none — Confusion matrix and accuracy: rows = injected (true) class, columns = classification. A name outside classes raises ValueError (broken spelling). Returns: matrix (n, n) int, classes, accuracy, n, per_class_recall (recall of each true class; nan for absent rows). · examples: poc_peg_failure_recoveryinsertion_episode_summary table → table GPU: none — Summarizes the record of 1 run (the return value of :func:pegfail_episode_run, or a dict with the same keys): injected class, first detected failure class, detection delay (true failure onset failing_onset_tick → detection tick, tick = 10 ms), number and success of recoveries, final depth and maximum force. · examples: poc_peg_failure_recoveryinsertion_failure_classify table → table GPU: none — Looks up a signature in the table (fail-closed): if exactly 1 row matches, its class and recovery; if 0, "unknown" (no guessing); if 2 or more, ValueError as a table defect (cannot happen with a table that passed :func:insertion_failure_validate). · examples: poc_peg_failure_recoveryinsertion_failure_presets table → table GPU: none — Default failures to inject (each class → arguments of :func:pegfail_episode_run). The numbers come from Whitney’s boundaries: missed_hole = ε₀ 2.5 mm (> W + c_r = 1.2 mm) / wedging = μ 0.8, θ₀ 4.5° (c/μ = 2.76°) / jamming = θ₀ 3° (below 7.35°, so no wedging at μ = 0.3); after the tip is 4 mm in, the carriage’s lateral target is shifted +3.0 mm toward the tilt side and held (wrist spring 600 N/m → F_x ≤ 1.8 N; the hinge is 40 mm from the tip, so M/(rF_z) crosses the slanted edge of the parallelogram. Measured: at −3.0 mm (opposite side) it slides in; at +1.6 mm it stops but the ratio is inside = unknown) / blocked_hole = plug at depth 6 mm / wrong_hole = heads for a decoy hole 26 mm to the side / nominal = ε₀ 0.5 mm, θ₀ 1.5°. · examples: poc_peg_failure_recoveryinsertion_failure_table no input → table GPU: none — Failure classification table (data): each row = {cls, when (field → set of allowed values, "*" = anything), recovery, basis}. · examples: poc_peg_failure_recoveryinsertion_failure_validate table → table GPU: none — Validates the table (fail-closed): spelling of the field vocabulary, class names and recovery names; pairwise exclusivity (no 2 rows can match the same signature = there is no pair of rows whose allowed sets intersect in every field); reachability (≥ 1 row for every class other than unknown). · examples: poc_peg_failure_recoveryinsertion_recovery_primitive any → table GPU: none — Table of recovery primitives (class → description of the motion). name is a recovery word of the table. · examples: poc_peg_failure_recoveryinsertion_signature table × table → table GPU: none — Discretizes continuous observations into a signature in the table’s vocabulary. · examples: poc_peg_failure_recoveryinsertion_stall_detect signal → table GPU: none — Detects stalls from a depth time series [m] (at each tick i, stalled if depth[i] − depth[i − window] < min_advance). · examples: poc_peg_failure_recoveryjamming_force_check table × scalar × scalar × scalar → table GPU: none — Whether the measured tip force ratios (F_x/F_z, M/(rF_z)) lie inside Whitney’s parallelogram (wraps pegsim.jamming_diagram and adds which edge is nearest and which slanted edge applies to the current contact configuration). · examples: poc_peg_failure_recoveryjamming_parallelogram_planar table × scalar → table GPU: none — Derives the jamming parallelogram from the planar statics of two-point contact (a 2nd path checked against the vertices of pegsim.jamming_diagram = the values of OCW p.34). · examples: poc_peg_failure_recoverypegfail_scene_mjcf table → any GPU: none — MJCF string of a scene with failure injection (no mujoco needed): reads pegsim.peg_scene_mjcf with ElementTree and adds (i) a wrist force-torque sensor (site peg_top = wrist origin; interaction force between the child body and its parent), (ii) if blocked_depth [m] is given, a plug (cylinder) in the hole whose top face is at that depth, (iii) if decoy_xy is given, a decoy hole (the wall, chamfer and collar are duplicated and translated, with decoy_ prefixed to their names; the square frame is removed because it overlaps the decoy). Raises ValueError: plug depth outside the hole, decoy overlapping the target hole (center distance < 2(R + W) + 1 mm). · examples: poc_peg_failure_recoverytip_force_ratios table × signal × signal × signal → table GPU: none — Converts the tip load (F⃗, M⃗) into Whitney’s ratios: x = F⃗·e_x / F_z, y = M⃗·(e_x × ẑ) / (r F_z), F_z = −F⃗·ẑ (positive when pushing in). If F_z ≤ 1e-6 N, the ratios are None (cannot divide). e_x is the horizontal unit vector (convention of :func:jamming_force_check). Raises ValueError: e_x has no horizontal component. · examples: poc_peg_failure_recoveryvision_boundary_flip table × signal × scalar → table GPU: none — “Where does it break”: when measurement noise with standard deviation σ is added to the true offset ε, counts at each ε the probability that the offset field (small/large, boundary W + c_r) is flipped relative to the truth (numpy only). Also returns how many σ the point lies from the boundary (z) and the theoretical value Φ(− |
z | ) (a gate that matches when the noise is Gaussian). · examples: poc_peg_failure_recovery |
wedging_risk table × scalar → table GPU: none — Wedging risk for tilt θ [rad]: the ratio θ/(c/μ) to the boundary c/μ (OCW p.28) and 3 levels (safe / near / over) that take the margin margin_deg into account. Wraps pegsim.wedging_check and adds theta_limit_deg and headroom_deg = c/μ − θ in degrees. At μ = 0 the boundary is inf and the result is always safe. Raises ValueError: θ < 0, margin_deg < 0. · examples: poc_peg_failure_recoverywrist_load_from_deflection table × signal × signal × signal × signal × signal → table GPU: none — From the wrist-spring deflection, the load that the support (+ gravity) applies to the peg, taken about the tip (numpy only): F⃗ = −k_t q_slide − m g ẑ, M⃗_tip = −k_r (q_hinge − rest) + (p_hinge − p_tip) × F⃗_spring + (p_com − p_tip) × F⃗_g. · examples: poc_peg_failure_recoverycamera_world_to_cv matrix → table GPU: none — Converts a MuJoCo camera pose (d.cam_xmat 3×3 = camera axes in the world, d.cam_xpos) to OpenCV / Fullseye extrinsic parameters: X_cv = R X_w + t, R = diag(1, −1, −1) Rwcᵀ, t = −R p (MuJoCo looks along −Z with +Y up; OpenCV has +Z forward and +Y down). · examples: poc_pegsim_insertionchamfer_capture table → table GPU: none — Whether the chamfer can absorb an initial lateral offset ε₀ [m] without correction: |
ε₀ | ≤ W + c_r (condition for the tip edge to land on the chamfer surface; derived). · examples: poc_peg_failure_recovery, poc_pegsim_insertion |
circle_fit_known_radius matrix → table GPU: none — Fits a circle of known radius r to a 2-D point sequence (row, col) (solves only for the center by Gauss-Newton; stable even on partial arcs). · examples: poc_pegsim_insertioncontact_state_predict table → table GPU: none — Predicts the number and location of contact points from the true peg pose (tip center and axis direction) by geometry alone (a 2nd implementation independent of the contact computation). · examples: poc_pegsim_insertioncoverage_edge_points image2d × image2d × image2d → matrix GPU: yes (allow-list) — Returns subpixel edge points (u, v) from the brightness (coverage) of an anti-aliased boundary: for a pair where pixel p is on the inside side and the pixel 2 steps ahead is outside, edge position = (−0.5 + f_p + f_q) pixels from p (f = inside coverage of that pixel = (I − I_out) / (I_in − I_out)). · examples: gallery_drive_pegcylinder_fit_known_radius points → table GPU: none — Fits a cylinder of known radius r to a 3-D point cloud (N, 3): a point on the axis (2 degrees of freedom perpendicular to the axis) and the axis direction (2 degrees of freedom) by Gauss-Newton. · examples: gallery_drive_peghole_centre_from_rgbd rgb × image2d × matrix → table GPU: none — Hole (dark disk) center in 3-D (camera coordinates) from 1 wrist RGB-D frame: fit the board plane from depth, lift the anti-aliased edge onto the plane, and fit a circle within the plane (:func:measure.fit_circle). · examples: gallery_drive_peginsertion_grid_summary table → table GPU: none — Aggregates the success-rate grid: from rows {eps_mm, tilt_deg, correct, success}, the table of success rates for with/without correction × ε₀ × θ₀, plus “the largest ε₀ at which everything succeeds without correction” and “successes / total with correction”. · examples: gallery_drive_pegjamming_diagram table → table GPU: none — Jamming diagram (OCW p.34): at two-point contact depth l [m], the parallelogram of the region in which the applied force ratios (F_x/F_z, M/(rF_z)) advance the insertion. · examples: poc_peg_failure_recovery, poc_pegsim_insertionpeg_measure_overlay rgb × matrix × matrix → rgb GPU: yes (allow-list) — Overlay diagram of measurements (numpy only): true value = large green cross, estimate = small red cross, edge points used for circle fitting = yellow dot (imagedraw). At the bottom right, paste an enlargement of 2*crop px square (crop is half width) around the center of gravity of the true value, multiplied by zoom (to visually see the coincidence of subpixels). · examples: poc_pegsim_insertionpeg_offset_from_rgbd rgb × image2d × matrix × matrix → table GPU: none — Relative offset (dx, dy) [m] of the peg tip with respect to the hole center, in world (carriage) coordinates, from 1 wrist RGB-D frame — the observation for visual servoing. · examples: poc_peg_failure_recovery, poc_peg_insertion_tactile, poc_pegsim_insertionpeg_params no input → table GPU: none — Table of peg and hole dimensions: lengths in m, rotational stiffness in N m/rad, camera image in px, and field of view in deg. · examples: gallery_drive_peg, poc_peg_failure_recovery, poc_peg_insertion_tactile, poc_pegsim_insertionpeg_scene_mjcf table → any GPU: none — MJCF string of the scene (no mujoco needed): hole = a ring of n_seg boxes whose inscribed surface has radius R + a ring for the 45° chamfer + a collar at the mouth surface + a square frame; a position-controlled carriage (x, y, z slides) carrying a compliant wrist of 6 spring joints, with the peg (cylinder) at its end. The wrist camera looks 45° down from 60 mm behind and 20 mm above the carriage; the side camera is fixed. · examples: poc_pegsim_insertionpeg_synthetic_rgbd table → table GPU: none — Synthetic RGB-D with ground truth (numpy only, no mujoco needed): analytically ray-casts the board z = 0 (gray), the hole disk (radius R + W, black, surface 4 mm below), and the peg (cylinder of radius r + tip disk, orange) from the wrist camera (looking 45° down, same orientation as in the MJCF). · examples: gallery_drive_peg, poc_peg_failure_recovery, poc_peg_insertion_tactile, poc_pegsim_insertionpeg_tip_from_rgbd rgb × image2d × matrix → table GPU: yes (allow-list) — Peg tip center in 3-D (camera coordinates) from 1 wrist RGB-D frame: peg pixels → depth point cloud → PCA axis → known-radius cylinder fit; the tip’s position along the axis is set by a model that matches the end of the shadow (subpixel, coverage) to the end of the projected edge circle. · examples: gallery_drive_pegtwo_point_depth table → scalar GPU: none — Insertion depth l₂ [m] at which two-point contact begins at tilt θ [rad] (from the narrowest point to the tip center). Selects one of 3 models by name. · examples: gallery_drive_peg, poc_peg_insertion_tactile, poc_pegsim_insertionwedging_check table → table GPU: none — Whether wedging can occur at the tilt θ [rad] at the onset of two-point contact (OCW p.28: θ > c/μ). · examples: poc_peg_insertion_tactile, poc_pegsim_insertionwhitney_clearance table → table GPU: none — Whitney’s dimensionless clearance and the thresholds that follow from it: c = (D − d)/D, c_r = R − r, θ_m = √(2c), the chamfer’s tolerated misalignment, the wedging angle. · examples: poc_peg_failure_recovery, poc_pegsim_insertionpegsym_scene_mjcf matrix × matrix → any GPU: none — MJCF string for a polygonal peg scene (no mujoco needed): hole = one wall box per edge (below the narrowest part), a 45° chamfer plate and a bright collar (mouth face at z = 0); peg = a convex-mesh prism (cross-section peg_vertices, peg frame, axis at the origin). The carriage has x, y, z slides and a yaw hinge (position control), followed by a 6-DoF spring wrist (tilt k_rot and twist k_yaw [N m/rad] are separate; the grasp is soft in twist). Cameras: the wrist camera (30 mm beside the carriage, looking straight down), an upward camera at station [m] from the hole (in the floor plane, viewing the peg end face from below), and a fixed oblique overhead camera side for figures. Each box lies only in the half-plane outside its own edge, so extending it past the corners never intrudes into the hole (the same construction works for any convex hole shape). Raises ValueError: polygon not convex, chamfer < 0, hole depth ≤ chamfer, friction < 0, stiffness ≤ 0. · examples: poc_peg_symmetry_searchplane_topview image2d × matrix × matrix × signal → image2d GPU: none — Resamples an oblique or from-below image into a view of the world plane z = z seen from directly above (homography = project each grid point and sample bilinearly). The camera is given by world → OpenCV camera R and t (x_c = R X + t) and intrinsics K (convention: pixel centers at integers). The grid is centered at centre = (x, y) with side extent [m] and pixel size res [m]. Columns = +x, rows = −y (north up). An image taken from below (mirrored) also comes out in the same orientation in this view. Grid points behind the camera or outside the image get fill. Returns an (S, S) grayscale image (color is converted to luminance). Raises ValueError: image is not 2-D grayscale or (H, W, 3/4), K or R is not 3×3, t does not have 3 components, extent ≤ 0, res ≤ 0, S > 4096. · examples: poc_peg_symmetry_searchpolygon_coverage_image matrix → image2d GPU: none — Coverage image 0..1 ((size, width); anti-aliasing with ss × ss subsamples) of a convex polygon (vertex list in pixel coordinates (col, row)). A building block for synthesis with ground truth. Raises ValueError: not convex, size < 8, ss < 1. · examples: poc_peg_symmetry_searchpolygon_fit_check matrix × matrix → table GPU: none — Whether a point set (peg vertices, or projected vertices of a tilted peg) can be put into a convex polygonal hole by translation alone — solves the linear program maximizing the margin m, max m s.t. n_j·(p + t) ≤ h_j − m (all points, all edges), exactly by enumerating vertices where 3 constraints hold with equality (at most a dozen or so edges; the combinations are solved together). Returns fit (m ≥ 0), margin [m] (if negative, the minimum penetration), t (optimal translation (2,)) and active (indices of the equality edges). Raises ValueError: point set is not (N ≥ 1, 2) or not finite, hole is not a convex polygon, hole normals do not enclose all directions (unbounded). · examples: poc_peg_symmetry_searchpolygon_offset matrix × scalar → table GPU: none — Polygon obtained by shifting each edge of a convex polygon outward by clearance [m] (corners stay sharp = how hole drawings are made). For a regular polygon this is a similarity enlargement, so orientation and symmetry are unchanged. Returns vertices, normals and offsets (n·x ≤ h). Raises ValueError: not convex, clearance < 0 or not finite, an edge vanishes when shifted (since there are no reflex corners, this only admits shapes where it cannot happen). · examples: poc_peg_symmetry_searchpolygon_peg scalar → table GPU: none — Peg cross-section (counterclockwise vertex list): regular n-gon (apothem apothem [m], normal of face 0 at yaw [rad]). If cut > 0, vertex 0 (between face 0 and face 1) is cut off by a line whose normal is that vertex’s direction, cut [m] inside the circumcircle — keyed (symmetry n = 1). Returns vertices (V, 2), n (nominal n-fold symmetry of the shape: 1 if keyed), apothem, circumradius, yaw, cut and cut. Raises ValueError: n < 3, apothem ≤ 0, cut < 0 or at least the difference between circumradius and inradius (an edge vanishes). · examples: poc_peg_symmetry_searchpolygon_two_point_depth matrix × matrix × scalar → table GPU: none — Exact two-point-contact depth l₂ [m] (from the narrowest part z = 0 to the center of the tip) of a tilted polygonal peg: the part of the peg at z ≤ 0 at depth l is the convex hull of the tip-face vertices and the points where the side ridges cross z = 0. Since the hole is a vertical prism, the peg enters while the horizontal projection of these vertices fits into the hole by translation (:func:polygon_fit_check) and stops fitting as l deepens — that boundary is found by bisection. tilt_dir = horizontal tilt direction [rad] (world frame, the same frame as the peg cross-section). The circle formula for comparison (Whitney; the exact 3-D cylinder formula of pegsim (2R − r(cos θ + sec θ))/tan θ) is returned for the inscribed circle (r = A, R = A + δ) and the circumscribed circle (r = A/cos(π/n), R = (A + δ)/cos(π/n)) (circle_in, circle_out). The small-angle limit for a square tilted about an axis parallel to a face is Eq. (2.28) of Goli et al. 2024, φ = (v − v′)/h, i.e. l₂ tan θ → 2δ (goli_small_angle = 2δ/tan θ). For odd n (triangle) a vertex lies opposite each face, so it is deeper than the inscribed-circle formula in every direction. For even n it matches the inscribed-circle formula in the face-normal direction (1e-11 m for the square). Some combinations go up to 0.03 % beyond the inscribed-circle side (tilt 6°, 15° from the face). Returns l2, circle_in, circle_out and goli_small_angle (δ is the mean difference of apothems, n the number of vertices). Raises ValueError: θ ≤ 0 or ≥ 30°, does not enter the narrowest part while tilted, no two-point contact up to depth_max. · examples: poc_peg_symmetry_searchpolygon_yaw_read image2d → table GPU: none — Reads the orientation modulo the period 2π/n from the complex Fourier coefficients of the object contour (subpixel iso-line, the same threshold_sub_pix as :mod:pegtactile) in the top view (:func:plane_topview, columns = +x, rows = −y). Under n-fold symmetry the only nonzero coefficients are k ≡ 1 (mod n), and arg(c₁₋ₙ c₁ⁿ⁻¹)/n does not depend on the start point (:func:pegtactile.symmetry_order_contour). If n is given, the phase for that n is used instead of the detected n (when n is known from the drawing; the phase can be read even if edge jitter in real images makes extra coefficients significant). polarity = whether the object is dark (“dark”, a hole) or bright (“bright”, the peg end face). The intensities are stretched to 0..1 using the 2 % and 98 % quantiles, then the 0.5 iso-line is taken. Returns n_detected, n_used, yaw (world orientation; the sign is flipped back because image rows are −y; representative in [0, P) of period 2π/n_used), centroid_px (row, col) and amps. If n_used = 0 (circle), yaw = nan. Raises ValueError: unknown polarity, flat image, no contour, n < 0. · examples: poc_peg_symmetry_searchrelative_yaw_from_images image2d × image2d × scalar → table GPU: none — Orientation difference between the peg (upward camera → view resampled onto the plane of the tip face) and the hole (wrist camera → view of the mouth plane), on the n-fold symmetry quotient: Δ = symmetry_fold(yaw_peg − yaw_hole, n). Both are read with :func:polygon_yaw_read; the shape-dependent phase constant (difference between vertex direction and face direction) cancels in the difference between identical shapes (since the hole is a similar shape obtained by shifting the peg outward). Keyed shapes (n = 1) are not similar, so a small offset remains (measured by a gate). Returns delta (rotating the peg by −delta aligns it), peg and hole (readings) and n. Raises ValueError: n < 1, reading failed (exception from :func:polygon_yaw_read). · examples: poc_peg_symmetry_searchrotation_search_plan scalar × scalar → table GPU: none — Candidates for the rotation search (yaw corrections applied to the peg): step s = P/M dividing 1 period P = 2π/n_sym into M = ⌈P/(2 phi_cap)⌉ equal parts (≤ 2 phi_cap, so the capture windows cover it without gaps). order = “alternate” (0, +s, −s, +2s, … from the estimate) or “sweep” (0, s, 2s, …). n_sym = 0 (circle) gives 1 candidate. Returns angles (M,), step, period and M. Raises ValueError: n_sym < 0, phi_cap ≤ 0, unknown order. · examples: poc_peg_symmetry_searchrotation_window scalar × scalar × scalar → table GPU: none — Rotation window within which the peg enters the hole (or its mouth, if chamfered). Closed form for a regular n-gon (derived): with centers aligned, the vertices lie at directions π/n ∓ φ from the face normal, and the peg enters if the normal-direction extent of the outermost vertex, a cos(π/n − |
φ | ), is at most A + δ (+ W): φ = π/n − arccos(x), x = (A + δ + W) cos(π/n)/A (if x ≥ 1 the window fills the half period π/n). Since arccos has a rounding floor near 1, it is written as atan2(√(1 − x²), x). If peg_vertices and hole_vertices are given, the windows in the positive and negative directions are also measured by bisection on the linear program (:func:polygon_fit_check, translation also free) (second (independent) implementation; the only option for keyed shapes). Returns phi_fit (the narrowest part, not the mouth), phi_cap (chamfer mouth), period = 2π/n, M = ⌈period/(2 cap)⌉ and lp (plus/minus: when vertices are given, both ends of the window entering the mouth = the connected interval containing 0; the scan divides the half period into 360 steps, the ends by bisection). Here cap is phi_eff when mu is given; otherwise finite phi_cap or the smallest lp window. · examples: poc_peg_symmetry_search |
search_expected_tries scalar × scalar → table GPU: none — Expected number of tries of the rotation search (exact, when the unknown orientation error e is uniform over 1 period). With candidates c_k (:func:rotation_search_plan), the k-th try succeeds when e first falls in [c_k − φ, c_k + φ] (period P), so E = Σ_k (1 − |
∪_{i<k} I_i | /P). The computation splits the circle at the interval ends and, for each small interval, counts the index of the first candidate covering it (same value, O(M²) vector operations). If the step is exactly 2φ, E = (M + 1)/2 (closed). The ratio to a search unaware of the symmetry (period 2π, M₁ = ⌈π/φ⌉), ratio_vs_blind → 1/n. If estimate_sigma [rad] is given, e is assumed normal (wrapped to the period) with standard deviation σ around the estimate, and the expected count in “alternate” order is also returned (expected_with_estimate, numerical integration with 4,096 points). Returns expected, closed, M, blind_expected and ratio_vs_blind. Raises ValueError: n_sym < 1, phi_cap ≤ 0, sigma ≤ 0. · examples: poc_peg_symmetry_search |
spiral_expected_tries matrix × scalar × scalar → table GPU: none — Expected number of tries until a lateral offset, uniform over a disk of radius rho, is first captured (distance ≤ capture) when the point sequence points is tried in order. measured = mean over a grid inside the disk (grid × grid, points outside the circle discarded). closed = swept-area approximation: k points sweep area k·p·s, so radius r is reached at k = πr²/(ps), and if r is uniform over the disk, E = πρ²/(2ps) + 1/2 (p and s are estimated from the point sequence: s = median distance between adjacent points, p = per-turn increase of the radius of the outermost points). If some grid point is captured by no point, uncovered > 0 (a hole in the coverage). Raises ValueError: points are not (N ≥ 3, 2), capture or rho ≤ 0, grid < 11. · examples: poc_peg_symmetry_searchspiral_search_points scalar × scalar × scalar → table GPU: none — Search points for strike-slip: Archimedes’ helix r = p φ/(2π) at every arc length step [m] (from the center) to radius r_max. Spacing between adjacent turns = pitch. If the radius to be captured by the chamfer is c, it can be covered if the worst distance between adjacent turns sqrt((pitch/2)^2 + (step/2)^2) is less than or equal to c. Return this value as worst_gap. Returns points(N, 2), worst_gap, n. Raises ValueError: pitch, step, r_max ≤ 0, points exceed 200,000. · examples: poc_peg_symmetry_searchsymmetry_fold scalar × scalar → scalar GPU: none — Folds an angle into the representative (−π/n, π/n] of the n-fold symmetry quotient SO(2)/C_n ((−π, π] for n = 1, 0 for n = 0 = circle). The group identity symmetry_fold(α + 2πk/n, n) = symmetry_fold(α, n) is the gate. Raises ValueError: n < 0, angle not finite. · examples: poc_peg_symmetry_searchcontact_candidates table × signal × signal → table GPU: none — Single-contact candidate points (world frame) and a flag for whether each point can geometrically touch. tip_rim = circle of the tip rim (radius r, perpendicular to the axis); only rim points that reach the wall (deeper than the narrowest section: radius ≥ R − tol) or the chamfer face (radius ≥ R + (W − depth) − tol) are valid. mouth = rim circle of the hole’s narrowest section (radius R, z = −W); only points through which the shank surface passes (distance from the axis line r ± tol, tip deeper than the narrowest section) are valid. Without narrowing the candidates, the coincidence that the line of action of a two-point contact’s resultant passes through “the tip rim on the side not touching the wall” is read as a single point (measured on a prototype wedge). tol covers MuJoCo’s soft-contact penetration and the 36-gon wall (+0.02 mm at the vertices). Returns tip_rim, rim_ok, mouth, mouth_ok, depth. Raises ValueError: tip or axis is not 3 finite components, n_az < 8, tol < 0. · examples: gallery_drive_pegcontact_state_from_wrench table × signal × signal × signal × signal × signal → table GPU: none — Contact wrench (F that the peg receives from the hole and M about the grasp point g, world frame) → contact state (rules, no learning). · examples: poc_peg_insertion_tactileequivariance_check any × any × signal × scalar × signal → table GPU: none — Building block for the equivariance gate: draws the shape rotated by angle θ (render(θ) → image) and checks whether the answer of a perception op (op(画像) → (row, col, orientation)) changes as the group action dictates. Expected: the position rotates by θ about centre = (row, col) and the orientation advances by θ (mod 2π/n; for n = 0 the orientation is not compared). Returns pos_err_px (maximum), ang_err_deg (maximum, shortest distance mod 2π/n, nan if not compared) and rows (per angle). Raises ValueError: render or op is not callable, not even 1 angle or non-finite angles, n < 0, centre does not have 2 components. · examples: poc_peg_insertion_tactilefriction_from_single_contact signal × text × any × signal → table GPU: none — Wall friction coefficient from the contact force while sliding in a single-point contact (it sits at the Coulomb limit only while sliding; during sticking it is a lower bound). If the tip rim is on the wall (where="tip"): normal = horizontal (toward the hole center), friction = vertical → μ̂ = |
F_z | / | F_horizontal | . If the shank is on the rim of the narrowest section ("mouth"): normal = perpendicular to the axis, friction = axial → μ̂ = |
F·a | / | F_⊥ | . With chamfer, on the 45° chamfer face (normal = (−r̂, 1)/√2; c = contact point is required). "none" gives None. Returns mu (may be None). Raises ValueError: where outside the vocabulary, F or axis is not 3 finite components, chamfer without c. · examples: poc_peg_insertion_tactile |
pad_context table → table GPU: none — Tools built just 1 time for membrane synthesis and reading: grid of pixel centers (X, Y), Cerruti kernel, 3-color lights, background of the unloaded membrane, and the marker reference image. · examples: gallery_drive_soil_tactile, poc_knife_tactile_toughness, poc_peg_insertion_tactile, poc_tactile_dipole_torquepad_loads_to_peg_wrench scalar × signal × scalar × signal × table → table GPU: none — Inverse of :func:peg_wrench_to_pad_loads: (P, q) of the 2 pads and the torsion on the membrane (per 1 pad, about gripper x) → wrench that the pads apply to the peg (gripper frame, about the grasp point) and grip force. Torsion on the peg = −2·torsion. Returns F, M (3,), grip = (N_R + N_L)/2. Raises ValueError: q is not 2 finite components, P or torsion is not finite. · examples: poc_peg_insertion_tactilepad_marker_displacement scalar × signal × table → table GPU: none — Membrane surface displacement at the marker positions (closed form + Cerruti convolution): shear |
q | in direction φ is the x-direction Mindlin field rotated by φ, u(p) = R(φ) u_x(R(−φ)p) (the kernel is an isotropic half-space, so it is closed under rotation); the radial displacement ūr of the normal load (Johnson eq. 3.41b) and the torsion field are added. The torsion field is partial slip if torsion_model="partial_slip" (default, since 2026-10-06) (numerical solution of :func:cuttouch.torsion_partial_slip, slipping from the edge annulus), or the no-slip field used up to 0.4.0 if "no_slip" (:func:tactorque.torsion_stick_field). When the torsion exceeds full slip, the membrane cannot carry any more torsion, so the field of the table’s last row (stick circle = 1 annulus) is drawn and the torsion_slipping flag is set. pts are the marker centers (px; if omitted, the reference positions in ctx). Returns u_m (N, 2) [m], hz, mp (Hertz and Mindlin tables), phi, Q, torsion, torsion_model, torsion_ratio, torsion_slipping. Full slip ( |
q | ≥ μP) is flagged by mp['slipping'] (field with c = 0). Raises ValueError: P ≤ 0 (pad not in contact), q is not 2 finite components, misspelled torsion_model. · examples: gallery_drive_soil_tactile, poc_knife_tactile_toughness |
pad_params no input → table GPU: none — Fingertip pad table: dome radius R, gel E and ν, pad-peg friction μ, grip force G₀ [N], finger half-spacing w (half-width of the peg’s flats), distance of the grasp point from the peg top, field of view and pixel count of the membrane camera, markers (pitch, radius [px], darkness), peg mass and center of mass (same as the pegfail defaults). · examples: gallery_drive_soil_tactile, poc_knife_tactile_toughness, poc_peg_insertion_tactile, poc_tactile_dipole_torquepad_shear_asymmetry signal × signal → table GPU: none — Splits the membrane shear of the 2 pads into a common component (= axial force, direction of F_z/2) and a differential component (= couple, M/(2w)): common = (q_R + q_L)/2, diff = (q_R − q_L)/2. ratio_v = |
diff_v | / ( | common_v | + | diff_v | ) (0 = same direction, 1 = pure couple), opposite_v = whether the sign of the v component is opposite between left and right. Raises ValueError: not 2 finite components. · examples: gallery_drive_peg |
pad_tactile_frame scalar × signal × table → table GPU: none — Synthetic image of 1 pad: Hertz indentation shading (:func:tacsim.membrane_render_rgb) + markers whose centers are shifted by the displacement (:func:tacslip.membrane_render_markers, not warped by interpolation). noise is the σ of per-pixel Gaussian noise. Returns rgb (with markers, (n, n, 3)), shading (without markers = for reading forces; a real device needs marker removal), pts (ground-truth marker centers [px]), truth (P, q, φ, Q, c/a, slip flag, a, torsion, torsion model and full-slip flag). The torsion-field model is torsion_model (default "partial_slip", :func:pad_marker_displacement). Raises ValueError: P ≤ 0, noise < 0, misspelling. · examples: poc_peg_insertion_tactilepad_tactile_read table × table → table GPU: none — Image of 1 pad → (P̂, q̂, torsion). · examples: poc_knife_tactile_toughness, poc_peg_insertion_tactilepeg_wrench_to_pad_loads signal × signal × table → table GPU: none — Wrench that the 2 pads apply to the peg (gripper frame, about the grasp point) → for each pad (normal force P, shear on the membrane q = (q_u, q_v)). · examples: poc_knife_tactile_toughness, poc_peg_insertion_tactilestall_verdict table × scalar × any → table GPU: none — Whitney’s verdict when stalled in two-point contact (OCW p.28): if θ > c/μ̂ it is wedging (the case that stays stuck even when the force is released), otherwise jamming (resolvable by the direction of the force). c = (R − r)/R. μ̂ is the value read from touch during the sliding phase of the same insertion (:func:friction_from_single_contact); if it is None or ≤ 0, returns "unknown" without guessing. Returns verdict (“wedging” / “jamming” / “unknown”), theta_limit. Raises ValueError: θ is not finite or is negative. · examples: poc_peg_insertion_tactilesymmetric_peg_shape text → image2d GPU: none — Peg cross-section (synthetic with ground truth, anti-aliased coverage 0..1, (size, size)): circle, equilateral triangle, square, regular hexagon (circumradius radius [px]), and keyed circle (D-cut: part of the circle cut off by a chord, n = 1). The shape is drawn rotated by angle [rad] (rotating the image would introduce interpolation). centre = (col, row), ss = subsamples per pixel along 1 side. Raises ValueError: unknown shape, size < 16, radius ≤ 0, ss < 1. · examples: poc_peg_insertion_tactilesymmetry_order_contour matrix → table GPU: none — Reads the order of n-fold symmetry from the complex Fourier coefficients of a closed contour (N, 2) = (row, col) (:func:fourierdesc.contour_fourier_complex, resampled by arc length, orders ±K): under n-fold symmetry the only nonzero coefficients are k ≡ 1 (mod n). n is the greatest common divisor of (k − 1) over the significant k ( |
c_k | > rel· | c_1 | , k ≠ 0, 1). If no k is significant, it is a circle (n = 0 = continuous). Orientation α̂ = arg(c₁₋ₙ c₁ⁿ⁻¹)/n (an invariant independent of the choice of start point, mod 2π/n). For n = 1, α̂ = −arg(·) from c₂ c₁⁻² — k = −1 (3× the amplitude) has a shape-dependent constant phase, so the branch (α / α + π) cannot be decided without a reference (the prototype got it wrong by 180°). Returns n, angle (rad, nan for n = 0), amps (k → |
c_k | / | c_1 | ), sig and centroid (c₀ = (row, col)). The orientation from the 2nd-order moments is unusable for n ≥ 3 because the inertia becomes isotropic (a trap gate of the PoC). Raises ValueError: contour is not (N ≥ 8, 2), K < 6. · examples: poc_peg_insertion_tactile |
two_point_forces table × signal × signal × signal × signal × signal → table GPU: none — Decomposes the wrench of a two-point contact (Whitney) into 2 contact forces and the wall friction μ (planar; Coulomb assumption with both points sliding downward). · examples: poc_peg_insertion_tactilewhitney_wrench table × text × scalar × scalar × scalar × scalar → table GPU: none — Closed-form contact wrench (Whitney’s quasi-static plane, synthetic with ground truth): for a peg with tilt θ (top of the axis toward +x) and tip depth depth (from the mouth plane), applies the normal forces fn_tip, fn_mouth and downward-sliding Coulomb friction μ, with state = "one_point" (tip rim on the −x wall) / "mouth" (shank on the +x rim of the narrowest section) / "two_point" (both). For two points, the shank also touches the rim at depth = W + l₂(θ) (closed form). g is the grasp point (if omitted, peg length − 8 mm along the axis from the tip). Returns F, M_g (about the grasp point), g, tip, axis, points. Raises ValueError: state outside the vocabulary, θ outside (0, π/2), depth, μ or a normal force not finite or negative. · examples: gallery_drive_peg, poc_peg_insertion_tactilewrist_deflection_from_rgbd rgb × image2d × matrix × matrix × signal × signal × scalar → table GPU: inside a chain only (allow-list) — Translational deflection and tilt of the wrist from 1 wrist RGB-D frame: peg pixels (pegsim color classification) → depth point cloud → PCA axis → cylinder fit with known radius (:func:pegsim.cylinder_fit_known_radius) → axis line in the world frame → in the carriage frame (subtracting the encoder-known position carriage_pos), the point at hinge height z = hinge_z = (Δx, Δy). Tilt (θ_x, θ_y) from the axis direction via atan2. The cylinder’s axial position is not visible, so Δz is not reported (honestly: the wrist’s z compression is covered by k̂ and the tactile F_z, :func:pegtactile_process_episode). Returns dx, dy, axis, tilt_x, tilt_y, rms_cyl, n_pts. Raises ValueError: shapes do not match, fewer than 50 peg pixels (not visible). · examples: gallery_drive_pegwrist_stiffness_fit signal × signal → table GPU: none — From the wrist deflection Δx (wrist camera) and the same component F of the contact force on the peg, k = Σ FΔx / ΣΔx² (least squares through the origin; quasi-static balance F_contact + F_spring ≈ 0 ⇒ F_contact = kΔx). The same formula also works for rotation (angle and moment). Returns k, r2, rms_N, n, span. Raises ValueError: fewer than 3 points, shape mismatch, non-finite, range of Δx below min_span (ill-conditioned: k of a spring that does not move is undetermined). · examples: poc_peg_insertion_tactileparticle_size_distribution table × table → table GPU: none — Calibrates a particle table and returns acceptance reasons, bins on three bases, D10/D50/D90 with confidence intervals, and provenance. · examples: poc_compendial_particle_microscopyband_width_profile image2d × scalar × scalar → table GPU: none — Reads, with subpixel precision, the width of the band wiped by a straight stroke (direction along) on each line perpendicular to the band: the first and last threshold crossings are found by linear interpolation with the neighboring pixel, and their difference × res is the width. Returns widths (per line; NaN for unreadable lines), centres (band center positions [m], in map coordinates), valid, median. Assumes 1 band (several bands give the width between the outermost edges). Raises ValueError: image checks, res ≤ 0, along not x / y, non-finite threshold. · examples: poc_polish_wipe_measurecoat_image image2d × scalar → image2d GPU: none — Removal-depth map → image [0, 1] of the plate with the remaining dirt (film), taken from directly above. Remaining thickness t = clip(h0 − h, 0, h0), brightness I = bare · exp(−τ t/h0) (Beer–Lambert, τ = optical_depth is the optical depth of the whole film) + Gaussian noise noise. Raises ValueError: map not 2-D or non-finite, coat ≤ 0, τ ≤ 0, bare outside (0, 1], noise < 0. · examples: poc_polish_wipe_measurecoat_thickness_from_image image2d × scalar → image2d GPU: inside a chain only (allow-list) — Inverse of :func:coat_image: t = h0 ln(bare/I)/τ, clipped to [0, h0]. Raises ValueError: image checks, numeric checks. · examples: poc_polish_wipe_measurepolish_scene_mjcf scalar → any GPU: none — MJCF in which a cylindrical tool (radius radius, thickness thickness, mass mass) is moved over a flat plate (the plane z = 0) by 3 prismatic joints x, y, z. z is a position servo (gain k_z [N/m] = the wrist’s pressing spring); x and y are stiff servos k_xy. Gravity on. Closed form of the spring: normal force when the tool bottom rests on the plate N = m g + k_z (q_surface − q_cmd) (q_surface = joint value at which the bottom reaches z = 0). Contact is made stiffer (solref time constant = 4 × timestep, solimp 0.99) so that penetration is much smaller than the spring compression (with the default soft contact, mass 0.05 kg at 5 N penetrated 0.7 mm, which in series with the wrist spring made the force come out 6 % too small — measured). The friction cone is elliptic. With this setting, a stiff wrist (20 kN/m) penetrated 0.1-0.36 mm and the force came out 17 % too small (the same with friction 0; measured). Raises ValueError: numeric checks. · examples: poc_polish_wipe_measurepreston_coefficient_fit image2d × image2d → table GPU: none — Solves depth map = k_p × dwell map (dwell_map = ∫ p |
v_rel | dt [Pa·m] integrated with k_p = 1) by least squares and returns the Preston coefficient: the through-origin fit k_p, plus k_p_affine / offset with an intercept, r2, rms_residual, n. Without mask, the pixels whose dwell exceeds 5 % of the maximum are used. Raises ValueError: shapes differ or non-finite, fewer than 3 pixels, dwell is 0. · examples: poc_polish_wipe_measure |
preston_pressure_kernel scalar × scalar × scalar → image2d GPU: none — Window of the pressure [Pa] under the tool, sampled at pixel centers (odd × odd; the center pixel is the tool center). Flat: uniform F/(πa²) inside the circle; Hertz: p0 √(1 − r²/a²) (radius = sphere radius R, requires estar). With normalize=True it is scaled so that Σ p · res² = F (removes the error of the pixel-counted circle area, so that FFT convolution preserves volume). Raises ValueError: force, radius or pixel not positive, unknown kind, Hertz without estar, contact radius smaller than 1 pixel. · examples: poc_polish_wipe_measurepreston_removal_map matrix × scalar × scalar × scalar → image2d GPU: none — Removal-depth map [m] (shape shape, pixel res) obtained by integrating the Preston equation dh/dt = k_p p |
v_rel | from the trajectory and the pressing force. · examples: poc_polish_wipe_measure |
preston_track_profile signal × scalar × scalar × scalar → signal GPU: none — Cross-section removal depth h(y) [m] of a long straight stroke (moving toward +x) (y = lateral offset, positive to the left of the travel direction; same shape as y). Closed forms: flat 2 k_p p √(a² − y²); Hertz k_p (E*/R)(a² − y²) (a from the force via Hertz); spinning flat (requires spin = ω and speed = v) (k_p p / v)[c √(b² + ω²c²) + (b²/ω) asinh(ωc/ |
b | )] (c = √(a² − y²), b = v − ωy). It is 0 for | y | ≥ a. Raises ValueError: numeric checks, spinning without a speed, Hertz with spin (no closed form). · examples: poc_polish_wipe_measure |
raster_wipe_area scalar × scalar × scalar × scalar → table GPU: none — Closed form of the area touched by a tool of radius radius when it draws n_strokes parallel strokes of length length (toward +x, stacked toward +y at spacing pitch, lifted and returned after each stroke): (2a + (N − 1) min(s, 2a)) L + N π a² − (N − 1) lens(s). Returns area, rect_area, disc_union_area, lens, overlap_saving (sum of the N strokes − area), path ((M, 2), NaN-separated trajectory; with step, each stroke becomes a point sequence at that step). Raises ValueError: numeric checks, n_strokes < 1, area overflow, more than 1e6 points per stroke. · examples: poc_polish_wipe_measureremoval_depth_from_heights image2d × image2d → image2d GPU: yes (allow-list) — Removed depth [height units, positive = removed] from height maps before and after polishing (placed on the same grid). Because remounting changes the tilt and height of the after map, a least-squares plane is fitted to the difference z_before − z_after over the “untouched” region (ref_mask, or else a border frame of fraction frame around the perimeter) and subtracted. Raises ValueError: shapes differ, not 2-D or non-finite, fewer than 3 reference pixels, frame outside (0, 0.5). · examples: poc_polish_wipe_measurewinkler_polish_run image2d × scalar × scalar × scalar × scalar × scalar → table GPU: yes (allow-list) — Time evolution of the surface height map z when polished by an elastic-foundation (Winkler) pad pressed with mean pressure pressure at relative speed speed. At each step the pad surface height z_t is solved from Σ k_w max(0, z − z_t) = N p̄ (only contacting regions bear pressure), then by the Preston equation z ← z − k_p v k_w max(0, z − z_t) Δt (explicit scheme, c Δt ≤ 0.01, c = k_p k_w v). Returns z (final), t, rms (rms deviation from the mean, no form removal), mean and contact (contact fraction) at n_record points, rate_full_contact = c (while the whole surface is in contact, rms decays as exp(−c t) — derived; this function does not use it), dt, steps. Raises ValueError: z checks, numeric checks, c Δt > 0.01. · examples: poc_polish_wipe_measurewipe_band_width scalar × scalar × scalar × scalar → table GPU: none — Width of the band where a film of thickness coat disappears when wiped by one straight stroke of a non-spinning tool (closed form). Returns width (0 means it cannot be wiped), half_width, force_min (force at which the band starts to form), centre_depth (removal depth at the center), a (contact radius). Flat: D = 2 a k_p p, half width a √(1 − (h0/D)²), F_min = π a h0/(2 k_p). Hertz: D = k_p E* a²/R, half width √(a² − h0 R/(k_p E)), F_min = (4E/3R)(h0 R/(k_p E*))^{3/2}. Independent of speed (when not spinning). Raises ValueError: numeric checks. · examples: poc_polish_wipe_measurewipe_coverage image2d × scalar → table GPU: yes (allow-list) — Reads from the image the area that was wiped (bright = where the film disappeared). Binarization and connected components via detect.segment_objects (Otsu by default). Returns area (wiped pixels × res² [m²]), fraction, largest_area, n_regions, mask, threshold (Otsu threshold, estimated as the midpoint between the minimum of the wiped side and the maximum of the remaining side) and, if coat is given, residual_at_threshold (the remaining film thickness implied by the threshold brightness — the band read is where “removal ≥ h0 − this thickness”). Raises ValueError: image checks, res ≤ 0, neither wiped nor remaining areas (the threshold cannot be determined). · examples: poc_polish_wipe_measurepolyhedron_clip_halfspace any × any × any → any GPU: none — Cut a closed mesh with a plane and return the side (x − point)·normal ≥ 0 as a closed solid → (vertices, faces). · examples: itokawa_gravity_tourpolyhedron_gravity any × points → table GPU: none — Gravity that a closed, uniform-density polyhedron produces at observation points (the exact formula of Werner & Scheeres 1997). · examples: itokawa_gravity_tourfivebar_fk signal × table → any GPU: none — Forward kinematics: joint angles (q₁, q₂) (angle of each arm’s proximal link from the x axis) → tip E. Elbow Bᵢ = Aᵢ + l₁(cos qᵢ, sin qᵢ), E = the “forward” (larger-x side) or “back” point of circle(B₁, l₂) ∩ circle(B₂, l₂). Return value {"E", "B1", "B2"}, or None if they do not intersect. · examples: poc_air_hockey_interceptfivebar_ik signal × table → any GPU: none — Inverse kinematics: tip E → (q₁, q₂). Elbow of arm i = circle(Aᵢ, l₁) ∩ circle(E, l₂); “out” puts the elbow outside (arm 1 on the −y side, arm 2 on the +y side), “in” the opposite. None if out of reach (fail-closed). The region where FK∘IK = identity is the workspace (:func:fivebar_workspace). · examples: poc_air_hockey_interceptfivebar_link no input → table GPU: none — Planar 5-bar linkage (the tips of 2 arms of 2 links each joined at 1 point): bases A₁ = base + (0, −d/2), A₂ = base + (0, +d/2), proximal l₁, distal l₂, forward = +x. The numbers are assumed (the dimensions of the IROS 2024 hardware have not been read in the original). Return value: dict (table sort). · examples: poc_air_hockey_interceptfivebar_reach_interval table × scalar → table GPU: none — The reachable y interval on the defense line x = x_line (on a grid, with an FK∘IK round trip). {"y_lo","y_hi","ok"}. · examples: poc_air_hockey_interceptfivebar_trajectory signal × table × signal → matrix GPU: none — Joint trajectory q(t) of the plan: constant angular velocity from t_now over t_move, then stops on arrival. (N,2). · examples: poc_air_hockey_interceptfivebar_workspace table → table GPU: none — Workspace: the grid points where IK is solvable and FK∘IK returns within tol (only points consistent on branch out/forward count as “reachable”). Return value {"xs","ys","mask","area","x_max","x_min"} (x_max = the most forward reachable x). · examples: poc_air_hockey_interceptpuck_camera table → table GPU: none — Synthetic top-down camera: a homography (affine) mapping the table to pixels at uniform scale. col = (x + x_half + margin)·s, row = (y_half + margin − y)·s. Return value {"H" world→(col,row), "Hinv", "shape", "px_per_m", "margin", "table"}. · examples: gallery_drive_ballistics, poc_air_hockey_interceptpuck_crossing_point table × scalar → any GPU: none — Time and place where the predicted path first crosses the defense line x = x_line (closed form: solves d(τ)·uₓ = required distance per segment). · examples: poc_air_hockey_interceptpuck_detect image2d × table → any GPU: none — Facade over :func:balltrack.ball_detect: takes 1 disk from an overhead frame and maps it to the table plane (x, y) [m] via the homography. · examples: poc_air_hockey_interceptpuck_mirror_path signal × signal × table × scalar → signal GPU: none — Method of images (frictionless, e = kₜ = 1 only): returns the position of the straight line p₀ + v₀ t folded back by the lattice of walls (2nd (independent) implementation, the gate’s counterpart). Goals are ignored (treated as walls). Return value = end position (2,). · examples: poc_air_hockey_interceptpuck_mu_from_decel signal × matrix → table GPU: none — Fits a quadratic to the distance s(t) along the direction and obtains μ = −a/g from a = 2c₂ (Coulomb uniform deceleration). {"mu", "a", "v0", "resid_rms"}. N < 4 raises ValueError. · examples: poc_air_hockey_interceptpuck_pinhole_camera table × scalar × scalar × signal → table GPU: none — Turns an overhead pinhole camera (position (0, 0, h), looking along −z, up = +y, MuJoCo camera convention) into a homography: col = W/2 + f x/h, row = H/2 − f y/h, f = (H/2)/tan(fovy/2). The height of the puck’s top face (≈ 0.02 m) is ignored (parallax of just over 1 % relative to h; the residual is measured by a gate). shape = (H, W). The return value has the same form as :func:puck_camera. · examples: gallery_drive_ballistics, poc_air_hockey_interceptpuck_pixel_to_world table × matrix → matrix GPU: none — Pixel (col, row) (N,2) → world (N,2) (passes the inverse matrix to :func:calib.image_to_world_plane). · examples: gallery_drive_ballisticspuck_render_frame table × signal → image2d GPU: none — Synthesizes 1 overhead frame (float (H,W), 0–1): white table, gray walls, dark puck (1st-order anti-aliasing). · examples: poc_air_hockey_interceptpuck_restitution_from_wall signal × matrix × table → table GPU: none — e (normal) and kₜ (tangential) from a trajectory bouncing off a wall: splits it into before and after at the frame where the direction changes most, and extrapolates both sides to the collision time with :func:puck_velocity_estimate. The wall is the one closest to the collision point. {"e", "kt", "t_hit", "wall", "n_before", "n_after", "v_in", "v_out"}. Fewer than 3 points on either side raises ValueError. · examples: poc_air_hockey_interceptpuck_scene_mjcf table → any GPU: none — Self-made minimal MJCF (Coulomb version, mujoco not required): a cylindrical puck (free joint) on a plane with friction, 4 walls (boxes), an overhead camera. The Challenge table uses viscous damping, so use this one to check Coulomb uniform deceleration in MuJoCo. Wall restitution comes from soft contact, so e is measured. · examples: poc_air_hockey_interceptpuck_slide_predict signal × signal × table × scalar → table GPU: none — Chains the puck path in closed form: constant direction and uniform deceleration per segment (wall to wall), :func:puck_wall_bounce at the walls. · examples: poc_air_hockey_interceptpuck_state_at table × signal → table GPU: none — Position and velocity on the path of :func:puck_slide_predict at time t (scalar or (N,)). After the end, the end state is kept (the position does not move; the velocity is the end value = 0 if stopped). Return value {"p" (N,2), "v" (N,2)}. · examples: poc_air_hockey_interceptpuck_stop_distance scalar × table → scalar GPU: none — Stopping distance v₀²/(2μg) (same formula as :func:ballistics.slide_stop_distance; this one takes μ and g from the table). · examples: poc_air_hockey_interceptpuck_synth_frames table × table × signal × signal → table GPU: none — Synthetic frame sequence and ground truth: samples the closed-form path (:func:puck_slide_predict) at fps and draws it with :func:puck_render_frame. · examples: poc_air_hockey_interceptpuck_table no input → table GPU: none — Numbers for the table and the puck (defaults are values read from table.xml of the Robot Air Hockey Challenge, MIT, arXiv 2411.05718). · examples: gallery_drive_ballistics, poc_air_hockey_interceptpuck_track any × table → table GPU: none — Frame sequence → per-frame candidates → :func:balltrack.ball_track (linked by constant-velocity prediction; jumps beyond max_jump_px are dropped) → world coordinates. · examples: poc_air_hockey_interceptpuck_velocity_estimate signal × matrix × table → table GPU: none — Least-squares velocity from N positions: uniform-deceleration model with fixed direction û, p(τ) = p_ref + v_ref τ − ½ μg τ² û (τ = t − t_ref). · examples: poc_air_hockey_interceptpuck_wall_bounce signal × signal × scalar × scalar → table GPU: none — Collision with a wall: normal component vₙ’ = −e vₙ, tangential component vₜ’ = kₜ vₜ (e = normal coefficient of restitution, kₜ = tangential retention ratio = tangential coefficient of restitution). · examples: poc_air_hockey_interceptpuck_world_to_pixel table × matrix → matrix GPU: none — world (N,2) → pixel (col, row) (N,2) (passes H to :func:calib.image_to_world_plane). · examples: gallery_drive_ballistics, poc_air_hockey_interceptstriker_plan any × signal × table → table GPU: none — Strike planning (rule-based): computes the joint angles for the predicted crossing point by IK and moves each servo at a constant angular velocity ≤ ω_max. Required time = max |
Δq | /ω_max. Feasible if it gets there before the arrival at the crossing point. Return value {"feasible","reason","q_target","dq","t_move","t_arrive","t_cross","E"}, reason ∈ {“ok”,”no_crossing”,”unreachable”,”too_late”}. crossing = return value of :func:puck_crossing_point (None allowed). The default ω_max = 6 rad/s is an assumption. · examples: poc_air_hockey_intercept |
azimuthal_integrate image2d × table → table GPU: yes (allow-list) — Reduces a 2-D detector image to a 1-D profile in 2θ (azimuthal integration, with mask and corrections). · examples: poc_pxrd_phase_peelcif_read any → table GPU: none — Reads a CIF (the standard format for crystal structures) and returns a “phase” expanded to all atoms in the unit cell. · examples: poc_pxrd_phase_peelcubic_index signal × scalar → table GPU: none — Indexes the peaks as cubic and determines the lattice (P / I / F / diamond) and the lattice constant a [Å]. · examples: poc_pxrd_phase_peelcubic_prototype any × scalar × any → table GPU: none — Builds a phase from a cubic prototype (sc, bcc, fcc, diamond, rocksalt, cscl, zincblende, fluorite). · examples: poc_pxrd_phase_peeldebye_ring_image any × signal × table → table GPU: none — Synthesizes a 2-D detector image of Debye rings (with the contribution of each phase). · examples: poc_pxrd_phase_peeldetector_calibrate image2d × signal × table → table GPU: none — Calibrates the detector center, distance and tilt from the rings of a known standard (such as Si). · examples: poc_pxrd_phase_peeldetector_two_theta any × table → table GPU: none — 2θ, azimuth χ and relative solid angle of each detector pixel (with tilt, distance and center). · examples: poc_pxrd_phase_peeldiffraction_peaks signal × signal → table GPU: none — Picks peaks from a 1-D diffraction profile and gives their position, height, FWHM and area by a local Gaussian + linear fit. · examples: poc_pxrd_phase_peelphase_dictionary any × signal × scalar → table GPU: none — Dictionary of phase reference patterns: on a 2θ grid, the 1-D intensity per volume fraction of 1 is arranged for each phase. · examples: poc_pxrd_phase_peelphase_fractions signal × signal × table → table GPU: none — Phase fractions of a mixture by non-negative least squares (NNLS) (the background is fitted simultaneously with a Chebyshev polynomial). · examples: poc_pxrd_phase_peelphase_peel signal × signal × table → table GPU: none — Peels phases off a mixture 1 at a time (greedy forward selection). · examples: poc_pxrd_phase_peelpowder_reflections table × scalar → table GPU: none — List of the powder reflections of a phase: interplanar spacing d, Bragg 2θ, multiplicity, |
F | ², intensity (with the Lorentz factor, no polarization). · examples: poc_pxrd_phase_peel |
scherrer_size scalar × scalar × scalar → scalar GPU: none — Crystallite size [Å] by the Scherrer equation (L = K λ / (β cos θ)). · examples: poc_pxrd_phase_peelunexplained_peaks table → table GPU: none — Extracts, from the residual of the phase-fraction fit, the peaks that no phase in the dictionary can explain (clues to an unknown phase). · examples: poc_pxrd_phase_peelaim_velocity table → table GPU: none — Initial velocity that reaches target from point p in time T. Starting from the vacuum closed form v = (Δxy/T, (Δz + ½gT²)/T), refine iterations of Gauss–Newton (finite differences) on the equations of motion with drag + Magnus (ω). {"v", "residual"} (residual = miss distance at arrival [m]). · examples: gallery_drive_kendama_racket, poc_table_tennis_rally_loopracket_hit_check table → table GPU: none — Whether the ball center is within radius of the blade surface and inside the blade frame (width × height + radius). {"hit", "dist", "u", "v"} (u = width direction, v = height direction offset from the blade center). · examples: gallery_drive_kendama_racketracket_impact table × table → table GPU: none — A ball hits a moving racket (normal n, velocity v_r): :func:ballistics.bounce with the relative velocity in the racket frame → transform back. Return value = same as bounce + "v_rel_in". n points toward the ball’s side (the ball approaches opposite to n). · examples: poc_table_tennis_rally_loopracket_move table → any GPU: none — Moves the racket toward target (bang-bang with speed and acceleration limits: decelerates based on the distance it needs to stop). Return value (pos, vel). · examples: gallery_drive_kendama_racketracket_params no input → table GPU: none — Racket table: width and height of the blade [m], coefficient of restitution e and friction coefficient μ of the rubber, motion limits (speed v_max [m/s], acceleration a_max [m/s²]). · examples: gallery_drive_kendama_racket, poc_ball_bounce, poc_table_tennis_rally_loopracket_plan table × table → table GPU: none — Racket normal n and velocity v_r (along the normal) that produce the desired v_out. Starting from the closed form with friction 0 n ∝ v_out − v_in, v_r·n = |
Δv | /(1+e) + v_in·n, iterates refine times with the actual impact (including friction and spin). Return value {"normal", "v_racket", "v_out_actual", "omega_out", "residual"}. ValueError if Δv ≈ 0. · examples: poc_table_tennis_rally_loop |
rally_simulate table × table × table → table GPU: none — 2 rackets (at x = −x_r and +x_r, blades facing the opponent) rally against each other. · examples: poc_ball_bounce, poc_table_tennis_rally_loopshot_is_legal table × table × table → table GPU: none — Looks ahead at the shot (p, v, ω) with the true physics and judges whether it clears the net, lands exactly 1 time on the opponent’s court, and arrives at a height hittable at the opponent’s plane x = ∓x_r. {"legal", "reason", "p_arrive", "t_arrive"}. · examples: gallery_drive_kendama_racketstrategy_attacker table → table GPU: none — Shot selection to win: toward the corner far from the opponent’s racket (the left/right edge, alternating short and deep), with a short flight time. The spin aim also alternates. ctx = {“opp_pos” (3,), “shot_index”, “tp”}. Return value {“target” (x, y), “T”, “spin”}. Spin is flat every third shot and topspin otherwise. · examples: gallery_drive_kendama_racketstrategy_feeder table → table GPU: none — Returns the ball to a position close to the previous one but slightly shifted (a ball easy for the opponent to take): moves its own previous aim by a uniform random ±step and keeps it inside the court (12 cm from the edge). Flight time is a slow 0.42 s. · examples: gallery_drive_kendama_racketadd_sign table → scalar GPU: none — Erects a roadside sign: post (cylinder, gray, label 6) + plate (lower edge = mount_height, default 1.8 m, label 4). · examples: poc_driving_school, poc_world_terrainadd_signal_jp table → scalar GPU: none — Erects a Japanese-style traffic signal: post + horizontal arm + signal head (horizontal, 3 lamps; the display face points toward vehicles approaching in the yaw direction). · examples: gallery_drive_japan_roadsplate_mesh_from_image rgba → table GPU: none — Turns an RGBA image into the mesh of a thin plate carrying the face colors. · examples: gallery_drive_japan_roadssign_image no input → rgba GPU: none — Returns a picture of the road sign as RGBA float (H, W, 4) ∈ [0,1] (outside the plate = alpha 0). Width = size_px; the height follows the shape’s aspect ratio. · examples: gallery_drive_japan_roadssign_mesh no input → table GPU: none — :func:sign_image + :func:sign_params + :func:plate_mesh_from_image. Adds width, height and params to the return value. · examples: gallery_drive_japan_roadssign_params no input → table GPU: none — Returns the shape, dimensions and colors of road sign kind (published values; to be checked against the primary source). · examples: gallery_drive_japan_roadssignal_jp_mesh no input → table GPU: none — Horizontal vehicle signal head (Japanese style). Origin = center of the bottom face of the signal head; the display face points to −x. · examples: gallery_drive_japan_roadsbekker_pressure signal × scalar × any → signal GPU: none — Bekker pressure–sinkage p = (k_c / b + k_φ) zⁿ [kPa]. sinkage [m] is a scalar or an array (≥ 0); width = b [m]. · examples: gallery_drive_soil_tactilebekker_wheel_sinkage scalar × table × any → scalar GPU: none — Bekker’s approximate formula for the sinkage of a rigid wheel [m]. The contact is approximated by the parabola z(x) = z₀ − x²/D; shear is not included. · examples: poc_rover_slip_risk_pathcvar_cost_map image2d × scalar × any → table GPU: none — From a digital terrain model (DTM), builds the travel time [s] of each 8-neighbor edge, discounted by the CVaR_α of the slip at the edge’s slope (signed by the direction of travel). · examples: poc_rover_slip_risk_pathground_shift_track any → table GPU: none — From the frame sequence of a camera looking down at the ground, measures the translation between adjacent frames with windowed cross-correlation (integer) and translational Lucas–Kanade (subpixel), and accumulates it. · examples: poc_rover_slip_risk_pathodometry_slip any × signal × scalar → table GPU: none — Actual slip ratio s = 1 − Δx / (r Δφ) from the visual-odometry position sequence and the cumulative wheel rotation angle. · examples: poc_rover_slip_risk_pathpath_slip_risk matrix × image2d × scalar × table → table GPU: none — Evaluates a path edge by edge: slope, mean slip, CVaR_α slip, probability of exceeding s_max (normal distribution for the Gaussian process, interpolation of the quantile curves for quantile regression), and the travel times at the mean slip and at the CVaR. · examples: poc_rover_slip_risk_pathrisk_aware_path table × any × any → table GPU: none — 8-neighbor Dijkstra (directed edges — uphill and downhill differ) on the edge travel times of :func:cvar_cost_map. · examples: poc_rover_slip_risk_pathslip_cvar table × signal × scalar → signal GPU: none — CVaR_α of the slip ratio (conditional expectation of the upper 1 − α tail). With sign = −1, the CVaR of −s (magnitude of downhill free-running / side slip). · examples: gallery_drive_soil_tactileslip_gp_fit signal × signal → table GPU: none — Gaussian process from slope angle to slip ratio (RBF kernel + homoscedastic observation noise). Hyperparameters by grid search on the log marginal likelihood. · examples: gallery_drive_soil_tactile, poc_rover_slip_risk_pathslip_predict table × signal → table GPU: none — Slip-ratio prediction and a two-sided level band. For the Gaussian process, the predictive distribution of observations (latent variance + noise); for quantile regression, the curves themselves. · examples: gallery_drive_soil_tactile, poc_rover_slip_risk_pathslip_quantile_fit signal × signal → table GPU: none — Quantile regression from slope angle to slip ratio (piecewise-linear basis, pinball loss via IRLS, weak penalty on 2nd differences). · examples: poc_rover_slip_risk_pathslope_slip_curve signal × table × any × scalar → table GPU: none — For each slope angle (degrees, uphill positive), the steady slip ratio at which the drawbar pull balances the gravity component along the slope while supporting the vehicle’s weight. · examples: poc_rover_slip_risk_pathwheel_forces signal × signal × table × any → table GPU: none — Forces a rigid wheel receives from the soil at sinkage z [m] and slip ratio s (numerical integration of the Wong–Reece stress distribution). · examples: poc_rover_slip_risk_pathwheel_sinkage signal × table × any → signal GPU: none — Sinkage z [m] at which 1 wheel supports the vertical load load [N] at slip ratio slip (bisection on F_z(z, s) = load). · examples: poc_rover_slip_risk_pathwheel_traction_curve scalar × table × any → table GPU: none — Sinkage, drawbar pull and torque for each slip ratio with the load load [N] of 1 wheel held constant (drawbar pull–slip curve). · examples: poc_rover_slip_risk_pathrss_lateral table → scalar GPU: none — Minimum safe distance [m] in the lateral direction (paper Lemma lateral / lib calculateSafeLateralDistance). c_1 is on the left. · examples: gallery_drive_lateral_env, poc_ttc_rssrss_lateral_check table → table GPU: none — Whether the lateral gap d_lat (right side of the left vehicle to left side of the right vehicle, ≥ 0) is safe. Returns has the same form as rss_longitudinal_check. · examples: poc_ttc_rssrss_longitudinal_check table → table GPU: none — Whether the same-direction longitudinal gap d (front of the following vehicle to rear of the lead vehicle, ≥ 0) is safe. · examples: poc_ttc_rssrss_longitudinal_opposite table → scalar GPU: none — Minimum safe distance [m] in the opposite direction (paper Lemma two_way / lib calculateSafeLongitudinalDistanceOppositeDirection). · examples: poc_ttc_rssrss_longitudinal_same table → scalar GPU: none — Minimum safe distance [m] in the same direction (paper Lemma 2 / lib calculateSafeLongitudinalDistanceSameDirection). · examples: poc_ttc_rssrss_params no input → table GPU: none — Creates the RSS parameter dict (default = the published table of ad-rss-lib; ρ is 1 s for the ego). · examples: gallery_drive_lateral_env, poc_ttc_rssrss_stopping_distance no input → scalar GPU: none — Signed position offset under ad-rss-lib’s stated braking pattern (1 formula shared by the longitudinal and lateral directions). · examples: poc_driving_longitudinalrss_worst_case_gap table → table GPU: none — Tracks the same-direction worst case (paper Definition 4) over time. · examples: poc_ttc_rssrss_worst_case_gap_lateral table → table GPU: none — Lateral worst case: during ρ, accelerate toward each other with lat_accel_max → decelerate with lat_brake_min until the lateral velocity is 0. · examples: gallery_drive_lateral_envrss_worst_case_gap_opposite table → table GPU: none — Opposite-direction worst case: both vehicles accelerate with accel_max during ρ → c_1 stops with brake_min_correct, c_2 with brake_min. · examples: poc_ttc_rsspour_scene_mjcf scalar × scalar × scalar × scalar → table GPU: none — MJCF of a scene in which an open chute (floor length L, width B, back and side wall height wall) is packed on a grid with rigid spheres up to depth h0 (no mujoco needed). The chute is a mocap body (name="trough", origin = floor edge at the mouth, height lip_height); rotating it mouth-down (−θ about the y axis) is done by :func:scoop_mujoco_pour, which writes mocap_quat every step. The floor is rough (sliding friction floor_mu, so the bottom layer does not slide out along the floor — the same role as the rough base in granular); the side walls use wall_mu. The mouth side of the floor (x < 0) is open, and spilled spheres fall and reach the ground (height 0). Returns: xml, positions, info (L, B, h0, wall, radius, lip_height, mass_each, n, timestep, A_fill = L·h0). Raises ValueError: h0 ≥ wall / contact_tc < 2 timestep / not even 1 layer of spheres fits / misspelling. · examples: poc_powder_scoop_pourrevolution_volume_side image2d × scalar → table GPU: yes (allow-list) — Volume from 1 side image assuming axial symmetry — Pappus form V = π Σ |x − x_axis| c(x, z) pitch³ (c = coverage, x = pixel-center column). · examples: poc_powder_scoop_pourscoop_count scalar × scalar × scalar → table GPU: none — Number of particles from the volume and the packing fraction, N = V ν / ((4/3) π r³) (if density is given, also the mass N m_p and the bulk density ν ρ_p). · examples: poc_powder_scoop_pourscoop_image_limit scalar × scalar × scalar × scalar → table GPU: none — Rough uncertainty guide for measuring a heaped spoon from a side image, and “is the image enough, or a scale?” (rule-based, a rough guide). · examples: poc_powder_scoop_pourscoop_scene_mjcf scalar × scalar → table GPU: none — MJCF string of a scene in which a spherical-cap bowl (rim radius a, depth h, rim height rim_height) is tiled with thin plates, and n_spheres rigid spheres are stacked on a grid inside the bowl and released from directly above (no mujoco needed, listed in the ledger). · examples: poc_powder_scoop_pourscoop_synth_side scalar × scalar → table GPU: none — Synthesizes the side-view coverage of powder in a spherical-cap bowl (axisymmetric; ground truth in closed form). · examples: poc_powder_scoop_pourscoop_volume_read image2d × scalar × scalar × scalar × scalar → table GPU: none — Reads the scooped volume from a side image of the spoon. · examples: poc_powder_scoop_pourspoon_bowl_volume scalar × scalar → table GPU: none — Closed form for a spherical-cap bowl (rim radius a, depth h) — level, partially filled and heaped. · examples: poc_powder_scoop_pourstream_areal_density image2d × scalar → image2d GPU: none — Inverts the Boolean model to get the areal density of particle centers [particles / px²] from the coverage, n = −ln(1 − c) / (π r²). · examples: gallery_drive_soil_tactilestream_flux_read any × scalar × scalar → table GPU: none — Reads the flow rate [particles/s] (and the mass flow rate) from the frame sequence of the stream — the speed by PIV (median over all frame pairs of pivops.piv_cross_correlate), the particle line density λ by inverting the Boolean model on the time-averaged coverage (:func:stream_areal_density) and integrating across the stream, and the flow rate λ v. · examples: poc_powder_scoop_pourstream_synth scalar × scalar × scalar → table GPU: none — Synthesizes a frame sequence of the coverage of a powder stream falling from the mouth (a thin band seen from the side). · examples: poc_powder_scoop_pourtilt_pour_rate scalar × scalar × scalar × scalar × scalar × scalar × scalar → table GPU: none — Quasi-static flow rate W = ρ_b B (−dA/dθ) ω [kg/s] when the container of :func:tilt_wedge_retained is tilted at angular velocity ω (supply-limited flow: as long as it is tilted more slowly than the mouth can pass, the flow rate is set by the tilting speed). · examples: poc_powder_scoop_pourtilt_wedge_retained scalar × scalar × scalar × scalar → table GPU: none — Amount retained when powder heaped flat to depth h0 in a container with no wall at the mouth (floor length L, back wall perpendicular to the floor and tall enough) is tilted by θ with the mouth lowered (2-D cross-section, quasi-static, own derivation). · examples: poc_powder_scoop_pourtilted_surface_read image2d × scalar × scalar × scalar × scalar → table GPU: none — Reads, from a side-view image (coverage) of the tilted container, the cross-sectional area of the powder remaining in it and the height of the flat surface at the back. · examples: poc_powder_scoop_pourtwo_view_volume image2d × image2d × scalar → table GPU: none — Volume from side images in 2 orthogonal directions — sum of ellipses whose axes are the 2 chords W_a and W_b of each row, V = Σ f π (W_a/2)(W_b/2) pitch³. · examples: poc_powder_scoop_pourobstacle_fit_doublet table → table GPU: none — Fits the potential flow around a cylinder u − i v = U (1 − R²/(z − z_c)²) to the velocity field (implementation 2, 2-D nonlinear least squares). · examples: poc_swarm_obstacle_from_flowpotential_flow_cylinder signal × signal × any → table GPU: yes (allow-list) — Potential flow around a cylinder (closed form). u − i v = U (1 − R²/(z − z_c)²); NaN inside the circle. · examples: poc_swarm_obstacle_from_flowritter_dam_break signal × scalar × scalar → table GPU: inside a chain only (allow-list) — Ritter’s dam-break solution (shallow-water equations, dry bed, dam at x = 0, water at x < 0). · examples: poc_swarm_obstacle_from_flowsph_dam_break_1d no input → table GPU: none — Solves the dam break (dry bed) with 1-D SPH shallow-water equations (a model of the spreading when the swarm’s gate is opened). · examples: poc_swarm_obstacle_from_flowsph_density_pressure matrix × scalar → table GPU: none — SPH density of a point set ρ_i = Σ_j m W( |
x_i − x_j | , h) (including the point itself) and the weakly compressible equation of state p = c² (ρ − ρ₀). · examples: gallery_drive_soil_tactile |
sph_kernel signal × scalar → signal GPU: yes (allow-list) — Cubic (3rd-order) spline kernel W(r, h) (M4, support radius 2h). With derivative=True, dW/dr (derivative along r, ≤ 0). · examples: poc_swarm_obstacle_from_flowstagnation_from_centerline table → table GPU: none — Linearizes the centerline deficit to read the upstream impact point (stagnation point), the obstacle center and its radius (implementation 1, upstream points only). · examples: poc_swarm_obstacle_from_flowswarm_field_from_piv any × scalar × scalar → table GPU: none — Overhead frame sequence → PIV by cross-correlation of neighboring frames (pivops.piv_cross_correlate) → average over all pairs → velocity field in the world. · examples: poc_swarm_obstacle_from_flowswarm_field_from_tracks any × scalar × scalar → table GPU: none — Overhead frame sequence → detect individuals (connected components of blob2d + brightness centroid) → link to the adjacent frame by mutual nearest neighbors → transfer velocities onto a grid with the SPH kernel. · examples: poc_swarm_obstacle_from_flowswarm_render_overhead matrix × any × scalar → image2d GPU: none — Individual positions → 1 overhead frame (Gaussian bright spots, diameter = 2 × standard deviation = the PIV convention, same as pivops). · examples: poc_swarm_obstacle_from_flowswarm_simulate no input → table GPU: none — A swarm (individuals moving as a weakly compressible SPH fluid) flowing through a periodic channel with obstacles. Obstacles act on the individuals only as “walls to bump into”. · examples: poc_swarm_obstacle_from_flowvelocity_deficit_map table → table GPU: none — Velocity field → deficit from the free stream 1 − u/U, lateral deflection v/U, speed deficit 1 − |
v | /U. U is given, or the median of u over the upstream 15 % edge. · examples: poc_swarm_obstacle_from_flow |
contact_patch_radius image2d × scalar → table GPU: yes (allow-list) — Reads the contact radius from a contact image (of the :func:dome_contact_image type). Uses the edge down to subpixel level via a linear sum of coverage (area method). · examples: poc_tacdome_large_deformationdome_contact_image scalar × scalar → image2d GPU: none — Contact image taken from inside the dome (contact area is bright; an idealization of frustrated-total-internal-reflection illumination). Float of shape (n, n). · examples: poc_tacdome_large_deformationhertz_small_strain_error signal × scalar → table GPU: none — Error [%] when the small-deformation linear solution (Hertz) is applied to large deformation (determined by d alone, independent of L, dimensions and elastic modulus). · examples: poc_tacdome_large_deformationlarge_deformation_contact any × scalar × table → table GPU: none — From the indentation δ (scalar or array), the large-deformation force and contact radius (Eqs. 2 and 4) and their difference from the linear (Hertz) solution at the same δ. · examples: poc_tacdome_large_deformationlarge_deformation_inverse scalar × scalar × table → table GPU: none — Reads indentation and force backward from a measured contact radius a (solving Eq. 4 for d, then the force from Eq. 2). The core of the sensor readout. · examples: poc_tacdome_large_deformationlargedef_c1_coefficient scalar → scalar GPU: none — 1st-order coefficient c₁ in Eq. (3): "derived" = 2n/(1+n) (derivation), "printed" = (4+2n)/(1+n) (as typeset in the original), "memo" = 2/(1+n). · examples: gallery_drive_soil_tactilelargedef_correction signal × scalar → signal GPU: none — Large-deformation correction κₙ(d) = [1 − c₁·d + n/(2+n)·d²]/(1 − d)² (Eq. 3, c₁ from :func:largedef_c1_coefficient). F = κₙ·F_L. · examples: poc_tacdome_large_deformationlargedef_radius_ratio signal × scalar → signal GPU: none — Contact-radius ratio a/a_L under large deformation (Eq. 4) = (1/p)·B_d(1/p, 3/2)·d^{−1/p}/√(1 − d) = ∫₀¹ √((1 − d·uᵖ)/(1 − d)) du. · examples: poc_tacdome_large_deformationlargedef_universal_correction signal → signal GPU: none — Universal-form correction κ(d) = (1 − k·d)⁻¹ (Eq. 6, k = 10/9). Raises ValueError: d outside [0, 1), k·d ≥ 1, k ≤ 0. · examples: poc_tacdome_large_deformationmdr_spring_bed scalar × scalar × table → table GPU: none — Directly integrates a 1D array of nonlinear springs with the midpoint rule (second (independent) implementation of the closed forms :func:largedef_correction / :func:largedef_radius_ratio). · examples: poc_tacdome_large_deformationneohookean_cylinder_exact signal → table GPU: none — Exact solution for frictionless uniaxial compression of an incompressible neo-Hookean cylinder (a textbook continuum-mechanics result, independent of the model). · examples: poc_tacdome_large_deformationpowerlaw_linear_contact text × scalar × scalar → table GPU: none — Linear solution for pressing a power-law profile f(r) = c·rᵖ with a flat plate (Eqs. 1 and 5): F_L = C·δⁿ, a_L = D·δ^{1/p}, n = 1 + 1/p. · examples: poc_tacdome_large_deformationcalib_pack_load text × scalar × scalar → table GPU: none — Calibration pack (npz) → dict. The keys f0 (background (H, W, 3) uint8), imgs ((N, H, W, 3)), touch_center ((N, 2) = (column x, row y)) and touch_radius ((N,) px) are required; the centers are reordered to (row, column) and returned as centers. · examples: poc_tacscalib_sphere_lutfield_position_sweep matrix × signal × any → table GPU: none — Position dependence of the error: arranges each image’s contact center (row, column) and error (e.g. the median) against the distance from the image center, and returns the least-squares slope [error / 100 px] and Spearman’s rank correlation (ties get average ranks) (numpy only). Returns: dist_px, err, slope_per_100px, intercept, spearman, n. Raises ValueError: fewer than 3 pairs / shape mismatch / non-finite / shape of image_shape. · examples: poc_tacscalib_sphere_lutgradient_lut_build matrix × matrix → table GPU: none — Example-based gradient LUT: divides the normal’s (tilt θ, azimuth φ) into bins × bins and stores in each bin the mean RGB of the pixels that fall into it (np.add.at also sums duplicate indices). rgb_rows (P, 3), normal_rows (P, 3). · examples: poc_tacscalib_sphere_lutgradient_lut_invert rgb × table × image2d → normalmap GPU: none — RGB (H, W, 3) → normals (H, W, 3): the center normal of the non-empty bin (count ≥ min_count) whose color is closest. For the position-dependent table (:func:gradient_lut_build given positions), each bin’s color is first predicted at the pixel position and then compared. · examples: poc_tacscalib_sphere_lutlights_fit_from_sphere rgb × normalmap × image2d → table GPU: inside a chain only (allow-list) — Solves a per-channel linear Lambertian model by least squares from background-subtracted images (1 image or a sequence) and known normals. · examples: poc_tacscalib_sphere_lutmembrane_predict_rgb normalmap × table → rgb GPU: inside a chain only (allow-list) — Normals (H, W, 3) + result of :func:lights_fit_from_sphere → predicted background-subtracted RGB (H, W, 3) (linear, not clipped). An order 2 result builds a(x, y) and L(x, y) per pixel (the image size must be the same as at calibration). Raises ValueError: shape of the normals / image size differs with order 2. · examples: poc_tacscalib_sphere_lutnormal_error_map normalmap × normalmap → image2d GPU: yes (allow-list) — Per-pixel angle [deg] between 2 normal fields = atan2( |
a × b | , a · b) (no normalization — the length cancels in the atan2 ratio). acos(a · b) is not used because it has a rounding floor for nearly identical unit vectors (it answers 1e-7° as 1e-4°). Raises ValueError: shapes differ / last axis is not 3. · examples: poc_tacscalib_sphere_lut |
poly_lut_invert rgb × table × image2d → normalmap GPU: none — Adapter: passes an external position-dependent polynomial LUT (bins and grad_r / grad_g / grad_b = (bins, bins, 6); a format in which 6 coefficients per bin [x², y², xy, x, y, 1], with x = column and y = row in raw pixels, express each background-subtracted channel) through the same inverse lookup as :func:gradient_lut_invert (same binning, same coarse → fine). rgb is the difference after the same background processing as in the external pipeline. Since every bin of the external table is filled, all bins are used. Raises ValueError: missing key / coefficients not of shape (bins, bins, 6) / non-finite. · examples: poc_tacscalib_sphere_lutsphere_cap_height any × any × scalar × scalar × scalar → table GPU: none — True height of a geometric indentation (no elastic skirt): inside the contact circle h(r) = −(√(R² − r²) − √(R² − a²)), outside 0 (a is min(a, R)). · examples: poc_tacscalib_sphere_lutsphere_normals_known any × any × scalar × scalar → table GPU: none — Indentation by a known sphere: returns the normals in closed form inside the contact circle (center centre = (row, column), radius a_px). · examples: poc_tacscalib_sphere_lutcombined_modulus scalar × scalar → scalar GPU: none — Combined modulus E: 1/E = (1 − ν1²)/E1 + (1 − ν2²)/E2 (Johnson 1985 Eq. 4.9). E2=None means a rigid indenter (the 2nd term is 0). · examples: poc_knife_tactile_toughness, poc_tacsim_elastic_membrane, poc_tacsim_marker_shear, poc_tactile_dipole_torquecontact_radius_fit normalmap × matrix × matrix × scalar × scalar → table GPU: none — Reads the contact radius by fitting the Hertz slope model dh/dr(r; a), with 1 parameter a, to the radial slope distribution of the normal field. · examples: poc_peg_insertion_tactile, poc_tacsim_elastic_membranecontact_radius_fit_pixelwise normalmap × matrix × matrix × scalar × scalar → table GPU: none — Reads the contact radius by fitting the Hertz slope model dh/dr(r; a), with continuous a, to the per-pixel radial slopes (the bin-free version of :func:contact_radius_fit; a0 is its coarse value). · examples: poc_peg_insertion_tactilecontact_radius_ring image2d × scalar → table GPU: none — Reads the contact radius a from the height field without a model: the contact edge r = a is the ring where the radial slope |
∂h/∂r | is maximal (in Hertz it grows as r/R inside and drops sharply as √ outside, a cusp). | ∇h | is bilinearly interpolated in step_px steps along n_az radial lines in azimuth, each line’s peak is refined to subpixel by parabolic interpolation → :func:measure.fit_circle on the 72 points (2nd implementation) and the median of the radii. · examples: poc_tacscalib_sphere_lut, poc_tacsim_elastic_membrane |
hertz_cylinder scalar × scalar × scalar → table GPU: none — Line contact of a cylinder (radius R) pressed onto an elastic half-space with line load F/L (Johnson 1985 §4.2): contact half-width b = √(4(F/L)R/(πE*)), p0 = 2(F/L)/(πb). · examples: poc_tacsim_elastic_membranehertz_force scalar × scalar → scalar GPU: none — Inverse Hertz: load F from either the contact radius a or the indentation δ. F = 4Ea³/(3R) = (4/3) E √R δ^{3/2}. · examples: poc_peg_insertion_tactile, poc_tacdome_large_deformation, poc_tacsim_elastic_membranehertz_pressure matrix × scalar × scalar → matrix GPU: none — Hertz contact pressure p(r) = p0 √(1 − r²/a²) (r < a), 0 outside. Same shape as r. Raises ValueError: a, p0 ≤ 0. · examples: poc_tacsim_elastic_membrane, poc_tacsim_marker_shear, poc_tactile_dipole_torquehertz_sphere scalar × scalar × scalar → table GPU: none — Closed form of Hertz contact for a rigid sphere (radius R) pressed with load F into an elastic half-space (combined modulus E*) (Johnson 1985 §3). · examples: poc_knife_tactile_toughness, poc_peg_insertion_tactile, poc_tacdome_large_deformation, poc_tacsim_elastic_membrane, poc_tacsim_marker_shear, poc_tactile_dipole_torquehertz_surface_uz matrix × scalar × scalar × scalar → matrix GPU: yes (allow-list) — Normal displacement ū_z(r) of the half-space surface in Hertz sphere contact (sinking amount ≥ 0, array of the same shape as r). · examples: poc_tacsim_elastic_membrane, poc_tactile_dipole_torquemembrane_delta_from_normals normalmap × matrix × matrix × scalar → scalar GPU: none — Central sinking δ from the normal field: integrates the radial slope s̄(r) in 1D from the center to the window edge (∫ s̄ dr = ū_z(0) − ū_z(r_max)); with tail="boussinesq" it adds the remaining tail ū_z(r_max) = r_max · s̄(r_max) from the far field ū_z ≈ C/r (Boussinesq point-load solution, Johnson §3.2) (median of the last 3 bins at the window edge). tail="none" adds no tail (returns the underestimate of the finite window as is — to measure the size of the error). · examples: poc_tacsim_elastic_membranemembrane_indent_shape text × scalar → table GPU: none — Builds the height field of a gel membrane into which a rigid body of known shape is pressed by depth, by geometric conformance: h = −max(0, depth − z_ind(x, y)). · examples: poc_tacsim_elastic_membranemembrane_indent_sphere table → table GPU: none — Height field h(x, y) = −ū_z(r) [m] of the gel membrane under sphere indentation (from the table of :func:hertz_sphere) and the analytic normals. · examples: poc_knife_tactile_toughness, poc_tacsim_elastic_membrane, poc_tacsim_marker_shearmembrane_lights scalar → matrix GPU: none — Unit direction vectors (N, 3) of multi-directional colored lights (row k = light source for color channel k; the default is 3 lights at azimuth 90/210/330° and elevation 55°). · examples: poc_tacsim_elastic_membrane, poc_tacsim_marker_shear, poc_tactile_dipole_torquemembrane_recover rgb × matrix × scalar → table GPU: yes (allow-list) — Visuotactile RGB (H, W, 3) → treats the 3 channels as images under 3 lights and obtains normals with :func:photometric.photometric_stereo (lit_only) → height with :func:photometric.integrate_normals (Frankot-Chellappa) (pixel units × pitch = m). · examples: poc_peg_insertion_tactile, poc_tacsim_elastic_membranemembrane_render_rgb normalmap × matrix → rgb GPU: none — Normal field (H, W, 3) + lights (3, 3) → visuotactile-sensor-like RGB (H, W, 3) float. Channel k = Lambertian image of light k, albedo·(max(N·L_k, 0) + ambient) (:func:photometric.render_lambertian 3 times, 2nd implementation). If noise > 0, normally distributed noise is added. · examples: poc_knife_tactile_toughness, poc_tacsim_elastic_membrane, poc_tacsim_marker_shear, poc_tactile_dipole_torquecerruti_kernel scalar × scalar × scalar × scalar → table GPU: none — Builds the discrete kernel of the surface displacement produced by an x-directed tangential traction (uniform 1 Pa over 1 pixel = pitch²) on a 2n grid (for zero-padded linear convolution) and returns it already rfft2-transformed. · examples: poc_tacsim_marker_shear, poc_tactile_dipole_torquecerruti_surface_displacement matrix × table → table GPU: none — Tangential traction distribution qx (n, n) [Pa] → surface displacements ux, uy (and uz if the kernel has Kzx) (n, n) [m]. Zero-padded 2n linear convolution (no wrap-around). Raises ValueError: qx is not (n, n), kern is not a table from :func:cerruti_kernel. · examples: poc_tacsim_marker_sheardisplace_markers matrix × matrix × matrix × scalar → matrix GPU: none — Moves marker centers (N, 2) [px] by the displacement field fx, fy (n, n) [m] (the field is bilinearly sampled at the center positions, converted to pixels and added). Raises ValueError: pts is not (N, 2), fx and fy differ in shape, pitch ≤ 0. · examples: poc_tacsim_marker_shear, poc_tactile_dipole_torquefem_nodes_load text × text → table GPU: none — Reads the 3 finite-element surface-node text files (bundled with the Robo-Touch/Taxim repository, MIT license): <dirpath>/<name>_{x,y,z}.txt, tab-separated with a 1-line header Node Number / X Location (m) / Y Location (m) / Z Location (m) / Directional Deformation (m), units m. The 3 files share the same node set; only the last column, the displacement in that direction, differs. Returns id, X, Y, Z, dx, dy, dz (each (N,)), n, name. Raises FileNotFoundError: a file is missing. ValueError: wrong header, not 5 columns, or the node coordinates of the 3 files do not match (fail-closed). · examples: poc_tacsim_marker_shear, poc_tactile_dipole_torquefem_vs_halfspace table × table → table GPU: none — Compares the normal indentation fz and the oblique indentation fxz on the same node set (:func:fem_nodes_load) with the half-space solution in shape only (the load magnitude is unknown). (1) Normalizes r·dz to 1 over 0.5–0.8 mm (mids, rdz_n): for the Boussinesq half-space it is constant for r ≫ contact, while a finite thickness makes it drop. Radius r_half at which it deviates from 1/r by a factor of 2 (None if there is none). (2) Fits dx(θ) of the oblique indentation to A + B cos²θ on rings r = 1/1.5/2/3 mm (ang: for Cerruti B/A = ν/(1−ν) → nu, ratio = (A+B)/A, R2), and dy to A + B sin2θ (dy_fit). Also returns R_dome (radius of a spherical cap fitted to the surface r–z), dy_over_dz0 (tangential component present even under the normal load alone = amount of asymmetry), rdx_n, dz0, dx_min_spacing, r and th (relative to the center). Raises ValueError: the 2 tables have different node counts, fewer than 10 nodes. · examples: poc_tacsim_marker_shearhertz_surface_ur matrix × scalar × scalar × scalar × scalar → matrix GPU: yes (allow-list) — Radial displacement ūr [m] of the half-space surface produced by a normal load (Hertz pressure p0√(1−r²/a²)) (Johnson 1985 Eq. 3.41b rewritten with E = 2G(1+ν)). Negative = toward the center. Inside −(1−2ν)p0a²/(6Gr)[1 − (1−r²/a²)^{3/2}], outside −(1−2ν)p0a²/(6Gr) (= point load −(1−2ν)P/(4πGr)), 0 as r → 0. The maximum is not at the edge but at r ≈ 0.93a (1.022 times ūr(a)). ūr(a)/δ = 2(1−2ν)/(3π(1−ν)) (1.6 % at ν 0.48, 12 % at ν 0.3) — in a nearly incompressible gel the markers barely move under normal load. Raises ValueError: a, p0, G ≤ 0. · examples: gallery_drive_soil_tactile, poc_tacsim_marker_shear, poc_tactile_dipole_torquehertzian_tangential_inner matrix × matrix × scalar × scalar × scalar × scalar → table GPU: inside a chain only (allow-list) — Closed form of the surface displacement produced inside the circle r ≤ a by a Hertz-type tangential traction q0√(1−r²/a²) (Johnson 1985 Eq. 3.91). ux = (πq0/32Ga)[4(2−ν)a² − (4−3ν)x² − (4−ν)y²], uy = (πq0/32Ga)·2νxy [m]. Not valid outside the circle (use convolution there). Raises ValueError: a, G ≤ 0, x and y differ in shape. · examples: poc_tacsim_marker_shearmarker_detect image2d × scalar × scalar → table GPU: yes (allow-list) — Marker image m (:func:marker_image) → marker centers. weighted (primary, (x, y) [px] of shape (N, 2)): connected components at the high threshold 0.5·dark (:func:blob2d.blob_label) are the bodies, pixels at the low threshold 0.08·dark (fringes) are assigned to the nearest body via a distance transform, and the m-weighted centroid is refined with iterative Gaussian weighting (σ = r_px). weighted_plain = before refinement. With binary=True, binary = row/col of :func:blob2d.blob_features (binary centroid; it also computes perimeter and convex hull, so 0.4 s for 1,000 markers). Components touching the border are discarded. n = number of bodies. Fringes are separated from the bodies because when the neighbor spacing shrinks from 8 → 6 px in the slip annulus, the low-threshold fringes connect and merge into 1 component (measured). Raises ValueError: m is not 2-D, dark outside (0, 1], r_px ≤ 0. · examples: poc_tacsim_marker_shearmarker_image rgb × rgb → image2d GPU: inside a chain only (allow-list) — Marker-only image m = 1 − gray/gray_bg ∈ [0, 1] (H, W). bg = an image under the same lighting without markers = corresponds to reference-frame calibration on real hardware. Raises ValueError: the 2 images differ in shape, or are not (H, W, 3). · examples: poc_tacsim_marker_shear, poc_tactile_dipole_torquemarker_match_grow matrix × matrix × scalar → table GPU: none — Finds the correspondence between reference markers p0 and loaded markers p1 (each (N, 2) [px]) by growing it through continuity. Returns i0, i1 (index arrays of the correspondence) and matched. · examples: gallery_drive_soil_tactilemarker_track image2d × image2d × scalar × scalar × scalar → table GPU: none — Displacement vector field from reference and loaded marker images (:func:marker_image): detection (:func:marker_detect, 2 images) → correspondence by continuity (:func:marker_match_grow) → u = p1 − p0 [px]. Returns p0, p1, u (each (M, 2)), matched, n0, n1. With piv=True, the field of :func:pivops.piv_cross_correlate (2nd implementation, search ±0.12 window) is attached as piv_flow, piv_info, piv_at (a function that samples it at a point list). Raises ValueError: the 2 images differ in shape. · examples: poc_tacsim_marker_shearmembrane_markers scalar × scalar → matrix GPU: none — Regular grid of marker centers (N, 2) = (x, y) [px] scattered over an n×n-pixel field of view (pitch pitch_px, subpixel phase (ox, oy)). Just 1 extra ring is also scattered outside the field of view (for markers that move in through displacement). Raises ValueError: n < 8, pitch_px < 2. · examples: gallery_drive_soil_tactile, poc_tacsim_marker_shear, poc_tactile_dipole_torquemembrane_render_markers rgb × matrix × scalar × scalar → rgb GPU: none — Draws black disk markers (centers pts (N, 2) [px], radius r_px) on RGB (H, W, 3): rgb *= 1 − dark·coverage using pixel coverage. Coverage is supersampled sub² only for pixels on the disk edge (1 inside, 0 outside). The image is not warped by interpolation, so the ground truth is exact. Raises ValueError: rgb is not (H, W, 3), pts is not (N, 2), r_px ≤ 0, dark outside [0, 1]. · examples: poc_knife_tactile_toughness, poc_tacsim_marker_shear, poc_tactile_dipole_torquemembrane_shear_field table × table × matrix × matrix × table → table GPU: none — Displacement field of the membrane surface: tangential displacements ux, uy obtained by convolving the Mindlin traction q(r) with the Cerruti kernel, the radial displacements urx, ury of the normal load (:func:hertz_surface_ur split into x, y) [m], q, the stick/slip masks mask_stick (r ≤ c) and mask_slip (c < r ≤ a), and r. X, Y are grid coordinates [m] (origin at the center). Raises ValueError: X and Y differ in shape, or do not match n of kern. · examples: poc_tacsim_marker_shear, poc_tactile_dipole_torquemindlin_fit table × matrix × matrix → table GPU: none — Fits (c/a, μP) to marker positions pts_px (M, 2) [px] and displacements u_m (M, 2) [m]: coarse scan over c/a → fine search around the best, with μP solved by linear least squares for each c. Returns c_over_a, q_ratio = 1 − (c/a)³, muP, Q, mu (= μP/P), rms_m, shift_m. rigid=True also frees a rigid shift (tx, ty) — in the prototype this was counterproductive (it degenerates with the 1/r tail of the outer 900 points and shifts c/a by 0.028), so it is off by default. On real hardware, drift should properly be subtracted separately using distant markers outside the contact. Fitting the true displacements gives a c/a error of 0.001; tracking from images gives 0.011 (centroid pixel-locking adds a common mode). Raises ValueError: shape mismatch, fewer than 3 points. · examples: poc_tacsim_marker_shearmindlin_fit_vector table × matrix × matrix → table GPU: none — Mindlin fit for directional shear (the 2-component version of :func:mindlin_fit): reads (c/a, μP, direction φ) at once. · examples: gallery_drive_soil_tactilemindlin_model table × matrix × matrix × table × scalar × scalar → table GPU: none — Inverse model that produces the Mindlin displacement field for any c/a via similarity laws (only 1 convolution). · examples: gallery_drive_soil_tactile, poc_tacsim_marker_shearmindlin_partial_slip scalar × table × scalar × scalar × scalar → table GPU: none — Cattaneo–Mindlin partial slip (Johnson 1985 §7.2): a tangential force Q is applied to a sphere while it is pressed with normal force P. · examples: poc_tacsim_marker_shear, poc_tactile_dipole_torquemindlin_traction matrix × table → matrix GPU: yes (allow-list) — Tangential traction q(r) = q′ − q″ [Pa]: q′ = μp0√(1−r²/a²) (r < a), q″ = μp0(c/a)√(1−r²/c²) (r < c). In the slip annulus c ≤ r < a, q = μp(r) (pinned at the Coulomb limit); in the stick circle q < μp. mp is the table of :func:mindlin_partial_slip. Same shape as r. Raises ValueError: mp lacks a/c/mu/p0. · examples: poc_tacsim_marker_shearslip_entropy signal → scalar GPU: none — Shannon entropy of the histogram (bins bins, range [0, vmax] — the maximum if omitted) of the displacement magnitudes |
u | , normalized by ln(bins) (0..1). The slip indicator of Yuan 2017: it rises as the stick core shrinks and more markers lie on the gradient of the slip annulus. Raises ValueError: no points, bins < 2. · examples: poc_tacsim_marker_shear |
stick_radius_modelfree matrix × matrix → table GPU: none — Model-free stick radius: in order of distance from the center, starting from the median δ̂ of the inner 6 points, the radius c_px of the midpoint between the first point where |
ux − δ̂ | exceeds rel· | δ̂ | + abs_px and the point just before it (resolution = marker spacing). core_px = δ̂. pts_c are center-relative (M, 2) [px], u_px is (M, 2) [px]. Raises ValueError: fewer than 6 points. · examples: poc_tacsim_marker_shear |
boussinesq_kernel scalar × scalar × scalar × scalar → table GPU: none — Discrete kernel (2n grid, already rfft2-transformed) of the surface displacement produced by normal pressure (uniform 1 Pa on 1 pixel = pitch²): Kx = ū_x, Ky = ū_y (tangential, −(1−2ν)/(4πG) · x/r² and y/r², point-load solution of Johnson 1985 §3.2), and with with_uz also Kz = ū_z ((1−ν)/(2πGr)). Pixel-averaged (sub² subsamples). Center pixel: ∫□ x/r² dA = 0 (odd function), ∫□ 1/r dA = 4h ln(1+√2) (analytic value). Normal-load counterpart built the same way as :func:tacslip.cerruti_kernel (tangential → tangential). Raises ValueError: n < 8, pitch, G ≤ 0, ν outside [0, 0.5]. · examples: poc_tactile_dipole_torqueboussinesq_surface_displacement matrix × table → table GPU: none — Normal pressure p (n, n) [Pa] → surface displacements ux, uy (plus uz if the kernel has Kz, positive = sinking) (n, n) [m]. Linear convolution zero-padded to 2n. Raises ValueError: p is not (n, n), kern is not a table of :func:boussinesq_kernel. · examples: poc_tactile_dipole_torquedipole_to_torque_fit signal × signal → table GPU: none — Linear calibration between the series D (K,) of 1 dipole component and known moments M (K,) [N·m]: D ≈ k M (through the origin) and D ≈ k₁ M + b (with intercept). Returns k, R2 (coefficient of determination through the origin = 1 − SS_res/SS_tot), k1, b, R2_affine, rmse_M (residual RMS converted to M). Corresponds to the paper’s calibration coefficient c = 1/k. Raises ValueError: K < 2, shapes differ, all M are equal. · examples: poc_tactile_dipole_torquedipole_torque_resolution matrix × matrix × scalar × scalar × scalar × scalar × scalar → table GPU: none — Adds marker-centroid noise σ [px] to the displacements, recomputes the dipole trials times and measures the torque resolution σ_M = σ_D/ |
coef | [N·m]. Returns sigma_D (2,), sigma_M (2,), D0 (noise-free), snr = |
D0 | /σ_D, trials. σ_M ∝ σ (measured). Raises ValueError: σ < 0, trials < 2, coef = 0. · examples: poc_tactile_dipole_torque |
ellipse_pressure_shifted matrix × matrix × scalar × scalar × scalar → matrix GPU: yes (allow-list) — Elliptical Hertz pressure p0 √(1 − x′²/a² − y′²/b²) [Pa] with semi-axes a (x) and b (y) [m], P = 2πab p0/3 (Johnson 1985 Eq. 4.24), with the center shifted to d. For b ≫ a the shape approaches a cylindrical (ridge- or wedge-like) indentation — the 3rd shape-invariance gate. Raises ValueError: a, b, P ≤ 0, X and Y differ in shape. · examples: poc_tactile_dipole_torquegrasp_torque_frame image2d × image2d × scalar × scalar × scalar × scalar × scalar × scalar → table GPU: none — From images in 1 pass: reference and current marker images (:func:tacslip.marker_image) → :func:tacslip.marker_track → field in meters → :func:torque_decompose. pitch_px, r_px = marker grid pitch and radius [px], pitch = m/px, window is (cx, cy, R) in [px]. Area per 1 marker = (pitch_px·pitch)², neighborhood radius for the divergence = 1.5 pitch. P, mu, torsion_model set the torsion conversion (:func:torque_decompose; the default, partial slip of Hertz contact, needs P and mu; for a flat punch use "no_slip"). Returns the torque_decompose table + track (matched, n0, n1, p0, u [px]). Raises ValueError: fewer than 9 tracked correspondences (not enough for the dipole), pitch ≤ 0, ValueError from torque_decompose. · examples: poc_tactile_dipole_torquehertz_pressure_shifted matrix × matrix × table → matrix GPU: yes (allow-list) — Hertz pressure p0 √(1 − r′²/a²) [Pa] with its center shifted to d = (dx, dy) [m] (hz = the table of :func:tacsim.hertz_sphere). For a grasped sphere under a small tilting torque τ, the pressure center moves by d = τ/P (quasi-static moment balance), so the 1st moment of the shifted Hertz pressure about the original center is P·d = τ (exactly linear). Raises ValueError: hz has no a/p0, X and Y differ in shape. · examples: poc_tactile_dipole_torquemarker_divergence matrix × matrix × scalar → table GPU: none — Per-point divergence div = ∂ux/∂x + ∂uy/∂y and curl curl = ∂uy/∂x − ∂ux/∂y from scattered markers pts (N, 2) and displacements u (N, 2) (unit = unit of u ÷ unit of pts). Fits a plane c0 + c1 x + c2 y by least squares to the points within the neighborhood radius radius (at most k_max points) (on a regular grid with a radius of 1.01 pitch this equals the 5-point central difference and agrees with :func:sceneflow.flow_divergence to 1e-15; with a radius of 1.5 pitch the 9 points give a row-averaged difference that differs by 11 % at the border, measured). Solves the normal equations for all points in one batch. Points with fewer than min_neighbors neighbors or with singular (collinear) normal equations get valid = False and div/curl = nan (fail-closed: never silently 0). The same op works for scattered FEM nodes. Raises ValueError: pts/u is not (N, 2), shapes differ, radius ≤ 0, N < min_neighbors. · examples: poc_tactile_dipole_torquepressure_first_moment matrix × matrix × matrix × scalar → table GPU: none — 0th and 1st moments of a pressure p (n, n) [Pa] on a grid: P = Σ p h² [N], M1 = Σ (x, y) p h² [N·m], tau = (−M1_y, M1_x) (z points from the gel to the object; moment of the force −ẑ p with which the object presses on the gel). Raises ValueError: shapes differ, pitch ≤ 0. · examples: poc_tactile_dipole_torquepunch_pressure matrix × matrix × scalar × scalar → matrix GPU: yes (allow-list) — Pressure [Pa] of a flat circular punch (radius a [m]): p = P/(2πa√(a²−r²)) + 3(M1_x x + M1_y y)/(2πa³√(a²−r²)) (r < a, 0 outside). Term 1 = Johnson 1985 Eq. 3.34; term 2 = the antisymmetric term satisfying ∫ (x, y) p dA = M1 (derivation in the module docstring, confirmed numerically by a gate). Passing pitch averages each pixel over sub×sub subsamples (reduces the grid error of the 1/√ singularity at the edge; with 4×4, Σ p h² matches P within 0.6 %, measured). Raises ValueError: a ≤ 0, P < 0, X and Y differ in shape, |
M1 | > Pa/3 (the contact separates: the linear formula no longer holds, fail-closed). · examples: poc_tactile_dipole_torque |
punch_surface_uz matrix × scalar × scalar × scalar × scalar → matrix GPU: yes (allow-list) — Normal displacement [m] of the half-space surface under a flat circular punch (normal force P) (positive = sinking): uniform δ = P(1−ν)/(4Ga) inside the circle, (2δ/π) arcsin(a/r) outside (flat punch of Johnson 1985 §3.4; the equation number could not be confirmed in the text, unverified — verified numerically by agreeing within 0.35 % with the convolution of the Boussinesq kernel Kz). Raises ValueError: a, P, G ≤ 0. · examples: poc_tactile_dipole_torquerigid_rotation_fit matrix × matrix → table GPU: none — Fits a rigid displacement u ≈ t + ω ẑ×r to the marker field inside a window by least squares: t = mean displacement, omega = Σ (x′u′_y − y′u′_x)/Σ r′² (′ = with the window mean subtracted), resid_rms = residual RMS, n. In no-slip torsion the inside of the circle rotates rigidly (u_θ = βr), so ω = β is the ground truth (the mean curl/2 comes out low because the fit leaks outside at the circle edge — 11 % measured). window = (cx, cy, R). Raises ValueError: fewer than 3 points. · examples: poc_knife_tactile_toughness, poc_tactile_dipole_torquesurface_divergence_closed_form matrix × scalar × scalar → matrix GPU: none — Closed form of the divergence of the tangential surface displacement of a half-space, ∇·ū = −(1−2ν) p/(2G) (derived in this module from the Boussinesq point load ū_r = −(1−2ν)P/(4πGr) and, in 2-D, ∇·(r̂/r) = 2πδ²). Gate comparing it with the numerical divergence of the convolution (0.2 % for r < 0.8a, measured). Raises ValueError: G ≤ 0. · examples: poc_tactile_dipole_torquetactile_dipole_moment matrix × matrix → table GPU: none — Tactile dipole moment D = Σ_i w ρ_i r_i (2 components). form: * "divergence" — paper (arXiv 2404.15626) Eqs. 4–8: ρ_i = (∇·u)_i (pass rho, or :func:marker_divergence via radius). * "norm_cross" — the paper’s baseline (Eqs. 10–11, Yamaguchi & Atkeson style): ρ_i = |
u_i | (the vector norm in place of the normal force). The tilt component of l_i × f_i is (l_y | u | , −l_x | u | ), i.e. D rotated by 90°, so it is returned in the same “1st moment” slot. Under a symmetric tilt after zeroing, | u | is an even function of M, so it is identically 0 (blind to the sign; gate). * "radial" — this module’s variant: ρ_i = u_i · r̂_i (radial component). origin: "midpoint" (Eqs. 6–7, midpoint of the positive and negative centroids) / "centre" (mean of pts, the baseline’s convention) / (x0, y0). weight: "area" = multiply by the area per 1 point area [m²] (comparable with the closed-form coefficient −(1−2ν)/(2G), unit m³) / "mean" = 1/N (paper). With window = (cx, cy, R) only points within radius R are used (a window that cuts off shear leakage; rationale in the module docstring). Invalid points (nan) are excluded. Returns D (2,), tau_dir = (−D_y, D_x) (direction of Eq. 9, without coefficient), origin, n, rho, form, keep. Raises ValueError: unknown form/origin/weight (misspellings fail closed), shape of pts/u, “area” without area, fewer than 3 usable points. · examples: poc_tactile_dipole_torque |
tilt_shear_field matrix × matrix × table → table GPU: none — Exactly the paper’s “zero after grasping” procedure: convolves the difference Δp between the pressure p_before right after grasping and the pressure p_after after the torque with the Boussinesq kernel, and returns the zeroed marker displacements ux, uy (, uz) and dp. If the 0th moment of Δp is 0 (normal force unchanged), the dipole does not depend on the origin. Raises ValueError: the 2 arrays differ in shape. · examples: poc_tactile_dipole_torquetorque_decompose matrix × matrix × scalar × scalar × scalar → table GPU: none — Splits the marker field into 3 mechanical quantities: translation = mean displacement in the window (shear Q, unidirectional component), omega = rigid rotation angle (:func:rigid_rotation_fit) → torsion Mz (needs a; omega_curl = mean curl/2 for reference), D = divergence dipole (area-weighted) → tilt M1 = D / coef (coef defaults to the half-space closed form −(1−2ν)/(2G); on real hardware pass the calibrated value), tau = (−M1_y, M1_x). Divergence and curl do not change when the mean displacement is subtracted (the derivative of a constant is 0), so the order does not matter. The window (cx, cy, R) is limited to the contact circle (because in a half-space pure shear creates a divergence dipole over the whole window; see the module docstring). radius = neighborhood radius for the divergence (required). · examples: poc_tactile_dipole_torquetorsion_stick_field matrix × matrix × scalar × scalar × table × scalar → table GPU: none — Surface displacement field of no-slip torsion (Reissner–Sagoci, corresponding to Johnson 1985 §3.9; equation number unconfirmed → verified numerically by convolution): ux, uy [m] obtained by convolving the traction q_θ = 3M_z r/(4πa³√(a²−r²)) with the kernel of :func:tacslip.cerruti_kernel, plus the closed form beta = 3M_z/(16Ga³), the rigid rotation inside the circle ux_cf = −βy, uy_cf = βx (r < a), and the tractions qx, qy. Because the convolution returns a uniform u_θ/r = β inside the circle, the β formula is verified by an independent implementation (−0.5 %, uniformity 0.14 %, measured). This is the no-slip field: for a flat punch it is exact up to 8/(3π) times full slip, but Hertz contact always slips from the edge — for the partial-slip field of Hertz contact use field=True of :func:cuttouch.torsion_partial_slip (see the module docstring). Raises ValueError: G ≤ 0, a ≤ 0, X and Y differ in shape, the kernel grid does not match. · examples: poc_tactile_dipole_torqueadd_mesh_object table × table → scalar GPU: none — Places a procedural mesh (tree_mesh / pedestrian_mesh …, origin = bottom center) at a pose and adds it to the world. · examples: gallery_drive_world_objects, poc_driving_crossing, poc_driving_decisions, poc_driving_humanoids, poc_driving_lateral, poc_driving_traffic, poc_world_terraincourse_distance table × points → table GPU: none — Distance from points (N, 2) to the course (union of drivable polygons), and the unit vector pointing outward from the nearest point. · examples: poc_world_terraincrosswalk_mesh no input → table GPU: none — Crosswalk (zebra): along a segment a→b across the road, stripes of width stripe and spacing gap, extended by length perpendicular to a→b (on the left-hand side of a→b). {"V", "F", "color", "label" (12), "n_stripes", "area"}. · examples: poc_driving_crossing, poc_driving_humanoids, poc_world_terrainfbm_gradient image2d × image2d × table → any GPU: yes (allow-list) — Closed form of (∂h/∂x, ∂h/∂y). · examples: poc_world_terrainfbm_height image2d × image2d × table → image2d GPU: yes (allow-list) — Closed form of the fBm height: h(x, y) = Σ_k A_k cos(2π f_k (x cosθ_k + y sinθ_k) + φ_k) (table from :func:fbm_params). · examples: poc_rover_slip_risk_path, poc_world_terrainfbm_params no input → table GPU: none — Table for building an fBm surface as a sum of sines with random phases (a continuous version of the spectral synthesis of Saupe 1988). · examples: poc_rover_slip_risk_pathmaterial_params no input → table GPU: none — Material table. puddle = where Perlin(puddle_freq) > puddle_level (inside the road only, label 11, color = reflection refl·sky + (1−refl)·shaded road surface), stain = likewise dark stains (the label stays road; kept in the ground-truth field “stain”), wear = wear ratio of the white lines clip(wear·(Perlin(wear_freq)·0.5+0.5)·2, 0, 1). · examples: poc_world_terrainmesh_signed_volume points × matrix → scalar GPU: none — Signed volume of a closed mesh (divergence theorem: Σ v₀·(v₁×v₂)/6, positive for outward orientation). · examples: poc_world_terrainpedestrian_mesh no input → table GPU: none — Procedural pedestrian: 2 legs (boxes), torso (box), head (solid of revolution). Origin = center at the feet, +x is forward. stride [m] spreads the legs forward and backward. · examples: gallery_drive_world_objects, poc_driving_crossing, poc_driving_humanoids, poc_driving_traffic, poc_driving_weather, poc_world_terrainperlin2 image2d × image2d → table GPU: yes (allow-list) — Evaluates Perlin’s (2002, improved noise) 2-D gradient noise at world coordinates (x, y). · examples: poc_world_terrainradial_periodogram image2d → table GPU: yes (allow-list) — Radially averages the periodogram of a height field (H, W) on a grid: {"f", "power", "count"} (f in cycles/m). · examples: poc_world_terrainscatter_offroad table → points GPU: none — Scatters objects off the road (dart throwing): each point is at least margin from the course and at least r_min from every other point. · examples: poc_world_terrainspectral_slope image2d → table GPU: none — Straight-line log–log fit of the radial periodogram: {"beta", "intercept", "n"} (power ∝ f^{−beta}). · examples: poc_world_terrainterrain_gradient image2d × image2d × table → any GPU: yes (allow-list) — Closed form of (∂z/∂x, ∂z/∂y): ∇(h·w) = w∇h + h·w′(d)·∇d, ∇d = unit vector pointing outward from the nearest point. · examples: poc_world_terrainterrain_height image2d × image2d × table → image2d GPU: yes (allow-list) — z = fbm(x, y)·w(d(x, y)) + undulation(x, y). Without a course, w = 1 (relief only). · examples: poc_world_terrainterrain_mesh table × table → table GPU: none — Grid mesh that divides (xmin, xmax, ymin, ymax) into cells of size step, with z = terrain_height. · examples: gallery_drive_city_terrainterrain_params no input → table GPU: none — Terrain table: fBm relief (0 within flat m of the road, then smoothstep over blend m) + road-surface undulation road_amp·½[sin(2πx/L₁+φ₁) + sin(2πy/L₂+φ₂)] (also applied to the road; upper bound of the gradient = road_amp·π/min(L)). · examples: gallery_drive_city_terrain, poc_world_terraintree_mesh no input → table GPU: none — Procedural tree: trunk = regular n-gonal prism (height 0.35·height), crown = cone (conifer) or spheroid (broadleaf, vertical extent 0.65·height). · examples: poc_world_terrainworld_apply_terrain table × table → table GPU: none — Applies the terrain to the output of world_build (a flat world) (in place; returns the same dict). · examples: poc_world_terrainworld_materials table × table × matrix × matrix × table → table GPU: none — Applies road-surface materials pixel by pixel to the rendering view (from world_camera, including “shade”). · examples: poc_world_terrainkyosoku_summary no input → table GPU: none — Reads the ledger of reproduced Rules of the Road (Kyosoku) scenarios (docs/drive/kyosoku_scenarios.json) and turns it into a category × status count table. · examples: poc_driving_towntown_centerline table → any GPU: none — Samples the chained centerline every step of arc length → (N, 4) = (s, x, y, yaw) (the end point is always included). · examples: poc_driving_towntown_chain any → table GPU: none — Places the elements by chaining them in order: solves in closed form the rigid placement that aligns the entry of element k+1 with the exit of element k (overlap before it) and passes it to :func:drivecourse.course_layout. · examples: poc_driving_towntown_checks table × table → table GPU: none — Scoring of the end-to-end run (closed-form gates + the existing railroad-crossing scoring op). · examples: poc_driving_japan_town, poc_driving_towntown_crossing_state table → table GPU: none — Writes the state of the railroad-crossing equipment at time t into the world (all crossings use the same train timetable). · examples: poc_driving_towntown_layout no input → table GPU: none — Default towns. "default" = road(30) → intersection → road(20) → crossing (railroad crossing) → road(20) → slope → road(20) → parallel_parking → road(30) (all 7 m wide; stop lines: 1 at the intersection and 1 at the railroad crossing). "short" = road(20) → crossing → road(20) (fast test gate). · examples: poc_driving_towntown_rules no input → table GPU: none — Rule pack (a copy of :data:RULE_PACKS). {"jurisdiction", "side": "left"|"right", "crossing_stop": "always"|"when_active", "intersection_stop": "signal", "hold_s", "look_required", "look_hold_s", "sources": [...], "verified", "notes"}. · examples: poc_driving_towntown_run table → table GPU: none — A longitudinal-only end-to-end run along the centerline (rule-based). · examples: poc_driving_japan_town, poc_driving_towntown_stop_lines table → table GPU: none — Lists the town’s stop lines in order of arc length: [{"s", "x", "y", "yaw", "kind", "element", "crossing_zone": (s0, s1) | None, "drawn": bool}, ...]. · examples: poc_driving_towntown_world table → table GPU: none — A thin wrapper around :func:driveworld.world_build (passes props and the remaining arguments through) that adds a table of stop-line, traffic-signal and railroad-crossing positions as world["town"] and, for each crossing element, places 2 crossing warning signals with gates, gate arms (raised), crossing planks, and a train (waiting far away). · examples: poc_driving_townbus_stop_rate any → any GPU: none — Emergence rate that is high ahead of and behind a stopped bus: λ(x) = base + peak [exp(−½((x − rear)/spread)²) + exp(−½((x − front)/spread)²)] [events/m]. An example of the pattern in which people come out from the bus’s shadow (beyond its front end) and from behind it (the values are the caller’s assumptions). The upper bound is base + 2·peak. · examples: poc_driving_trafficdriver_style no input → table GPU: none — Returns the parameters of 3 driving styles (“careful” / “normal” / “sloppy”). All values are assumptions (no source). · examples: poc_driving_trafficidm_accel any → any GPU: none — Acceleration of the Intelligent Driver Model (Treiber, Hennecke, Helbing 2000). · examples: poc_driving_decisions, poc_driving_town, poc_driving_trafficidm_equilibrium_gap any → any GPU: none — Equilibrium gap of the IDM s_e(v) = (s0 + v T) / sqrt(1 − (v/v0)^δ) (0 ≤ v < v0). · examples: poc_driving_trafficidm_platoon_simulate any → table GPU: none — Integrates an IDM platoon of following vehicles behind the leader’s speed profile (car 0 = leader, 1..n = following vehicles). · examples: poc_driving_trafficimportance_risk_estimate any → table GPU: none — Makes accidents more likely with trials at a raised emergence rate (rate λ’) and maps back to the accident probability at the original rate λ with likelihood-ratio weights. · examples: poc_driving_trafficlateral_wobble no input → signal GPU: none — Exact discretization of the Ornstein–Uhlenbeck process dX = −θ X dt + σ dW (a sequence of length n, step dt). · examples: poc_driving_trafficocclusion_reveal_distance any → scalar GPU: none — Longitudinal distance at which a point emerge_xy hidden behind a car parked at the roadside (an oriented box) becomes visible for the first time from the ego vehicle’s eye. · examples: poc_driving_trafficocclusion_safe_speed any → any GPU: none — Maximum speed at which the car can stop within distance d from the moment of becoming visible: v = b(−ρ + sqrt(ρ² + 2d/b)). · examples: poc_driving_trafficocclusion_visible_intervals any → any GPU: none — While the ego vehicle’s eye advances along p(s) = ego_xy + s h for 0 ≤ s ≤ s_max, the list of intervals of advance during which the point emerge_xy is visible. · examples: poc_driving_trafficou_estimate signal → table GPU: none — Reads the parameters of lateral wander (an OU process with mean 0 dX = −θX dt + σ dW) from a sequence of observations at uniform spacing dt. · examples: poc_driving_trafficpassing_decision no input → any GPU: none — Returns “go” or “wait” from the distance to the oncoming vehicle dist_oncoming (at decision time, when the ego vehicle is at x_in). · examples: poc_driving_trafficpassing_gap_required no input → table GPU: none — Time needed to clear the section where the car swerves into the oncoming lane to pass a parked car, and the threshold distance at which the oncoming vehicle does not arrive before then (closed form). · examples: poc_driving_trafficpassing_simulate no input → table GPU: none — Runs the “go” case forward in time and returns the PET (difference between the time the ego vehicle has fully returned from the oncoming lane and the time the oncoming vehicle reaches that point). · examples: poc_driving_trafficpedestrian_crossing no input → table GPU: none — Trajectory of a pedestrian whose crossing intention is the ground truth (closed form per segment; no integration). · examples: poc_driving_trafficpoisson_events any → signal GPU: none — Draws 1 realization of an inhomogeneous Poisson process on [0, x_max] by thinning (Lewis & Shedler 1979) (an array of positions in ascending order). · examples: poc_driving_trafficpoisson_events_xt any → any GPU: none — Draws 1 realization of a space-time inhomogeneous Poisson process on [0, x_max] × [0, t_max] (rate λ(x, t) [events/(m·s)]) by thinning. · examples: poc_driving_trafficsocial_force_step points × points × points → any GPU: none — 1 step of the social force model (per unit mass; in the form of Helbing & Molnár 1995 / Helbing, Farkas, Vicsek 2000). · examples: gallery_drive_mirrors_crowdsflow_from_depth_motion image2d × matrix × matrix → table GPU: yes (allow-list) — Ground-truth optical flow from a depth image and a rigid motion: {"u", "v", "valid", "depth1"} (each (H, W)). · examples: poc_ttc_rss, poc_world_terrainfoe_from_flow image2d × image2d → table GPU: none — Estimates the focus of expansion (FoE) from optical flow: {"foe": (col, row), "n", "residual"}. · examples: poc_world_terrainfoe_from_motion matrix × matrix → signal GPU: none — Pixel (col, row) of the focus of expansion (FoE): the projection at infinity of the translation t of the relative motion. · examples: poc_ttc_rss, poc_world_terrainlabel_extent labels2d → table GPU: none — Bounding box of the pixels with value value in a label image: {"col0", "col1", "row0", "row1", "width", "height", "n"}. · examples: poc_ttc_rss, poc_video_physics_consistencyrelative_motion matrix × matrix → matrix GPU: none — Rigid motion T_rel of points seen in camera coordinates between 2 frames (P_c1 = T_rel · P_c0). · examples: poc_ttc_rss, poc_world_terrainttc_from_flow image2d × image2d → table GPU: yes (allow-list) — τ (seconds) from optical flow: {"tau_map", "tau", "n", "foe"}. · examples: poc_ttc_rssttc_from_range no input → scalar GPU: none — τ = d / v (seconds) from distance and closing speed. Ground truth derived from the world poses (inf if v ≤ 0, ValueError if d < 0). · examples: poc_ttc_rssttc_from_scale no input → scalar GPU: none — τ (seconds, at the time of the first frame) from the change in apparent size: τ₀ = Δt · w₁ / (w₁ − w₀). · examples: poc_ttc_rssttc_truth image2d × matrix × matrix → table GPU: yes (allow-list) — Per-pixel ground-truth τ (seconds, at the time of the first frame) and closing speed: {"tau", "closing_speed", "depth1", "valid"}. · examples: poc_ttc_rssdetect_obstacles depth → mask GPU: none — Segment cells rising more than clearance above the walkable ground. · examples: walking_ops_tourelevation_map points → depth GPU: none — Bin a point cloud into a 2.5-D elevation grid. · examples: heightmap_depth_camera_tour, perception_pipeline, physical_ai_perception, poc_lidar_terrain_change, walking_ops_tourelevation_normals depth → normalmap GPU: none — Unit up-pointing normals (H, W, 3) of an elevation map — ledger door of :func:surface_normals. · examples: walking_ops_tourelevation_step_edges depth → mask GPU: none — Step edges (curbs / stair nosings) of an elevation map -> (edge_mask, signed_rise) (ledger door). · examples: walking_ops_tourelevation_traversability depth → mask GPU: none — Traversable cells of an elevation map (True = within the step and slope limits) — ledger door of :func:traversability. · examples: walking_ops_tourfill_gaps depth → depth GPU: none — Fill nan cells with the nearest finite height (nearest-neighbour). · examples: heightmap_depth_camera_tour, walking_ops_tourfoothold_candidates depth → table GPU: none — Pick discrete safe stepping targets from the terrain. · examples: consumer_hillco, physical_ai_perception, walking_ops_tourfoothold_score depth → image2d GPU: none — Per-cell flatness score in [0, 1] (1 = flat & level = good foothold). · examples: walking_ops_tourfuse_elevation images → depth GPU: none — Fuse several aligned elevation grids into one robot-centric map. · examples: walking_ops_tourground_plane depth → depth GPU: none — Robust least-squares ground plane z = a·x + b·y + c per cell. · examples: walking_ops_tourground_surface depth → depth GPU: none — Smooth walkable-ground envelope by grey-opening (min-filter then max-filter). · examples: walking_ops_tourheightmap_depth_camera depth × pose × matrix → depth GPU: none — Render a height map (elevation map / DEM) directly with a pinhole depth camera (rays marched over the heights at a fixed step). · examples: heightmap_depth_camera_tourroughness_map depth → image2d GPU: none — Per-cell surface roughness = local height standard deviation over a window neighbourhood. High on rubble / vegetation, ~0 on smooth ground. · examples: walking_ops_tourload_asset no input → table GPU: none — Loads a bundled asset as a mesh dict: {"V", "F", "color", "label", "name", "dims"}. · examples: poc_driving_longitudinal, poc_driving_pass, poc_driving_school, poc_driving_weather, poc_ttc_rssworld_build table → table GPU: none — Builds a world from a course (element or layout). · examples: gallery_drive_japan_roads, gallery_drive_world_objects, poc_driving_longitudinal, poc_driving_school, poc_driving_weather, poc_ttc_rss, poc_world_terrainworld_camera table × matrix × matrix → table GPU: none — Shoots the world with a camera: {"color" (H,W,3), "label" (H,W) int(−1 = 空), "depth" (H,W), "face" (H,W), "shade" (H,W)}. · examples: gsplat_trained_product, heightmap_depth_camera_tour, poc_ball_bounce, poc_driving_crossing, poc_driving_decisions, poc_driving_endless_map, poc_driving_humanoids, poc_driving_japan_town, poc_driving_lateral, poc_driving_longitudinal, poc_driving_pass, poc_driving_school, poc_driving_town, poc_driving_traffic, poc_kendama, poc_table_tennis_bounce, poc_table_tennis_spin, poc_ttc_rss, poc_world_terrainworld_move table → any GPU: none — Moves object i (one placed from an asset) to a new pose (x, y, yaw) (rewrites only the vertices; faces, labels and colors are unchanged). · examples: poc_driving_crossing, poc_driving_decisions, poc_driving_lateral, poc_ttc_rss, poc_world_terrainbeam_hardening_apply sinogram → sinogram GPU: yes (allow-list) — Turn a monochromatic sinogram into a polychromatic one — cupping. · examples: ct_reconstruction, poc_battery_ct_degradationbeam_hardening_correct sinogram → sinogram GPU: none — Undo cupping — either the exact model inverse, or a calibrated polynomial. · examples: ct_reconstructionmetal_trace_interpolate sinogram → sinogram GPU: none — Linear-interpolation metal artefact reduction (LI-MAR). · examples: ct_reconstructionring_artifact_apply sinogram → sinogram GPU: none — Give the detector a per-bin gain error — the source of ring artefacts. · examples: ct_reconstruction, poc_battery_ct_degradationring_artifact_remove sinogram → sinogram GPU: none — Remove per-detector-bin offsets by flattening the angle-averaged profile. · examples: ct_reconstructionct_adjoint_project projstack × ctgeometry → voxel GPU: none — The exact transpose A^T of :func:ct_forward_project. · examples: ct_scan_modes, poc_ct_casting_sparse_views, poc_real_walnut_cbctct_dual_energy_reconstruct projstack × projstack × ctgeometry → table GPU: none — Two scans of one geometry to two basis-material volumes. · examples: poc_ct_casting_sparse_views, poc_real_walnut_cbctct_forward_project voxel × ctgeometry → projstack GPU: none — Project a volume along every ray of geometry: the discrete operator A. · examples: ct_scan_modes, poc_ct_casting_sparse_views, poc_real_walnut_cbctct_scan_geometry no input → ctgeometry GPU: none — Describe one CT scan: per view, where the source and the detector are. · examples: ct_scan_modes, poc_ct_casting_sparse_views, poc_real_walnut_cbctellipsoid_phantom no input → voxel GPU: none — Rasterise a sum of uniform ellipsoids onto a (Z, Y, X) grid. · examples: ct_scan_modes, poc_ct_casting_sparse_viewsellipsoid_projections ctgeometry → projstack GPU: none — Exact line integrals of a sum of ellipsoids, for any scan in this family. · examples: ct_scan_modes, poc_ct_casting_sparse_viewsfdk_reconstruct projstack × ctgeometry → voxel GPU: none — Filtered back-projection for every scan with a formula: FDK and its relatives. · examples: ct_scan_modes, poc_ct_casting_sparse_views, poc_real_walnut_cbctos_sart_reconstruct projstack × ctgeometry → voxel GPU: none — OS-SART: the SIRT update applied to one ordered subset of views at a time. · examples: ct_scan_modes, poc_ct_casting_sparse_views, poc_real_walnut_cbctshepp_logan_3d no input → voxel GPU: none — The modified 3-D Shepp-Logan head phantom on a size-cube. · examples: ct_scan_modes, poc_ct_casting_sparse_viewssirt_reconstruct projstack × ctgeometry → voxel GPU: none — SIRT: every view at once, x <- x + lam C A^T R (p - A x). · examples: ct_scan_modes, poc_ct_casting_sparse_views, poc_real_walnut_cbcttv_reconstruct projstack × ctgeometry → voxel GPU: none — Total-variation reconstruction by the Chambolle-Pock primal-dual method. · examples: ct_scan_modes, poc_ct_casting_sparse_views, poc_real_walnut_cbctellipse_phantom no input → image2d GPU: none — Rasterise a sum of uniform ellipses onto a size x size slice. · examples: ct_reconstruction, poc_ct_fidelity, tomography_reconstructellipse_sinogram no input → sinogram GPU: none — The closed-form Radon transform of a sum of uniform ellipses. · examples: ct_reconstruction, poc_ct_fidelityradon_transform image2d → sinogram GPU: none — Forward parallel-beam projection: a slice in, a sinogram out. · examples: ct_reconstruction, poc_aoi_ct_traceability, poc_ct_fidelity, poc_sem_tem_same_particlesinogram_center_of_rotation sinogram → measurement GPU: none — Where the axis of rotation actually is, in detector bins from the centre. · examples: ct_reconstructionsinogram_center_shift sinogram → sinogram GPU: none — Re-centre a sinogram on its axis of rotation. · examples: ct_reconstructionprojection_angles no input → signal GPU: none — The angle sequence of a scan, in degrees, as a 1-D float64 array. · examples: ct_reconstruction, poc_battery_ct_degradation, poc_ct_fidelity, tomography_reconstructsinogram_design no input → table GPU: none — What a scan geometry can and cannot resolve — before anything is built. · examples: ct_reconstruction, tomography_reconstructbackproject_sinogram sinogram → image2d GPU: yes (allow-list) — Plain, un-filtered back-projection — the blurred baseline. · examples: ct_reconstruction, poc_ct_fidelityfiltered_backprojection sinogram → image2d GPU: yes (allow-list) — Filtered back-projection (FBP) — the standard CT reconstruction. · examples: ct_reconstruction, poc_aoi_ct_traceability, poc_ct_fidelity, poc_sem_tem_same_particlefiltered_backprojection_like sinogram × image2d → image2d GPU: none — Reconstruct FBP on the square grid of a reference image. · examples: ct_reconstructionsart_reconstruct sinogram → image2d GPU: none — SART — simultaneous algebraic reconstruction, one angle at a time. · examples: ct_reconstructionbasis_decomposition_crlb no input → table GPU: none — Return in closed form the lower bound (Cramér–Rao) on the variance of the decomposition at basis thicknesses b. · examples: poc_dual_energy_xraybasis_material_decompose images → images GPU: none — Channel signals → thickness maps of the basis materials (Alvarez–Macovski / Lehmann basis decomposition). · examples: poc_dual_energy_xraydual_energy_separability no input → table GPU: none — How well two materials (thicknesses) can be told apart by the channels’ log attenuations (closed-form d′ and error rate). · examples: poc_dual_energy_xraydual_kvp_channels pairs × pairs → table GPU: none — The two channels of an energy-integrating (scintillator) detector imaged at two tube voltages. · examples: poc_dual_energy_xrayeffective_z_map images → image2d GPU: none — Estimate an effective-atomic-number image from dual-energy images (R matched against the curves of the elements).material_effective_z no input → table GPU: none — Return the effective atomic number (Mayneord / Spiers power law) and the electron density from the composition. · examples: poc_dual_energy_xraymaterial_xray_attenuation no input → pairs GPU: none — Return a material’s X-ray attenuation as pairs (E [keV], value); the mass attenuation coefficient μ/ρ [cm²/g] by default. · examples: poc_dual_energy_xray, poc_geodetic_height_framesmaterial_xray_constants no input → table GPU: none — Return the X-ray constants at one energy (μ/ρ, μ_en/ρ, μ, half-value layer, mean free path) with their source. · examples: poc_dual_energy_xraymaterial_xray_table no input → table GPU: none — List the materials whose X-ray column (mass attenuation coefficient μ/ρ) can be looked up.photon_counting_channels pairs → table GPU: none — Energy windows of a photon-counting detector → channels (one count per photon). · examples: poc_dual_energy_xrayr_value_map images → image2d GPU: none — Return the image of R = L_low / L_high (ratio of low- to high-energy log attenuation).scintillator_sensor_qe no input → table GPU: none — Quantum efficiency of a scintillator-coupled sensor: one X-ray photon → absorption in the scintillator → light emission → electrons in the photodetector. · examples: scintillator_sensor_tourxray_beam_quality pairs → table GPU: none — Beam quality of a spectrum: first and second half-value layers, homogeneity coefficient, mean energy and effective energy. · examples: poc_dual_energy_xrayxray_channel_projection images → images GPU: none — Thickness map per material → an image of the signal in each channel (C, H, W). · examples: poc_dual_energy_xrayxray_tube_spectrum no input → pairs GPU: none — Return the photon spectrum of an X-ray tube as pairs (E [keV], photons / keV), normalised to Σ φ ΔE = 1. · examples: poc_dual_energy_xrayfbp_volume sinostack → voxel GPU: none — Reconstruct every sinogram of a (Z, A, D) stack -> a (Z, S, S) volume. · examples: poc_battery_ct_degradation, tomography_reconstructradon_volume voxel → sinostack GPU: none — Project every slice of a (Z, H, W) volume -> a (Z, A, D) stack. · examples: poc_battery_ct_degradation, tomography_reconstructvol_colorize_labels labels → rgbvolume GPU: none — 3-D label volume -> an RGB volume, (D, H, W, 3) float64. · examples: voxel_labels_colorvol_label_overlay voxel × labels → rgbvolume GPU: none — The original grey volume with coloured labels laid over it, as (D, H, W, 3). · examples: voxel_labels_colorvol_label_color_flicker voxel → table GPU: none — Count the difference between “segment then colour” and “colour then segment”. · examples: voxel_labels_colorvol_label_legend labels → table GPU: none — A legend table: which colour is which component, and what its measurements are. · examples: voxel_labels_colorvol_label_shape_stats labels → table GPU: none — Per-component quantities that can be had in linear time (volume, centroid, box, PCA shape indices). · examples: poc_cold_chain_excursion, voxel_labels_colorvol_label_palette no input → matrix GPU: none — An RGB palette for labels 0..n_labels: (n_labels + 1, 3) float64. · examples: voxel_labels_colorvol_label_volume_render labels → rgbimage GPU: none — A composited projection of the coloured labels, (H, W, 3), built with numpy alone. · examples: voxel_labels_colorvol_labels_to_meshes labels → table GPU: none — Run marching cubes per component, giving a set of coloured meshes. · examples: voxel_labels_colorvol_select_labels labels → labels GPU: none — Sieve components by 3-D features (the 3-D counterpart of 2-D blob selection). · examples: voxel_labels_colorvol_label_mpr_rgb rgbvolume → rgbimage GPU: yes (allow-list) — The three orthogonal cuts of a coloured volume, laid out as one RGB image. · examples: voxel_labels_colorvol_label_slice_rgb rgbvolume → rgbimage GPU: inside a chain only (allow-list) — Take one RGB cross-section out of a coloured volume (axial / coronal / sagittal). · examples: voxel_labels_colorangle_to_matrix angle → matrix GPU: none — Angle [deg] → the rotation matrix (3,3) about the z-axis. The exit from angle. · examples: representation_roundtripcountrate_to_counts countrate → counts GPU: none — Count rate [Hz] → counts. The exit from countrate (invertible). · examples: representation_roundtripcounts_to_countrate counts → countrate GPU: none — Counts → count rate [Hz]. The inverse of :func:countrate_to_counts. · examples: representation_roundtripcscalar_to_polar cscalar → pairs GPU: none — Complex scalar → polar form pairs (1,2) = [|z|, arg z [deg]]. The exit from cscalar. · examples: representation_conversiondeformation_to_points deformation → points GPU: none — A TPS deformation → its control points (N,3). The exit from deformation. · examples: representation_conversionmatrix_to_angle matrix → angle GPU: none — A rotation matrix about the z-axis → the angle [deg]. The inverse of :func:angle_to_matrix. · examples: representation_roundtripmatrix_to_rot_scale matrix → rot_scale GPU: none — A 2-D similarity transform (2,2) → (angle [deg], scale). The inverse of :func:rot_scale_to_matrix. · examples: representation_conversionpolar_to_cscalar pairs → cscalar GPU: none — Polar form pairs (1,2) = [r, theta [deg]] → a complex scalar. The inverse of :func:cscalar_to_polar. · examples: representation_conversionrot_scale_to_matrix rot_scale → matrix GPU: none — (angle [deg], scale) → a 2-D similarity matrix (2,2). The exit from rot_scale. · examples: representation_conversionshift_to_vector shift → vector GPU: none — An integer shift (dz, dy, dx) → a vector (3,). The exit from shift (invertible). · examples: poc_bga_ball_type_roundtrip, representation_conversionvector_to_shift vector → shift GPU: none — A vector (3,) → an integer shift (dz, dy, dx). The other direction of :func:shift_to_vector. · examples: poc_bga_ball_type_roundtrip, representation_conversioncurvature_to_shape_index curvature → pairs GPU: none — Principal curvatures (N,2) → shape index and curvedness, as pairs (N,2). The exit from curvature. · examples: poc_bga_ball_type_roundtrip, representation_roundtripcurvature_to_table curvature → table GPU: none — Curvature → a table summarising its distribution. One-way (a statistic’s job is to throw information away). · examples: poc_bga_ball_type_roundtrip, representation_conversionshape_index_to_curvature pairs → curvature GPU: none — Shape index and curvedness (N,2) → principal curvatures (N,2). The inverse of :func:curvature_to_shape_index. · examples: poc_bga_ball_type_roundtrip, representation_roundtripgradient_coherence gradient → voxel GPU: none — 3-D gradient → the structure tensor’s sheet-likeness (coherence) voxel, range [0, 1]. · examples: type_connectivity_tourgradient_magnitude gradient → voxel GPU: none — 3-D gradient gradient → a gradient-magnitude volume voxel. The exit from gradient. · examples: type_connectivity_tourhessian_determinant hessian → voxel GPU: none — 3-D Hessian hessian → a volume of the determinant det H voxel (signed). The exit from hessian. · examples: hessian_numpy_chain, type_connectivity_tourhessian_vesselness hessian → voxel GPU: none — 3-D Hessian → Frangi vesselness voxel, range [0, 1]. · examples: hessian_numpy_chain, type_connectivity_tourvoxel_to_hessian voxel → hessian GPU: none — Volume voxel → the six components (zz, yy, xx, zy, zx, yx) of the 3-D Hessian hessian. The entry into hessian built with numpy and scipy only. · examples: hessian_numpy_chaindescriptor_to_matrix descriptor → matrix GPU: none — Descriptor → matrix. The exit from descriptor (invertible). · examples: representation_conversion, representation_roundtripdescriptor_to_table descriptor → table GPU: none — Descriptor → a summary table. One-way. · examples: representation_conversionmatrix_to_descriptor matrix → descriptor GPU: none — matrix → descriptor. The inverse of :func:descriptor_to_matrix. · examples: representation_conversionangles_to_normals pairs → normals GPU: none — Azimuth/elevation pairs (N,2) [deg] → unit normals (N,3). The exit from pairs. · examples: poc_bga_ball_type_roundtrip, representation_roundtripnormals_to_angles normals → pairs GPU: none — Normals (N,3) → azimuth/elevation pairs (N,2) [deg]. The exit from normals. · examples: poc_bga_ball_type_roundtrip, poc_tacscalib_sphere_lut, representation_roundtrip, type_connectivity_tournormals_to_egi normals → image2d GPU: none — Normals (N,3) → the extended Gaussian image, an image2d of (n_el, n_az). · examples: poc_bga_ball_type_roundtrip, representation_conversionindices_to_positions indices → positions GPU: none — Indices indices → event positions positions (physical units). The entry into positions. · examples: type_connectivity_tourjones_state no input → jones GPU: none — Polarisation azimuth and ellipticity → a Jones vector jones (Ex, Ey). The entry into jones. · examples: type_connectivity_toursynapse_table_from_table table → synapse_table GPU: none — A table table (column name → array) → a synapse table synapse_table (m, 3). The entry into synapse_table. · examples: type_connectivity_tourpairs_peak_x pairs → measurement GPU: none — Pairs pairs (x, y) → the x where y peaks (parabolic interpolation between samples) measurement. · examples: type_connectivity_tourpose_to_matrix pose → matrix GPU: none — A rigid pose pose (R, t) → a 4×4 homogeneous transform matrix. · examples: type_connectivity_tourtokens_to_matrix tokens → matrix GPU: none — A token sequence tokens (T, d) → a general matrix matrix (T, d). The exit from tokens. · examples: type_connectivity_tourtable_field_image2d table → image2d GPU: none — One field of a table table → a 2-D image image2d. The bridge from ops that return a table to ops that take images. · examples: type_connectivity_tourtable_field_matrix table → matrix GPU: none — One field of a table table → a general matrix matrix. Example: the swt field of swt_map → text_candidates.table_field_measurement table → measurement GPU: none — One field of a table table → a single number measurement. Example: width of label_extent.table_field_signal table → signal GPU: none — One field of a table table → a 1-D array signal. Hands a CSV column or a dict series to signal ops.flow_apply points × flow_scattered → points GPU: none — Add a scattered flow (N,3) to a point set (N,3) → points. The consuming side of flow. · examples: poc_bga_ball_type_roundtrip, representation_conversionflow_magnitude flow_dense → voxel GPU: inside a chain only (allow-list) — Dense scene flow (3,D,H,W) → a speed volume voxel (D,H,W). The exit from flow. · examples: perception_on_video, representation_roundtripflow_speed flow_scattered → signal GPU: none — Scattered flow (N,3) → a speed signal (N,). The exit from scattered flow. · examples: poc_bga_ball_type_roundtrip, representation_conversion, representation_roundtripflow_to_rgbimage flow_dense → rgbimage GPU: none — One slice of a dense scene flow → an rgbimage with hue = direction and value = speed. · examples: representation_conversiongaussians_to_points gaussians → points GPU: none — gaussians → the point set of their centres (N,3). The exit from gaussians (the centres are invertible). · examples: poc_bga_ball_type_roundtrip, representation_roundtripgaussians_to_voxel gaussians → voxel GPU: none — gaussians → a density voxel (D,H,W). The second exit from gaussians. · examples: poc_bga_ball_type_roundtrip, representation_roundtrippoints_to_gaussians points → gaussians GPU: none — A point set (N,3) → isotropic gaussians. The only entry into this type. · examples: poc_bga_ball_type_roundtrip, representation_roundtripindices_to_labels indices → labels GPU: none — Indices (N,) → a selection mask labels. The exit from indices (invertible). · examples: poc_bga_ball_type_roundtrip, representation_conversionlabels_to_indices labels → indices GPU: none — labels → the indices (N,) of the non-background. The other direction of :func:indices_to_labels. · examples: poc_bga_ball_type_roundtrip, representation_conversionselect_points points × indices → points GPU: none — A point set (N,3) and indices (M,) → the sub-set (M,3). The consuming side of indices. · examples: poc_bga_ball_type_roundtrip, representation_conversionkeypoints_from_image2d image2d → keypoints GPU: yes (allow-list) — A count/response image (H, W) → image coordinates (N,2) = (u, v). The way back of the round trip. · examples: poc_bga_ball_type_roundtrip, representation_roundtripkeypoints_rowcol_to_uv keypoints → keypoints GPU: none — Image points (row, col) → (u, v) = (col, row). The bridge between the two conventions of the keypoints sort. · examples: poc_bga_ball_type_roundtrip, type_connectivity_tourkeypoints_to_image2d keypoints → image2d GPU: none — Image coordinates (N,2) = (u, v) → a count image (H, W). The second exit from keypoints. · examples: poc_bga_ball_type_roundtrip, representation_roundtripkeypoints_uv_to_points keypoints → points GPU: none — Image coordinates (N,2) = (u, v) → a point set (N,3) = (z, y, x). The exit from keypoints. · examples: poc_bga_ball_type_roundtrip, representation_roundtripkeypoints_uv_to_rowcol keypoints → keypoints GPU: none — Image points (u, v) = (col, row) → (row, col). The reverse of :func:keypoints_rowcol_to_uv. · examples: poc_bga_ball_type_roundtrippoints_to_position points → position GPU: none — A point set (N,3) → its centroid (z, y, x). Not invertible (the distribution is thrown away). · examples: poc_bga_ball_type_roundtrip, representation_conversion, representation_roundtrippoints_zyx_to_keypoints_uv points → keypoints GPU: none — A point set (N,3) = (z, y, x) → image coordinates (N,2) = (u, v). · examples: poc_bga_ball_type_roundtrip, representation_roundtripposition_to_points position → points GPU: none — A position (z, y, x) → a one-point set (1, 3). The exit from position (invertible). · examples: poc_bga_ball_type_roundtrip, representation_conversionpairs_to_image2d pairs → image2d GPU: none — Pairs (N,2) → a scatter-density image (H, W). The third exit from pairs. · examples: representation_conversionpairs_to_signal pairs → signal GPU: none — Pairs (N,2) → the dependent variable as a signal (N,). The second exit from pairs. · examples: representation_conversion, representation_roundtrippairs_to_table pairs → table GPU: none — Pairs (N,2) → a summary table. One-way. · examples: representation_conversioncorrelation_score voxel × voxel → score GPU: yes (allow-list) — Two voxel → a normalised cross-correlation score volume. The only entry into this type. · examples: poc_bga_ball_type_roundtrip, poc_leak_localization, representation_conversion, representation_roundtripscore_to_image2d score → image2d GPU: none — A score volume → its maximum-intensity projection, an image2d. The second exit from score. · examples: poc_bga_ball_type_roundtrip, representation_conversionscore_to_position score → position GPU: none — A score volume → the location of its maximum, position (z, y, x). The exit from score. · examples: poc_bga_ball_type_roundtrip, representation_conversionframe_axis frame → normals GPU: none — Frenet frame frame → the unit vectors of one axis normals (N,3). The exit from frame. · examples: type_connectivity_tourknn_graph_to_conn_graph graph → conn_graph GPU: none — k-nearest-neighbour graph graph → a weighted adjacency matrix conn_graph (n, n). The exit from graph. · examples: poc_bga_ball_type_roundtrip, type_connectivity_tourmatch_component match → measurement GPU: none — The match sort (a 1-D result vector) → one of its components as a measurement. The exit from match. · examples: type_connectivity_tourpointmap_to_points pointmap → points GPU: none — Grid-organised 3-D points pointmap (H,W,3) → a point cloud points (N,3). The exit from pointmap. · examples: poc_bga_ball_type_roundtrip, type_connectivity_tourarchive_create any × text → any GPU: none — Create deterministic archive bytes from paths or named content. · examples: archive_roundtriparchive_extract any × text → any GPU: none — Safely extract an archive into an empty destination and return relative paths. · examples: archive_roundtriparchive_list any → table GPU: none — List archive member names, expanded and compressed sizes, modification times, and directory flags. · examples: archive_roundtriparchive_probe any → text GPU: none — Probe archive magic and return its format name. · examples: archive_roundtripe57_read any → table GPU: none — Read ASTM E57 bytes and return a point-cloud table with coordinates, intensity, color, and pose. · examples: fileio_roundtrip, poc_real_file_formatse57_write table → any GPU: none — Write a point-cloud table with coordinates, intensity, color, and pose as ASTM E57 bytes. · examples: fileio_roundtripastro_fits_read any → any GPU: none — Read a primary-HDU 2-D/3-D FITS image as (image_or_volume, meta). · examples: fileio_scientific_roundtrip, poc_real_file_formatsastro_fits_write any → any GPU: none — Write a 2-D/3-D astronomical image and basic WCS as primary-HDU FITS bytes. · examples: fileio_scientific_roundtripmesh_read_obj text → mesh GPU: none — Read Wavefront OBJ v and f records (including v//vn) and return a triangle mesh.mesh_read_off text → mesh GPU: none — Read Geomview OFF and return a triangle mesh (vertices, faces).mesh_read_ply any → table GPU: none — Read ASCII or binary PLY and return a table of vertices, faces, colors, normals, and scalar attributes. · examples: fileio_roundtripmesh_read_stl any → mesh GPU: none — Read ASCII or little-endian binary STL and return a shared-vertex mesh (vertices, faces).mesh_write_obj mesh → text GPU: none — Write a triangle mesh as a Wavefront OBJ string containing v, vn, and f (text).mesh_write_off mesh → text GPU: none — Write a triangle mesh as a Geomview OFF string (text).mesh_write_ply table → any GPU: none — Write vertices, faces, colors, normals, and arbitrary scalar attributes as ASCII or little-endian PLY (text / bytes). · examples: fileio_roundtripmesh_write_stl mesh → any GPU: none — Write a triangle mesh as ASCII or little-endian binary STL (text / bytes).em_mrc_read any → any GPU: none — Read MRC2014/CCP4 mode 0/1/2/6 as (image_or_volume, meta). · examples: fileio_scientific_roundtrip, poc_real_file_formatsem_mrc_write any → any GPU: none — Write 2-D/3-D electron-microscopy data as MRC2014/CCP4 bytes. · examples: fileio_scientific_roundtripnifti_read any → any GPU: none — Read single-file NIfTI-1 (.nii / .nii.gz) as (array, meta). · examples: fileio_scientific_roundtrip, poc_real_file_formatsnifti_write any → any GPU: none — Write a 3-D/4-D array with affine/pixdim as single-file NIfTI-1 bytes. · examples: fileio_scientific_roundtripnrrd_read any → any GPU: none — Read raw/gzip NRRD as (array, meta) with explicit spatial units. · examples: fileio_scientific_roundtripnrrd_write any → any GPU: none — Write a multidimensional array and space directions as raw/gzip NRRD bytes. · examples: fileio_scientific_roundtripome_tiff_read any → any GPU: none — Read OME-TIFF as (stack, meta) and cross-check OME-XML against the array. · examples: fileio_scientific_roundtrip, poc_real_file_formatsome_tiff_write any → any GPU: none — Write a TCZYX multidimensional array with physical sizes and channel names as OME-TIFF bytes. · examples: fileio_scientific_roundtrippoints_read_xyz text → points GPU: none — Read whitespace-delimited XYZ text and return (N,3) points. · examples: fileio_roundtrippoints_write_xyz points → text GPU: none — Write finite (N,3) points as 17-digit XYZ text (text). · examples: fileio_roundtriptable_read_csv text → table GPU: none — Reads the unit-aware CSV produced by :func:table_write_csv and returns a table containing columns, units, and metadata. · examples: fileio_roundtrip, type_connectivity_tourtable_write_csv table → text GPU: none — Writes a table with units and provenance as CSV text readable by pandas and MATLAB (text). · examples: fileio_roundtripcad_defect_to_cad mesh × labels → table GPU: none — 2-D defect label image → a table on the CAD surface (face ID / area on the face / 3-D centroid). · examples: defect_to_cadcad_surface_to_pixel mesh × points → table GPU: none — 3-D points (N,3) → pixels plus visibility (occluded, back-facing and out-of-frame are told apart). · examples: defect_to_cadcad_pixel_to_surface mesh × keypoints → table GPU: none — Pixels (N,2) → (face_id, barycentric coordinates, 3-D point) on the CAD surface (closed form). · examples: defect_to_cadcad_visible_faces mesh → indices GPU: none — IDs of the faces actually visible from this camera (ascending, indices sort). · examples: defect_to_cadcompare_frame image2d × image2d → image2d GPU: yes (allow-list) — Put two images side by side, with a divider and labels at the boundary. · examples: annotate_gallerypanel_grid image2d → image2d GPU: inside a chain only (allow-list) — Lay panels out on a grid, with a label strip under each frame (montage / contact sheet). · examples: annotate_gallery, annotate_paper_tourzoom_inset image2d → image2d GPU: yes (allow-list) — A magnified inset — adds a frame and a leader line to the original figure. · examples: annotate_gallery, poc_diabolo_model_and_vision, poc_food_cutting_measurecolor_bar image2d × lut → image2d GPU: yes (allow-list) — The legend of a LUT (a colour bar), labelled with its minimum, maximum and unit. · examples: annotate_gallery, poc_cad_scan_deviation, poc_ct_void_morphology, poc_dem_terrain, poc_interferometry_step, poc_lidar_terrain_change, poc_lightfield_depth, poc_multibeam_bathymetry, poc_pv_thermal_survey, poc_sem_tem_same_particle, poc_simcal_thin_film, poc_stockpile_volume, poc_thermography_ndtlegend_box image2d × entries → image2d GPU: inside a chain only (allow-list) — A legend of colours against descriptions. The box height follows in closed form from the number of entries. · examples: annotate_gallery, poc_driving_decisions, poc_measurement_system_analysis, poc_moire_alignment, poc_pxrd_phase_peel, poc_real_tless_6dofscale_bar image2d → image2d GPU: yes (allow-list) — A scale bar in physical length. The pixel↔physical conversion is taken as an argument (never assumed). · examples: annotate_gallery, poc_sem_tem_same_particleannotate_invert image2d × mask → image2d GPU: yes (allow-list) — Fills / outlines a region in inverted color. · examples: annotate_paper_tourannotate_invert_path image2d × pairs → image2d GPU: yes (allow-list) — Draws a polyline (line) in inverted color. Anti-aliased. · examples: annotate_paper_tourannotate_invert_visibility image2d × mask → table GPU: none — Measures, before drawing, whether the inverted color is actually visible on that background. · examples: annotate_paper_touroverlay_labels image2d × labels → image2d GPU: yes (allow-list) — Overlay a colour label map with alpha. The same label number always gets the same colour. · examples: annotate_gallery, poc_mri_bias_field, poc_recycling_sortingoverlay_mask image2d × mask → image2d GPU: yes (allow-list) — Overlay a binary mask with alpha. Exactly a*f + (1-a)*b. · examples: annotate_gallery, poc_kendama, poc_pv_thermal_survey, poc_real_sem_metal_layerannotate_angle image2d → image2d GPU: yes (allow-list) — Returns an image (image2d): the angle at three points, shown as an arc and a value (with the two arms if wanted). · examples: paper_figureannotate_angle_layout no input → table GPU: none — Returns a table (dict): the arc and text position for the (smaller) angle at a, vertex, b. · examples: paper_figureannotate_colorbar image2d × image2d → image2d GPU: yes (allow-list) — Returns an image (image2d): a scalar field colour-mapped through a LUT and overlaid, with a colour bar. · examples: paper_figure, poc_thin_film_reflectometryannotate_dimension image2d → image2d GPU: yes (allow-list) — Returns an image (image2d): a dimension line (arrowheads at both ends, extension lines, value and unit). · examples: paper_figureannotate_dimension_layout no input → table GPU: none — Returns a table (dict): the geometry of a dimension line (line, extension lines, text position) in closed form. · examples: paper_figureannotate_figure_grid images → image2d GPU: yes (allow-list) — Returns an image (image2d): images plus captions laid out as one figure (constant margins, panel letters). · examples: paper_figure, poc_compendial_particle_microscopy, poc_flybrain_pointcloud, poc_itof_multifreq, poc_pixel_shiftannotate_figure_grid_layout no input → table GPU: none — Returns a table (dict): the typesetting of a multi-panel figure (cell, panel and caption-band rectangles) in closed form. · examples: paper_figureannotate_inset image2d → image2d GPU: none — Returns an image (image2d): a magnified inset in a corner, with lines joining the matching corners. · examples: paper_figure, poc_real_defect_floorannotate_inset_layout no input → table GPU: none — Returns a table (dict): where the magnified inset goes and at what factor, in closed form. · examples: paper_figureannotate_leader image2d → image2d GPU: yes (allow-list) — Returns an image (image2d): an elbowed leader line plus text (collision-avoiding across several points). · examples: paper_figureannotate_leader_layout no input → table GPU: none — Returns a table (dict): the placement of leader lines (elbow, text position, plate rectangle) in closed form. · examples: paper_figureannotate_legend image2d → image2d GPU: yes (allow-list) — Returns an image (image2d): a legend of numbered round markers against their descriptions (the partner of :func:annotate_markers). · examples: paper_figure, poc_real_defect_floorannotate_markers image2d → image2d GPU: yes (allow-list) — Returns an image (image2d): a round marker carrying a number (or a short string) at each point. · examples: paper_figureannotate_orientation image2d → image2d GPU: yes (allow-list) — Returns an image (image2d): an arrow plus text showing a bearing (north) or an orientation. · examples: paper_figureannotate_outline image2d × mask → image2d GPU: none — Returns an image (image2d): the outline of a mask as an (anti-aliased) closed polyline, with text at the centroid. · examples: paper_figure, poc_rotation_invariance_auditannotate_outline_layout mask → table GPU: none — Returns a table (dict): the boundary loops of a binary mask (closed polygons along pixel edges) and its centroid. · examples: paper_figureannotate_panel_label image2d → image2d GPU: inside a chain only (allow-list) — Returns an image (image2d): a panel letter (a)/(b) placed in a corner. · examples: annotate_paper_tourannotate_scale_bar image2d → image2d GPU: inside a chain only (allow-list) — Returns an image (image2d): a scale bar of a round length placed in a corner (with value and unit). · examples: paper_figure, poc_flybrain_pointcloud, poc_telecentric_metrologyannotate_scale_bar_layout no input → table GPU: none — Returns a table (dict): a bar of a round length, at most target_fraction of the image width. · examples: paper_figureannotate_table image2d × text → image2d GPU: none — Returns an image (image2d): draws a tab-separated string as a table (with a semi-transparent backing panel). · examples: annotate_paper_tour, poc_rotation_invariance_auditannotate_table_layout text → table GPU: none — Returns a table (dict): the column and row positions at which a tab-separated string is placed as a table. · examples: annotate_paper_tourannotate_text_path image2d × text → image2d GPU: yes (allow-list) — Returns an image (image2d): text set along a polyline (each glyph rotated to the tangent angle). · examples: annotate_paper_tour, paper_figureannotate_text_path_layout text → table GPU: none — Returns a table (dict): the position and slope of each glyph along a polyline (set by arc length). · examples: annotate_paper_touraxes_frame image2d × axes → image2d GPU: inside a chain only (allow-list) — The axis frame (all four sides with box=True, only the left and bottom with False). · examples: annotate_gallery, annotate_paper_tour, poc_beam_modal_video, poc_camera_calibration, poc_camera_shake_deblur, poc_crack_width_timeseries, poc_dehazing, poc_dic_strain, poc_driving_decisions, poc_driving_traffic, poc_focus_stacking, poc_interferometry_step, poc_measurement_system_analysis, poc_moire_alignment, poc_motion_magnification, poc_panorama_drift, poc_particle_tracking, poc_photoelasticity, poc_pxrd_phase_peel, poc_real_sem_metal_layer, poc_real_tless_6dof, poc_registration_basin, poc_river_surface_velocity, poc_simcal_thin_film, poc_strain_history, poc_structure_4d_deterioration, poc_superresolution_limits, poc_template_tracking, poc_timelapse_growth, poc_traffic_counting, poc_wound_area_tracking, poc_xyt_event_surfaceaxes_transform no input → axes GPU: none — Build the (closed-form) mapping from data coordinates to pixel coordinates. · examples: annotate_gallery, annotate_paper_tour, poc_beam_modal_video, poc_camera_calibration, poc_camera_shake_deblur, poc_crack_width_timeseries, poc_dehazing, poc_dic_strain, poc_driving_decisions, poc_driving_traffic, poc_focus_stacking, poc_interferometry_step, poc_measurement_system_analysis, poc_moire_alignment, poc_motion_magnification, poc_panorama_drift, poc_particle_tracking, poc_photoelasticity, poc_pxrd_phase_peel, poc_real_sem_metal_layer, poc_real_tless_6dof, poc_registration_basin, poc_river_surface_velocity, poc_simcal_thin_film, poc_strain_history, poc_structure_4d_deterioration, poc_superresolution_limits, poc_template_tracking, poc_threshold_transfer_after_normalization, poc_timelapse_growth, poc_vial_particle_pod, poc_wound_area_tracking, poc_xyt_event_surfacedata_to_pixel axes × signal × signal → pairs GPU: inside a chain only (allow-list) — Map data points to pixel (x, y) through an :func:axes_transform mapping. · examples: annotate_gallery, poc_beam_modal_video, poc_camera_calibration, poc_crack_width_timeseries, poc_moire_alignment, poc_motion_magnification, poc_real_sem_metal_layer, poc_real_tless_6dof, poc_strain_history, poc_structure_4d_deterioration, poc_superresolution_limits, poc_traffic_counting, poc_vial_particle_pod, poc_wound_area_tracking, poc_xyt_event_surfacegrid_lines image2d × axes → image2d GPU: yes (allow-list) — Grid lines. If no tick values are given, :func:nice_ticks chooses them. · examples: annotate_gallery, poc_driving_decisions, poc_driving_traffic, poc_measurement_system_analysis, poc_moire_alignment, poc_pxrd_phase_peel, poc_real_sem_metal_layer, poc_real_tless_6dofnice_ticks no input → signal GPU: none — “Round” tick values covering [lo, hi] (1/2/5 × 10^k, closed form). · examples: annotate_gallery, poc_dehazing, poc_driving_decisions, poc_driving_traffic, poc_measurement_system_analysis, poc_moire_alignment, poc_pxrd_phase_peel, poc_real_sem_metal_layer, poc_simcal_thin_filmplot_series image2d × axes × signal × signal → image2d GPU: none — Draw lines, scatter or bars. Takes data coordinates (the axes decide the pixels). · examples: annotate_gallery, poc_camera_calibration, poc_camera_shake_deblur, poc_crack_width_timeseries, poc_dehazing, poc_dic_strain, poc_driving_decisions, poc_driving_traffic, poc_focus_stacking, poc_interferometry_step, poc_measurement_system_analysis, poc_moire_alignment, poc_panorama_drift, poc_particle_tracking, poc_photoelasticity, poc_pxrd_phase_peel, poc_real_sem_metal_layer, poc_real_tless_6dof, poc_registration_basin, poc_river_surface_velocity, poc_simcal_thin_film, poc_superresolution_limits, poc_template_tracking, poc_timelapse_growth, poc_wound_area_trackingticks image2d × axes → image2d GPU: none — Tick marks and their values. The positions are closed form (:func:data_to_pixel itself). · examples: annotate_gallery, annotate_paper_tour, poc_beam_modal_video, poc_camera_calibration, poc_camera_shake_deblur, poc_crack_width_timeseries, poc_dehazing, poc_dic_strain, poc_driving_decisions, poc_driving_traffic, poc_focus_stacking, poc_interferometry_step, poc_measurement_system_analysis, poc_moire_alignment, poc_motion_magnification, poc_panorama_drift, poc_particle_tracking, poc_photoelasticity, poc_pxrd_phase_peel, poc_real_sem_metal_layer, poc_real_tless_6dof, poc_registration_basin, poc_river_surface_velocity, poc_simcal_thin_film, poc_strain_history, poc_structure_4d_deterioration, poc_superresolution_limits, poc_template_tracking, poc_timelapse_growth, poc_traffic_counting, poc_wound_area_tracking, poc_xyt_event_surfacearrow image2d → image2d GPU: yes (allow-list) — An arrow from p0 to p1 (the shaft via :func:imagedraw.draw_line, the head filled). · examples: annotate_gallery, poc_agv_fleet, poc_car_parking, poc_diabolo_model_and_vision, poc_leak_localization, poc_machine_condition_fusion, poc_moire_alignment, poc_peg_insertion_tactile, poc_river_surface_velocity, poc_ttc_rsscrosshair image2d → image2d GPU: yes (allow-list) — The crossing lines of a cut plane (used in MPR). A gap keeps the centre clear so it hides nothing. · examples: annotate_gallery, poc_air_hockey_intercept, poc_ball_bounce, poc_kendama, poc_table_tennis_bounce, poc_ttc_rss, poc_world_terrainlabel_points image2d × pairs → image2d GPU: yes (allow-list) — Number or annotate a set of points. Placed so they do not overlap (an exception if that is impossible). · examples: annotate_galleryleader_line image2d × text → image2d GPU: none — A leader line — from the note’s position (anchor_xy) to its target (target_xy). · examples: annotate_gallery, poc_kendamaarc image2d → image2d GPU: yes (allow-list) — A circular arc. Angles are in degrees, clockwise from the screen x-axis (because row points down). · examples: annotate_gallery, poc_mixed_case_depalletizing, poc_optics_drawings, poc_plenoptic_camera, poc_polish_wipe_measure, poc_real_walnut_cbct, poc_weld_radiograph_porosityellipse image2d → image2d GPU: none — An ellipse (rotated by angle_deg, filled with fill=True). · examples: annotate_gallery, poc_camera_calibration, poc_compendial_particle_microscopy, poc_dimensional_inspection, poc_driving_crossing, poc_driving_lateral, poc_driving_pass, poc_dual_energy_xray, poc_interferometry_step, poc_machine_condition_fusion, poc_mixed_case_depalletizing, poc_peg_insertion_tactile, poc_polarization_specular, poc_public_camera_heading_real, poc_real_bg_kalman_tracking, poc_real_chessboard_undistort, poc_real_file_formats, poc_real_sem_metal_layer, poc_real_stereo_multiscanline, poc_real_tless_6doffilled_polygon image2d × pairs → image2d GPU: yes (allow-list) — A filled polygon (even-odd crossing rule — :mod:imagedraw only outlines). · examples: annotate_gallery, poc_driving_decisionsrounded_rect image2d → image2d GPU: yes (allow-list) — A rounded rectangle (filled with fill=True). For backing plates and enclosing boxes. · examples: annotate_gallery, poc_machine_condition_fusionmeasure_text text → table GPU: none — Measure text before drawing it. If it does not fit, wrap or shrink it; if that fails, raise. · examples: annotate_gallery, annotate_paper_tour, poc_diabolo_model_and_vision, poc_interferometry_step, poc_nir_silicon_transmission, poc_polarization_specular, poc_shape_from_polarizationtext_box image2d × text → image2d GPU: inside a chain only (allow-list) — Text on a backing plate (a translucent panel). Overflow raises instead of being silently clipped. · examples: anim3d_lens_aberrations, annotate_gallery, annotate_paper_tour, drawlist_deferred, poc_active_contours, poc_agv_fleet, poc_air_hockey_intercept, poc_ball_bounce, poc_beam_modal_video, poc_cad_scan_deviation, poc_camera_calibration, poc_camera_shake_deblur, poc_chromatic_confocal, poc_code_matching_breakdown, poc_connectome_across_worms, poc_crack_width_timeseries, poc_ct_void_morphology, poc_dehazing, poc_dem_terrain, poc_dense_bubble_count, poc_diabolo_model_and_vision, poc_dic_strain, poc_driving_crossing, poc_driving_decisions, poc_driving_endless_map, poc_driving_lateral, poc_driving_longitudinal, poc_driving_pass, poc_driving_school, poc_driving_traffic, poc_driving_weather, poc_emva1288_sensor, poc_eye_to_brain, poc_flybrain_pointcloud, poc_focus_stacking, poc_food_cutting_measure, poc_granular_heap_repose, poc_graph_hierarchy_segmentation, poc_hyperspectral_foreign_matter, poc_illumination_cone_vs_na, poc_interferometry_step, poc_kendama, poc_leak_localization, poc_lens_merit_operands, poc_lens_solves_afocal, poc_lidar_terrain_change, poc_livestock_body_volume, poc_machine_condition_fusion, poc_malecns_activity_wave, poc_material_optical_library, poc_measurement_system_analysis, poc_mesh_quality_repair, poc_moire_alignment, poc_motion_magnification, poc_multibeam_bathymetry, poc_nir_silicon_transmission, poc_noncoaxial_optics, poc_panorama_drift, poc_particle_tracking, poc_peg_failure_recovery, poc_peg_insertion_tactile, poc_phase_measuring_deflectometry, poc_photoelasticity, poc_pixel_shift, poc_polarization_specular, poc_powder_scoop_pour, poc_print_warpage_risk, poc_pxrd_phase_peel, poc_real_sem_metal_layer, poc_real_tless_6dof, poc_registration_basin, poc_river_surface_velocity, poc_rotation_invariance_audit, poc_rover_slip_risk_path, poc_segmentation_gauntlet, poc_sem_tem_same_particle, poc_simcal_pixel_shift, poc_simcal_telecentric, poc_simcal_thin_film, poc_spectrometer_illumination, poc_stockpile_volume, poc_strain_history, poc_structure_4d_deterioration, poc_superresolution_limits, poc_swarm_obstacle_from_flow, poc_table_tennis_bounce, poc_table_tennis_rally_loop, poc_table_tennis_spin, poc_tacscalib_sphere_lut, poc_telecentric_metrology, poc_tem_ctf_thon_rings, poc_template_tracking, poc_thin_film_reflectometry, poc_threshold_transfer_after_normalization, poc_timelapse_growth, poc_traffic_counting, poc_ttc_rss, poc_vial_particle_pod, poc_video_physics_consistency, poc_world_terrain, poc_wound_area_tracking, poc_xyt_event_surface, poc_zebra_stripes_fly_eyeviewport rgb → rgb GPU: none — Crop the rectangle at (x, y, width, height) and resample it by scale. · examples: gfx2d_scene, omni360_roundtriplinear_to_srgb rgb → rgb GPU: yes (allow-list) — Linear light back to sRGB encoding. Exact inverse of :func:srgb_to_linear. · examples: gfx2d_scene, poc_leaf_disease_area, poc_pigment_unmixing, poc_white_balancesrgb_to_linear rgb → rgb GPU: yes (allow-list) — sRGB-encoded values to linear light (IEC 61966-2-1). · examples: gfx2d_scene, poc_leaf_disease_area, poc_mixed_case_depalletizingalpha_composite rgba × rgba → rgba GPU: yes (allow-list) — Porter–Duff over on straight-alpha rgba (Porter & Duff 1984). · examples: gfx2d_scenealpha_composite_premul rgba_premul × rgba_premul → rgba_premul GPU: inside a chain only (allow-list) — Porter–Duff over on premultiplied colour: src + dst*(1 - src.a). · examples: gfx2d_sceneblend_mode rgb × rgb → rgb GPU: yes (allow-list) — Blend two opaque rgb images with a named mode (W3C Level 1). · examples: genspark_external_review, gfx2d_scenelayer_stack table → rgba GPU: none — Composite a z-ordered list of rgba layers, bottom first. · examples: gfx2d_scenepremultiply rgba → rgba_premul GPU: inside a chain only (allow-list) — Straight-alpha rgba to premultiplied rgba: (C*A, A). · examples: gfx2d_sceneunpremultiply rgba_premul → rgba GPU: none — Premultiplied rgba back to straight alpha: (C/A, A). · examples: gfx2d_sceneawb_gains rgb → vector GPU: inside a chain only (allow-list) — Estimate white-balance gains (g_R, g_G, g_B) with g_G = 1. · examples: raw_to_display_ispbrightness_contrast rgb → rgb GPU: inside a chain only (allow-list) — out = (rgb - 0.5) * contrast + 0.5 + brightness, clipped to [0, 1]. · examples: raw_to_display_ispcolor_correction_matrix rgb × matrix → rgb GPU: none — Apply a 3x3 colour-correction matrix: out = rgb @ ccm.T per pixel, clipped to [0, 1]. · examples: raw_to_display_isphue_saturation rgb → rgb GPU: yes (allow-list) — Rotate the hue by hue_deg and scale the saturation by saturation, in BT.601 YCbCr: luma is kept, the chroma vector (Cb, Cr) is rotated and scaled. Output clipped to [0, 1]. · examples: raw_to_display_isplens_shading_correct image2d × image2d → image2d GPU: none — Multiply a frame by a lens-shading gain map and clip to [0, 1]. raw and gain must have the same shape; the gain must be finite and > 0. · examples: poc_tdi_linescan, raw_to_display_isplens_shading_gain image2d → image2d GPU: inside a chain only (allow-list) — The gain map that flattens a flat-field frame: gain = mean / flat per colour channel (or for the whole frame when pattern is None). · examples: poc_tdi_linescan, raw_to_display_ispraw_apply_gains image2d × vector → image2d GPU: inside a chain only (allow-list) — Multiply a Bayer frame by per-channel gains (3 values R, G, B or 4 values R, G1, G2, B) and clip to [0, 1] — white balance applied before demosaicing, which is where a real ISP does it (interpolating unbalanced channels smears the cast across colours). · examples: raw_to_display_ispraw_black_level image2d → image2d GPU: none — Black-level compensation on a Bayer frame: (raw - offset) / (white - offset) per colour channel, clipped to [0, 1]. · examples: raw_to_display_ispraw_dead_pixel_correct image2d → image2d GPU: yes (allow-list) — Replace every dead pixel (:func:raw_dead_pixel_mask) by the median of its 8 same-colour neighbours; every other pixel is returned bit-for-bit. · examples: raw_to_display_ispraw_dead_pixel_mask image2d → image2d GPU: none — Where the dead (stuck / hot) pixels are: 1.0 at a pixel that differs from every one of its 8 same-colour neighbours by more than threshold in the same direction, 0.0 elsewhere. (H, W) float64. · examples: raw_to_display_ispraw_demosaic_bilinear image2d → rgb GPU: yes (allow-list) — Bayer mosaic → (H, W, 3) RGB by bilinear interpolation, in NumPy. · examples: poc_pixel_shift, raw_to_display_isprgb_apply_gains rgb × vector → rgb GPU: inside a chain only (allow-list) — Multiply the R, G, B channels by gains (3 values) and clip to [0, 1]. · examples: gallery_mesh_seg_sun_gainslight_mask rgb × rgb → rgb GPU: inside a chain only (allow-list) — Modulate an rgb image by an rgb light map: base * (ambient + light). · examples: gfx2d_scenenormal_map_decode rgb → normalmap GPU: yes (allow-list) — Tangent-space normal map rgb in [0, 1] to unit vectors (H, W, 3). · examples: gfx2d_scenenormal_map_shade normalmap → rgb GPU: none — Shade a 2-D normal map with one directional light (Lambert + Blinn 1977). · examples: gfx2d_sceneradial_light no input → rgb GPU: none — A radial light map, rgb (H, W, 3), centred on (x, y). · examples: gfx2d_sceneshadow_cast_2d image2d → image2d GPU: none — Visibility of every pixel from a point light at (x, y), as image2d. · examples: gfx2d_sceneparticle_emit no input → table GPU: none — Emit count particles from origin, deterministically from seed. · examples: gfx2d_sceneparticle_render table → rgba GPU: none — Splat a particle state into an rgba image. · examples: gfx2d_sceneparticle_step table → table GPU: none — Advance a particle state by dt seconds. Returns a new dict. · examples: gfx2d_scenebloom rgb → rgb GPU: yes (allow-list) — Bleed the bright parts of an image into their neighbourhood. · examples: gfx2d_scene, poc_public_camera_heading_realchromatic_aberration rgb → rgb GPU: yes (allow-list) — Scale the red and blue channels about the image centre, green fixed. · examples: gfx2d_scenecolor_grade rgb × lut → rgb GPU: yes (allow-list) — Apply a 3-D colour LUT to an rgb image by trilinear interpolation. · examples: gfx2d_scenecolor_lut no input → lut GPU: none — Build a 3-D colour LUT, (n, n, n, 3) indexed [r, g, b]. · examples: genspark_external_review, gfx2d_scenedither image2d → image2d GPU: yes (allow-list) — Quantise to levels values per channel while preserving the local mean. · examples: gfx2d_scenefilm_grain rgb → rgb GPU: none — Add zero-mean Gaussian grain, deterministically from seed. · examples: gfx2d_scenepalette_quantize rgb → rgb GPU: yes (allow-list) — Map every pixel to its nearest palette colour in Euclidean RGB. · examples: gfx2d_scenevignette rgb → rgb GPU: yes (allow-list) — Darken towards the corners: out = rgb * (1 - strength * t**power). · examples: gfx2d_scene, poc_search_sweep_width, poc_solar_el_inspectionnine_slice rgba → rgba GPU: yes (allow-list) — Stretch a frame to a new size without deforming its corners. · examples: gfx2d_scenesprite_blit rgba × rgba → rgba GPU: yes (allow-list) — Composite sprite onto a copy of dst at integer (x, y). · examples: gfx2d_scenesprite_sheet_slice rgba → sprites GPU: none — Cut a sprite atlas into a list of equal rgba frames, row-major. · examples: gfx2d_scenesprite_synthesize no input → rgba GPU: none — A deterministic anti-aliased test sprite, rgba (size, size, 4). · examples: gfx2d_scenesprite_transform rgba → rgba GPU: none — Rotate and/or scale an rgba sprite about its centre. · examples: gfx2d_sceneparallax_layers sprites → rgba GPU: none — Scroll a set of rgba layers at different rates and composite them. · examples: gfx2d_scenetilemap_render sprites → rgba GPU: none — Paint a grid of tile indices into one rgba image. · examples: gfx2d_scenedoe_main_effects design × signal → table GPU: none — Level means per factor — the response table of a designed experiment — with dispersion and SN. · examples: multivar_inspection_tourmv_pca matrix → table GPU: none — Principal components of a table (samples x variables) and how many of them the data support. · examples: multivar_inspection_tour, poc_simcal_thin_filmmv_pls matrix × signal → table GPU: none — Partial least squares regression of Y on X with cross-validated Q^2, the Q^2 rule and VIP. · examples: multivar_inspection_tourrsm_fit design × signal → table GPU: none — Fit a response surface on a design (coded units): ANOVA, lack of fit, stationary point. · examples: multivar_inspection_tourdoe_decode design → matrix GPU: none — design -> natural-unit matrix (n, k); or decode any coded point(s) with its ranges. · examples: doe_plan_tour, multivar_inspection_tour, poc_simcal_thin_film, sensitivity_tourdoe_encode matrix → design GPU: none — Natural-unit settings (n, k) -> design with coded values (−1..+1 = lo..hi). · examples: multivar_inspection_tourfeat_image_vector images → table GPU: yes (allow-list) — Images -> feature table {"matrix" (N, F), "names", "units", ...}, one row per image. · examples: multivar_inspection_tourmv_confounding matrix → table GPU: none — Collinearity index gamma_K (Brun, Reichert & Künsch 2001): which parameters the data can fix. · examples: poc_simcal_thin_film, sensitivity_tourmv_residual_pca matrix → table GPU: none — Do the residuals of a fitted model still carry structure? PCA of a residual matrix vs. noise. · examples: sensitivity_tourdoe_box_behnken no input → design GPU: none — Box-Behnken design (Box & Behnken 1960) for 3, 4 or 5 factors -> design. · examples: doe_plan_tourdoe_central_composite no input → design GPU: none — Central composite design (Box & Wilson 1951) -> design. · examples: doe_plan_tour, multivar_inspection_tourdoe_fractional_factorial no input → design GPU: none — Regular two-level fractional factorial 2^(k-p) from generators (Box & Hunter 1961) -> design. · examples: doe_plan_tourdoe_lhs no input → design GPU: none — Latin hypercube design (McKay, Beckman & Conover 1979) -> design. · examples: doe_plan_tour, multivar_inspection_tour, sensitivity_tour, simcal_checks_tourdoe_orthogonal_array no input → design GPU: none — Orthogonal array L4 / L8 / L9 / L12 / L16 / L18 / L27 from a published table -> design. · examples: doe_plan_tour, multivar_inspection_tour, poc_simcal_thin_filmdoe_morris no input → design GPU: none — Morris one-at-a-time screening plan: r trajectories of k+1 runs -> design. · examples: sensitivity_tourdoe_saltelli no input → design GPU: none — Sample matrices for Sobol’ indices (Saltelli et al. 2010) -> design of n (k + 2) runs. · examples: sensitivity_toursens_morris design × signal → table GPU: none — Morris elementary effects -> mu, mu, sigma per factor (Morris 1991; mu Campolongo et al. 2007). · examples: sensitivity_toursens_sobol design × signal → table GPU: none — First-order and total Sobol’ indices with bootstrap confidence intervals. · examples: sensitivity_toursimcal_discrepancy calresult → calresult GPU: none — Is there structure in the noise-normalised residuals that the model cannot produce (model discrepancy)? · examples: poc_pocket_interreflection, poc_simcal_pixel_shift, poc_simcal_telecentric, poc_simcal_thin_film, simcal_checks_toursimcal_identifiability calresult → calresult GPU: none — Fisher information, Cramér-Rao bound, correlations, collinearity and profile likelihood of every fitted knob. · examples: poc_simcal_pixel_shift, poc_simcal_telecentric, poc_simcal_thin_film, simcal_checks_toursimcal_uncertainty calresult → calresult GPU: none — Standard deviations and intervals of the determined knobs: Laplace (inverse Fisher) or parametric bootstrap. · examples: poc_simcal_thin_filmsimcal_validate calresult × simmodel → calresult GPU: none — Over-fitting gates on held-out images; any one failing rejects the calibration (the estimates are withdrawn). · examples: poc_pocket_interreflection, poc_simcal_pixel_shift, poc_simcal_telecentric, poc_simcal_thin_film, simcal_checks_toursimcal_fit simmodel → calresult GPU: none — Fit the free knobs of an observed simmodel to its images (weighted least squares) -> calresult. · examples: poc_pocket_interreflection, poc_simcal_pixel_shift, poc_simcal_telecentric, poc_simcal_thin_film, simcal_checks_tour, simcal_toursimcal_screen simmodel → table GPU: none — Which knobs move the images above the camera noise, which are confounded, and how many output directions exist. · examples: poc_simcal_pixel_shift, poc_simcal_telecentric, poc_simcal_thin_film, simcal_toursimcal_model no input → simmodel GPU: none — Build a simmodel: a forward chain of ops whose arguments are knobs with units, ranges and a noise model. · examples: poc_pocket_interreflection, poc_simcal_pixel_shift, poc_simcal_telecentric, poc_simcal_thin_film, simcal_checks_tour, simcal_toursimcal_observe simmodel × images → simmodel GPU: none — Attach measured images to a simmodel: alignment, region of interest and exposure normalisation. · examples: poc_pocket_interreflection, poc_simcal_pixel_shift, poc_simcal_telecentric, poc_simcal_thin_film, simcal_checks_tour, simcal_toursimcal_simulate simmodel → images GPU: none — Run a simmodel’s chain at given knob values -> one 2-D array per condition (images). · examples: poc_pocket_interreflection, poc_simcal_pixel_shift, poc_simcal_thin_film, simcal_checks_tour, simcal_toursimcal_report calresult → table GPU: none — One table of a calibration: each knob’s value, unit, interval and class, the gates, and the reasons for refusals. · examples: poc_simcal_thin_film, simcal_checks_touriterate_fixed_point no input → table GPU: none — Solve x = g(x) by fixed-point iteration (plain / Aitken / Anderson) and refuse if it does not converge. · examples: converge_tourmc_photon_slab no input → table GPU: none — Diffuse reflectance, total transmittance and absorption of a layered turbid slab by MCML-type Monte Carlo, with confidence intervals. · examples: converge_tourmc_sequential_mean no input → table GPU: none — Sequential Monte Carlo mean: add samples until the confidence interval is narrower than the tolerance.iv_richardson_lucy_until image2d → table GPU: none — Richardson-Lucy deconvolution stopped by the discrepancy principle (Poisson: Bertero 2010, tau = 1; Gaussian: Morozov); refuses data outside the model’s range. · examples: converge_tourconv_gci no input → table GPU: none — Grid convergence index of the finest solution: Celik et al. 2008 procedure, eqs. (1)-(7). · examples: converge_tourconv_observed_order no input → table GPU: none — Apparent order of convergence p from three systematically refined solutions (Celik et al. 2008, eq. 3).radial_reach_filter image2d × image2d → table GPU: yes (allow-list) — Radial Reach Filter (RRF): compares a background and the current image by the signs of the reaches in 8 directions. · examples: poc_code_matching_breakdownincrement_sign image2d → image2d GPU: none — Sign of the increment to the neighbouring pixel, b = [I(next) >= I(this)] (uint8 1 / 0).orientation_code image2d → image2d GPU: yes (allow-list) — Orientation-code image: gradient direction quantised into n_codes steps (the OCM coding).isc_match image2d × image2d → table GPU: none — Increment sign correlation (ISC): returns the position where the largest fraction of increment signs agree. · examples: poc_code_matching_breakdownocm_match image2d × image2d → table GPU: none — Orientation code matching (OCM): returns the position with the smallest mean cyclic code difference. · examples: poc_code_matching_breakdownscc_match image2d × image2d → table GPU: none — Selective correlation coefficient (SCC): normalised correlation over only the pixels whose increment signs agree. · examples: poc_code_matching_breakdowntiled_map image2d → table GPU: none — Splits an image into tiles and turns a per-tile quantity into a small map. → dict. · examples: aoi_frontend_tourregister_image image2d × image2d → table GPU: none — Returns the translation that aligns an inspection image to a reference image, together with quantities that reveal when it does not fit. → dict. · examples: aoi_frontend_tour, poc_multimodal_mi_registrationflat_field_correct image2d × image2d → image2d GPU: none — Undoes uneven illumination and sensor-sensitivity variation by a dark-subtracted division. → corrected image. · examples: aoi_frontend_tourcenter_from_symmetric_edges image2d → table GPU: none — Robustly pools the midpoints of symmetric outer-edge pairs and returns a 2-D centre. · examples: poc_symmetry_self_reference_inspectionreflection_axis image2d → table GPU: none — Estimates the angle and offset of the reflection axis of a line-symmetric 2-D image.rotational_symmetry image2d → table GPU: none — Returns the 180-degree point-symmetry centre and the rotational order from polar autocorrelation. · examples: poc_symmetry_self_reference_inspectionsymmetry_difference_map image2d × table → image2d GPU: none — Returns a self-referenced difference map against an estimated reflection axis or rotation centre. · examples: poc_symmetry_self_reference_inspectionsymmetry_score image2d × table → measurement GPU: none — Returns distance from symmetry by normalising the self-referenced difference by image dynamic range. · examples: poc_symmetry_self_reference_inspectionfeatures_accuracy_table image2d → table GPU: none — On pairs synthesised with known transforms, returns keypoint repeatability, matching precision and homography error per condition as a table. → table. · examples: poc_part_locate_featuresfeatures_match table × table → table GPU: none — Matches two feature tables by nearest neighbour + ratio test (+ mutual nearest neighbour). → table (kind="feature_matches"). · examples: poc_part_locate_featuresfeatures_orb image2d → table GPU: none — ORB keypoints and 256-bit binary descriptors (Rublee et al. 2011). → table (kind="features"). · examples: poc_part_locate_featuresfeatures_sift image2d → table GPU: none — SIFT keypoints and 128-dimensional descriptors (DoG extrema, Lowe 2004). → table (kind="features"). · examples: poc_part_locate_featuresransac_fundamental table → table GPU: none — Robustly estimates the fundamental matrix F (x2ᵀ F x1 = 0) from matched pairs. → table (kind="fundamental").ransac_homography table → table GPU: none — Robustly estimates a homography (pts1 → pts2, homogeneous (x, y)) from matched pairs. → table (kind="homography"). · examples: poc_part_locate_featuresregister_accuracy_map image2d × flow2d → table GPU: none — On a pair synthesised with a known deformation field, returns the per-pixel error of the estimated field (an accuracy map). → table. · examples: poc_sheet_deformation_ffdregister_capture_range image2d → table GPU: none — For each size of initial misalignment, returns the fraction of registrations started from the identity that return to the truth (the capture range). → table.register_ecc image2d × image2d → table GPU: none — Aligns moving to fixed with the parametric transform that maximises the enhanced correlation coefficient (ECC). → table (kind="registration"). · examples: poc_multimodal_mi_registrationregister_ffd image2d × image2d → table GPU: none — Non-rigidly aligns moving to fixed with a cubic B-spline free-form deformation (FFD). → table (kind="registration"). · examples: poc_sheet_deformation_ffdregister_mi image2d × image2d → table GPU: none — Aligns moving to fixed with the rigid / similarity / affine transform that maximises (normalised) mutual information. → table (kind="registration"). · examples: poc_multimodal_mi_registrationregistration_to_flow2d table → flow2d GPU: none — Extracts the deformation field flow2d ((2,H,W) (dy, dx)) from a registration result table. → flow2d. · examples: poc_sheet_deformation_ffdcalibration_error_map table → table GPU: none — Compares the true K and distortion with the estimate and returns a map of where in the image the reprojection error (px) and 3-D error (mm) are large (table). · examples: poc_calibration_truth_mapcalibration_next_pose table → table GPU: none — Recommends, among candidate board poses, the one view that would reduce the calibration uncertainty (mean over the image) the most (table). · examples: poc_calibration_truth_mapcalibration_uncertainty_map table → table GPU: none — Maps the covariance of the calibration estimate onto the image and returns the predicted uncertainty of every pixel (px, or mm at depth Z) (table). · examples: poc_calibration_truth_mapcamera_calibration (halcon: camera_calibration) keypoints → table GPU: none — [Partial] Estimates only the intrinsic matrix K from several views of a planar target by Zhang’s method (camera_calibration). · examples: camera_intrinsics_calibration, lens_calibration_loop_demo, poc_calibration_truth_map, poc_camera_calibrationcamera_calibration_lm keypoints → table GPU: none — Jointly refines intrinsics, distortion and all poses by LM from Zhang’s initial estimate and returns them with their covariance (table). · examples: poc_calibration_truth_map, poc_caltab_chain_truth, poc_real_chessboard_undistortfind_marks_and_pose (halcon: find_marks_and_pose) image2d → table GPU: none — Mark detection + pose estimation of the calibration plate (plane homography → pose) (find_marks_and_pose). · examples: poc_caltab_chain_truthhand_eye_calibration (halcon: hand_eye_calibration) no input → matrix GPU: none — Solves AX=XB from a series of motion pairs and estimates X (4x4) (hand_eye_calibration).stereo_calibration_lm keypoints → table GPU: none — Jointly refines both cameras’ intrinsics and distortion, the board poses and the right camera’s relative pose (R, T) by LM (table).checkerboard_points no input → keypoints GPU: none — Returns the board coordinates (x, y) of the inner corners of a checkerboard in row-major order (keypoints). · examples: poc_calibration_truth_mapfind_checkerboard_corners image2d → keypoints GPU: none — Detects the inner corners of a checkerboard image to sub-pixel accuracy and returns them in the board’s row-major order (keypoints). · examples: poc_calibration_truth_mapsim_checkerboard no input → table GPU: none — Synthesizes a checkerboard image with known K, distortion and pose and returns it with the true pixel of every corner (table). · examples: poc_calibration_truth_maphom_vector_to_proj_hom_mat2d (halcon: hom_vector_to_proj_hom_mat2d) keypoints → matrix GPU: none — Finds a 3x3 projective transform (homography, DLT) from 4 or more correspondences (hom_vector_to_proj_hom_mat2d). · examples: poc_panorama_drift, poc_wound_area_trackingvector_angle_to_rigid (halcon: vector_angle_to_rigid) no input → matrix GPU: none — Finds a 2-D rigid transform from one pair of (point, angle) (vector_angle_to_rigid).vector_to_rigid (halcon: vector_to_rigid) keypoints → matrix GPU: none — Finds a 2-D rigid transform (rotation + translation, Kabsch) from point correspondences (vector_to_rigid).vector_to_similarity (halcon: vector_to_similarity) keypoints → matrix GPU: none — Finds a 2-D similarity transform (rotation + scale + translation, Umeyama) from point correspondences (vector_to_similarity). · examples: poc_document_scan, poc_star_astrometrycontour_to_world_plane_xld (halcon: contour_to_world_plane_xld) table → table GPU: none — Maps an XLD contour (dict {cs:[Nx2]}) to the world plane (contour_to_world_plane_xld). · examples: poc_wound_area_trackinggen_image_to_world_plane_map (halcon: gen_image_to_world_plane_map) no input → table GPU: none — Builds the image → world plane (z=0) mapping table (gen_image_to_world_plane_map).gen_radial_distortion_map (halcon: gen_radial_distortion_map) no input → table GPU: none — Builds the inverse map (row_map, col_map) of a radial distortion (gen_radial_distortion_map).image_points_to_world_plane (halcon: image_points_to_world_plane) table → keypoints GPU: none — Back-projects pixels onto the world plane z=0 from the camera intrinsics and extrinsics (image_points_to_world_plane).image_to_world_plane keypoints → keypoints GPU: none — Maps image points to the world plane (z=0) with a plane homography (image_to_world_plane). · examples: poc_document_scan, poc_matrix_code_reading, poc_wound_area_trackingproject_3d_point (halcon: project_3d_point) points → keypoints GPU: none — Perspective-projects 3-D points into the camera and returns pixels (row, col) (project_3d_point).project_hom_point_hom_mat3d (halcon: project_hom_point_hom_mat3d) matrix → keypoints GPU: none — Projects homogeneous 3-D points (4,) with a 3x4/4x4 projection matrix and returns pixels (row, col) (project_hom_point_hom_mat3d).project_point_hom_mat3d (halcon: project_point_hom_mat3d) points → keypoints GPU: none — Projects 3-D points with a 4x4 or 3x4 projection matrix P=K[R |
t] and returns pixels (row, col) (project_point_hom_mat3d). |
caltab_points (halcon: caltab_points) no input → keypoints GPU: none — Returns the ideal mark coordinates of a calibration plate (world, mm; origin = first mark) as (y, x) (caltab_points).create_caltab (halcon: create_caltab) no input → table GPU: none — Creates a calibration-plate description (ideal points, origin at the plate centre) (create_caltab). · examples: poc_caltab_chain_truthdisp_caltab (halcon: disp_caltab) table → image2d GPU: none — Returns the calibration-plate image (for display) (disp_caltab).find_caltab (halcon: find_caltab) image2d → keypoints GPU: none — Detects the centres of the circular marks of a calibration plate in an image (centroids of connected components) (find_caltab). · examples: poc_caltab_chain_truthgen_caltab (halcon: gen_caltab) no input → table GPU: none — Generates an image of a calibration plate with a grid of circular marks (gen_caltab).sim_caltab (halcon: sim_caltab) table → table GPU: none — Simulates the image of a calibration plate projected with a given camera pose (sim_caltab).acceptance_error_budget table × table × table → table GPU: none — Runs the virtual acceptance test with one error source at a time and returns which source decides the verdict (table). · examples: poc_virtual_acceptance_3dacceptance_verdict table × table → table GPU: none — Compares the table of evaluation quantities with the MPE (maximum permissible error) and returns pass/fail (table).plane_flatness_error points → table GPU: none — Computes the flatness error F (range of signed distances from the least-squares plane) from the point cloud of a flat (table). · examples: poc_3d_sensor_modalitiessphere_probing_error points → table GPU: none — Computes the probing errors of form PF and size PS from the point cloud of a sphere (table). · examples: poc_3d_sensor_modalitiessphere_spacing_error points × points → table GPU: none — Computes the sphere-spacing error SD from the point clouds of a ball bar (two spheres) (table). · examples: poc_3d_sensor_modalitiesacceptance_layout no input → table GPU: none — Builds the layout of the test artefacts in the measuring volume (1 probing sphere, ball bar in 7 positions, flat in 7 positions) (table). · examples: poc_virtual_acceptance_3dacceptance_scan table × table → points GPU: none — Scans one test artefact with a simulated sensor and returns its point cloud (N, 3) (points). · examples: poc_virtual_acceptance_3dvirtual_acceptance_test table → table GPU: none — Scans every artefact position with a simulated sensor and returns PF, PS, SD, F and the verdict (table). · examples: poc_virtual_acceptance_3dbarcode_scan_profiles image2d → table GPU: none — Extract n_lines parallel scan lines perpendicular to the bars from an image (table). · examples: poc_symbol_package_1ddecode_barcode_profile signal → table GPU: none — Decode one symbol from a single scan line (a 1-D reflectance profile) (table). · examples: poc_symbol_package_1dean_check_digit no input → scalar GPU: none — EAN/UPC check digit (weights 3, 1, 3, … from the rightmost digit, sum to a multiple of 10). · examples: poc_symbol_package_1dencode_barcode1d no input → table GPU: none — Encode a string into the element widths (in modules) of a 1-D bar code (table). · examples: poc_symbol_package_1dread_barcode1d image2d → table GPU: none — Read a 1-D bar code from an image (table). · examples: poc_symbol_package_1ddm_decode_modules matrix → table GPU: none — Decode a Data Matrix module grid (with L finder and clock track, 0/1) and return the corrected codewords (table). · examples: poc_symbol_part_dpmdm_encode no input → table GPU: none — Encode a string into a Data Matrix ECC200 module grid and its module-to-codeword map (table). · examples: poc_symbol_part_dpmdm_locate image2d → table GPU: none — Find a Data Matrix in an image and estimate the module-space to image homography (table). · examples: poc_symbol_part_dpmdm_read image2d → table GPU: none — Read a Data Matrix from an image: locate, sample, decode, and retry with inverted contrast (table). · examples: poc_symbol_part_dpmdm_sample image2d → table GPU: none — Sample the reflectance at Data Matrix module centres by bilinear interpolation and binarise with a global threshold (table). · examples: poc_symbol_part_dpmqr_decode_modules matrix → table GPU: none — Decode a QR module grid (no quiet zone, 1 = dark) and return the corrected codewords per block (table). · examples: poc_symbol_part_dpmqr_encode no input → table GPU: none — Encode a string into a QR Code (Model 2) module grid and its module-to-codeword map (table). · examples: poc_symbol_part_dpmqr_locate image2d → table GPU: none — Find a QR Code in an image and estimate the module-space to image homography (table). · examples: poc_symbol_part_dpmqr_read image2d → table GPU: none — Read a QR Code from an image: locate, sample, decode, and retry on the inverted image (table). · examples: poc_symbol_part_dpmqr_sample image2d → table GPU: none — Sample the reflectance at QR module centres by bilinear interpolation and binarise with a global threshold (table). · examples: poc_symbol_part_dpmocr_classify matrix × table → table GPU: none — Classify feature vectors by k nearest neighbours and reject by distance and distance ratio (table). · examples: poc_symbol_lot_ocrocr_features image2d → signal GPU: none — Build the 88-D feature vector (zoning densities + projections) from the ink map of one glyph (signal). · examples: poc_symbol_lot_ocrocr_font no input → table GPU: none — Return the charset and glyph designs of a built-in font (5x7 dot matrix / stroke) (table). · examples: poc_polarization_specular, poc_symbol_lot_ocrocr_read_line image2d × table → table GPU: none — Read one text line in an image: segment + classify, rejected characters become ? (table). · examples: poc_symbol_lot_ocrocr_read_trials table → table GPU: none — Capture a printed string trials times at each degradation level, read it by OCR and return one row per attempt (table). · examples: poc_symbol_lot_ocrocr_render_text no input → table GPU: none — Render a string with a built-in font and return it with the true bounding box of each character (table). · examples: poc_symbol_lot_ocrocr_score no input → table GPU: none — Score a reading against the truth by Levenshtein alignment, counting misreads and rejects separately (table). · examples: poc_symbol_lot_ocrocr_segment_line image2d → table GPU: none — Segment one text line into a bounding box per character (table). · examples: poc_symbol_lot_ocrocr_train no input → table GPU: none — Render the font under nuisance variations and collect templates (features + labels) and the rejection thresholds (table). · examples: poc_symbol_lot_ocrgrade_barcode1d image2d → table GPU: none — Return the print-quality grade of a 1-D symbol in an image (mean over n_scans scan lines) (table). · examples: poc_symbol_package_1dgrade_barcode_profile signal → table GPU: none — Return the print-quality parameters and grades of one scan line (a 1-D reflectance profile) (table). · examples: poc_symbol_package_1dgrade_datacode2d image2d → table GPU: none — Return the print-quality grade of a 2-D symbol (QR / Data Matrix) in an image (table). · examples: poc_symbol_part_dpmsymbol_read image2d → table GPU: none — Read an image with the chosen reader and return {"ok", "text", "error"} (table). · examples: poc_symbol_package_1dsymbol_read_pod table → table GPU: none — From a table of read trials, return the POD (hit = the true string was read) and the misread upper bound (table). · examples: poc_symbol_lot_ocr, poc_symbol_package_1d, poc_symbol_part_dpmsymbol_read_trials table → table GPU: none — Capture and read the symbol trials times at each degradation level and return one row per attempt (table). · examples: poc_symbol_package_1d, poc_symbol_part_dpmread_symbols_zxing image2d → table GPU: none — Read every symbol (1-D / 2-D) in an image with zxing-cpp (table). · examples: poc_symbol_package_1d, poc_symbol_part_dpmcapture_degrade image2d → image2d GPU: none — Apply capture degradation (illumination, blur, sensor noise) to a reflectance image (image2d). · examples: poc_symbol_lot_ocr, poc_symbol_package_1d, poc_symbol_part_dpmrender_symbol table → image2d GPU: none — Render a symbol (1-D widths or a 2-D module grid) as the reflectance image of a plane (image2d). · examples: poc_symbol_package_1d, poc_symbol_part_dpmclassify_class_gmm (halcon: classify_class_gmm) table × matrix → table GPU: none — Return the class with the largest posterior for each row under a Gaussian mixture model. · examples: machine_vision_tour, poc_real_typewritten_ocr, poc_surface_defect_classifiersclassify_class_knn (halcon: classify_class_knn) table × matrix → table GPU: none — Return the class per row by a k-nearest-neighbor majority vote (ties go to the smaller distance sum). · examples: machine_vision_tour, poc_real_typewritten_ocr, poc_surface_defect_classifiersclassify_class_mlp (halcon: classify_class_mlp) table × matrix → table GPU: none — Classify feature rows with the multilayer perceptron from train_class_mlp. · examples: machine_vision_tour, poc_real_typewritten_ocr, poc_surface_defect_classifiersclassify_class_svm (halcon: classify_class_svm) table × matrix → table GPU: none — Classify feature rows with the linear SVM from train_class_svm (one-vs-rest maximum margin). · examples: machine_vision_tour, poc_real_typewritten_ocr, poc_surface_defect_classifierscreate_lexicon (halcon: create_lexicon) no input → table GPU: none — Build a word list for matching (duplicates removed, order fixed). · examples: machine_vision_tour, poc_real_typewritten_ocrevaluate_class_gmm (halcon: evaluate_class_gmm) table × matrix → table GPU: none — Return the class posteriors and the overall log density for each row. · examples: machine_vision_tour, poc_real_typewritten_ocr, poc_surface_defect_classifierslookup_lexicon (halcon: lookup_lexicon) table → scalar GPU: none — Check whether a word is in the list by exact match and return 1.0 if so, otherwise 0.0. · examples: machine_vision_tour, poc_real_typewritten_ocrsuggest_lexicon (halcon: suggest_lexicon) table → table GPU: none — Return the word with the smallest edit distance and that distance. · examples: machine_vision_tour, poc_real_typewritten_ocrtrain_class_gmm (halcon: train_class_gmm) matrix → table GPU: none — Train a Gaussian mixture per class with EM. · examples: machine_vision_tour, poc_real_typewritten_ocr, poc_surface_defect_classifierstrain_class_knn (halcon: train_class_knn) matrix → table GPU: none — Build a k-NN classifier (the features are standardized and kept). · examples: machine_vision_tour, poc_real_typewritten_ocr, poc_surface_defect_classifierstrain_class_mlp (halcon: train_class_mlp) matrix → table GPU: none — Train an MLP classifier. · examples: machine_vision_tour, poc_real_typewritten_ocr, poc_surface_defect_classifierstrain_class_svm (halcon: train_class_svm) matrix → table GPU: none — Train a linear SVM (hinge loss, one-vs-rest). · examples: machine_vision_tour, poc_real_typewritten_ocr, poc_surface_defect_classifiersgen_nurbs_interp (halcon: gen_nurbs_interp) keypoints → table GPU: none — Find the control points of a non-rational B-spline through every point (global interpolation). · examples: machine_vision_tourcreate_ncc_model (halcon: create_ncc_model) image2d → table GPU: none — Prepare an NCC model (a normalized template). · examples: machine_vision_tour, poc_real_stereo_multiscanlinefind_ncc_models (halcon: find_ncc_models) table × image2d → table GPU: none — Find one or more NCC models in one image. · examples: machine_vision_tour, poc_real_stereo_multiscanlinepoints_lepetit (halcon: points_lepetit) image2d → keypoints GPU: none — Detect interest points by comparing opposite pairs on a circle (the Lepetit-Fua detector). · examples: machine_vision_tour, poc_real_chessboard_undistort, poc_real_stereo_multiscanlinearea_center_gray (halcon: area_center_gray) image2d → table GPU: none — Return the gray-weighted mass and centroid (row, col). · examples: machine_vision_tour, poc_real_typewritten_ocratan2_image (halcon: atan2_image) image2d × image2d → image2d GPU: none — Return the per-pixel atan2(image1, image2) of two images in radians. · examples: machine_vision_tour, poc_real_bg_kalman_trackingget_grayval_contour_xld (halcon: get_grayval_contour_xld) image2d × keypoints → signal GPU: none — Read gray values along a contour by interpolation into one signal. · examples: machine_vision_tourgray_histo (halcon: gray_histo) image2d → table GPU: none — Return the gray-value histogram as absolute and relative frequencies. · examples: machine_vision_tour, poc_real_typewritten_ocrgray_projections (halcon: gray_projections) image2d → table GPU: none — Return the mean gray value per row and per column. · examples: machine_vision_tour, poc_real_typewritten_ocrgolay_elements (halcon: golay_elements) no input → table GPU: none — Build the 3x3 hit and miss structuring elements of a Golay letter with 45-degree rotation. · examples: machine_vision_tourhit_or_miss_golay (halcon: hit_or_miss_golay) mask → mask GPU: none — Apply the hit-or-miss transform with one Golay letter (returns the matching center pixels). · examples: machine_vision_tour, poc_real_grain_skizhit_or_miss_seq (halcon: hit_or_miss_seq) mask → mask GPU: none — Return the union of the hit-or-miss transforms over all eight rotations of a Golay letter. · examples: machine_vision_tour, poc_real_grain_skizmorph_hat (halcon: morph_hat) mask × mask → mask GPU: none — Return the union of the pixels removed by opening and the pixels added by closing. · examples: machine_vision_tourmorph_skiz (halcon: morph_skiz) mask → mask GPU: none — Compute the boundaries of the zones of influence (SKIZ) of the components in Euclidean distance. · examples: machine_vision_tour, poc_real_grain_skizopening_seg (halcon: opening_seg) mask × mask → labels2d GPU: none — Separate objects joined by necks with an erosion and grow them back inside the region as labels. · examples: machine_vision_tour, poc_real_bg_kalman_tracking, poc_real_grain_skizthickening_golay (halcon: thickening_golay) mask → mask GPU: none — Thicken a region with one Golay letter. · examples: machine_vision_tourthickening_hit_miss (halcon: thickening) mask × mask × mask → mask GPU: none — Thicken a region with an arbitrary structuring pair (A ∪ HMT(A), iterations times). · examples: machine_vision_tourthickening_seq (halcon: thickening_seq) mask → mask GPU: none — Thicken a region through the rotations of a Golay letter in turn until it stops changing. · examples: machine_vision_tourget_circle_pose (halcon: get_circle_pose) keypoints → table GPU: none — Recover the center and normal of a circle of known radius from its image ellipse, in camera coordinates. · examples: machine_vision_tour, poc_real_stereo_multiscanlinechange_radial_distortion_image (halcon: change_radial_distortion_image) image2d × table × table → image2d GPU: none — Redraw an image from one division-model camera into another distortion and intrinsics. · examples: machine_vision_tour, poc_real_chessboard_undistortcrop_rectangle2 (halcon: crop_rectangle2) image2d → image2d GPU: none — Read the inside of a rotated rectangle by linear interpolation and cut it out as an axis-aligned image. · examples: heightmap_depth_camera_tour, machine_vision_tour, poc_mixed_case_depalletizing, poc_real_stereo_multiscanline, road_surface_tourmap_image (halcon: map_image) image2d × table → image2d GPU: none — Resample an image through an inverse map (each output pixel reads an input coordinate). · examples: machine_vision_tour, poc_real_chessboard_undistortrectify_to_world_plane (halcon: image_to_world_plane) image2d × table × matrix → image2d GPU: none — Rectify an image to a fronto-parallel view of the world plane z=0 (one pixel = scale world units). · examples: machine_vision_tour, poc_real_chessboard_undistortbinocular_disparity_ms (halcon: binocular_disparity_ms) image2d × image2d → table GPU: none — Compute rectified-stereo disparity with semi-global matching, verify it left-right and interpolate to subpixel. · examples: machine_vision_tour, poc_3d_sensor_modalities, poc_real_stereo_multiscanlinebinocular_distance_ms (halcon: binocular_distance_ms) image2d × image2d → table GPU: none — Compute the distance image of a rectified stereo pair (Z = focal * baseline / (disparity + doffs)). · examples: machine_vision_tour, poc_real_stereo_multiscanlinereconstruct_surface_stereo (halcon: reconstruct_surface_stereo) image2d → points GPU: none — Map the valid pixels of a disparity image to 3-D points. · examples: machine_vision_tour, poc_real_stereo_multiscanlinesegment_characters (halcon: segment_characters) image2d → labels2d GPU: none — Split a text line image into a label image with one label per character column. · examples: machine_vision_tour, poc_real_typewritten_ocrselect_characters (halcon: select_characters) labels2d → labels2d GPU: none — Drop blobs whose height or width is off the median from a character label image and renumber from the left. · examples: machine_vision_tour, poc_real_typewritten_ocrtext_line_orientation (halcon: text_line_orientation) image2d → scalar GPU: none — Find the tilt of text lines in degrees by maximizing the sharpness of the projection. · examples: machine_vision_tour, poc_real_typewritten_ocrtext_line_slant (halcon: text_line_slant) image2d → scalar GPU: none — Find the character slant of a horizontal text line in degrees by maximizing the sharpness of the column projection. · examples: machine_vision_tour, poc_real_typewritten_ocrcreate_bg_esti (halcon: create_bg_esti) image2d → table GPU: none — Create a per-pixel Kalman background model from the first image. · examples: machine_vision_tour, poc_real_bg_kalman_trackingfilter_kalman (halcon: filter_kalman) no input → table GPU: none — Run one predict-and-update cycle of a linear Kalman filter. · examples: machine_vision_tour, poc_real_bg_kalman_trackinggive_bg_esti (halcon: give_bg_esti) table → image2d GPU: none — Return a copy of the model’s current background image. · examples: machine_vision_tour, poc_real_bg_kalman_trackingrun_bg_esti (halcon: run_bg_esti) table × image2d → table GPU: none — Update the background with one image and return the foreground region. · examples: machine_vision_tour, poc_real_bg_kalman_trackingupdate_bg_esti (halcon: update_bg_esti) table × image2d × mask → table GPU: none — Update the background only inside the given region. · examples: machine_vision_tour, poc_real_bg_kalman_trackingillusion_cafe_wall no input → rgb GPU: none — Café wall illusion. Although the mortar lines are exactly horizontal, they look tilted. · examples: poc_calipers_under_illusionillusion_checker_shadow no input → rgb GPU: none — Checker shadow. The 2 marked squares have exactly the same pixel value. · examples: gallery_illusion_invariantsillusion_ebbinghaus no input → rgb GPU: none — Ebbinghaus illusion. The 2 central circles have exactly the same radius. · examples: poc_calipers_under_illusionillusion_fraser_spiral no input → rgb GPU: none — Fraser illusion. It looks like a spiral, but is actually concentric circles. · examples: gallery_illusion_invariantsillusion_ground_truth no input → table GPU: none — Returns, as a table, the exact invariants that the illusions preserve (empty name gives all of them). · examples: poc_calipers_under_illusionillusion_hermann_grid no input → rgb GPU: none — Hermann grid. The intersections are exactly the same white as everywhere else (the dark spots are made by the eye). · examples: gallery_illusion_invariantsillusion_kanizsa no input → rgb GPU: none — Kanizsa triangle. A triangle is seen although not even 1 contour line is drawn. · examples: gallery_illusion_invariantsillusion_muller_lyer no input → rgb GPU: none — Müller-Lyer illusion. The 2 shafts are exactly equal in length. · examples: poc_calipers_under_illusion, poc_illusions_and_perpetual_drawingillusion_poggendorff no input → rgb GPU: none — Poggendorff illusion. The oblique line is exactly 1 straight line (it is merely hidden by the band). · examples: poc_calipers_under_illusionillusion_ponzo no input → rgb GPU: none — Ponzo illusion. The 2 horizontal bars are exactly equal in length (perspective cues change the length). · examples: gallery_illusion_invariantsillusion_scintillating_grid no input → rgb GPU: none — Scintillating grid. A Hermann grid with white discs placed at the intersections. · examples: gallery_illusion_invariantsillusion_simultaneous_contrast no input → rgb GPU: none — Simultaneous contrast. The 2 gray patches have exactly the same value (only their surroundings differ). · examples: gallery_illusion_invariantsillusion_zollner no input → rgb GPU: none — Zöllner illusion. Although the long lines are exactly parallel, they appear to converge. · examples: poc_calipers_under_illusionperpetual_loop no input → rgbvideo GPU: none — Creates a seamless looping video → rgbvideo (T,H,W,3). · examples: poc_illusions_and_perpetual_drawing, poc_periodic_video_boundaryperpetual_loop_seam rgbvideo → table GPU: none — Quantifies the seam of a looping video as numbers (table). · examples: poc_endless_zoom_and_turning_solids, poc_illusions_and_perpetual_drawing, poc_periodic_video_boundaryperpetual_apollonian no input → rgb GPU: none — Apollonian circle packing — keeps inserting circles tangent to the gaps (it never ends). · examples: poc_illusions_and_perpetual_drawingperpetual_chaos_game no input → rgb GPU: none — Chaos game — just rolling a die and moving halfway each time produces the Sierpiński triangle. · examples: poc_illusions_and_perpetual_drawingperpetual_elementary_ca no input → rgb GPU: none — Elementary cellular automaton (Wolfram’s 256 rules), extended endlessly from top to bottom. · examples: poc_illusions_and_perpetual_drawingperpetual_flow_field no input → rgb GPU: none — Flow field — keeps advecting particles along the field (it does not end unless stopped). · examples: poc_illusions_and_perpetual_drawingperpetual_harmonograph no input → rgb GPU: none — Harmonograph — 2 damped pendulums keep drawing a curve that never closes. · examples: gallery_illusion_invariantsperpetual_identities no input → table GPU: none — Returns the exact claims each system must satisfy, together with measured values (table). · examples: poc_illusions_and_perpetual_drawingperpetual_ifs_attractor no input → rgb GPU: none — Attractor of an iterated function system (Barnsley fern) — just iterating 4 formulas endlessly. · examples: poc_illusions_and_perpetual_drawingperpetual_langtons_ant no input → rgb GPU: none — Langton’s ant — with just 2 rules, after 10,000 steps it keeps building a “highway”. · examples: gallery_illusion_invariantsperpetual_plasma no input → rgb GPU: none — Diamond-square algorithm (the “plasma” of the 1980s) — keep subdividing and it gets infinitely fine. · examples: poc_illusions_and_perpetual_drawingperpetual_reaction_diffusion no input → rgb GPU: none — Gray–Scott reaction-diffusion — patterns emerge, split and keep multiplying. · examples: poc_illusions_and_perpetual_drawingperpetual_ten_print no input → rgb GPU: none — 10 PRINT CHR$(205.5+RND(1)); : GOTO 10 — a maze that grows forever. · examples: poc_illusions_and_perpetual_drawingperpetual_truchet no input → rgb GPU: none — Truchet tiles — just randomizing the orientation of 2 quarter-circle arcs yields an unbroken network of curves. · examples: poc_illusions_and_perpetual_drawingpl_diffusion_psf no input → image2d GPU: none — Return the carrier-diffusion PSF (the 2-D Green function K0(r/L)/2πL², summing to 1) as an image. · examples: poc_si_wafer_pl_defect_visibilitypl_groove_visibility no input → table GPU: none — Closed-form contrast and CNR of a shadow groove and a sink groove from groove width, diffusion length and noise (table). · examples: poc_si_wafer_pl_defect_visibilitypl_image_simulate image2d → image2d GPU: none — Build a PL image from an excitation map and a recombination map (exact steady-state diffusion solve + optical PSF + noise). · examples: poc_si_wafer_pl_defect_visibilitysem_cd_measure pairs → table GPU: none — Measure a line width from a line profile (pairs: x and signal) with the two CD-SEM methods. · examples: poc_real_sem_metal_layer, poc_virtual_sem_kv_cd_bsesem_charging_series image2d → video GPU: none — Advance insulator charging frame by frame of the scan and return the image over time (video, (T, H, W)). · examples: poc_virtual_sem_kv_cd_bsesem_electron_mc no input → table GPU: none — Monte Carlo of electrons fired into a flat specimen: backscatter coefficient η, secondary-electron yield δ and interaction volume. · examples: poc_sem_tem_same_particle, poc_virtual_sem_kv_cd_bsesem_image image2d → image2d GPU: none — SEM image from a height field and a material map, firing electrons into every pixel (direct Monte Carlo). · examples: poc_sem_tem_same_particle, poc_sem_wafer_defect_edge_bias, poc_virtual_sem_kv_cd_bsesem_line_profile no input → table GPU: none — Monte Carlo line profile of a beam scanned across one line with a trapezoidal cross-section (CD-SEM). · examples: poc_real_sem_metal_layer, poc_virtual_sem_kv_cd_bsesem_render image2d → image2d GPU: yes (allow-list) — Render a SEM image from a height field: secondary-electron edge effect (sec θ) + Gaussian beam PSF + Poisson shot noise. · examples: poc_sem_tem_same_particle, poc_sem_wafer_defect_edge_biassem_se_escape_fraction no input → signal GPU: none — Fraction F(V) of secondary electrons that can leave a positively charged surface (potential V > 0). · examples: poc_virtual_sem_kv_cd_bsesem_se_universal_curve no input → signal GPU: none — Universal secondary-electron yield curve δ/δmax = 1.28 (E/Emax)^−0.67 [1 − exp(−1.614 (E/Emax)^1.67)]. · examples: poc_virtual_sem_kv_cd_bsesem_yield_curve no input → table GPU: none — Sweep the accelerating voltage, compute η(E) and δ(E) by Monte Carlo, and compare the shape of δ with the universal curve. · examples: poc_virtual_sem_kv_cd_bseperpetual_render table → rgb GPU: none — Renders the state as a picture (rgb). It may be drawn at any step. · examples: poc_illusions_and_perpetual_drawingperpetual_state no input → table GPU: none — Creates a state that can be run forever (table). When to stop is up to the caller. · examples: poc_illusions_and_perpetual_drawingperpetual_step table → table GPU: none — Advances the state by steps (returns the same dict — large arrays are not copied). · examples: poc_illusions_and_perpetual_drawingdelta_e_2000 lab × lab → image2d GPU: none — CIEDE2000 colour difference (CIE 142-2001). · examples: image_quality_metricsdelta_e_76 lab × lab → image2d GPU: none — CIE76 colour difference — the Euclidean distance in Lab space. · examples: image_quality_metricsdelta_e_map rgbimage × rgbimage → image2d GPU: none — Per-pixel colour-difference map between two sRGB images. · examples: color_transport, image_quality_metrics, poc_colormap_readability, poc_pigment_unmixing, poc_white_balancelab_to_rgb lab → rgbimage GPU: yes (allow-list) — CIE L*a*b* → sRGB [0, 1]. Out-of-gamut colours are clipped, so a round trip through rgb_to_lab only matches inside the gamut (pinned by a test). · examples: image_quality_metricsrgb_to_lab rgbimage → lab GPU: none — sRGB → CIE L*a*b* (D65). The step before measuring ΔE. · examples: image_quality_metrics, poc_colormap_readability, poc_leaf_disease_area, poc_metal_grain_size, poc_solder_fillet_aoirgb_to_xyz rgbimage → rgb GPU: none — sRGB ((..., 3)) → CIE XYZ. The transfer function is removed first, then the matrix is applied. · examples: image_quality_metricsxyz_to_lab rgb → lab GPU: yes (allow-list) — CIE XYZ → CIE 1976 L*a*b*. The default white point is D65 2°. · examples: image_quality_metricscompressed_size image2d → scalar GPU: none — Size in bytes of the array after lossless compression. The raw material for ncd. · examples: image_quality_metricsncd image2d × image2d → scalar GPU: none — Normalised compression distance (Li, Chen, Li, Ma & Vitányi, IEEE TIT 50(12), 2004). · examples: image_quality_metricsms_ssim image2d × image2d → scalar GPU: none — Multi-scale SSIM (Wang, Simoncelli & Bovik, Asilomar Conf. 2003). · examples: image_quality_metricsmse image2d × image2d → scalar GPU: none — Mean squared error. A raw quantity that does not depend on data_range. · examples: image_quality_metricspsnr image2d × image2d → scalar GPU: none — Returns the peak signal-to-noise ratio (PSNR, in dB) of two images. · examples: image_quality_metrics, poc_camera_shake_deblur, poc_dehazing, poc_focus_stacking, poc_iqa_tid2013, poc_pixel_shift, poc_real_deblur_honesty, poc_superresolution_limitsrmse image2d × image2d → scalar GPU: none — Root mean squared error (in the same units as the pixel values). · examples: ct_scan_modes, grasp_pose, image_quality_metrics, poc_ct_fidelity, poc_datacenter_thermal_field, poc_polarization_specular, poc_real_tless_6dof, poc_real_walnut_cbct, poc_structure_4d_deteriorationssim image2d × image2d → scalar GPU: none — Structural similarity (Wang, Bovik, Sheikh & Simoncelli, IEEE TIP 13(4), 2004). · examples: image_quality_metrics, poc_camera_shake_deblur, poc_ct_fidelity, poc_dehazing, poc_iqa_tid2013, poc_real_walnut_cbct, poc_superresolution_limitsssim_map image2d × image2d → image2d GPU: none — The SSIM map (before averaging) — to see where the two differ, as a picture. · examples: image_quality_metrics, poc_iqa_tid2013image_entropy image2d → scalar GPU: none — Shannon entropy of one image [bit]. · examples: image_quality_metrics, poc_dehazingjoint_entropy image2d × image2d → scalar GPU: none — Joint entropy H(A, B) [bit]. · examples: image_quality_metricsjoint_histogram image2d × image2d → image2d GPU: yes (allow-list) — Joint histogram of two images (the normalised joint probability). · examples: image_quality_metricsmutual_information image2d × image2d → scalar GPU: none — Mutual information I(A; B) [bit] = H(A) + H(B) - H(A, B). · examples: image_quality_metricsnormalized_mutual_information image2d × image2d → scalar GPU: none — Normalised mutual information 2*I(A;B) / (H(A) + H(B)). 1.0 for identical images. · examples: image_quality_metricsluma_limited_u8 any → any GPU: yes (allow-list) — RGB (H, W, 3) uint8 → uint8 (H, W) of Y′ = round(16 + (65.481 R + 128.553 G + 24.966 B) / 255). · examples: poc_iqa_tid2013rank_data any → any GPU: none — Average ranks (starting at 1). Ties get the average of their ranks (same definition as ‘average’ in scipy.stats.rankdata). · examples: poc_iqa_tid2013rank_kendall_b any × any → scalar GPU: none — Kendall’s τ_b (with tie correction) = (C − D) / sqrt((n0 − n1)(n0 − n2)). · examples: poc_iqa_fsim_gmsd_vif, poc_iqa_tid2013rank_spearman any × any → scalar GPU: none — Spearman’s rank correlation ρ = Pearson correlation between average ranks (the form that is correct even with ties; the classical formula 1 − 6Σd²/(n(n²−1)) agrees only when there are no ties). 1 for monotonically increasing, −1 for reversed. If either is constant, nan (rank variance is 0; correlation is undefined). ±inf contributes only its order (a perfect-match PSNR = inf is not dropped). Raises ValueError: length mismatch, fewer than 2, nan. · examples: poc_iqa_fsim_gmsd_vif, poc_iqa_tid2013, poc_solar_el_inspectiontid2013_by_distortion any × table → table GPU: none — Rank correlation between the metric and the MOS for each distortion type (24). · examples: poc_iqa_fsim_gmsd_vif, poc_iqa_tid2013tid2013_compare any × any × any → table GPU: none — Compares your own values with the authors’ values (same pairs, same order): per-row differences and rank correlations with the MOS. · examples: poc_iqa_fsim_gmsd_vif, poc_iqa_tid2013tid2013_evaluate any × any → table GPU: none — Applies your own metric fn(ref, dist) -> float to the TID2013 pairs and returns its rank correlation with the MOS. · examples: poc_iqa_fsim_gmsd_vif, poc_iqa_tid2013tid2013_index any → table GPU: none — Reads mos_with_names.txt and returns the ledger of pairs. · examples: poc_iqa_fsim_gmsd_vif, poc_iqa_tid2013tid2013_metric_values any × any → any GPU: none — Returns the authors’ computed values metrics_values/<metric>.txt (case-insensitive, 3000 lines, no names) as a (3000,) float. The line order is the same as names of :func:tid2013_index. metric is a key of :func:tid2013_published (psnr / psnrc / ssim / mssim …). Raises ValueError: file missing, line count ≠ 3000, non-numeric. · examples: poc_iqa_fsim_gmsd_vif, poc_iqa_tid2013tid2013_published no input → table GPU: none — The published rank-correlation table {metric: (SROCC, KROCC)} (14 metrics). · examples: poc_iqa_fsim_gmsd_vif, poc_iqa_tid2013tid2013_root no input → any GPU: none — Where the distribution is extracted. If root is absent, the environment variable FULLSEYE_TID2013_DATA. If neither exists, or mos_with_names.txt is missing, None (the caller skips — the data is not in the repo). · examples: poc_iqa_fsim_gmsd_vif, poc_iqa_tid2013fsim image2d × image2d → scalar GPU: none — FSIM (feature-similarity full-reference image quality metric; luminance only, 1 = identical, higher is better). It agrees with TID2013’s FSIM.txt to 4 digits when given a Y′ limited grayscale image (iqatid.tid2013_evaluate(root, fsim, luma="limited_u8"), 3,000 pairs, max |
diff | 5.0e-5). Details: :func:fsim_pair. · examples: poc_iqa_fsim_gmsd_vif |
fsim_pair rgbimage × rgbimage → table GPU: none — FSIM and FSIMc in one call (phase congruency is computed only 1 time per image — evaluators and PoCs call this one). · examples: poc_iqa_fsim_gmsd_viffsimc rgbimage × rgbimage → scalar GPU: none — FSIMc (feature-similarity full-reference image quality metric; including chroma I / Q, 1 = identical, higher is better). It agrees with TID2013’s FSIMc.txt to 4 digits when given a color image (RGB → YIQ full range) (iqatid.tid2013_evaluate(root, fsimc, luma="rgb"), 3,000 pairs, max |
diff | 5.0e-5). For an (H, W) input, the same value as FSIM. Details: :func:fsim_pair. · examples: poc_iqa_fsim_gmsd_vif |
gmsd image2d × image2d → scalar GPU: none — GMSD = standard deviation of the GMS map (N−1, the original implementation’s std2, Eq. 5 of the paper). 0 = identical, larger means more degraded (lower is better — the rank correlation with MOS is negative, and published tables report |
ρ | : TID2013 overall | SROCC | 0.8038, secondary source 0.8044). Input (H, W) or (H, W, 3) (3-ch uses Y). iqatid.tid2013_evaluate(root, gmsd, luma="rgb"). Raises ValueError: same as :func:gmsd_map, or the map is 1 pixel (variance undefined). · examples: poc_iqa_fsim_gmsd_vif |
gmsd_map image2d × image2d → image2d GPU: yes (allow-list) — GMS map (2 m_r m_d + c)/(m_r² + m_d² + c) ∈ (0, 1] (Eq. 3 of the paper). m = magnitude of the Prewitt ([1 0 −1]×3 /3) gradient; preprocessing is a 2×2 mean + decimation by 2 (:func:_average_downsample, the original implementation’s ‘same’ convention). Input (H, W) or (H, W, 3) (3-ch uses Y = 0.299R+0.587G+0.114B, the authors’ convention). Raises ValueError: shapes differ, c ≤ 0, down_step < 1. · examples: poc_iqa_fsim_gmsd_vifphase_congruency_pc image2d → image2d GPU: yes (allow-list) — Phase congruency PC(x) = Σ_o E_o(x) / Σ_o Σ_s A_{s,o}(x) ∈ [0, 1] (Kovesi 1999; convention of Eq. 4 of the FSIM paper: log-Gabor with 4 scales × 4 orientations). · examples: poc_iqa_fsim_gmsd_vifvifp image2d × image2d → scalar GPU: none — Pixel-domain version of VIF (the scalar GSM of Sheikh & Bovik 2006 §V, following the convention of the public vifp_mscale). 1 = identical, higher is better. · examples: poc_iqa_fsim_gmsd_vifcompare_images image2d × image2d → metrics GPU: none — Measure several metrics at once and return what was measured and how, alongside the numbers. · examples: image_quality_metricsdata_range_of image2d → scalar GPU: none — Decide the span the pixel values may take. It does not guess. · examples: image_quality_metricsmeasure_with metrics × image2d × image2d → metrics GPU: none — Measure another pair under exactly the same conditions as the previous measurement. · examples: image_quality_metricsmetrics_table metrics → table GPU: none — Turn a report into a (name, value) table — the rows describing the conditions are always listed with it. · examples: image_quality_metrics1-D ops for profiles / signals. Their sources are 2-D measure1d, 3-D probe and audio / sensor series (dsp) — the extracted (x, y) sequence is processed with funct1d/dsp and measured.
abs_funct_1d (halcon: abs_funct_1d) signal → signal GPU: inside a chain only (allow-list) — Absolute value of the y-values (HALCON abs_funct_1d). · examples: signal_funct1dcompose_funct_1d (halcon: compose_funct_1d) signal × signal → signal GPU: inside a chain only (allow-list) — Composition y1(y2): the values of y2 used as positions into y1 (HALCON compose_funct_1d). · examples: gallery_oned_audio_functcreate_funct_1d_array (halcon: create_funct_1d_array) signal → signal GPU: none — A 1-D function from equidistant samples (HALCON create_funct_1d_array). · examples: signal_funct1dcreate_funct_1d_pairs (halcon: create_funct_1d_pairs) signal × signal → signal GPU: yes (allow-list) — A 1-D function from arbitrary (x, y) pairs, resampled to an equidistant grid (HALCON create_funct_1d_pairs). · examples: poc_veiling_glarederivate_funct_1d (halcon: derivate_funct_1d) signal → signal GPU: inside a chain only (allow-list) — First derivative by central differences (HALCON derivate_funct_1d). · examples: poc_tree_ring_dendro, poc_veiling_glare, signal_funct1ddistance_funct_1d (halcon: distance_funct_1d) signal × signal → measurement GPU: none — Distance between two functions on the same grid (HALCON distance_funct_1d). · examples: signal_funct1dfunct_1d_to_pairs (halcon: funct_1d_to_pairs) signal → pairs GPU: none — The function as explicit (x, y) pairs (HALCON funct_1d_to_pairs). · examples: signal_funct1dget_pair_funct_1d (halcon: get_pair_funct_1d) signal → pairs GPU: none — The (x, y) pair at index (HALCON get_pair_funct_1d). · examples: signal_funct1dget_y_value_funct_1d (halcon: get_y_value_funct_1d) signal → measurement GPU: none — The y-value at (fractional) position x (HALCON get_y_value_funct_1d). · examples: poc_veiling_glare, signal_funct1dintegrate_funct_1d (halcon: integrate_funct_1d) signal → signal GPU: inside a chain only (allow-list) — Cumulative integral by the trapezoidal rule (HALCON integrate_funct_1d). · examples: poc_cold_chain_excursion, poc_search_sweep_width, signal_funct1dinvert_funct_1d (halcon: invert_funct_1d) signal → pairs GPU: yes (allow-list) — Swap the roles of x and y: x = f^-1(y) (HALCON invert_funct_1d). · examples: poc_veiling_glarelocal_min_max_funct_1d (halcon: local_min_max_funct_1d) signal → table GPU: none — Indices of strict local maxima / minima (HALCON local_min_max_funct_1d). · examples: poc_web_roll_periodicity, signal_funct1dmatch_funct_1d_trans (halcon: match_funct_1d_trans) signal × signal → table GPU: none — Best integer translation between two functions by correlation (HALCON match_funct_1d_trans, translation only). · examples: signal_funct1dnegate_funct_1d (halcon: negate_funct_1d) signal → signal GPU: none — Sign-flipped y-values (HALCON negate_funct_1d). · examples: gallery_oned_audio_funct, gallery_spectrum_signal_bridgenum_points_funct_1d (halcon: num_points_funct_1d) signal → measurement GPU: none — Number of samples (HALCON num_points_funct_1d). · examples: signal_funct1dsample_funct_1d (halcon: sample_funct_1d) signal → signal GPU: none — Every step-th sample (HALCON sample_funct_1d). · examples: poc_cold_chain_excursion, signal_funct1dscale_y_funct_1d (halcon: scale_y_funct_1d) signal → signal GPU: none — Linear map of the y-values, mult * y + add (HALCON scale_y_funct_1d). · examples: signal_funct1dsmooth_funct_1d_gauss (halcon: smooth_funct_1d_gauss) signal → signal GPU: inside a chain only (allow-list) — Gaussian smoothing of a 1-D function (HALCON smooth_funct_1d_gauss). · examples: poc_fiber_orientation, poc_tree_ring_dendro, poc_web_roll_periodicity, signal_funct1dsmooth_funct_1d_mean (halcon: smooth_funct_1d_mean) signal → signal GPU: none — Iterated moving-average smoothing (HALCON smooth_funct_1d_mean). · examples: poc_weld_bead_profile, signal_funct1dtransform_funct_1d (halcon: transform_funct_1d) signal → pairs GPU: inside a chain only (allow-list) — Independent affine transform of x and y (HALCON transform_funct_1d). · examples: gallery_oned_audio_functx_range_funct_1d (halcon: x_range_funct_1d) signal → pairs GPU: none — The x-domain (0.0, n - 1.0) (HALCON x_range_funct_1d). · examples: signal_funct1dy_range_funct_1d (halcon: y_range_funct_1d) signal → pairs GPU: none — The value range (min(y), max(y)) (HALCON y_range_funct_1d). · examples: signal_funct1dzero_crossings_funct_1d (halcon: zero_crossings_funct_1d) signal → indices GPU: none — Indices where the function changes sign (HALCON zero_crossings_funct_1d). · examples: signal_funct1dread_audio file → signal GPU: none — Read any audio format -> (x, rate). Uses soundfile if available (mp3/flac/ogg/…), else falls back to the stdlib WAV reader. · examples: gallery_oned_audio_functread_wav file → signal GPU: none — Read a WAV file (stdlib) -> (x float64 [-1,1], rate). Multi-channel is averaged to mono. Handles 8/16/32-bit PCM. · examples: genspark_external_reviewwrite_wav signal → file GPU: none — Write a float [-1,1] mono signal to a 16-bit PCM WAV (stdlib). Non-finite samples raise (they would become garbage PCM). · examples: genspark_external_reviewchirp_mass_from_track pairs → table GPU: none — Chirp mass and coalescence time from a gravitational-wave frequency track (t, f) by least squares. · examples: poc_gw_detector_pseudo_simulationchirp_newtonian no input → signal GPU: none — Newtonian (0PN) inspiral waveform h₊(t) as a signal, with coalescence at the end of the array. · examples: poc_gw_detector_pseudo_simulationcoincidence_delay signal × signal → table GPU: none — Time difference (b − a) between the peaks of two SNR time series, to sub-sample precision. · examples: poc_gw_detector_pseudo_simulationmatched_filter_snr signal × signal × pairs → signal GPU: none — Matched-filter SNR time series |
ρ(t) | , maximised over phase, as a signal. · examples: poc_gw_detector_pseudo_simulation |
optimal_snr signal × pairs → measurement GPU: none — Optimal SNR of a template, σ = √(4∫ |
h̃ | ²/S df) (measurement). · examples: poc_gw_detector_pseudo_simulation |
psd_welch signal → pairs GPU: yes (allow-list) — One-sided Welch PSD as pairs (frequency [Hz], S [1/Hz]). · examples: poc_gw_detector_pseudo_simulationwhiten_by_psd signal × pairs → signal GPU: yes (allow-list) — Whiten by the noise PSD (x_w = irfft(rfft(x)·√(2Δt/S(f)))). · examples: poc_gw_detector_pseudo_simulationbandpass signal → signal GPU: none — Butterworth band-pass between low and high Hz. Both edges must be inside (0, rate/2); same length contract as :func:lowpass. · examples: poc_gw_detector_pseudo_simulation, poc_leak_localizationcompanding_mu_law signal → signal GPU: none — mu-law companding — the G.711 curve, used here on any 1-D signal. · examples: gallery2d_gray_arithenvelope signal → signal GPU: yes (allow-list) — Amplitude envelope via the analytic (Hilbert) signal — the shape of a knock / impact / acoustic-emission burst. · examples: coherence_scanning, poc_beam_modal_videofind_peaks signal → indices GPU: none — Peak indices (scipy.signal.find_peaks) — impacts / defect echoes. · examples: poc_multibeam_bathymetry, poc_tree_ring_dendro, poc_web_roll_periodicity, type_connectivity_tourhighpass signal → signal GPU: none — Butterworth high-pass. Same Nyquist / length contract as :func:lowpass. · examples: gallery2d_texture_freq, optics_four_f_processor, signal_filterlocal_std signal → signal GPU: none — Rolling standard deviation with a stated error bound. · examples: gallery2d_texture_freqlowpass signal → signal GPU: none — Butterworth low-pass (scipy, zero-phase filtfilt). cutoff must be inside (0, rate/2); an out-of-Nyquist cutoff raises instead of passing the signal through. A signal too short for zero-phase filtfilt also raises (the message names the exact minimum) instead of silently coming back unfiltered. · examples: degenerate_inputs, gallery2d_texture_freq, optics_four_f_processor, signal_filterpeak_subbin signal × indices → signal GPU: none — Peak position between samples — the vertex of a fit through 3 points. · examples: poc_multibeam_bathymetry, poc_print_registration, poc_web_roll_periodicitypoint_spectrum positions → table GPU: none — Periodogram of event positions — defects, impacts, counts, arrivals. · examples: poc_web_roll_periodicity, type_connectivity_tourquantize signal → signal GPU: none — Scalar quantiser with the error model stated, plus optional dither. · examples: poc_cold_chain_excursion, poc_solar_el_inspectionresample signal → signal GPU: yes (allow-list) — Resample a signal to new_rate (Fourier method). · examples: poc_driving_schoolrms signal → measurement GPU: none — RMS level. Scalar for the whole signal, or a framewise array when frame is given (a vibration/energy envelope over time). · examples: lens_design_demo, lightfield_depth, poc_battery_electrode_breathing, poc_bilateral_asymmetry, poc_bump_coplanarity, poc_cad_scan_deviation, poc_calipers_under_illusion, poc_camera_calibration, poc_cd_spin_joint, poc_dimensional_inspection, poc_exoplanet_transit, poc_fabric_defect, poc_focus_stacking, poc_fourier_ptychography, poc_lens_solves_afocal, poc_panorama_drift, poc_print_registration, poc_river_surface_velocity, poc_screw_thread_metrology, poc_shape_from_polarization, poc_solar_limb_darkening, poc_strain_history, poc_surface_roughness, poc_symmetry_restoration, poc_table_tennis_bounce, poc_tacscalib_sphere_lut, poc_tacsim_elastic_membrane, poc_tacsim_marker_shear, poc_thermal_radiometry, poc_weld_bead_profile, profile_shape_inspectionsignal_features signal → table GPU: none — A compact acoustic/vibration feature vector for anomaly detection: rms, peak, crest_factor, zcr, spectral_centroid (Hz), peak_freq (Hz), bandwidth (Hz). All finite — a NaN / Inf sample raises ValueError rather than producing NaN features (an empty signal too, since 2026-10-12; it used to give zeros). · examples: gallery_oned_audio_functspectrogram signal → image2d GPU: none — STFT magnitude spectrogram -> (freqs, times, S) with S shape (n_freqs, n_frames). Hann-windowed; hop defaults to win//2. · examples: acoustic_condition_monitoring, poc_emva1288_sensor, poc_gw_detector_pseudo_simulationspectrum signal → pairs GPU: yes (allow-list) — Raw one-sided magnitude spectrum -> (freqs, magnitude) (np.fft.rfft). · examples: acoustic_condition_monitoring, anim3d_lens_aberrations, poc_bearing_diagnosis, poc_gear_tooth_metrology, poc_machine_condition_fusion, poc_pipe_wall_loss, poc_recycling_sorting, poc_thin_film_reflectometry, poc_web_roll_periodicity, type_connectivity_tourzero_crossing_rate signal → measurement GPU: none — Fraction of adjacent samples that change sign — a cheap pitch/noisiness cue. · examples: gallery_oned_audio_funct, gallery_spectrum_signal_bridgepoisson_blend image2d × image2d × mask → image2d GPU: none — Seamless compositing that carries the gradient field (Pérez, Gangnet & Blake, SIGGRAPH 2003). · examples: color_transportcolor_transfer rgbimage × rgbimage → rgbimage GPU: none — Move the colour cast of src toward ref. · examples: color_transportgaussian_transport_map points × points → matrix GPU: none — The linear part A and means m1, m2 of the Monge map when two point sets are taken to be normal distributions. · examples: color_transporthistogram_match image2d × image2d → image2d GPU: yes (allow-list) — Match the value distribution of src to ref (exact 1-D optimal transport). · examples: color_transport, poc_change_detection_misregapply_transport transport_plan × signal → signal GPU: none — Pull target_values back onto the source points through a transport plan (the barycentric map). · examples: color_transporttransport_cost transport_plan × matrix → scalar GPU: none — Total cost of a transport plan, <plan, cost>. The op that consumes a plan. · examples: color_transportsinkhorn signal × signal × matrix → transport_plan GPU: none — The entropically regularised optimal-transport plan (Cuturi, NIPS 2013). · examples: color_transportsinkhorn_distance signal × signal × matrix → scalar GPU: none — The regularised transport cost <plan, cost>. Not a true distance. · examples: color_transportsinkhorn_divergence signal × signal × matrix → scalar GPU: none — The debiased Sinkhorn distance (Genevay, Peyré & Cuturi, AISTATS 2018). · examples: color_transporttransport_plan_1d signal × signal → transport_plan GPU: none — The exact 1-D transport plan (north-west corner rule). Returns an (n, m) mass matrix. · examples: color_transportwasserstein_1d signal × signal → scalar GPU: none — The 1-D p-Wasserstein distance. Exact. · examples: color_transport, poc_physarum_transportevidence_quantile measurement × table → table GPU: none — Where the evidence statistic sits within the clean distribution. It does not return a verdict. · examples: image_forensics_audit, poc_prnu_camera_fingerprint, poc_video_physics_consistencynull_distribution signal → table GPU: none — Summarise the null distribution of the evidence statistic from samples known to be untampered. · examples: image_forensics_audit, poc_prnu_camera_fingerprint, poc_video_physics_consistencyerror_level_map image2d → image2d GPU: none — ELA (error-level analysis). A map of the difference after re-compressing at a given quality. image2d. · examples: image_forensics_audit, poc_forensics_rocjpeg_ghost_map image2d → images GPU: none — JPEG ghosts (Farid 2009). A series of re-compression residual maps over a quality sweep. images. · examples: image_forensics_audit, poc_forensics_rocjpeg_ghost_quality images → image2d GPU: none — A series of ghost maps → a map of the quality at which each pixel’s residual is smallest. image2d. · examples: image_forensics_audit, poc_forensics_rocjpeg_quality_estimate image2d → table GPU: none — Blind estimation of the quantisation table and JPEG quality from a decoded image. table. · examples: image_forensics_auditcopy_move_regions image2d → table GPU: none — Pairs of copy-move (self-duplicated) regions within one image. table. · examples: image_forensics_audit, poc_forensics_rochash_distance phash × phash → measurement GPU: none — Hamming distance between two perceptual hashes (the number of differing bits). · examples: image_forensics_auditperceptual_hash image2d → phash GPU: yes (allow-list) — A perceptual hash. Returns a 1-D bool bit string. · examples: image_forensics_auditnoise_inconsistency_map image2d → image2d GPU: inside a chain only (allow-list) — A map of the noise standard deviation per block. image2d. · examples: image_forensics_audit, poc_forensics_rocfingerprint_correlate image2d × fingerprint → table GPU: none — Match one image against a fingerprint. It returns no verdict — an evidence statistic and its caveats. · examples: image_forensics_audit, poc_prnu_camera_fingerprintfingerprint_strength_map fingerprint → image2d GPU: none — A map of the fingerprint’s effective strength per block (its standard deviation). image2d. · examples: image_forensics_auditsensor_fingerprint images → fingerprint GPU: yes (allow-list) — Maximum-likelihood estimate of the PRNU sensor fingerprint K from several frames (Chen et al. 2008). · examples: image_forensics_audit, poc_prnu_camera_fingerprintwatermark_capacity image2d × phash → table GPU: none — Sweep the trade-off between embedding strength and PSNR / BER. table. · examples: image_forensics_auditwatermark_embed image2d × phash → image2d GPU: none — DWT-DCT watermark embedding. Returns the watermarked image (H, W). image2d. · examples: image_forensics_auditwatermark_extract image2d → phash GPU: none — Blind extraction of the watermark. Returns a 1-D bool (the phash vocabulary). · examples: image_forensics_auditalign_frames images → images GPU: none — Register a series of frames onto one reference. · examples: astro_stackingframe_align image2d × image2d → matrix GPU: none — Estimate the 2-D transform frame → reference from star correspondences. · examples: astro_stacking, poc_exoplanet_transit, poc_print_registrationcosmic_ray_reject image2d → image2d GPU: yes (allow-list) — Cosmic-ray removal from a single frame (Laplacian sharpness). · examples: astro_stackingcosmic_ray_reject_stack images → images GPU: yes (allow-list) — Cosmic-ray removal by comparing frames — it never hits the same place twice. · examples: astro_stackingaperture_photometry image2d × keypoints → table GPU: none — Photometry with a circular aperture and an annular background (classical CCD photometry). · examples: astro_stacking, poc_astro_photometry, poc_exoplanet_transit, poc_nuclei_ploidy, poc_real_file_formats, poc_real_sky_photometrypsf_fit image2d × keypoints → table GPU: none — Fit a PSF to a star image and get its centre and FWHM. · examples: astro_stacking, poc_star_astrometrystar_detect image2d → keypoints GPU: none — Detect stars and return their (row, col) centroids. · examples: astro_stacking, poc_exoplanet_transit, poc_real_file_formats, poc_search_sweep_width, poc_star_astrometryframe_quality image2d → table GPU: none — Score one frame — sharpness, FWHM, background, roundness, and a point for selection. · examples: astro_stackinglucky_select images → indices GPU: yes (allow-list) — Keep only the top keep_fraction by quality score — the lucky-imaging cut. · examples: astro_stacking, poc_astro_photometrynoise_sigma image2d → measurement GPU: none — Robustly estimate the background noise sigma (one real number that the stars cannot spoil). · examples: astro_stacking, poc_colocalization_crosstalk, poc_compendial_particle_microscopy, poc_search_sweep_width, poc_star_astrometry, poc_thermal_radiometrydrizzle_resample images → image2d GPU: none — Drizzle — build a finer grid from several sub-pixel-shifted frames (area-conserving). · examples: astro_stacking, poc_astro_photometry, poc_pixel_shift, poc_superresolution_limitssigma_clip_stack images → image2d GPU: yes (allow-list) — Combine a series of frames (mean / median / κ-σ clipping), with the accept/reject mask. · examples: astro_stacking, poc_astro_photometry, poc_exoplanet_transit, poc_river_surface_velocitysynth_frame_series no input → images GPU: none — Re-shoot the same star field n_frames times, each with its own noise and its own dither. · examples: astro_stacking, poc_astro_photometrysynth_starfield no input → image2d GPU: none — Synthesise one known star field — the source of ground truth for this family. · examples: astro_stacking, poc_astro_photometryscene_cut_detection video → table GPU: inside a chain only (allow-list) — Shot-boundary chi-square histogram distance over a clip → {"distance", "cut", "n"} (table). · examples: video_streamingrunning_gaussian_background video → video GPU: yes (allow-list) — Adaptive single-Gaussian background (the running mean) per frame → (T, H, W) (video). · examples: video_streamingrunning_gaussian_foreground video → video GPU: none — Adaptive single-Gaussian foreground masks per frame → 0/1 (T, H, W) (video). · examples: video_streamingtemporal_bilateral video → video GPU: yes (allow-list) — Causal temporal bilateral denoise per frame → (T, H, W) (video). · examples: find_ops_by_meaning, video_streamingoptical_flow_magnitude_stream video → video GPU: none — Per-frame dense flow speed against the previous frame → (T, H, W) (video). · examples: video_streamingmotion_energy_image video → video GPU: none — Bobick–Davis Motion Energy Image per frame → 0/1 (T, H, W) (video). · examples: video_streamingmotion_history_image video → video GPU: none — Bobick–Davis Motion History Image per frame → (T, H, W) in [0, 1] (video). · examples: video_streamingthree_frame_difference video → video GPU: none — Collins three-frame-difference motion mask per frame → 0/1 (T, H, W) (video). · examples: poc_periodic_video_boundary, video_streamingexponential_background video → video GPU: none — Recursive background bg ← (1−α)·bg + α·frame per frame → (T, H, W) (video). · examples: video_streamingexponential_foreground video → video GPU: none — Foreground masks |frame − exponential background| > threshold → 0/1 (T, H, W) (video). · examples: video_streamingframe_difference_causal video → video GPU: none — |frame t − frame t−1| with a zero first frame → (T, H, W) (video). · examples: video_streamingrunning_mean_std video → table GPU: yes (allow-list) — Welford per-pixel mean / population std over the clip → {"mean", "std", "n"} (table). · examples: video_streamingdeflicker video → video GPU: inside a chain only (allow-list) — Luminance deflicker per frame → (T, H, W) (video). · examples: video_streamingbackground_subtraction_window video → video GPU: none — Causal window-median background → per-frame 0/1 foreground masks (T, H, W) (video). · examples: video_streamingmoving_average_window video → video GPU: none — Causal per-pixel mean over the last window frames → (T, H, W) (video). · examples: poc_periodic_video_boundary, poc_strain_history, video_streamingtemporal_median_window video → video GPU: yes (allow-list) — Causal per-pixel median over the last window frames → (T, H, W) (video). · examples: video_streamingprofile_align pairs × pairs → pairs GPU: none — Aligns a measured contour to the design contour. Returns (aligned, info). · examples: profile_frame_tourprofile_deviation pairs × pairs → table GPU: none — The signed deviation along the normal from the design shape. Returns a dict. · examples: profile_shape_inspectionprofile_chord_frame pairs → table GPU: none — Finds the chord (the 2 points farthest apart). Returns a dict. · examples: profile_frame_tour, profile_shape_inspectionprofile_normalise pairs → pairs GPU: none — Normalises by rotation and translation so that the chord length is 1, the leading edge is at the origin and the chord points along +x. · examples: profile_frame_tourprofile_resample pairs → pairs GPU: none — Resamples the contour at equal spacing. kind is "arclength" only (for now). · examples: profile_frame_tourprofile_camber pairs → pairs GPU: none — Camber line (the midline between the upper and lower surfaces). Returns (x, yc) as an (n, 2) array. · examples: profile_shape_inspectionprofile_leading_edge_radius pairs → measurement GPU: none — Leading-edge radius (as a fraction of the chord). Fits a circle to the points near the leading edge. · examples: profile_shape_inspectionprofile_sides pairs → table GPU: none — Extracts the upper and lower surfaces as functions of the chordwise coordinate. Returns a dict. · examples: profile_frame_tourprofile_thickness pairs → pairs GPU: none — Thickness distribution t(x). Returns (x, t) as an (n, 2) array. · examples: profile_shape_inspectionprofile_trailing_edge_gap pairs → measurement GPU: none — Trailing-edge gap (as a fraction of the chord). The distance between the trailing-edge ends of the upper and lower surfaces. · examples: profile_shape_inspectionprofile_perturb pairs → pairs GPU: none — Returns a contour with defects of known magnitude inserted. :data:PERTURB_KINDS. · examples: profile_shape_inspectionprofile_synth_naca4 no input → pairs GPU: none — Generates a NACA 4-digit airfoil in closed form. Returns an (N, 2) outline traced in a single continuous stroke. · examples: profile_frame_tour, profile_shape_inspectionsigned_surface_distance points × points → signal GPU: none — Signed distance from the query points to the surface. → (N,). · examples: poc_am_thermal_to_ct, shapestat_landmark_tourshape_explained_variance shapemodel → signal GPU: none — Explained-variance ratio of each principal component (sums to 1). → (k,). · examples: shapestat_landmark_tourshape_mahalanobis shapemodel × points → measurement GPU: none — How abnormal the shape is as seen from the model. → float. · examples: shapestat_landmark_tourshape_pca shapeset → shapemodel GPU: none — Shape PCA (statistical shape model). → dict (shapemodel). · examples: shapestat_landmark_tourshape_project shapemodel × points → signal GPU: none — Maps a shape into model coordinates (principal-component scores). → (k,). · examples: shapestat_landmark_tourshape_reconstruct shapemodel × signal → points GPU: none — Reconstructs a shape from scores. → (N, 3). · examples: shapestat_landmark_tourshape_synthesize shapemodel → points GPU: none — Generates 1 plausible new shape from the model. → (N, 3). · examples: shapestat_landmark_tourgeneralized_procrustes shapeset → shapeset GPU: none — Generalised Procrustes analysis (GPA). Brings all individuals into a common frame. → (K, N, 3). · examples: shapestat_landmark_tourprocrustes_align points × points → points GPU: none — Points of source superimposed onto target. → (N, 3) (applies :func:procrustes_fit). · examples: shapestat_landmark_tourprocrustes_distance points × points → measurement GPU: none — Procrustes distance = per-point RMS after superimposition. → float. · examples: shapestat_landmark_tourprocrustes_fit points × points → matrix GPU: none — Similarity transform that superimposes source onto target. → (4, 4) homogeneous matrix. · examples: poc_change_detection_misreg, poc_die_tilt_tsv_overlay, shapestat_landmark_tourshape_mean shapeset → points GPU: none — Mean shape after alignment by GPA. → (N, 3). · examples: shapestat_landmark_tourlandmark_asymmetry points → signal GPU: none — Signed asymmetry for each left/right pair. → (M,). · examples: shapestat_landmark_tourmirror_plane_from_pairs points → matrix GPU: none — Derives the median (midsagittal) plane from corresponding left/right landmarks. → (2, 3) (row 1 = point, row 2 = normal). · examples: shapestat_landmark_tourshape_perturb points → points GPU: none — Applies 1 known deformation to a shape. → (N, 3). · examples: shapestat_landmark_tourshape_synth_family no input → shapeset GPU: none — Creates a family of shapes with known modes of deformation. → (n_shapes, n_points, 3). · examples: shapestat_landmark_touralign_metrology_model (halcon: align_metrology_model) metrologymodel → metrologymodel GPU: none — Aligns all objects of the metrology model by translating them (align_metrology_model). · examples: poc_dimensional_inspectionapply_metrology_model (halcon: apply_metrology_model) metrologymodel × image2d → table GPU: none — Measures subpixel edges along the normals of each metrology object’s reference shape, refits the shape and returns the result (apply_metrology_model). · examples: example_inner_diameter_mm, poc_calipers_under_illusion, poc_dimensional_inspection, poc_telecentric_metrologyfuzzy_measure_pairing (halcon: fuzzy_measure_pairing) image2d × measurehandle → table GPU: none — Selects the edge pair that best matches a fuzzy criterion (expected width pair_size) (fuzzy_measure_pairing). · examples: poc_calipers_under_illusion, poc_dimensional_inspectiongen_measure_arc (halcon: gen_measure_arc) no input → measurehandle GPU: none — Defines a measurement arc (the profile is sampled at ≈1 px spacing in the circumferential direction) (gen_measure_arc). Number of samples n = round( |
angle_extent | *radius)+1, spacing = arc length/(n-1). · examples: poc_dimensional_inspection |
gen_measure_rectangle2 (halcon: gen_measure_rectangle2) no input → measurehandle GPU: none — Defines a rotated measurement rectangle (the profile is sampled at 1 px spacing along the major axis in direction phi) (gen_measure_rectangle2). Number of samples n = max(2, round(2*length1)+1); the start point lies -(n-1)/2 px from the center. length2 is the averaging width across the profile [px]. · examples: example_scratch_width, poc_barcode_1d, poc_battery_electrode_breathing, poc_calipers_under_illusion, poc_dimensional_inspection, poc_screw_thread_metrology, poc_solar_limb_darkening, poc_telecentric_metrology, poc_tree_ring_dendro, poc_water_level, poc_weld_bead_profile, poc_weld_radiograph_porositymeasure_pairs (halcon: measure_pairs) image2d × measurehandle → table GPU: none — Extracts pairs of rising/falling edges (the width of a structure) (measure_pairs). first/second = pos of each edge, width = width [px], first_point/second_point = (row, col). · examples: example_scratch_width, poc_calipers_under_illusion, poc_dimensional_inspection, poc_weld_radiograph_porositymeasure_pos (halcon: measure_pos) image2d × measurehandle → table GPU: none — Extracts edge positions (subpixel) and amplitudes along the measurement line (measure_pos). · examples: poc_barcode_1d, poc_battery_electrode_breathing, poc_calipers_under_illusion, poc_dimensional_inspection, poc_screw_thread_metrology, poc_solar_limb_darkening, poc_telecentric_metrology, poc_tree_ring_dendro, poc_water_level, poc_weld_bead_profile, poc_weld_radiograph_porositytranslate_measure (halcon: translate_measure) measurehandle → measurehandle GPU: none — Translates a measurement object (translate_measure). · examples: poc_dimensional_inspectionadd_metrology_object_circle_measure (halcon: add_metrology_object_circle_measure) metrologymodel → scalar GPU: none — Adds a circle metrology object (add_metrology_object_circle_measure). · examples: example_inner_diameter_mm, poc_calipers_under_illusion, poc_dimensional_inspection, poc_telecentric_metrologyadd_metrology_object_ellipse_measure (halcon: add_metrology_object_ellipse_measure) metrologymodel → scalar GPU: none — Adds an ellipse metrology object (add_metrology_object_ellipse_measure). phi = orientation of the ra axis (from the col axis, in radians). · examples: poc_dimensional_inspectionadd_metrology_object_generic (halcon: add_metrology_object_generic) metrologymodel → scalar GPU: none — Adds a generic metrology object (add_metrology_object_generic). · examples: poc_dimensional_inspectionadd_metrology_object_line_measure (halcon: add_metrology_object_line_measure) metrologymodel → scalar GPU: none — Adds a line metrology object (add_metrology_object_line_measure). Returns the index. · examples: poc_calipers_under_illusion, poc_dimensional_inspectionadd_metrology_object_rectangle2_measure (halcon: add_metrology_object_rectangle2_measure) metrologymodel → scalar GPU: none — Adds a rectangle metrology object (add_metrology_object_rectangle2_measure). phi = orientation of the l1 side (from the col axis, in radians), l1/l2 = half side lengths. · examples: poc_dimensional_inspectioncreate_metrology_model (halcon: create_metrology_model) no input → metrologymodel GPU: none — Creates an empty metrology model (create_metrology_model). · examples: example_inner_diameter_mm, poc_calipers_under_illusion, poc_dimensional_inspection, poc_telecentric_metrologymm_per_px_from_reference measurement → measurement GPU: none — Derives the pixel pitch in mm/px from a target of known size (scale bar, reference hole, gauge) — the calibration step. · examples: example_inner_diameter_mm, example_scratch_width, poc_compendial_particle_microscopypixel_to_world measurement → measurement GPU: none — Converts one length measured in pixels to real-world mm (value_px * mm_per_px). · examples: example_inner_diameter_mm, lane_ops_tourtable_px_to_mm table → table GPU: none — Adds mm columns to a measurement table (the return of measure_pairs / apply_metrology_model). · examples: example_inner_diameter_mm, example_scratch_widthprofile_params signal → table GPU: none — Profile roughness parameters Ra/Rq/Rz/Rt/Rp/Rv/Rsk/Rku (ISO 4287). · examples: poc_food_cutting_measure, poc_surface_roughnesssurface_params depth → table GPU: none — Areal roughness parameters Sa/Sq/Sp/Sv/Sz/Ssk/Sku/Sdq/Sdr (ISO 25178-2). · examples: poc_polish_wipe_measure, poc_surface_roughnesssurface_psd depth → pairs GPU: yes (allow-list) — Power spectral density of the height field. Returns (q, C). The conventions are made explicit through the arguments. · examples: poc_surface_roughnessrobust_gaussian_profile signal → signal GPU: none — Robust Gaussian regression filter (profile): a mean line and roughness that outliers and scratches cannot drag. · examples: example_robust_profile_filter, poc_robust_profile_filterrobust_gaussian_surface depth → depth GPU: none — Robust Gaussian regression filter (surface): waviness and roughness of a surface that scratches and spikes cannot drag. · examples: poc_robust_profile_filterrobust_spline_profile signal → signal GPU: none — Robust spline filter (profile): a mean line and roughness that outliers cannot drag. · examples: poc_robust_profile_filtersurface_filter depth → depth GPU: inside a chain only (allow-list) — Separates a height field into roughness and waviness (Gaussian filter of ISO 16610-21). · examples: poc_robust_profile_filter, poc_surface_roughnesssurface_form_remove depth → depth GPU: inside a chain only (allow-list) — Removes a plane / quadric surface directly on the grid. Returns (residual, coeffs). · examples: heightmap_depth_camera_tour, poc_polish_wipe_measure, poc_pv_thermal_survey, poc_surface_roughness, road_surface_toursurface_synth_psd no input → depth GPU: none — Synthesizes a height field from a specified PSD. Returns (z, sq_analytic). · examples: poc_polish_wipe_measure, poc_surface_roughnesscontour_epicycle_chain matrix → pairs GPU: none — Returns the chain of rotating pendulums at phase t (pairs). · examples: poc_one_stroke_epicyclescontour_fourier_complex pairs → matrix GPU: none — Turns a closed contour into the coefficients of a complex Fourier series — z(t) = Σ c_k exp(2πi k t). · examples: poc_one_stroke_epicyclescontour_fourier_truncation_energy matrix → table GPU: none — The predicted error for each truncation order (table) — Parseval’s exact formula. · examples: poc_one_stroke_epicyclesdescriptor_distance efdmodel × efdmodel → measurement GPU: none — Distance between 2 shapes (smaller means more similar). Invariant to rotation/translation/starting point/(optionally) scale. · examples: contour_fourier, shape2d_morph_descriptor_tourelliptic_fourier pairs → efdmodel GPU: none — Computes the elliptic Fourier coefficients of a closed contour using the Kuhl–Giardina closed form. · examples: contour_fourier, shape2d_morph_descriptor_tourfit_circle_xld contour → table GPU: none — Fit a circle to each XLD contour and return its centre row, column and radius (table). · examples: fit_circle_xld_borefourier_smooth pairs → pairs GPU: none — Smooths a contour by band-limiting it with a complex FFT. · examples: contour_fourierfrom_xld table → pairs GPU: none — Extracts the i-th contour from an XLD contour dict ({"shape", "cs":[Nx2,...]}). · examples: shape2d_morph_descriptor_tourinvariants efdmodel → pairs GPU: none — Shape descriptor invariant to rotation, translation, starting point and (optionally) scale ((N,2)). · examples: shape2d_morph_descriptor_tournormalize efdmodel → matrix GPU: none — Converts EFD coefficients into the coefficients of the “canonical pose” (aligned with respect to the 1st harmonic). · examples: piv_flow_from_particles, poc_exoplanet_transitreconstruct efdmodel → pairs GPU: none — Reconstructs a contour from EFD coefficients ((M,2)). · examples: contour_fourieradd_frame_corners pairs → pairs GPU: none — Adds the four corners of the image (+ the edge midpoints) to the point set as fixed points. · examples: shape2d_morph_descriptor_tourblend image2d × image2d → image2d GPU: none — Cross-dissolve (1-alpha)·a + alpha·b (a, b have the same shape and lie in [0,1]). · examples: image_morph, poc_live4d, road_surface_tourmorph image2d × image2d × pairs × pairs → image2d GPU: yes (allow-list) — Morphs 2 images A and B via corresponding points and produces the intermediate image at ratio alpha. · examples: image_morph, poc_vanishing_detail_and_morphing_areamorph_sequence image2d × image2d × pairs × pairs → images GPU: none — Morph sequence with alpha swept 0→1 in n steps (frames that change smoothly from A to B). · examples: image_morphwarp_piecewise_affine image2d × pairs × pairs → image2d GPU: none — Piecewise affine warp that moves the content at src_pts of img to dst_pts. · examples: shape2d_morph_descriptor_tourwarp_tps_image image2d × pairs × pairs → image2d GPU: yes (allow-list) — Smooth warp that moves src_pts of img to dst_pts using a thin-plate spline. · examples: shape2d_morph_descriptor_tourpiv_error_stats flow2d × flow2d → table GPU: none — Breakdown of the difference from the ground truth. Returns bias and scatter separately. · examples: piv_field_analysis_tour, piv_flow_from_particles, poc_river_surface_velocity, poc_strain_historypiv_peak_locking flow2d → table GPU: none — Strength of peak locking: how far the distribution of the fractional parts deviates from uniform. · examples: piv_field_analysis_tour, poc_battery_electrode_breathingpiv_sample_at_windows flow2d → flow2d GPU: none — Drops a per-pixel field (2, H, W) onto the grid of window centers (nearest neighbor). · examples: piv_field_analysis_tour, piv_flow_from_particles, poc_river_surface_velocity, poc_strain_historypiv_time_statistics images → table GPU: none — Image sequence → time average, RMS of the fluctuations and Reynolds stresses. · examples: piv_field_analysis_tourpiv_cross_correlate image2d × image2d → flow2d GPU: none — Computes the displacement field by per-window cross-correlation. Returns (flow, info). · examples: piv_field_analysis_tour, piv_flow_from_particles, poc_beam_modal_video, poc_change_detection_misreg, poc_dic_strain, poc_print_registration, poc_river_surface_velocity, poc_strain_history, poc_superresolution_limits, poc_tacsim_marker_shearpiv_deform_pass image2d × image2d × flow2d → flow2d GPU: none — 1 pass with window deformation. Correlates only after first warping the images themselves with the predicted displacement. · examples: piv_field_analysis_tourpiv_ensemble_correlate images → flow2d GPU: none — Searches for the peak after summing the correlation maps (ensemble correlation). · examples: piv_field_analysis_tour, poc_river_surface_velocitypiv_multipass image2d × image2d → flow2d GPU: none — Multi-pass PIV that steps down from coarse windows to fine windows. Returns (flow, info). · examples: piv_field_analysis_tour, piv_flow_from_particles, poc_strain_historypiv_divergence flow2d → image2d GPU: none — Divergence d(dy)/dy + d(dx)/dx. 0 if the flow is incompressible — usable as an independent cross-check. · examples: piv_flow_from_particles, poc_what_a_picture_cannot_checkpiv_flow_magnitude flow2d → image2d GPU: none — sqrt(dy^2 + dx^2). A one-way conversion that discards the direction. · examples: piv_field_analysis_tour, poc_sheet_deformation_ffd, poc_what_a_picture_cannot_checkpiv_q_criterion flow2d → image2d GPU: none — Q criterion -tr(J^2)/2. It is positive where rotation exceeds strain. · examples: piv_field_analysis_tourpiv_strain_rate flow2d → image2d GPU: none — Magnitude of the strain rate sqrt(2 e_ij e_ij). It is 0 for a rigid-body rotation. · examples: piv_field_analysis_tourpiv_swirling_strength flow2d → image2d GPU: none — Swirling strength λ_ci — the magnitude of the imaginary part of the complex eigenvalues of the velocity-gradient tensor. · examples: piv_field_analysis_tourpiv_to_velocity flow2d → flow2d GPU: none — Pixels/frame → m/s. Both are required arguments (no default values are provided). · examples: piv_flow_from_particles, poc_river_surface_velocitypiv_velocity_gradient flow2d → table GPU: none — Returns the components of the velocity-gradient tensor together with the quantities derived from it. · examples: piv_field_analysis_tourpiv_vorticity flow2d → image2d GPU: none — Vorticity d(dx)/dy - d(dy)/dx. Counter-clockwise is positive (defined in image coordinates). · examples: piv_flow_from_particles, poc_tactile_dipole_torque, poc_what_a_picture_cannot_checkcorrelation_quality image2d × image2d × flow2d → image2d GPU: none — A ZNCC map that returns, point by point, how well a given displacement field matches. · examples: piv_field_analysis_tourspeckle_quality image2d → table GPU: none — Returns 4 numbers indicating whether a captured speckle pattern is suitable for DIC. · examples: piv_field_analysis_tourstrain_from_displacement image2d × image2d → image2d GPU: yes (allow-list) — Computes the strain field from a displacement field. Returns (exx, eyy, exy). · examples: poc_dic_strainpiv_synth_pair no input → image2d GPU: none — Creates an image pair with a known displacement field. Returns (image_a, image_b, truth). · examples: piv_field_analysis_tour, piv_flow_from_particles, poc_strain_historypiv_synth_particles no input → image2d GPU: none — Creates 1 image seeded with tracer particles. Returns (image, positions). · examples: piv_field_analysis_tourpiv_synth_sequence no input → images GPU: none — Image sequence in which the same particles are moved repeatedly. Returns (frames, truth). · examples: piv_field_analysis_tourpiv_outlier_mask flow2d → mask GPU: none — Finds outlier vectors with the normalised median test (Westerweel & Scarano 2005). · examples: perf_hankel_plan_and_piv_stream, piv_flow_from_particles, poc_change_detection_misreg, poc_river_surface_velocitypiv_replace_outliers flow2d × mask → flow2d GPU: none — Fills outliers from their neighbourhood. With method="nan" they are not filled but marked as missing. · examples: piv_flow_from_particles, poc_river_surface_velocitypiv_flow_to_rgbimage flow2d → rgb GPU: none — Standard flow visualisation with hue = direction and brightness = speed. Returns (h, w, 3). · examples: piv_field_analysis_tourpiv_line_integral_convolution flow2d → image2d GPU: none — Line integral convolution (LIC) — an image whose pattern is white noise blurred along the flow. · examples: piv_field_analysis_tourpiv_quiver flow2d → rgb GPU: none — Arrow plot (MATLAB’s quiver). Returns (h*upsample, w*upsample, 3). · examples: piv_field_analysis_tourpiv_streamline_image flow2d → rgb GPU: none — Streamline plot (MATLAB’s streamslice). Returns (h*upsample, w*upsample, 3). · examples: piv_field_analysis_tourpiv_streamlines flow2d → table GPU: none — Traces streamlines with RK4 (corresponds to MATLAB’s stream2 / streamslice). · examples: piv_field_analysis_tourblob_label mask → labels2d GPU: inside a chain only (allow-list) — Splits a binary region into connected components and returns an int32 label image (background 0, objects 1..n). · examples: blob_split_tour, poc_am_thermal_to_ct, poc_bone_trabecular_thickness, poc_bump_coplanarity, poc_compendial_particle_microscopy, poc_dense_bubble_count, poc_em_split_merge_score, poc_fresco_craquelure, poc_gear_tooth_metrology, poc_gravitational_lens_invariants, poc_leaf_disease_area, poc_machine_condition_fusion, poc_metal_grain_size, poc_nuclei_ploidy, poc_particle_sizing, poc_particle_tracking, poc_peg_insertion_tactile, poc_pipe_wall_loss, poc_powder_grinding_ae, poc_print_warpage_risk, poc_pv_thermal_survey, poc_real_coin_metrology, poc_real_sem_metal_layer, poc_rotation_invariance_audit, poc_sea_ice_concentration, poc_segmentation_gauntlet, poc_sem_wafer_defect_edge_bias, poc_solar_el_inspection, poc_solder_fillet_aoi, poc_timelapse_growth, poc_traffic_counting, poc_vessel_network, poc_weld_radiograph_porosity, poc_wound_area_trackingblob_boundaries labels2d → mask GPU: none — Object outlines (1 pixel wide, bool). The borders between adjacent objects are kept as well. · examples: poc_gear_tooth_metrology, poc_real_sem_metal_layerblob_overlay image2d × labels2d → rgb GPU: yes (allow-list) — Overlays the objects in different colors on the original image and returns a float RGB of shape (H, W, 3). · examples: poc_bump_coplanarity, poc_fresco_craquelure, poc_gear_tooth_metrology, poc_leaf_disease_area, poc_metal_grain_size, poc_nuclei_ploidy, poc_particle_sizing, poc_powder_grinding_ae, poc_weld_radiograph_porosityblob_region labels2d → mask GPU: none — Extracts 1 object as a binary region (bool). index is 1-based. · examples: poc_gear_tooth_metrology, poc_particle_sizingblob_features labels2d → table GPU: none — Returns the shape features of each object as 1 array per key. · examples: poc_am_thermal_to_ct, poc_bone_trabecular_thickness, poc_bump_coplanarity, poc_compendial_particle_microscopy, poc_dense_bubble_count, poc_fresco_craquelure, poc_gear_tooth_metrology, poc_leaf_disease_area, poc_metal_grain_size, poc_nuclei_ploidy, poc_particle_sizing, poc_particle_tracking, poc_peg_insertion_tactile, poc_print_warpage_risk, poc_pv_thermal_survey, poc_real_coin_metrology, poc_real_sem_metal_layer, poc_rotation_invariance_audit, poc_sea_ice_concentration, poc_sem_wafer_defect_edge_bias, poc_solar_el_inspection, poc_solder_fillet_aoi, poc_traffic_counting, poc_vessel_network, poc_weld_radiograph_porosity, poc_wound_area_trackingblob_select labels2d → labels2d GPU: none — Keeps only the objects whose feature value lies in [vmin, vmax] (the numbers are reassigned starting from 1). · examples: poc_particle_sizing, poc_pipe_wall_loss, poc_pv_thermal_survey, poc_solar_el_inspection, poc_weld_radiograph_porosityblob_select_largest labels2d → labels2d GPU: none — Keeps only count objects in order of decreasing area (the numbers are reassigned in descending order of area). · examples: poc_am_thermal_to_ct, poc_gear_tooth_metrology, poc_solder_fillet_aoi, poc_wound_area_trackingblob_count_interval mask → table GPU: none — Counts overlapping objects. When the count cannot be determined, returns an interval instead of a number (fail-closed). · examples: poc_compendial_particle_microscopy, poc_dense_bubble_countblob_distance mask → image2d GPU: yes (allow-list) — Distance from each foreground pixel to the nearest background. The unit is multiples of spacing. · examples: blob_split_tour, poc_bone_trabecular_thickness, poc_compendial_particle_microscopy, poc_dense_bubble_count, poc_real_sem_metal_layer, poc_segmentation_gauntletblob_seeds image2d → labels2d GPU: none — h-maxima seeds. h is an absolute value in the same units as distance. · examples: blob_split_tour, poc_compendial_particle_microscopy, poc_dense_bubble_countblob_split labels2d × labels2d × image2d → labels2d GPU: none — Grows regions from the seeds in order from the highest points and splits merged clumps (watershed). · examples: blob_split_tour, poc_compendial_particle_microscopy, poc_dense_bubble_countdem_cell_size_webmercator no input → measurement GPU: none — Ground resolution of a Web Mercator tile [m/px]. It varies with latitude. · examples: dem_geodesy_tourdem_datum_shift_3param no input → points GPU: none — Switching the geodetic datum — a geocentric 3-parameter translation (points). · examples: poc_geodetic_benchmarks_real, poc_geodetic_height_framesdem_earth_curvature_drop no input → measurement GPU: none — Earth-curvature drop [m] for line-of-sight computations. (1 - k) d^2 / (2 R). · examples: dem_geodesy_tour, poc_geodetic_height_framesdem_ecef_to_geodetic points → points GPU: none — ECEF → geodetic coordinates. Returns (..., 3) holding (latitude[deg], longitude[deg], height[m]). · examples: dem_geodesy_tour, poc_geodetic_benchmarks_real, poc_geodetic_height_framesdem_enu_from_geodetic no input → points GPU: none — Geodetic coordinates → local ENU (east, north, up) around a reference point [m] (points). · examples: poc_geodetic_benchmarks_real, poc_geodetic_height_framesdem_geocentric_grid depth → pointmap GPU: yes (allow-list) — Converts each DEM cell into coordinates as seen from the Earth’s center. · examples: dem_geodesy_tourdem_geodetic_from_enu points → points GPU: none — Local ENU → geodetic coordinates (the inverse of :func:dem_enu_from_geodetic). points. · examples: poc_geodetic_benchmarks_real, poc_geodetic_height_framesdem_geodetic_slope depth → image2d GPU: yes (allow-list) — Slope of a DEM on a latitude-longitude grid (equal angular spacing). The cell dimensions vary with latitude. · examples: dem_geodesy_tourdem_geodetic_to_ecef no input → points GPU: none — Geodetic coordinates (latitude, longitude, ellipsoidal height) → Earth-centered Cartesian coordinates ECEF [m]. · examples: dem_geodesy_tour, poc_geodetic_benchmarks_real, poc_geodetic_height_framesdem_geoid_height depth → signal GPU: none — Bilinearly interpolates a geoid-height grid at a latitude/longitude and returns N [m] (signal). · examples: poc_geodetic_benchmarks_real, poc_geodetic_height_framesdem_height_frame_convert signal × signal → signal GPU: none — Moves the height reference: ellipsoidal height h ↔ orthometric height H (H = h - N). signal. · examples: poc_geodetic_benchmarks_real, poc_geodetic_height_framesdem_height_frame_residual signal × signal × signal → table GPU: inside a chain only (allow-list) — Residual h - H - N — a detector that does not let a mix-up of heights stay silent (table). · examples: poc_geodetic_benchmarks_realdem_fill_sinks depth → depth GPU: none — DEM with its depressions filled. The priority-flood of Barnes, Lehman & Mulla (2014). · examples: poc_dem_terraindem_flow_accumulation depth → image2d GPU: none — Number of contributing cells: the count of upstream cells flowing into each cell (the cell itself counts as 1). · examples: dem_terrain_analysis_tour, poc_dem_terraindem_flow_direction depth → labels GPU: yes (allow-list) — D8 flow direction. O’Callaghan & Mark (1984). · examples: dem_terrain_analysis_tour, poc_geodetic_height_framesdem_stream_network depth → image2d GPU: none — Binary mask that treats cells whose flow accumulation exceeds a threshold as stream channels. · examples: dem_terrain_analysis_tourdem_hillshade depth → image2d GPU: yes (allow-list) — Hillshade [0,1]. azimuth_deg is the azimuth of the light source (north 0 degrees, increasing towards east). · examples: poc_dem_terrain, poc_lidar_terrain_change, poc_stockpile_volumedem_aspect depth → image2d GPU: yes (allow-list) — Slope aspect [degrees]. North is 0 degrees, increasing towards east. Flat cells get :data:ASPECT_FLAT. · examples: poc_dem_terrain, poc_geodetic_height_framesdem_curvature depth → image2d GPU: yes (allow-list) — Curvature [1/m]. kind is "profile" (profile) / "planform" (plan) / "total". · examples: poc_dem_terraindem_roughness depth → image2d GPU: yes (allow-list) — Terrain ruggedness index TRI — the root mean square of the elevation differences to the 8 neighbors [m]. · examples: dem_terrain_analysis_tourdem_slope depth → image2d GPU: yes (allow-list) — Slope angle. units is "degrees" / "radians" / "percent". · examples: dem_geodesy_tour, poc_crop_phenotyping, poc_dem_terrain, poc_geodetic_height_frames, poc_lidar_terrain_change, poc_multibeam_bathymetry, poc_stockpile_volume, road_surface_tourdem_tpi depth → image2d GPU: yes (allow-list) — Topographic position index TPI — the difference between the cell itself and the mean of its 8 neighbors [m]. Positive means ridge, negative means valley. · examples: dem_terrain_analysis_tourdem_horizon_angle depth → image2d GPU: none — Horizon elevation angle in a given azimuth [degrees]. 0 is horizontal; 90 means the sky straight above is blocked. · examples: dem_terrain_analysis_tourdem_sky_view_factor depth → image2d GPU: none — Sky view factor [0,1]: how much of the sky is visible. · examples: poc_dem_terraindem_viewshed depth → image2d GPU: none — Visible area from 1 point (1 = visible). Decides whether the line of sight is blocked by the terrain. · examples: dem_terrain_analysis_tour, heightmap_depth_camera_tour, poc_stockpile_volumegraph_activation_latency matrix → labels GPU: inside a chain only (allow-list) — Sequence (n,) of the step (0-based) at which each node first “lit up”, as integers. Nodes that never lit up get −1. · examples: poc_malecns_activity_wavegraph_activity_spread matrix × points × labels → table GPU: none — Time-series table of how far the activity spread: columns step / mean_distance / active_fraction / source_fraction. · examples: poc_malecns_activity_wave, poc_microns_brain_wavepoints_activity_video points × matrix → rgbvideo GPU: none — A color video (F, H, W, 3) that puts the activity onto the point cloud and rotates it, values in [0, 1]. F = T × substeps, H = size, W = size × aspect. · examples: poc_connectome_motor_bottleneck, poc_em_branch_territory, poc_em_second_opinion, poc_eye_to_brain, poc_malecns_activity_wave, poc_microns_brain_wavegraph_conductance_states conn_graph × matrix → matrix GPU: none — Time series of membrane potentials (T, n) obtained by running the wiring W directly as a circuit (matrix, no learning). · examples: poc_fly_optomotor_steeringgraph_binarize conn_graph → conn_graph GPU: none — A conn_graph in which edges with |
W | > thresh become 1.0 and all others 0.0 (the diagonal follows the same rule). · examples: gallery_conngraph_closed_forms |
graph_degree_preserving_shuffle conn_graph → conn_graph GPU: none — Degree-preserving shuffle (null model): rewires edges while keeping each node’s in-degree, out-degree and the multiset of weights. · examples: poc_larval_connectome_reservoir, poc_malecns_activity_wave, poc_microns_brain_wavegraph_from_synapses synapse_table → conn_graph GPU: none — Turns a synapse table (m, 3) = (pre_id, post_id, count) into an n×n weighted directed adjacency matrix. · examples: poc_fly_optomotor_steering, poc_microns_brain_wave, type_connectivity_tourgraph_block_shuffle conn_graph × labels → conn_graph GPU: none — A control conn_graph in which the senders are shuffled within each block of layers (labels): it keeps the multiset of weights each receiver gets and the total amount of wiring between layers, and destroys only the “from whom”. · examples: poc_connectome_motor_bottleneckgraph_layer_propagate conn_graph × labels × matrix → matrix GPU: none — Passes the layer-0 state U (N, n_0) forward, one stage at a time, through the blocks W[layer a → layer a+1], giving the states of all layers (N, n) (matrix; columns in node order, and the layer-0 columns are U itself). · examples: poc_connectome_motor_bottleneckstates_layer_dimension matrix × labels → table GPU: none — Table of the effective dimension per layer: columns layer / n / participation_ratio / ratio (= PR / n). · examples: poc_connectome_motor_bottleneckstates_participation_ratio matrix → measurement GPU: none — Effective dimension of the state sequence X (N, n) = participation ratio PR = (Σλ)² / Σλ² (λ are the eigenvalues of the covariance, Gao et al. 2017). It is n if all columns are independent with equal variance, and 1 if the states lie along 1 direction. · examples: poc_connectome_motor_bottleneckreservoir_encode conn_graph × matrix → matrix GPU: none — Batch reservoir encoding of static inputs (for classification): the final state (N, n) after running each row of X for steps iterations from the zero state. · examples: poc_larval_connectome_reservoirreservoir_from_graph conn_graph → conn_graph GPU: none — A conn_graph with W scaled by a constant so that its spectral radius becomes rho (preprocessing for an echo state network). A radius of 0 is rejected. · examples: poc_larval_connectome_reservoir, poc_malecns_activity_wavereservoir_states conn_graph × matrix → matrix GPU: none — Reservoir state sequence: x_{t+1} = (1−leak) x_t + leak · f(Wᵀ x_t + W_in u_t). Returns (T − washout, n). · examples: poc_malecns_activity_wave, poc_microns_brain_waveridge_predict matrix × matrix → matrix GPU: none — Prediction with the readout weights (T, k) = [X, 1] · Wout. Wout is the (d+1, k) from ridge_readout. · examples: poc_larval_connectome_reservoirridge_readout matrix × matrix → matrix GPU: yes (allow-list) — Ridge-regression readout weights (d+1, k) = (X̃ᵀX̃ + αI)⁻¹ X̃ᵀY, with X̃ = [X, 1] (a bias column is appended). · examples: poc_larval_connectome_reservoirgraph_betweenness conn_graph → signal GPU: none — Betweenness centrality (Brandes 2001, binary directed, unnormalised). An array of length n, one value per node. · examples: gallery_conngraph_closed_formsgraph_clustering_coefficient conn_graph → measurement GPU: none — Mean local clustering coefficient (binary graph with directions collapsed, Watts–Strogatz). Nodes with degree < 2 count as 0. · examples: gallery_conngraph_closed_formsgraph_components conn_graph → labels GPU: none — Labels of the weakly connected components (0-based, numbered by first appearance in node order). An int64 of length n. · examples: gallery_conngraph_closed_forms, poc_bga_ball_type_roundtrip, type_connectivity_tourgraph_degree_table conn_graph → table GPU: none — Per-node table of in_degree / out_degree (binary) and in_strength / out_strength (sum of weights). · examples: poc_larval_connectome_reservoir, poc_theorems_as_picturesgraph_laplacian_spectrum conn_graph → signal GPU: none — Eigenvalues of the Laplacian L = D − A of the binary graph with directions collapsed (ascending, length n). · examples: gallery_conngraph_closed_forms, poc_bga_ball_type_roundtripgraph_modularity conn_graph × labels → measurement GPU: none — Directed, weighted modularity Q (Leicht–Newman 2008). · examples: gallery_conngraph_closed_formsgraph_motif_count conn_graph → measurement GPU: none — Counts of 3-node motifs (binary directed, diagonal excluded): reciprocal / ffl / cycle3. · examples: gallery_conngraph_closed_formsgraph_rich_club conn_graph → measurement GPU: none — Rich-club coefficient φ(k): the directed density of the subgraph spanned by nodes with total degree (in+out, binary) > k. · examples: poc_worm_core_persistsgraph_spectral_radius conn_graph → measurement GPU: none — Largest absolute eigenvalue of the weighted adjacency matrix W (spectral radius). · examples: poc_larval_connectome_reservoirgraph_adjacency_image conn_graph → image2d GPU: none — Turns the adjacency matrix into an image (n, n) in [0, 1]. order = none / degree (descending total degree) / component (component order). · examples: gallery_conngraph_closed_formsgraph_edges_as_lines conn_graph × points → table GPU: none — Turns the edges into a table of line segments (the exit for overlaying them on a point cloud in Studio): columns pre / post / x0 y0 z0 / x1 y1 z1 / weight. · examples: gallery_conngraph_closed_formsgraph_layout_spectral conn_graph → points GPU: none — Spectral layout: a point cloud (n, 3) whose coordinates are the Fiedler vectors (eigenvectors 2..dim+1) of the Laplacian with directions collapsed, each axis in [0, 1]. · examples: gallery_conngraph_closed_formsholdout_threshold signal × signal × signal × signal → table GPU: none — Chooses the threshold on the training side, and measures the evaluation on the other side (a higher score means “more suspicious”). · examples: poc_em_second_opinionseg_inject_merge labels2d → labels2d GPU: none — Plants merges for evaluation: picks n pairs of adjacent large labels and rewrites the id of one to the other. · examples: poc_em_second_opinion, poc_em_split_merge_scoreseg_inject_split labels2d → labels2d GPU: none — Plants splits for evaluation: picks n large labels, cuts each in two at the row (axis="row") or column ("col") of the pixel median, and gives one side a new id (existing maximum + 1, +2, …). · examples: poc_em_second_opinion, poc_em_split_merge_scoreseg_label_changes labels2d × labels2d → table GPU: none — Returns the difference between two label images as pairs of merges and splits (before vs. after calibration, or checking planted errors against the answer). · examples: poc_em_second_opinion, poc_em_split_merge_scoreseg_membrane_response image2d → image2d GPU: yes (allow-list) — Response [0, ∞) to the dark lines (cell membranes) of an EM section. From the eigenvalues λ1 ≥ λ2 of the Gaussian-smoothed Hessian, max(λ1 − |λ2|, 0) (the closed form of Steger’s line detection, scale-normalized by σ²). · examples: poc_em_second_opinion, poc_em_split_merge_scoreseg_contingency labels2d × labels2d → table GPU: none — The contingency table of truth a against candidate b (sparse). · examples: gallery_mesh_seg_sun_gainsseg_rand labels2d × labels2d → table GPU: none — Rand index, adjusted Rand index and the adapted Rand error (CREMI / SNEMI). · examples: poc_em_split_merge_scoreseg_variation_of_information labels2d × labels2d → table GPU: none — Variation of information between truth a and candidate b, in bits. · examples: poc_em_split_merge_score, poc_em_wiring_errors, poc_skeleton_run_length_vs_voiseg_boundary_membrane_gap labels2d × image2d → table GPU: none — Suspected split: fraction of the boundary pixels between two adjacent labels whose membrane response is below tau. One row per adjacent pair. · examples: poc_em_second_opinionseg_membrane_chord_score labels2d × image2d → table GPU: none — Suspected merge: length of the membrane “chord” crossing the interior of a label / diameter of the label. One row per label (connected component). · examples: poc_em_second_opinionseg_synapse_nri labels2d × labels2d × table → table GPU: none — Neural reconstruction integrity (Reilly et al. 2018) of candidate b against truth a. · examples: poc_em_wiring_errorsseg_synapse_partners labels2d × table → table GPU: none — Read the wiring diagram a segmentation implies: which object each synapse connects. · examples: poc_em_wiring_errorsseg_wiring_exposure labels2d × table → table GPU: none — How much wiring each object stakes on staying one piece — from synapse end counts alone. · examples: poc_em_wiring_errorsseg_wiring_variation labels2d × labels2d × table → table GPU: none — How a candidate segmentation b corrupts the wiring diagram of truth a, in bits. · examples: poc_em_wiring_errorsvideo_cube_cut video → image2d GPU: none — One cross-section of the cube (image2d). "xt" = slit scan of row position (T, W), "yt" = (T, H) of a column, "xy" = the frame at time position (H, W). position is a fraction in [0, 1] (what fraction along the rows, columns or time). · examples: poc_video_cubevideo_spacetime_cube video → voxel GPU: none — Turns a video (T, H, W) into a space × time cube (T, H, W) float [0, 1] (voxel). · examples: poc_video_cubevideo_write_gif rgbvideo → text GPU: none — Writes a frame sequence to an animated GIF (text = the path written). A reusable exit point. · examples: poc_video_cubevideo_cube_orbit video → rgbvideo GPU: none — Color video rotating the cube (n_frames, size, size, 3) float [0, 1] (rgbvideo). · examples: poc_video_cubevol_render_transfer voxel → rgb GPU: none — Renders the cube from an arbitrary viewpoint by front-to-back α compositing (size, size, 3) float [0, 1] (rgb). · examples: poc_print_layer_inspection, poc_video_cubevideo_summary_keyframes video → indices GPU: yes (allow-list) — Indices of representative frames (k,) int64, ascending (indices). · examples: poc_video_cubevol_flow_3d voxel × voxel → flow_dense GPU: none — Dense displacement field (3, Z, Y, X) between two volumes (flow_dense, components dz, dy, dx [voxel]). · examples: poc_live4dvolseq_pathline_orbit volseq → rgbvideo GPU: none — Rotates and views the 3-D body of trajectories of volseq_pathline_render (n_frames, size, size, 3) (rgbvideo). · examples: poc_live4dvolseq_pathline_render volseq → rgb GPU: none — A 3-D body of trajectories drawn by letting particles ride the flow (size, size, 3) (rgb) — shows the motion in a single still image. · examples: poc_live4dvolseq_speed volseq → volseq GPU: none — Returns the speed |d| [voxel/frame] between adjacent frames of a volume time series as (T − 1, Z, Y, X) (volseq). · examples: gallery_live4d_volseq_truthfocus_sweep_height_video volseq → video GPU: none — Builds a height-field video (T, Y, X) from a time series of focus sweeps (each frame a z focus stack) (video, unit = number of z slices). · examples: poc_live4dfocus_sweep_surface_video volseq → rgbvideo GPU: none — Builds a shaded height-field video (T, Y, X, 3) from a time series of focus sweeps (each frame a z focus stack) (rgbvideo). · examples: poc_live4dvolseq_render_orbit volseq → rgbvideo GPU: none — Renders a volume time series while advancing time and rotating the viewpoint (n_frames, size, size, 3) (rgbvideo). · examples: poc_live4dvolseq_cut_video volseq → video GPU: none — Video (T, H, W) of a volume time series cut by a single cross-section (video). · examples: gallery_live4d_volseq_truthvolseq_mip_video volseq → video GPU: none — Collapses a volume time series into a video (T, H, W) by maximum intensity projection along axis axis (1 = z, 2 = y, 3 = x) (video). · examples: gallery_live4d_volseq_truthvolseq_synth_beating no input → volseq GPU: none — Volume time series (T, Z, Y, X) of a shell pulsating according to a known radius law (volseq, values in [0, 1] + noise). · examples: poc_live4dvolseq_synth_dividing no input → volseq GPU: none — Volume time series (T, Z, Y, X) of a blob splitting in two at a known speed (volseq). · examples: poc_live4dvideo_interpolate_flow video → video GPU: yes (allow-list) — Interpolates a video (T, H, W) along the flow into (T + (T − 1)(factor − 1), H, W) (video, temporal super-resolution). · examples: gallery_live4d_volseq_truthvolseq_interpolate_flow volseq → volseq GPU: none — Interpolates a volume time series (T, Z, Y, X) along the 3-D flow into (T + (T − 1)(factor − 1), Z, Y, X) (volseq). · examples: poc_live4dvolseq_magnify_motion volseq → volseq GPU: none — Makes the small in-band motions of a volume time series alpha times larger (volseq, a 3-D version of Eulerian linear magnification). · examples: poc_live4dread_3mf text → mesh GPU: none — Reads 3MF (3D/3dmodel.model inside the zip, 3MF Core Specification) into a triangle mesh mesh = (V, F). · examples: poc_print_layer_inspectionwrite_3mf text × mesh → text GPU: none — Writes a triangle mesh to 3MF (minimal configuration: [Content_Types].xml / _rels/.rels / 3D/3dmodel.model, unit mm). Returns the path (text). · examples: poc_print_layer_inspectiongcode_extrusion_volume table → measurement GPU: none — Volume of extruded filament [mm³] = Σe × π (d / 2)² (measurement). The weight is density × volume (PLA ≈ 1.24 g/cm³). · examples: poc_print_layer_inspectiongcode_layer_image table → image2d GPU: none — Draws the path of one layer as a raster with line width image2d (material 1, background 0, travel 0.5 when drawn, y pointing down = rows). · examples: poc_print_layer_inspectiongcode_read text → table GPU: none — Reads G-code (RepRap / Marlin family) into a table of line segments table: columns x0 y0 z0 x1 y1 z1 (mm), e (filament length extruded on that segment in mm, 0 for a travel-only move), f (feed rate mm/min), layer (layer number). · examples: poc_print_layer_inspectiongcode_time_estimate table → measurement GPU: none — Lower bound on the run time [s] = Σ(segment length / feed rate) (ignoring acceleration and jerk, measurement). Segments with feed rate 0 are not counted. · examples: poc_one_stroke_epicycles, poc_print_layer_inspectiongcode_write table × text → text GPU: none — Writes a table of line segments to G-code (G21 / G90 / M82, G1 with absolute coordinates and absolute E). Returns the path written (text). · examples: poc_print_layer_inspectionprint_layer_defect_map image2d × image2d → image2d GPU: none — Signed defect map image2d comparing an observed layer image with the expected layer image (gcode_layer_image): +1 = missing where material should be (gaps, clogs), −1 = present where nothing should be (stringing, overflow, spaghetti), 0 = match. · examples: poc_print_layer_inspectionengrave_lines image2d → image2d GPU: yes (allow-list) — Copperplate engraving — parallel lines whose width carries the tone. · examples: poc_beats_fringes_and_screenshalftone_moire_period no input → table GPU: none — The beat between two halftone screens — period and direction, in closed form. · examples: poc_beats_fringes_and_screens, poc_moire_screen, poc_print_registrationhalftone_screen image2d → image2d GPU: yes (allow-list) — A classic rotated halftone screen — dots whose area carries the tone. · examples: poc_beats_fringes_and_screens, poc_pixel_shift, poc_print_registrationhatch_field image2d → image2d GPU: yes (allow-list) — Cross-hatching that follows the picture — direction from the structure tensor. · examples: poc_beats_fringes_and_screensmosaic_tiles_render image2d × pairs → image2d GPU: none — Paint each Voronoi cell with the mean of the pixels it owns. · examples: poc_beats_fringes_and_screensmosaic_tiles_sites image2d → pairs GPU: none — Lloyd’s iteration on an image — the tile centres of a mosaic. · examples: poc_beats_fringes_and_screenscontours_to_gcode table → table GPU: none — Turns contours (the table of mesh_slice_contours) into a table of paths that trace around them (same columns as gcode_read). · examples: poc_one_stroke_epicycles, poc_print_layer_inspectionmesh_slice_contours mesh → table GPU: none — Table of contours table obtained by cutting a triangle mesh with the plane z: columns ring (ring number), x, y (mm). · examples: itokawa_gravity_tour, poc_print_layer_inspectionmesh_slice_stack mesh → voxel GPU: none — Stack of layer masks voxel (Z, Y, X) obtained by slicing a mesh in steps of layer_mm (0 / 1, Z from the bottom). · examples: poc_am_thermal_to_ct, poc_print_layer_inspectionmst_length pairs → measurement GPU: none — Length of the minimum spanning tree (Prim). A closed tour cannot be shorter than this (lower bound). · examples: poc_one_stroke_epicyclesstipple_energy image2d × pairs → measurement GPU: none — Energy of weighted Lloyd Σ w(x) |x - c(x)|^2 (for checking monotonic decrease). · examples: poc_beats_fringes_and_screens, poc_one_stroke_epicyclesstipple_points_from_image image2d → pairs GPU: none — Maps grey levels to point density (weighted Lloyd = centroidal Voronoi). → pairs · examples: poc_one_stroke_epicyclesstroke_resample_closed pairs → pairs GPU: none — Resamples a closed line at equal arc length. → pairs · examples: poc_one_stroke_epicyclesstroke_tone_error image2d × pairs → table GPU: none — How much the tone resulting from drawing the lines differs from the target. → table · examples: poc_one_stroke_epicyclesstroke_tour_closed pairs → pairs GPU: none — Reorders the points into a closed tour that visits each point exactly 1 time and returns. → pairs · examples: poc_one_stroke_epicyclescamera_orientation_from_skyline signal × table → table GPU: none — Determines (yaw, pitch, roll) from the skyline of a photo (row per column) and the skyline of the DEM → table. · examples: poc_public_camera_headingdem_skyline depth → table GPU: none — Omnidirectional skyline seen from 1 point of the DEM (horizon elevation per azimuth) → table. · examples: poc_public_camera_headingrender_skyline_view table → image2d GPU: none — From a skyline table and an orientation, draws the sky mask (H, W) seen by a camera pointing that way → image2d (0/1). · examples: poc_public_camera_headingskyline_extract image2d → signal GPU: none — Extracts from a photo, by dynamic programming, 1 line giving the row of the sky–terrain boundary for each column → signal (W,). · examples: poc_public_camera_headingcamera_orientation_from_sun keypoints × signal → table GPU: none — Time-stamped pixel positions of the sun, ≥ 2 points → camera (yaw, pitch, roll) (SVD solution of Wahba’s problem = Kabsch). · examples: poc_public_camera_headingcamera_orientation_from_sun_candidates keypoints × signal × signal → table GPU: none — From several candidate “bright blobs” per frame (a mix of the sun, white cars, signs and text), selects with RANSAC the 1 track that moves as the time predicts, and determines (yaw, pitch, roll) and the focal length simultaneously → table. With a fixed camera only the sun moves at the sun’s speed, so the sun is decided by its motion, not by its appearance (on Fintraffic weather cameras, an appearance gate gave 24/24 false detections, 2026-09-21). · examples: poc_public_camera_heading_realsun_bloom_fit image2d → table GPU: none — The sun in real footage = a bloom that saturates the sensor (larger than the disk, its size changes with exposure, and it gets cut off by the image edge or by text bands). Fits a circle to the edge of the largest saturated blob and returns the center → table. The centroid is biased away from the cut side when the blob is cut off (measured 15 px), so the cut edges (pixels touching the image border or the ignore_top_rows band) are discarded and a circle is fitted to the remaining arc by algebraic least squares (Kåsa 1976). · examples: gallery_mesh_seg_sun_gainssun_pixel_position image2d → keypoints GPU: none — Centroid of the sun in the image (a disk that saturates the sensor) → keypoints (1, 2) = (u, v). · examples: poc_public_camera_headingsun_position signal → table GPU: none — Latitude, longitude, time (UNIX seconds, UTC) → azimuth and elevation of the sun [degrees] (NOAA solar position algorithm, the low-accuracy formula of Meeus 1998). · examples: poc_public_camera_heading, poc_public_camera_heading_realattention_grouped tokens × tokens × tokens → tokens GPU: none — Attention that groups heads (GQA) → tokens. Exactly matches MHA when n_kv_heads == n_heads, and MQA when == 1. · examples: poc_attention_identitiesattention_linear tokens × tokens × tokens → tokens GPU: none — Attention with the softmax removed → tokens. (QKᵀ)V == Q(KᵀV) — the associative law itself. · examples: poc_attention_identitiesattention_softmax tokens × tokens × tokens → tokens GPU: none — Attention in one batch (reference implementation) → tokens. The reference against which this family is checked. · examples: poc_attention_identities, type_connectivity_tourattention_tiled tokens × tokens × tokens → tokens GPU: none — Attention with tiles + online softmax (the core of FlashAttention) → tokens. Not an approximation. · examples: poc_attention_identitieskv_cache_decode tokens × tokens × tokens → tokens GPU: none — Inference that advances by only 1 token (KV Cache) → tokens (1, dv). · examples: poc_attention_identitiesrms_norm tokens → tokens GPU: none — RMS normalization → tokens. With the defaults (eps=0, no weight) the RMS of the output is exactly 1. · examples: poc_attention_identitiesrope_rotate tokens → tokens GPU: none — Rotary position encoding (RoPE) → tokens. Being a rotation, it preserves the norm. · examples: poc_attention_identitiesattention_apply attnmap × tokens → tokens GPU: none — Mixes the values with the attention weights → tokens. Since row sums are 1, the output is a convex combination of the inputs. · examples: poc_attention_identitiesattention_scores tokens × tokens → attnmap GPU: none — Raw attention scores QKᵀ/√d → attnmap (T, S). · examples: poc_attention_identitiesattention_weights attnmap → attnmap GPU: none — Row-wise softmax (with mask) → attnmap. Row sums are 1 and mask positions are exactly 0. · examples: poc_attention_identitiesclass_2dim_sup (halcon: class_2dim_sup) image2d × image2d × mask → mask GPU: none — Supervised classification in a 2-channel feature space: pixels inside the distribution of ref_region (class_2dim_sup). · examples: halcon_segmentation_tour, poc_surface_defect_classifiersclass_2dim_unsup (halcon: class_2dim_unsup) image2d × image2d → labels2d GPU: yes (allow-list) — Unsupervised k-means classification in a 2-channel feature space; returns a label image (class_2dim_unsup). · examples: halcon_segmentation_tour, poc_surface_defect_classifiersclass_ndim_norm (halcon: class_ndim_norm) images × table → mask GPU: yes (allow-list) — Classify N-D feature images with a learned normal-distribution class (Mahalanobis distance < thresh) (class_ndim_norm). · examples: halcon_segmentation_tour, poc_surface_defect_classifiersclassify_image_class_lut (halcon: classify_image_class_lut) image2d × signal → labels2d GPU: yes (allow-list) — Pixel classification through a gray-value LUT (threshold / label table) (classify_image_class_lut). · examples: halcon_segmentation_tour, poc_surface_defect_classifiersfisher_lda_fit matrix × signal → table GPU: none — Fit a two-class Fisher linear discriminant (closed form, no iteration). · examples: poc_weed_rice_ratiofisher_lda_score table × matrix → table GPU: none — Score features with a discriminant fitted by fisher_lda_fit (score > 0 means class 1). · examples: poc_weed_rice_ratiolearn_ndim_norm (halcon: learn_ndim_norm) matrix → table GPU: none — Learn a normal-distribution class (mean and covariance) from feature vectors (learn_ndim_norm). · examples: halcon_segmentation_tour, poc_surface_defect_classifierscheck_difference (halcon: check_difference) image2d × image2d → mask GPU: yes (allow-list) — Pixels whose difference from the reference image exceeds tol, as a region (check_difference). · examples: halcon_segmentation_tourchan_vese_energy image2d × mask → table GPU: none — Chan–Vese 2001 energy F = μ Length + ν Area(inside) + λ1 ∫_in |
I − c1 | ² + λ2 ∫_out | I − c2 | ² (two-phase) (chan_vese_energy). · examples: gallery_seg_measures |
chan_vese_evolve image2d × mask → table GPU: none — Minimises the two-phase Chan–Vese 2001 energy (by default alternating minimisation of the convex relaxation; the level-set gradient descent can also be chosen) (chan_vese_evolve). · examples: poc_active_contourscurvature_flow mask → table GPU: yes (allow-list) — Level-set form of mean curvature flow (curve-shortening flow) φ_t = |
∇φ | div(∇φ/ | ∇φ | ) (inside where φ < 0; shrinks from the convex parts) (curvature_flow). · examples: poc_active_contours |
drle_evolve image2d × mask → table GPU: none — Edge-based distance-regularized level set evolution DRLSE (Li–Xu–Gui–Fox 2010). No re-initialisation (drle_evolve). · examples: poc_active_contoursedge_stop_g image2d → table GPU: none — Edge-stopping function g = 1 / (1 + |
∇(G_σ * I) | ² / k²) (the p = 2 form of Caselles–Kimmel–Sapiro 1997) (edge_stop_g). · examples: poc_active_contours |
gvf_field image2d → table GPU: none — Gradient vector flow (Xu–Prince 1998): the field (u, v) that smoothly diffuses the gradient of the edge map f away from the edges (gvf_field). · examples: poc_active_contourslevel_set_reinit mask → table GPU: yes (allow-list) — Turns φ (inside where φ < 0) into the signed distance function of the same zero level set (level_set_reinit). · examples: poc_active_contoursmorph_chan_vese image2d × mask → table GPU: none — Morphological Chan–Vese (MorphACWE of Márquez-Neila–Baumela–Álvarez 2014). One iteration = data step + smoothing step (morph_chan_vese). · examples: poc_active_contoursmorph_geodesic_ac image2d × mask → table GPU: none — Morphological geodesic active contour (MorphGAC of Márquez-Neila et al. 2014). gimage = an image that is small on edges (the g of edge_stop_g) (morph_geodesic_ac). · examples: poc_active_contourssnake_evolve image2d × pairs → table GPU: none — Semi-implicit update of the discrete snake (Kass–Witkin–Terzopoulos 1988): x_t = (A + γI)^(-1)(γ x_(t-1) − f_x) (eqs. (19)(20)) (snake_evolve). · examples: poc_active_contoursalpha_expansion image2d → table GPU: none — Multi-label α-expansion (Boykov–Veksler–Zabih 2001): E(f) = Σ (I_p − μ_(f_p))² + λ Σ w_pq V(f_p, f_q), where V is a metric (alpha_expansion). · examples: poc_graph_hierarchy_segmentationalpha_tree image2d → table GPU: none — α-tree: builds the minimum spanning tree of the grid weighted by neighbour differences (Kruskal in scipy) and returns the partition for each α using only the tree edges of weight ≤ α (alpha_tree). · examples: poc_graph_hierarchy_segmentationarea_opening_attr image2d → table GPU: none — Attribute opening (Salembier et al. 1998): removes the component-tree nodes whose attribute < threshold and sets each pixel to the value of its nearest ancestor with attribute ≥ threshold (area_opening_attr). · examples: poc_graph_hierarchy_segmentationgraph_cut_binary image2d → table GPU: none — Binary graph cut (Boykov–Jolly 2001): minimises E = Σ_p D_p(x_p) + λ Σ w_pq [x_p ≠ x_q] exactly by max-flow / min-cut (graph_cut_binary). · examples: poc_graph_hierarchy_segmentationhierarchical_watershed image2d → table GPU: none — Hierarchical watershed by dynamics: attaches the dynamics saliency to the edges of the minimum spanning forest of the relief image (low places are basins) and returns the components joined by edges with saliency ≤ threshold (if n_regions is given, the smallest threshold that yields that many regions is used) (hierarchical_watershed). · examples: poc_graph_hierarchy_segmentationmax_tree image2d → table GPU: none — Component tree (max-tree): builds the tree of connected components of the upper level sets {f ≥ h} with Union-Find (pixels processed in descending order of value) (max_tree). · examples: gallery_seg_measuresquasi_flat_zones image2d → table GPU: none — α-quasi-flat zones (Soille 2008): the connected components joined only by neighbour edges with |
f_p − f_q | ≤ α. Returns: labels (1..k), n_zones (quasi_flat_zones). · examples: poc_graph_hierarchy_segmentation |
quickshift image2d → table GPU: none — Quick shift (Vedaldi–Soatto 2008): estimates the Parzen density P_i = Σ_j exp(−D_ij²/(2σ²)) on the features (y, x, ratio · I) (window 3σ, σ = kernel_size), links each pixel to the nearest point of higher density (inside a window of radius search_radius), and takes the components of the tree, after cutting branches longer than max_dist, as the regions (quickshift). · examples: poc_graph_hierarchy_segmentationsnic_superpixels image2d → table GPU: none — SNIC (Algorithm 1 of Achanta–Süsstrunk 2017): non-iterative superpixels grown from grid seeds with a priority queue (snic_superpixels). · examples: poc_graph_hierarchy_segmentation, poc_weed_rice_ratiostatistical_region_merging image2d → table GPU: none — Statistical region merging SRM (Nock–Nielsen 2004): processes pairs of neighbouring pixels in ascending order of |
I_p − I_q | and merges them when the predicate P(R, R’) holds (statistical_region_merging). · examples: poc_graph_hierarchy_segmentation |
superpixel_quality labels2d × labels2d → table GPU: none — Superpixel scoring: boundary recall (the recall of segeval.seg_boundary_f, tolerance τ), the corrected undersegmentation error CUSE = (1/N) Σ_k |
S_k − G_max(S_k) | (Neubert–Protzel 2012, eq. (2) of the SNIC paper), ASA = 1 − CUSE, the Neubert–Protzel undersegmentation error UE = (1/N) Σ_G Σ_(S∩G≠∅) min( | S∩G | , | S − G | ), and the number of superpixels. Label 0 of the truth also counts as a region (the background must be covered too) (superpixel_quality). · examples: poc_graph_hierarchy_segmentation |
ultrametric_contour_map image2d → table GPU: none — Ultrametric contour map (UCM) of the dynamics hierarchy: the value between neighbouring pixels p, q = the smallest threshold at which p and q fall into the same region (ultrametric_contour_map). · examples: poc_graph_hierarchy_segmentationexpand_gray (halcon: expand_gray) image2d × mask → mask GPU: yes (allow-list) — Grow a region from a seed by gray-value similarity ( |
delta | < tol) (expand_gray). · examples: halcon_segmentation_tour |
regiongrowing_n (halcon: regiongrowing_n) images → labels2d GPU: none — Segment the whole image by multi-channel feature similarity; returns a label image (regiongrowing_n). · examples: halcon_segmentation_tourcover_ratio_grade signal → table GPU: none — Split a cover fraction (area share 0..1) into grades 0..len(edges) at declared edges edges. · examples: poc_weed_rice_ratioplant_color_index rgbimage → table GPU: yes (allow-list) — Per-pixel plant colour indices from the three visible bands (ExG, ExR, ExGR, CIVE, NGRDI, VEG). · examples: poc_leaf_disease_area, poc_weed_rice_ratiosuperpixel_color_texture_features rgbimage × labels2d → table GPU: yes (allow-list) — Ten colour (plant indices, chromaticity) and texture (gradient, orientation coherence) features for every region of a label image. · examples: poc_weed_rice_ratioseg_boundary_f labels2d × labels2d → table GPU: none — Boundary F-measure at tolerance tau: precision = fraction of predicted boundary pixels within tau of a true boundary, recall the reverse (seg_boundary_f). · examples: poc_am_thermal_to_ct, poc_graph_hierarchy_segmentation, poc_sem_wafer_defect_edge_biasseg_confusion_table labels2d × labels2d → table GPU: none — Label-correspondence contingency table (rows = truth, columns = prediction) with max-overlap matching and a uniqueness flag (seg_confusion_table). · examples: gallery_seg_measuresseg_dice_jaccard labels2d × labels2d → table GPU: none — Dice and Jaccard — once over the mask (union of non-background pixels), or per true label against its max-overlap partner (seg_dice_jaccard). · examples: poc_active_contours, poc_am_thermal_to_ct, poc_graph_hierarchy_segmentation, poc_segmentation_gauntlet, poc_sem_wafer_defect_edge_biasseg_hausdorff labels2d × labels2d → table GPU: none — Hausdorff distance between the two boundary pixel sets, with a percentile variant such as HD95 (seg_hausdorff). · examples: gallery_seg_measuresseg_mean_surface_distance labels2d × labels2d → table GPU: none — Average symmetric surface distance (ASSD): mean of the both-direction boundary distances, plus the RMS (seg_mean_surface_distance). · examples: gallery_seg_measuresseg_object_counts_match labels2d × labels2d → table GPU: none — Object-count agreement: counts split / merged / missed / false / matched from the degrees of a ‘mainly overlapping’ bipartite graph (seg_object_counts_match). · examples: poc_graph_hierarchy_segmentationseg_score_card labels2d × labels2d → table GPU: none — All measures on one card: Dice/Jaccard, VI/split/merge, Rand/ARI, boundary F, Hausdorff/HD95/ASSD, over/under, split/merge/missed/false/matched and counts (seg_score_card). · examples: poc_active_contours, poc_graph_hierarchy_segmentation, poc_segmentation_gauntletseg_under_over_segmentation labels2d × labels2d → table GPU: none — Counts over- and under-segmentation as the multiplicity of the contingency-table majority vote (Levine & Nazif style) (seg_under_over_segmentation). · examples: poc_graph_hierarchy_segmentationthreshold_isodata image2d → table GPU: none — ISODATA (Ridler–Calvard 1978): iterates t ← (μ_≤t + μ_>t)/2 on the pixel values until the partition stops changing (initial value = mean) (threshold_isodata). · examples: poc_graph_hierarchy_segmentationthreshold_kapur image2d → table GPU: none — Maximum-entropy threshold (Kapur–Sahoo–Wong 1985): the bin t that maximises H(t) = −Σ_(i ≤ t) (p_i/P1) ln(p_i/P1) − Σ_(i > t) (p_i/P2) ln(p_i/P2) (only bins where both sides have positive probability). Returns: threshold = upper edge of that bin, mask (bin index > t), bin, entropy (H, nan for excluded bins) (threshold_kapur). · examples: poc_graph_hierarchy_segmentationthreshold_kittler image2d → table GPU: none — Minimum-error threshold (Kittler–Illingworth 1986): at each bin t, splits into a low side (bins ≤ t) and a high side and minimises J(t) = 1 + 2(P1 ln σ1 + P2 ln σ2) − 2(P1 ln P1 + P2 ln P2) (σ is the standard deviation of the bin centres on each side; bins where either side has σ = 0 are excluded). Returns: threshold = upper edge of that bin (the mask is decided by bin index > t = consistent at the edge values too), mask, bin, criterion (J, nan for excluded bins) (threshold_kittler). · examples: poc_graph_hierarchy_segmentationthreshold_triangle image2d → table GPU: none — Triangle method (Zack–Rogers–Latt 1977): the threshold is the bin (b, h_b) between the peak (b_p, h_p) and the end bin of the longer tail (b_e, 0) whose signed perpendicular distance from the line joining them is largest (below the line is positive). Returns: threshold (centre of that bin), mask = image > threshold, bin, distance (distance of each bin, nan outside the range). The zero height at the end point and the choice of tail follow the skimage / ImageJ convention (original paper to be confirmed) (threshold_triangle). · examples: poc_graph_hierarchy_segmentationwatersheds_marker (halcon: watersheds_marker) image2d × labels2d → labels2d GPU: none — Marker-controlled watershed segmentation; markers is an int label image (0 = unassigned) (watersheds_marker). · examples: halcon_segmentation_tour, poc_mixed_case_depalletizing, poc_sem_tem_same_particledistance_peaks voxel → labels GPU: none — Returns an int marker array of the local maxima of the foreground distance transform, thinned out by min_distance NMS. · examples: watershed3d_tourseparate_touching voxel → labels GPU: none — genuinely-new (B): an everyday wrapper that automatically separates touching objects in 1 call. · examples: watershed3d_tourwatershed_vol voxel → labels GPU: none — Splits a 3D foreground into per-object labels with a watershed seeded from the distance transform (a thin composition of public ops). · examples: watershed3d_tourlens_area no input → scalar GPU: none — Closed-form overlap (lens) area of two equal-radius-r circles at centre distance d; 0 when d >= 2r (lens_area). · examples: gallery_seg_measuresvoronoi_cells points → table GPU: none — Voronoi partition of seeds inside a rectangle, returned as polygons with areas and internal edge lengths (brute-force half-planes, O(n^2)) (voronoi_cells). · examples: gallery_seg_measuresworld_blobs_touching no input → table GPU: none — World of overlapping discs (cells/grains): equal-radius circles placed in a chain, each overlapping only the previous one at centre distance 2r(1 - overlap) (world_blobs_touching). · examples: poc_active_contours, poc_dense_bubble_count, poc_graph_hierarchy_segmentation, poc_segmentation_gauntletworld_gradient_illumination no input → table GPU: none — World of dark objects over an illumination gradient plus noise (global thresholding breaks; local thresholding / flat-field cut it) (world_gradient_illumination). · examples: poc_active_contours, poc_graph_hierarchy_segmentation, poc_segmentation_gauntletworld_grains_voronoi no input → table GPU: none — Voronoi grain world: n jittered seeds on a lattice; labels = index of the nearest seed (1..n) (world_grains_voronoi). · examples: poc_graph_hierarchy_segmentation, poc_segmentation_gauntletworld_parts_with_shadow no input → table GPU: none — World of industrial parts (rotated rectangles with circular holes) with oblique-lighting shadows, facet shading and highlights (world_parts_with_shadow). · examples: poc_active_contours, poc_graph_hierarchy_segmentation, poc_segmentation_gauntletworld_texture_regions no input → table GPU: none — World of 2-4 regions that share the same mean but differ only in variance and period (uncuttable by thresholding) (world_texture_regions). · examples: poc_graph_hierarchy_segmentation, poc_segmentation_gauntletworld_thin_structures no input → table GPU: none — World of 1-3 px lines (straight) and cracks (polylines); ground truth = centrelines and widths (world_thin_structures). · examples: poc_active_contours, poc_graph_hierarchy_segmentation, poc_segmentation_gauntletEach op’s module docstring also names the primary literature for its principle. Below are external references for the main technique families.