Loading...
Searching...
No Matches
intensity.hpp
/*
* Software License Agreement (BSD License)
*
* Point Cloud Library (PCL) - www.pointclouds.org
* Copyright (c) 2010-2012, Willow Garage, Inc.
* Copyright (c) 2012-, Open Perception, Inc.
*
* All rights reserved.
*
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provided that the following conditions
* are met:
*
* * Redistributions of source code must retain the above copyright
* notice, this list of conditions and the following disclaimer.
* * Redistributions in binary form must reproduce the above
* copyright notice, this list of conditions and the following
* disclaimer in the documentation and/or other materials provided
* with the distribution.
* * Neither the name of the copyright holder(s) nor the names of its
* contributors may be used to endorse or promote products derived
* from this software without specific prior written permission.
*
* THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
* "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
* LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS
* FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE
* COPYRIGHT OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT,
* INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING,
* BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
* LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER
* CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
* LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN
* ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
* POSSIBILITY OF SUCH DAMAGE.
*
* $Id$
*
*/
#pragma once
#include <pcl/common/intensity.h>
#include <pcl/point_types.h>
namespace pcl
{
namespace common
{
template<>
struct IntensityFieldAccessor<pcl::PointNormal>
{
inline float
operator () (const pcl::PointNormal &p) const
{
return (p.curvature);
}
inline void
get (const pcl::PointNormal &p, float &intensity) const
{
intensity = p.curvature;
}
inline void
set (pcl::PointNormal &p, float intensity) const
{
p.curvature = intensity;
}
inline void
demean (pcl::PointNormal& p, float value) const
{
p.curvature -= value;
}
inline void
add (pcl::PointNormal& p, float value) const
{
p.curvature += value;
}
};
template<>
struct IntensityFieldAccessor<pcl::PointXYZ>
{
inline float
operator () (const pcl::PointXYZ &p) const
{
return (p.z);
}
inline void
get (const pcl::PointXYZ &p, float &intensity) const
{
intensity = p.z;
}
inline void
set (pcl::PointXYZ &p, float intensity) const
{
p.z = intensity;
}
inline void
demean (pcl::PointXYZ& p, float value) const
{
p.z -= value;
}
inline void
add (pcl::PointXYZ& p, float value) const
{
p.z += value;
}
};
template<>
struct IntensityFieldAccessor<pcl::PointXYZRGB>
{
inline float
operator () (const pcl::PointXYZRGB &p) const
{
return (static_cast<float> (299*p.r + 587*p.g + 114*p.b) * 0.001f);
}
inline void
get (const pcl::PointXYZRGB &p, float& intensity) const
{
intensity = static_cast<float> (299*p.r + 587*p.g + 114*p.b) * 0.001f;
}
inline void
set (pcl::PointXYZRGB &p, float intensity) const
{
p.r = static_cast<std::uint8_t> (intensity * 3.34448160535f); // 1000 / 299
p.g = static_cast<std::uint8_t> (intensity * 1.70357751278f); // 1000 / 587
p.b = static_cast<std::uint8_t> (intensity * 8.77192982456f); // 1000 / 114
}
inline void
demean (pcl::PointXYZRGB& p, float value) const
{
float intensity = this->operator () (p);
intensity -= value;
set (p, intensity);
}
inline void
add (pcl::PointXYZRGB& p, float value) const
{
float intensity = this->operator () (p);
intensity += value;
set (p, intensity);
}
};
template<>
struct IntensityFieldAccessor<pcl::PointXYZRGBA>
{
inline float
operator () (const pcl::PointXYZRGBA &p) const
{
return (static_cast<float> (299*p.r + 587*p.g + 114*p.b) * 0.001f);
}
inline void
get (const pcl::PointXYZRGBA &p, float& intensity) const
{
intensity = static_cast<float> (299*p.r + 587*p.g + 114*p.b) * 0.001f;
}
inline void
set (pcl::PointXYZRGBA &p, float intensity) const
{
p.r = static_cast<std::uint8_t> (intensity * 3.34448160535f); // 1000 / 299
p.g = static_cast<std::uint8_t> (intensity * 1.70357751278f); // 1000 / 587
p.b = static_cast<std::uint8_t> (intensity * 8.77192982456f); // 1000 / 114
}
inline void
demean (pcl::PointXYZRGBA& p, float value) const
{
float intensity = this->operator () (p);
intensity -= value;
set (p, intensity);
}
inline void
add (pcl::PointXYZRGBA& p, float value) const
{
float intensity = this->operator () (p);
intensity += value;
set (p, intensity);
}
};
template<>
struct IntensityFieldAccessor<pcl::PointXYZRGBNormal>
{
inline float
operator () (const pcl::PointXYZRGBNormal &p) const
{
return (static_cast<float> (299*p.r + 587*p.g + 114*p.b) * 0.001f);
}
inline void
get (const pcl::PointXYZRGBNormal &p, float& intensity) const
{
intensity = static_cast<float> (299*p.r + 587*p.g + 114*p.b) * 0.001f;
}
inline void
set (pcl::PointXYZRGBNormal &p, float intensity) const
{
p.r = static_cast<std::uint8_t> (intensity * 3.34448160535f); // 1000 / 299
p.g = static_cast<std::uint8_t> (intensity * 1.70357751278f); // 1000 / 587
p.b = static_cast<std::uint8_t> (intensity * 8.77192982456f); // 1000 / 114
}
inline void
demean (pcl::PointXYZRGBNormal &p, float value) const
{
float intensity = this->operator () (p);
intensity -= value;
set (p, intensity);
}
inline void
add (pcl::PointXYZRGBNormal &p, float value) const
{
float intensity = this->operator () (p);
intensity += value;
set (p, intensity);
}
};
template<>
struct IntensityFieldAccessor<pcl::PointXYZRGBL>
{
inline float
operator () (const pcl::PointXYZRGBL &p) const
{
return (static_cast<float> (299*p.r + 587*p.g + 114*p.b) * 0.001f);
}
inline void
get (const pcl::PointXYZRGBL &p, float& intensity) const
{
intensity = static_cast<float> (299*p.r + 587*p.g + 114*p.b) * 0.001f;
}
inline void
set (pcl::PointXYZRGBL &p, float intensity) const
{
p.r = static_cast<std::uint8_t> (intensity * 3.34448160535f); // 1000 / 299
p.g = static_cast<std::uint8_t> (intensity * 1.70357751278f); // 1000 / 587
p.b = static_cast<std::uint8_t> (intensity * 8.77192982456f); // 1000 / 114
}
inline void
demean (pcl::PointXYZRGBL& p, float value) const
{
float intensity = this->operator () (p);
intensity -= value;
set (p, intensity);
}
inline void
add (pcl::PointXYZRGBL& p, float value) const
{
float intensity = this->operator () (p);
intensity += value;
set (p, intensity);
}
};
template<>
struct IntensityFieldAccessor<pcl::PointXYZLAB>
{
inline float
operator () (const pcl::PointXYZLAB &p) const
{
return (p.L);
}
inline void
get (const pcl::PointXYZLAB &p, float &intensity) const
{
intensity = p.L;
}
inline void
set (pcl::PointXYZLAB &p, float intensity) const
{
p.L = intensity;
}
inline void
demean (pcl::PointXYZLAB& p, float value) const
{
p.L -= value;
}
inline void
add (pcl::PointXYZLAB& p, float value) const
{
p.L += value;
}
};
template<>
struct IntensityFieldAccessor<pcl::PointXYZHSV>
{
inline float
operator () (const pcl::PointXYZHSV &p) const
{
return (p.v);
}
inline void
get (const pcl::PointXYZHSV &p, float &intensity) const
{
intensity = p.v;
}
inline void
set (pcl::PointXYZHSV &p, float intensity) const
{
p.v = intensity;
p.s = 0.0f;
}
inline void
demean (pcl::PointXYZHSV& p, float value) const
{
p.v -= value;
}
inline void
add (pcl::PointXYZHSV& p, float value) const
{
p.v += value;
}
};
template<>
struct IntensityFieldAccessor<pcl::PointXYZL>
{
inline float
operator () (const pcl::PointXYZL &p) const
{
return (static_cast<float>(p.label));
}
inline void
get (const pcl::PointXYZL &p, float &intensity) const
{
intensity = static_cast<float>(p.label);
}
inline void
set (pcl::PointXYZL &p, float intensity) const
{
p.label = static_cast<std::uint32_t>(intensity);
}
inline void
demean (pcl::PointXYZL& p, float value) const
{
p.label -= static_cast<std::uint32_t>(value);
}
inline void
add (pcl::PointXYZL& p, float value) const
{
p.label += static_cast<std::uint32_t>(value);
}
};
template<>
struct IntensityFieldAccessor<pcl::PointXYZLNormal>
{
inline float
operator () (const pcl::PointXYZLNormal &p) const
{
return (static_cast<float>(p.label));
}
inline void
get (const pcl::PointXYZLNormal &p, float &intensity) const
{
intensity = static_cast<float>(p.label);
}
inline void
set (pcl::PointXYZLNormal &p, float intensity) const
{
p.label = static_cast<std::uint32_t>(intensity);
}
inline void
demean (pcl::PointXYZLNormal& p, float value) const
{
p.label -= static_cast<std::uint32_t>(value);
}
inline void
add (pcl::PointXYZLNormal& p, float value) const
{
p.label += static_cast<std::uint32_t>(value);
}
};
template<>
struct IntensityFieldAccessor<pcl::InterestPoint>
{
inline float
operator () (const pcl::InterestPoint &p) const
{
return (p.strength);
}
inline void
get (const pcl::InterestPoint &p, float &intensity) const
{
intensity = p.strength;
}
inline void
set (pcl::InterestPoint &p, float intensity) const
{
p.strength = intensity;
}
inline void
demean (pcl::InterestPoint& p, float value) const
{
p.strength -= value;
}
inline void
add (pcl::InterestPoint& p, float value) const
{
p.strength += value;
}
};
template<>
struct IntensityFieldAccessor<pcl::PointWithRange>
{
inline float
operator () (const pcl::PointWithRange &p) const
{
return (p.range);
}
inline void
get (const pcl::PointWithRange &p, float &intensity) const
{
intensity = p.range;
}
inline void
set (pcl::PointWithRange &p, float intensity) const
{
p.range = intensity;
}
inline void
demean (pcl::PointWithRange& p, float value) const
{
p.range -= value;
}
inline void
add (pcl::PointWithRange& p, float value) const
{
p.range += value;
}
};
template<>
struct IntensityFieldAccessor<pcl::PointWithScale>
{
inline float
operator () (const pcl::PointWithScale &p) const
{
return (p.scale);
}
inline void
get (const pcl::PointWithScale &p, float &intensity) const
{
intensity = p.scale;
}
inline void
set (pcl::PointWithScale &p, float intensity) const
{
p.scale = intensity;
}
inline void
demean (pcl::PointWithScale& p, float value) const
{
p.scale -= value;
}
inline void
add (pcl::PointWithScale& p, float value) const
{
p.scale += value;
}
};
template<>
struct IntensityFieldAccessor<pcl::PointWithViewpoint>
{
inline float
operator () (const pcl::PointWithViewpoint &p) const
{
return (p.z);
}
inline void
get (const pcl::PointWithViewpoint &p, float &intensity) const
{
intensity = p.z;
}
inline void
set (pcl::PointWithViewpoint &p, float intensity) const
{
p.z = intensity;
}
inline void
demean (pcl::PointWithViewpoint& p, float value) const
{
p.z -= value;
}
inline void
add (pcl::PointWithViewpoint& p, float value) const
{
p.z += value;
}
};
template<>
struct IntensityFieldAccessor<pcl::PointSurfel>
{
inline float
operator () (const pcl::PointSurfel &p) const
{
return (p.curvature);
}
inline void
get (const pcl::PointSurfel &p, float &intensity) const
{
intensity = p.curvature;
}
inline void
set (pcl::PointSurfel &p, float intensity) const
{
p.curvature = intensity;
}
inline void
demean (pcl::PointSurfel& p, float value) const
{
p.curvature -= value;
}
inline void
add (pcl::PointSurfel& p, float value) const
{
p.curvature += value;
}
};
}
}
point_types.h
Defines all the PCL implemented PointT point type structures.
pcl::common
Definition generate.h:50
pcl
Definition convolution.h:46
pcl::_PointNormal::curvature
float curvature
Definition point_types.hpp:838
pcl::_PointSurfel::curvature
float curvature
Definition point_types.hpp:1655
pcl::_PointWithRange::range
float range
Definition point_types.hpp:1046
pcl::_PointWithScale::scale
float scale
Diameter of the meaningful keypoint neighborhood.
Definition point_types.hpp:1611
pcl::_PointXYZHSV::v
float v
Definition point_types.hpp:682
pcl::_PointXYZHSV::s
float s
Definition point_types.hpp:681
pcl::_PointXYZLAB::L
float L
Definition point_types.hpp:645
pcl::_PointXYZL::label
PCL_ADD_POINT4D std::uint32_t label
Definition point_types.hpp:471
pcl::_PointXYZLNormal::label
std::uint32_t label
Definition point_types.hpp:1002
pcl::InterestPoint
A point structure representing an interest point with Euclidean xyz coordinates, and an interest valu...
Definition point_types.hpp:760
pcl::InterestPoint::strength
float strength
Definition point_types.hpp:766
pcl::PointNormal
A point structure representing Euclidean xyz coordinates, together with normal coordinates and the su...
Definition point_types.hpp:850
pcl::PointSurfel
A surfel, that is, a point structure representing Euclidean xyz coordinates, together with normal coo...
Definition point_types.hpp:1668
pcl::PointWithRange
A point structure representing Euclidean xyz coordinates, padded with an extra range float.
Definition point_types.hpp:1058
pcl::PointWithScale
A point structure representing a 3-D position and scale.
Definition point_types.hpp:1630
pcl::PointWithViewpoint
A point structure representing Euclidean xyz coordinates together with the viewpoint from which it wa...
Definition point_types.hpp:1091
pcl::PointXYZHSV
Definition point_types.hpp:691
pcl::PointXYZ
A point structure representing Euclidean xyz coordinates.
Definition point_types.hpp:322
pcl::PointXYZLAB
A point structure representing Euclidean xyz coordinates, and the CIELAB color.
Definition point_types.hpp:659
pcl::PointXYZL
Definition point_types.hpp:477
pcl::PointXYZLNormal
A point structure representing Euclidean xyz coordinates, a label, together with normal coordinates a...
Definition point_types.hpp:1015
pcl::PointXYZRGBA
A point structure representing Euclidean xyz coordinates, and the RGBA color.
Definition point_types.hpp:528
pcl::PointXYZRGB
A point structure representing Euclidean xyz coordinates, and the RGB color.
Definition point_types.hpp:594
pcl::PointXYZRGBL
Definition point_types.hpp:616
pcl::PointXYZRGBNormal
A point structure representing Euclidean xyz coordinates, and the RGB color, together with normal coo...
Definition point_types.hpp:913
pcl::common::IntensityFieldAccessor< pcl::InterestPoint >::get
void get(const pcl::InterestPoint &p, float &intensity) const
Definition intensity.hpp:428
pcl::common::IntensityFieldAccessor< pcl::InterestPoint >::demean
void demean(pcl::InterestPoint &p, float value) const
Definition intensity.hpp:440
pcl::common::IntensityFieldAccessor< pcl::InterestPoint >::set
void set(pcl::InterestPoint &p, float intensity) const
Definition intensity.hpp:434
pcl::common::IntensityFieldAccessor< pcl::InterestPoint >::add
void add(pcl::InterestPoint &p, float value) const
Definition intensity.hpp:446
pcl::common::IntensityFieldAccessor< pcl::PointNormal >::add
void add(pcl::PointNormal &p, float value) const
Definition intensity.hpp:79
pcl::common::IntensityFieldAccessor< pcl::PointNormal >::demean
void demean(pcl::PointNormal &p, float value) const
Definition intensity.hpp:73
pcl::common::IntensityFieldAccessor< pcl::PointNormal >::set
void set(pcl::PointNormal &p, float intensity) const
Definition intensity.hpp:67
pcl::common::IntensityFieldAccessor< pcl::PointNormal >::get
void get(const pcl::PointNormal &p, float &intensity) const
Definition intensity.hpp:61
pcl::common::IntensityFieldAccessor< pcl::PointSurfel >::set
void set(pcl::PointSurfel &p, float intensity) const
Definition intensity.hpp:570
pcl::common::IntensityFieldAccessor< pcl::PointSurfel >::get
void get(const pcl::PointSurfel &p, float &intensity) const
Definition intensity.hpp:564
pcl::common::IntensityFieldAccessor< pcl::PointSurfel >::demean
void demean(pcl::PointSurfel &p, float value) const
Definition intensity.hpp:576
pcl::common::IntensityFieldAccessor< pcl::PointSurfel >::add
void add(pcl::PointSurfel &p, float value) const
Definition intensity.hpp:582
pcl::common::IntensityFieldAccessor< pcl::PointWithRange >::demean
void demean(pcl::PointWithRange &p, float value) const
Definition intensity.hpp:474
pcl::common::IntensityFieldAccessor< pcl::PointWithRange >::add
void add(pcl::PointWithRange &p, float value) const
Definition intensity.hpp:480
pcl::common::IntensityFieldAccessor< pcl::PointWithRange >::get
void get(const pcl::PointWithRange &p, float &intensity) const
Definition intensity.hpp:462
pcl::common::IntensityFieldAccessor< pcl::PointWithRange >::set
void set(pcl::PointWithRange &p, float intensity) const
Definition intensity.hpp:468
pcl::common::IntensityFieldAccessor< pcl::PointWithScale >::get
void get(const pcl::PointWithScale &p, float &intensity) const
Definition intensity.hpp:496
pcl::common::IntensityFieldAccessor< pcl::PointWithScale >::demean
void demean(pcl::PointWithScale &p, float value) const
Definition intensity.hpp:508
pcl::common::IntensityFieldAccessor< pcl::PointWithScale >::add
void add(pcl::PointWithScale &p, float value) const
Definition intensity.hpp:514
pcl::common::IntensityFieldAccessor< pcl::PointWithScale >::set
void set(pcl::PointWithScale &p, float intensity) const
Definition intensity.hpp:502
pcl::common::IntensityFieldAccessor< pcl::PointWithViewpoint >::add
void add(pcl::PointWithViewpoint &p, float value) const
Definition intensity.hpp:548
pcl::common::IntensityFieldAccessor< pcl::PointWithViewpoint >::demean
void demean(pcl::PointWithViewpoint &p, float value) const
Definition intensity.hpp:542
pcl::common::IntensityFieldAccessor< pcl::PointWithViewpoint >::set
void set(pcl::PointWithViewpoint &p, float intensity) const
Definition intensity.hpp:536
pcl::common::IntensityFieldAccessor< pcl::PointWithViewpoint >::get
void get(const pcl::PointWithViewpoint &p, float &intensity) const
Definition intensity.hpp:530
pcl::common::IntensityFieldAccessor< pcl::PointXYZ >::demean
void demean(pcl::PointXYZ &p, float value) const
Definition intensity.hpp:107
pcl::common::IntensityFieldAccessor< pcl::PointXYZ >::set
void set(pcl::PointXYZ &p, float intensity) const
Definition intensity.hpp:101
pcl::common::IntensityFieldAccessor< pcl::PointXYZ >::get
void get(const pcl::PointXYZ &p, float &intensity) const
Definition intensity.hpp:95
pcl::common::IntensityFieldAccessor< pcl::PointXYZ >::add
void add(pcl::PointXYZ &p, float value) const
Definition intensity.hpp:113
pcl::common::IntensityFieldAccessor< pcl::PointXYZHSV >::get
void get(const pcl::PointXYZHSV &p, float &intensity) const
Definition intensity.hpp:323
pcl::common::IntensityFieldAccessor< pcl::PointXYZHSV >::set
void set(pcl::PointXYZHSV &p, float intensity) const
Definition intensity.hpp:329
pcl::common::IntensityFieldAccessor< pcl::PointXYZHSV >::demean
void demean(pcl::PointXYZHSV &p, float value) const
Definition intensity.hpp:336
pcl::common::IntensityFieldAccessor< pcl::PointXYZHSV >::add
void add(pcl::PointXYZHSV &p, float value) const
Definition intensity.hpp:342
pcl::common::IntensityFieldAccessor< pcl::PointXYZL >::get
void get(const pcl::PointXYZL &p, float &intensity) const
Definition intensity.hpp:358
pcl::common::IntensityFieldAccessor< pcl::PointXYZL >::demean
void demean(pcl::PointXYZL &p, float value) const
Definition intensity.hpp:371
pcl::common::IntensityFieldAccessor< pcl::PointXYZL >::set
void set(pcl::PointXYZL &p, float intensity) const
Definition intensity.hpp:364
pcl::common::IntensityFieldAccessor< pcl::PointXYZL >::add
void add(pcl::PointXYZL &p, float value) const
Definition intensity.hpp:377
pcl::common::IntensityFieldAccessor< pcl::PointXYZLAB >::get
void get(const pcl::PointXYZLAB &p, float &intensity) const
Definition intensity.hpp:289
pcl::common::IntensityFieldAccessor< pcl::PointXYZLAB >::add
void add(pcl::PointXYZLAB &p, float value) const
Definition intensity.hpp:307
pcl::common::IntensityFieldAccessor< pcl::PointXYZLAB >::set
void set(pcl::PointXYZLAB &p, float intensity) const
Definition intensity.hpp:295
pcl::common::IntensityFieldAccessor< pcl::PointXYZLAB >::demean
void demean(pcl::PointXYZLAB &p, float value) const
Definition intensity.hpp:301
pcl::common::IntensityFieldAccessor< pcl::PointXYZLNormal >::get
void get(const pcl::PointXYZLNormal &p, float &intensity) const
Definition intensity.hpp:393
pcl::common::IntensityFieldAccessor< pcl::PointXYZLNormal >::demean
void demean(pcl::PointXYZLNormal &p, float value) const
Definition intensity.hpp:406
pcl::common::IntensityFieldAccessor< pcl::PointXYZLNormal >::set
void set(pcl::PointXYZLNormal &p, float intensity) const
Definition intensity.hpp:399
pcl::common::IntensityFieldAccessor< pcl::PointXYZLNormal >::add
void add(pcl::PointXYZLNormal &p, float value) const
Definition intensity.hpp:412
pcl::common::IntensityFieldAccessor< pcl::PointXYZRGB >::demean
void demean(pcl::PointXYZRGB &p, float value) const
Definition intensity.hpp:143
pcl::common::IntensityFieldAccessor< pcl::PointXYZRGB >::set
void set(pcl::PointXYZRGB &p, float intensity) const
Definition intensity.hpp:135
pcl::common::IntensityFieldAccessor< pcl::PointXYZRGB >::add
void add(pcl::PointXYZRGB &p, float value) const
Definition intensity.hpp:151
pcl::common::IntensityFieldAccessor< pcl::PointXYZRGB >::get
void get(const pcl::PointXYZRGB &p, float &intensity) const
Definition intensity.hpp:129
pcl::common::IntensityFieldAccessor< pcl::PointXYZRGBA >::add
void add(pcl::PointXYZRGBA &p, float value) const
Definition intensity.hpp:191
pcl::common::IntensityFieldAccessor< pcl::PointXYZRGBA >::set
void set(pcl::PointXYZRGBA &p, float intensity) const
Definition intensity.hpp:175
pcl::common::IntensityFieldAccessor< pcl::PointXYZRGBA >::get
void get(const pcl::PointXYZRGBA &p, float &intensity) const
Definition intensity.hpp:169
pcl::common::IntensityFieldAccessor< pcl::PointXYZRGBA >::demean
void demean(pcl::PointXYZRGBA &p, float value) const
Definition intensity.hpp:183
pcl::common::IntensityFieldAccessor< pcl::PointXYZRGBL >::get
void get(const pcl::PointXYZRGBL &p, float &intensity) const
Definition intensity.hpp:249
pcl::common::IntensityFieldAccessor< pcl::PointXYZRGBL >::add
void add(pcl::PointXYZRGBL &p, float value) const
Definition intensity.hpp:271
pcl::common::IntensityFieldAccessor< pcl::PointXYZRGBL >::demean
void demean(pcl::PointXYZRGBL &p, float value) const
Definition intensity.hpp:263
pcl::common::IntensityFieldAccessor< pcl::PointXYZRGBL >::set
void set(pcl::PointXYZRGBL &p, float intensity) const
Definition intensity.hpp:255
pcl::common::IntensityFieldAccessor< pcl::PointXYZRGBNormal >::get
void get(const pcl::PointXYZRGBNormal &p, float &intensity) const
Definition intensity.hpp:209
pcl::common::IntensityFieldAccessor< pcl::PointXYZRGBNormal >::set
void set(pcl::PointXYZRGBNormal &p, float intensity) const
Definition intensity.hpp:215
pcl::common::IntensityFieldAccessor< pcl::PointXYZRGBNormal >::add
void add(pcl::PointXYZRGBNormal &p, float value) const
Definition intensity.hpp:231
pcl::common::IntensityFieldAccessor< pcl::PointXYZRGBNormal >::demean
void demean(pcl::PointXYZRGBNormal &p, float value) const
Definition intensity.hpp:223
pcl::common::IntensityFieldAccessor
Definition intensity.h:51
pcl::common::IntensityFieldAccessor::operator()
float operator()(const PointT &p) const
get intensity field
Definition intensity.h:57
pcl::common::IntensityFieldAccessor::set
void set(PointT &p, float intensity) const
sets the intensity value of a point
Definition intensity.h:75