MVE - Multi-View Environment mve-devel
Loading...
Searching...
No Matches
Namespaces | Functions
image_tools.cc File Reference
#include <algorithm>
#include "mve/camera.h"
#include "mve/image_tools.h"
Include dependency graph for image_tools.cc:

Go to the source code of this file.

Namespaces

namespace  mve
 Multi-View Environment library.
 
namespace  mve::image
 Image tools, loading and processing functions.
 

Functions

DoubleImage::Ptr mve::image::byte_to_double_image (ByteImage::ConstPtr image)
 Converts a given byte image to a double image.
 
FloatImage::Ptr mve::image::byte_to_float_image (ByteImage::ConstPtr image)
 Converts a given byte image to a float image.
 
ByteImage::Ptr mve::image::double_to_byte_image (DoubleImage::ConstPtr image, double vmin=0.0, double vmax=1.0)
 Converts a given double image to a byte image.
 
void mve::image::float_image_normalize (FloatImage::Ptr image)
 Normalizes a float image IN-PLACE such that all values are [0, 1].
 
ByteImage::Ptr mve::image::float_to_byte_image (FloatImage::ConstPtr image, float vmin=0.0f, float vmax=1.0f)
 Converts a given float image to a byte image.
 
void mve::image::gamma_correct (ByteImage::Ptr image, float power)
 Applies fast gamma correction to byte image using a lookup table.
 
ByteImage::Ptr mve::image::int_to_byte_image (IntImage::ConstPtr image)
 Convertes a given int image to a byte image.
 
ByteImage::Ptr mve::image::raw_to_byte_image (RawImage::ConstPtr image, uint16_t vmin=0, uint16_t vmax=65535)
 Converts a given raw image to a byte image.
 
FloatImage::Ptr mve::image::raw_to_float_image (RawImage::ConstPtr image)
 Converts a given raw image to a float image.