14#include <lagrange/common.h>
15#include <lagrange/image/ImageView.h>
20float image_standard_deviation(
const image::ImageView<float>& image);
46 const image::ImageView<float>& image,
48 image::ImageView<float>& result);
58void normalize_max_image(
const image::ImageView<float>& image, image::ImageView<float>& result);
Definition ImageView.h:56
Basic image data structure.
void depth_to_disparity(const image::ImageView< float > &image, float vfov, image::ImageView< float > &result)
Converts a depth image to a disparity image.
Definition image_utils.cpp:44
void normalize_max_image(const image::ImageView< float > &image, image::ImageView< float > &result)
Normalizes an image in a way that the maximum value is 1.0.
Definition image_utils.cpp:71
float compute_otsu_threshold(const ImageHistogram &histogram, float upper_limit)
Computes the Otsu threshold value of a given histogram.
Definition image_utils.cpp:139
ImageHistogram create_image_histogram(const image::ImageView< float > &image, int num_bins)
Function to create an image histogram.
Definition image_utils.cpp:93
Main namespace for Lagrange.
A struct for storing an image histogram.
Definition image_utils.h:68
std::vector< float > boundaries
Boundaries of each bin.
Definition image_utils.h:70
std::vector< int > counts
Counts of each histogram bin.
Definition image_utils.h:69
float min_value
Minimum pixel value in the image.
Definition image_utils.h:71
float max_value
Maximum pixel value in the image.
Definition image_utils.h:72