C++ Boost


STD extension

Supported Types:

  1. std::vector (1D)

  2. std::map (1D)

  3. std::unordered_map (1D)

  4. std::array (1D)

Usage

  1. fill_histogram()

    // Demo for std::vector
    std::vector<int> v;
    gil::gray8_image_t img;
    /*
    Fill image ...
    */
    gil::fill_histogram(view(img), v, false);
    
  2. cumulative_histogram()

    // Demo for std::vector
    std::vector<int> v;
    /*
    Fill vector...
    */
    gil::cumulative_histogram(v);