35#ifndef VP_RB_SILHOUETTE_POINT_H
36#define VP_RB_SILHOUETTE_POINT_H
38#include <visp3/core/vpConfig.h>
39#include <visp3/core/vpColVector.h>
69 unsigned int urange =
static_cast<unsigned int>(range);
71 if (
i < urange || j < urange || i >= (I.getHeight() - urange) ||
j >= (I.getWidth() - urange)) {
77 for (
int n = -range; n <= range; n++) {
78 unsigned int ii =
static_cast<unsigned int>(round(
i + s * n));
79 unsigned int jj =
static_cast<unsigned int>(round(
j + c * n));
80 unsigned int isBg =
static_cast<unsigned int>(I[ii][jj] == 0.f);
Implementation of column vector and the associated operations.
Definition of the vpImage class member functions.
double Z
angle of the normal in the image.
vpRBSilhouettePoint(unsigned int a_i, unsigned int a_j, const vpColVector &a_normal, double a_orientation, double a_Z)
vpColVector normal
Pixel coordinates of the silhouette point.
double orientation
Normal to the silhouette at point i,j, in world frame.
bool isSilhouette
Point depth.
void detectSilhouette(const vpImage< float > &I)