/usr/include/ImageMagick-6/Magick++
NameSizeModeActions
Blob.h23110644editdlrm
ChannelMoments.h21690644editdlrm
CoderInfo.h16660644editdlrm
Color.h121690644editdlrm
Drawable.h669580644editdlrm
Exception.h118610644editdlrm
Functions.h11480644editdlrm
Geometry.h77040644editdlrm
Image.h664560644editdlrm
Include.h552710644editdlrm
Montage.h77120644editdlrm
Pixels.h39010644editdlrm
ResourceLimits.h25140644editdlrm
STL.h713980644editdlrm
TypeMetric.h13310644editdlrm
Edit: /usr/include/ImageMagick-6/Magick++/ChannelMoments.h (2169B)
// This may look like C code, but it is really -*- C++ -*- // // Copyright Dirk Lemstra 2014-2015 // // Definition of channel moments. // #if !defined (Magick_ChannelMoments_header) #define Magick_ChannelMoments_header #include "Magick++/Include.h" #include namespace Magick { class Image; class MagickPPExport ChannelMoments { public: // Default constructor ChannelMoments(void); // Copy constructor ChannelMoments(const ChannelMoments &channelMoments_); // Destroy channel moments ~ChannelMoments(void); // // Implemementation methods // ChannelMoments(const ChannelType channel_, const MagickCore::ChannelMoments *channelMoments_); // X position of centroid double centroidX(void) const; // Y position of centroid double centroidY(void) const; // The channel ChannelType channel(void) const; // X position of ellipse axis double ellipseAxisX(void) const; // Y position of ellipse axis double ellipseAxisY(void) const; // Ellipse angle double ellipseAngle(void) const; // Ellipse eccentricity double ellipseEccentricity(void) const; // Ellipse intensity double ellipseIntensity(void) const; // Hu invariants (valid range for index is 0-7) double huInvariants(const size_t index_) const; private: std::vector _huInvariants; ChannelType _channel; double _centroidX; double _centroidY; double _ellipseAxisX; double _ellipseAxisY; double _ellipseAngle; double _ellipseEccentricity; double _ellipseIntensity; }; class MagickPPExport ImageMoments { public: // Default constructor ImageMoments(void); // Copy constructor ImageMoments(const ImageMoments &imageMoments_); // Destroy image moments ~ImageMoments(void); // Returns the moments for the specified channel ChannelMoments channel(const ChannelType channel_=CompositeChannels) const; // // Implemementation methods // ImageMoments(const Image &image_); private: std::vector _channels; }; } #endif // Magick_ChannelMoments_header