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
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:43
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:69
float compute_otsu_threshold(const ImageHistogram &histogram, float upper_limit)
Computes the Otsu threshold value of a given histogram.
Definition: image_utils.cpp:136
ImageHistogram create_image_histogram(const image::ImageView< float > &image, int num_bins)
Function to create an image histogram.
Definition: image_utils.cpp:90
Main namespace for Lagrange.
Definition: AABBIGL.h:30
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