nk 1.0.0
C++ Numerical Computing Runtime
Loading...
Searching...
No Matches
object.hpp File Reference
#include <memory_resource>
#include <nk/value/value.hpp>
#include <string>
#include <tuple>

Go to the source code of this file.

Functions

std::tuple< Value, Value > nk::image::imgradientxy (const Value &I, const std::string &method, std::pmr::memory_resource *mr=nullptr)
 Component gradients ([Gx, Gy] = imgradientxy(I, method)).
std::tuple< Value, Value > nk::image::imgradient (const Value &I, const std::string &method, std::pmr::memory_resource *mr=nullptr)
 Gradient magnitude and direction ([Gmag, Gdir] = imgradient(I, method)).
std::tuple< Value, Value, Value > nk::image::imgradientxyz (const Value &V, const std::string &method, std::pmr::memory_resource *mr=nullptr)
 3-D component gradients ([Gx, Gy, Gz] = imgradientxyz(V, method)).
std::tuple< Value, Value, Value > nk::image::imgradient3 (const Value &V, const std::string &method, std::pmr::memory_resource *mr=nullptr)
 3-D gradient magnitude + spherical direction ([Gmag, Gaz, Gelev] = imgradient3(V, method) or (Gx, Gy, Gz) inputs).
std::tuple< Value, Value, Value > nk::image::imgradient3_from_grads (const Value &Gx, const Value &Gy, const Value &Gz, std::pmr::memory_resource *mr=nullptr)
Value nk::image::edge (const Value &I, const std::string &method, double thresh_lo, double thresh_hi, std::pmr::memory_resource *mr=nullptr)
 Binary edge map (BW = edge(I, method, thresh_lo, thresh_hi)).
Value nk::image::cornermetric (const Value &I, const std::string &method, double sensitivity_factor, const Value &filter_coef, std::pmr::memory_resource *mr=nullptr)
 Corner metric matrix (C = cornermetric(I, method, ...)).
Value nk::image::corner (const Value &I, const std::string &method, int maxN, double quality_level, double sensitivity, const Value &filter_coef, std::pmr::memory_resource *mr=nullptr)
 Detect corner points (C = corner(I, ...)).
void nk::image::hough (const Value &BW, double rho_res, const Value &theta_deg, Value &H_out, Value &T_out, Value &R_out, std::pmr::memory_resource *mr=nullptr)
 Standard Hough transform ([H, T, R] = hough(BW, ...)).
Value nk::image::houghpeaks (const Value &H, std::size_t numpeaks, double threshold, std::size_t nhoodRho, std::size_t nhoodTheta, const Value &theta_deg, std::pmr::memory_resource *mr=nullptr)
 Find peaks in a Hough-transform accumulator (P = houghpeaks(H, NumPeaks, ...)).
Value nk::image::houghlines (const Value &BW, const Value &theta_deg, const Value &rho, const Value &peaks, double fillgap, double minlength, std::pmr::memory_resource *mr=nullptr)
 Extract line segments from Hough-transform peaks (lines = houghlines(BW, theta, rho, peaks, ...)).