|
The blo Library
|
Photometry functions. More...
#include "defs.h"Namespaces | |
| namespace | blo |
| The blo library. | |
Functions | |
| template<size_t C, typename T , typename V > | |
| void | blo::calcNormalsAlbedo (const T *const *ppSrcImages, const int *pSrcImagesStep, const SmallMatrix< V, 3, 1 > *pSrcLightSources, int count, SmallMatrix< V, 3, 1 > *pDstNormals, int dstNormalsStep, T *pDstAlbedo, int dstAlbedoStep, int roiWidth, int roiHeight) |
| Calculates the Lambertian surface normals and albedo. | |
| BLO_EXPIMP_TEMPLATE template BLO_API void | blo::calcNormalsAlbedo< 1, float, float > (const float *const *ppSrcImages, const int *pSrcImagesStep, const SmallMatrix< float, 3, 1 > *pSrcLightSources, int count, SmallMatrix< float, 3, 1 > *pDstNormals, int dstNormalsStep, float *pDstAlbedo, int dstAlbedoStep, int roiWidth, int roiHeight) |
| BLO_EXPIMP_TEMPLATE template BLO_API void | blo::calcNormalsAlbedo< 1, float, double > (const float *const *ppSrcImages, const int *pSrcImagesStep, const SmallMatrix< double, 3, 1 > *pSrcLightSources, int count, SmallMatrix< double, 3, 1 > *pDstNormals, int dstNormalsStep, float *pDstAlbedo, int dstAlbedoStep, int roiWidth, int roiHeight) |
| BLO_EXPIMP_TEMPLATE template BLO_API void | blo::calcNormalsAlbedo< 2, float, float > (const float *const *ppSrcImages, const int *pSrcImagesStep, const SmallMatrix< float, 3, 1 > *pSrcLightSources, int count, SmallMatrix< float, 3, 1 > *pDstNormals, int dstNormalsStep, float *pDstAlbedo, int dstAlbedoStep, int roiWidth, int roiHeight) |
| BLO_EXPIMP_TEMPLATE template BLO_API void | blo::calcNormalsAlbedo< 2, float, double > (const float *const *ppSrcImages, const int *pSrcImagesStep, const SmallMatrix< double, 3, 1 > *pSrcLightSources, int count, SmallMatrix< double, 3, 1 > *pDstNormals, int dstNormalsStep, float *pDstAlbedo, int dstAlbedoStep, int roiWidth, int roiHeight) |
| BLO_EXPIMP_TEMPLATE template BLO_API void | blo::calcNormalsAlbedo< 3, float, float > (const float *const *ppSrcImages, const int *pSrcImagesStep, const SmallMatrix< float, 3, 1 > *pSrcLightSources, int count, SmallMatrix< float, 3, 1 > *pDstNormals, int dstNormalsStep, float *pDstAlbedo, int dstAlbedoStep, int roiWidth, int roiHeight) |
| BLO_EXPIMP_TEMPLATE template BLO_API void | blo::calcNormalsAlbedo< 3, float, double > (const float *const *ppSrcImages, const int *pSrcImagesStep, const SmallMatrix< double, 3, 1 > *pSrcLightSources, int count, SmallMatrix< double, 3, 1 > *pDstNormals, int dstNormalsStep, float *pDstAlbedo, int dstAlbedoStep, int roiWidth, int roiHeight) |
| BLO_API const SmallMatrix< float, 1, 3 > | blo::transformationVectorRGBToDiffuse (float red1, float green1, float blue1, float red2, float green2, float blue2) |
| Calculate the linear RGB to diffuse transformation vector. | |
| BLO_API const SmallMatrix< float, 3, 3 > | blo::rotationMatrixRGBToSUV (float red, float green, float blue) |
| Calculate a color space rotation matrix from linear RGB to SUV. | |
| BLO_API void | blo::SUVToS_UV (const float *pSrc, int srcStep, float *pDstS, int dstSStep, float *pDstUV, int dstUVStep, int roiWidth, int roiHeight) |
| Copies pixel values in an SUV image to S and UV images. | |
| BLO_API void | blo::SUVDiffuse_C3C1 (const float *pSrc, int srcStep, float *pDstS, int dstSStep, float *pDstDiffuse, int dstDiffuseStep, int roiWidth, int roiHeight) |
| Calculates the diffuse image from an SUV image. | |
Photometry functions.