image_f32.h
Go to the documentation of this file.
1 /* Copyright (C) 2013-2016, The Regents of The University of Michigan.
2 All rights reserved.
3 
4 This software was developed in the APRIL Robotics Lab under the
5 direction of Edwin Olson, ebolson@umich.edu. This software may be
6 available under alternative licensing terms; contact the address above.
7 
8 Redistribution and use in source and binary forms, with or without
9 modification, are permitted provided that the following conditions are met:
10 
11 1. Redistributions of source code must retain the above copyright notice, this
12  list of conditions and the following disclaimer.
13 2. Redistributions in binary form must reproduce the above copyright notice,
14  this list of conditions and the following disclaimer in the documentation
15  and/or other materials provided with the distribution.
16 
17 THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND
18 ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED
19 WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE
20 DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE LIABLE FOR
21 ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES
22 (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
23 LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND
24 ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
25 (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS
26 SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
27 
28 The views and conclusions contained in the software and documentation are those
29 of the authors and should not be interpreted as representing official policies,
30 either expressed or implied, of the Regents of The University of Michigan.
31 */
32 
33 #ifndef _IMAGE_F32
34 #define _IMAGE_F32
35 
36 #include <stdint.h>
37 #include "common/image_types.h"
38 
39 image_f32_t *image_f32_create(int width, int height);
40 
41 image_f32_t *image_f32_create_stride(int width, int height, int stride);
42 
44 
46 
47 void image_f32_gaussian_blur(image_f32_t *im, double sigma, int ksz);
48 
49 // remap all values to [0, 1]
51 
52 // image is assumed to be [0, 1]
53 int image_f32_write_pnm(const image_f32_t *im, const char *path);
54 
55 #endif
image_f32_t * image_f32_create_stride(int width, int height, int stride)
Definition: image_f32.c:50
void image_f32_gaussian_blur(image_f32_t *im, double sigma, int ksz)
Definition: image_f32.c:109
image_f32_t * image_f32_create(int width, int height)
Definition: image_f32.c:63
void image_f32_normalize(image_f32_t *im)
Definition: image_f32.c:153
int image_f32_write_pnm(const image_f32_t *im, const char *path)
Definition: image_f32.c:186
void image_f32_destroy(image_f32_t *im)
Definition: image_f32.c:83
image_f32_t * image_f32_create_from_u8(const image_u8_t *im)
Definition: image_f32.c:72


apriltags2
Author(s): Danylo Malyuta
autogenerated on Fri Oct 19 2018 04:02:32