LSST Applications g04a91732dc+7fec47d7bc,g07dc498a13+5ab4d22ec3,g0fba68d861+565de8e5d5,g1409bbee79+5ab4d22ec3,g1a7e361dbc+5ab4d22ec3,g1fd858c14a+11200c7927,g20f46db602+25d63fd678,g35bb328faa+fcb1d3bbc8,g4d2262a081+61302e889d,g4d39ba7253+d05e267ece,g4e0f332c67+5d362be553,g53246c7159+fcb1d3bbc8,g60b5630c4e+d05e267ece,g78460c75b0+2f9a1b4bcd,g786e29fd12+cf7ec2a62a,g7b71ed6315+fcb1d3bbc8,g8048e755c2+a1301e4c20,g8852436030+163ceb82d8,g89139ef638+5ab4d22ec3,g89e1512fd8+fbb808ebce,g8d6b6b353c+d05e267ece,g9125e01d80+fcb1d3bbc8,g989de1cb63+5ab4d22ec3,g9f33ca652e+8abe617c77,ga9baa6287d+d05e267ece,gaaedd4e678+5ab4d22ec3,gabe3b4be73+1e0a283bba,gb1101e3267+fefe9ce5b1,gb58c049af0+f03b321e39,gb90eeb9370+824c420ec4,gc741bbaa4f+77ddc33078,gcf25f946ba+163ceb82d8,gd315a588df+0f88d5218e,gd6cbbdb0b4+c8606af20c,gd9a9a58781+fcb1d3bbc8,gde0f65d7ad+e6bd566e97,ge278dab8ac+932305ba37,ge82c20c137+76d20ab76d,w.2025.10
LSST Data Management Base Package
|
#include <cmath>
#include <functional>
#include <iostream>
#include <type_traits>
#include "lsst/cpputils/hashCombine.h"
Go to the source code of this file.
Namespaces | |
namespace | lsst |
namespace | lsst::afw |
namespace | lsst::afw::image |
namespace | lsst::afw::image::pixel |
namespace | std |
STL namespace. | |
Typedefs | |
template<typename T1, typename T2> | |
using | lsst::afw::image::pixel::valid_operands = std::enable_if_t<valid_binary_operands<T1, T2>> |
Functions | |
template<typename ImagePixelT, typename MaskPixelT, typename VariancePixelT> | |
SinglePixel< ImagePixelT, MaskPixelT, VariancePixelT > | lsst::afw::image::pixel::makeSinglePixel (ImagePixelT x, MaskPixelT m, VariancePixelT v) |
Return a SinglePixel. | |
template<typename ExprT1> | |
auto | lsst::afw::image::pixel::operator- (ExprT1 e1) |
Template for -e1. | |
template<typename ExprT1, typename ExprT2, typename = valid_operands<ExprT1, ExprT2>> | |
auto | lsst::afw::image::pixel::operator+ (ExprT1 e1, ExprT2 e2) |
template<typename ExprT1, typename ExprT2, typename = valid_operands<ExprT1, ExprT2>> | |
ExprT1 & | lsst::afw::image::pixel::operator+= (ExprT1 &e1, ExprT2 const &e2) |
template for e1 += e2 | |
template<typename ExprT1, typename ExprT2, typename = valid_operands<ExprT1, ExprT2>> | |
ExprT1 | lsst::afw::image::pixel::plus (ExprT1 &lhs, ExprT2 const &rhs, float covariance) |
Like operator+(), but assume that covariance's 2*alpha*sqrt(vx*vy) | |
template<typename ExprT1, typename ExprT2, typename = valid_operands<ExprT1, ExprT2>> | |
BinaryExpr< ExprT1, ExprT2, std::minus< typename exprTraits< ExprT1 >::ImagePixelT >, bitwise_or< typename exprTraits< ExprT1 >::MaskPixelT >, variance_plus< typename exprTraits< ExprT1 >::VariancePixelT > > | lsst::afw::image::pixel::operator- (ExprT1 e1, ExprT2 e2) |
Template to evaluate (e1 - e2) | |
template<typename ExprT1, typename ExprT2, typename = valid_operands<ExprT1, ExprT2>> | |
ExprT1 | lsst::afw::image::pixel::operator-= (ExprT1 &e1, ExprT2 e2) |
Template to evaluate e1 -= e2. | |
template<typename ExprT1, typename ExprT2, typename = valid_operands<ExprT1, ExprT2>> | |
BinaryExpr< ExprT1, ExprT2, std::multiplies< typename exprTraits< ExprT1 >::ImagePixelT >, bitwise_or< typename exprTraits< ExprT1 >::MaskPixelT >, variance_multiplies< typename exprTraits< ExprT1 >::VariancePixelT > > | lsst::afw::image::pixel::operator* (ExprT1 e1, ExprT2 e2) |
Template to evaluate (e1 * e2) | |
template<typename ExprT1, typename ExprT2, typename = valid_operands<ExprT1, ExprT2>> | |
ExprT1 | lsst::afw::image::pixel::operator*= (ExprT1 &e1, ExprT2 e2) |
Template to evaluate e1 *= e2. | |
template<typename ExprT1, typename ExprT2, typename = valid_operands<ExprT1, ExprT2>> | |
BinaryExpr< ExprT1, ExprT2, std::divides< typename exprTraits< ExprT1 >::ImagePixelT >, bitwise_or< typename exprTraits< ExprT1 >::MaskPixelT >, variance_divides< typename exprTraits< ExprT1 >::VariancePixelT > > | lsst::afw::image::pixel::operator/ (ExprT1 e1, ExprT2 e2) |
Template to evaluate (e1 / e2) | |
template<typename ExprT1, typename ExprT2, typename = valid_operands<ExprT1, ExprT2>> | |
ExprT1 | lsst::afw::image::pixel::operator/= (ExprT1 &e1, ExprT2 e2) |
Template to evaluate e1 /= e2. | |
template<typename ImagePixelT, typename MaskPixelT, typename VariancePixelT> | |
std::ostream & | lsst::afw::image::pixel::operator<< (std::ostream &os, SinglePixel< ImagePixelT, MaskPixelT, VariancePixelT > const &v) |
Print a SinglePixel. | |
template<typename ImagePixelT, typename MaskPixelT, typename VariancePixelT> | |
std::ostream & | lsst::afw::image::pixel::operator<< (std::ostream &os, Pixel< ImagePixelT, MaskPixelT, VariancePixelT > const &v) |
Print a Pixel. | |
template<typename ExprT1, typename ExprT2, typename BinOp, typename MaskBinOp, typename VarBinOp> | |
std::ostream & | lsst::afw::image::pixel::operator<< (std::ostream &os, BinaryExpr< ExprT1, ExprT2, BinOp, MaskBinOp, VarBinOp > const &v) |
Evaluate and print a BinaryExpr. | |
Variables | |
template<typename T> | |
constexpr bool | lsst::afw::image::pixel::is_valid_operand |
template<typename T1, typename T2> | |
constexpr bool | lsst::afw::image::pixel::valid_binary_operands = is_valid_operand<T1> && is_valid_operand<T2> |