Skip to content

Unify naming of channel_multiplies_t vs pixel_multiply_t #368

Closed
@mloskot

Description

The two are very similar multiplication operations, one for channels and one for pixels, but they are named differently, quite confusingly

template <typename Channel1, typename Channel2, typename ChannelResult>
struct channel_multiplies_t

vs

template <typename PixelRef1, // models pixel concept
typename PixelRef2, // models pixel concept
typename PixelR> // models pixel value concept
struct pixel_multiply_t {

Ideally, if the naming could be unified.


For example:

  1. Rename channel_multiplies_t to channel_multiply_t
  2. Alias channel_multiplies_t to the latter
  3. Mark the channel_multiplies_t as deprecated (compile warning)

UPDATE: See the naming discussion below.


@stefanseefeld thoughts?

Metadata

Assignees

No one assigned

    Labels

    cat/enhancementImprovements, but not fixes addressing identified bugsext/numericboost/gil/extension/numeric/

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions