diff --git a/include/diplib/library/image_views.h b/include/diplib/library/image_views.h index 07e04103..cdd0579f 100644 --- a/include/diplib/library/image_views.h +++ b/include/diplib/library/image_views.h @@ -784,6 +784,7 @@ bool operator==( Image::Pixel const& lhs, T const& rhs ) { return operator==( lh /// \brief Comparison operator, equivalent to `!(lhs==rhs)`. /// \relates dip::Image::Pixel +DIP_EXPORT inline bool operator!=( Image::Pixel const& lhs, Image::Pixel const& rhs ) { return !( lhs == rhs ); } template< typename T, typename = std::enable_if_t< IsNumericType< T >::value >> bool operator!=( Image::Pixel const& lhs, T const& rhs ) { return !operator==( lhs, rhs ); }