libcrn
3.9.5
A document image processing library
Main Page
Related Pages
Modules
Namespaces
Classes
Files
File List
File Members
All
Classes
Namespaces
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Friends
Macros
Groups
Pages
src
libcrn
CRNImage
CRNImageFormats.h
Go to the documentation of this file.
1
/* Copyright 2015 INSA-Lyon
2
*
3
* This file is part of libcrn.
4
*
5
* libcrn is free software: you can redistribute it and/or modify
6
* it under the terms of the GNU Lesser General Public License as published by
7
* the Free Software Foundation, either version 3 of the License, or
8
* (at your option) any later version.
9
*
10
* libcrn is distributed in the hope that it will be useful,
11
* but WITHOUT ANY WARRANTY; without even the implied warranty of
12
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
13
* GNU Lesser General Public License for more details.
14
*
15
* You should have received a copy of the GNU Lesser General Public License
16
* along with libcrn. If not, see <http://www.gnu.org/licenses/>.
17
*
18
* file: CRNImageFormats.h
19
* \author Yann LEYDIER
20
*/
21
22
#ifndef CRNIMAGEFORMATS_HEADER
23
#define CRNIMAGEFORMATS_HEADER
24
25
#include <
CRNImage/CRNPixel.h
>
26
27
namespace
crn
28
{
29
template
<
typename
T>
class
Image;
30
34
/****************************************************************************/
45
using
ImageBW
=
Image<pixel::BW>
;
46
CRN_ALIAS_SMART_PTR
(
ImageBW
);
47
48
/****************************************************************************/
59
using
ImageGray
=
Image<uint8_t>
;
60
CRN_ALIAS_SMART_PTR
(
ImageGray
);
61
62
/****************************************************************************/
73
using
ImageIntGray
=
Image<int>
;
74
CRN_ALIAS_SMART_PTR
(
ImageIntGray
);
75
76
/****************************************************************************/
87
using
ImageDoubleGray
=
Image<double>
;
88
CRN_ALIAS_SMART_PTR
(
ImageDoubleGray
);
89
90
/****************************************************************************/
101
using
ImageRGB
=
Image<pixel::RGB<uint8_t>
>;
102
CRN_ALIAS_SMART_PTR
(
ImageRGB
)
103
104
/****************************************************************************/
115
using
ImageIntRGB
=
Image
<pixel::
RGB
<
int
>>;
116
CRN_ALIAS_SMART_PTR
(
ImageIntRGB
)
117
118
/****************************************************************************/
129
using
ImageHSV
=
Image
<pixel::HSV>;
130
CRN_ALIAS_SMART_PTR
(
ImageHSV
)
131
132
/****************************************************************************/
143
using
ImageYUV
=
Image
<pixel::YUV>;
144
CRN_ALIAS_SMART_PTR
(
ImageYUV
)
145
146
/****************************************************************************/
156
using
Image2DIntVector
=
Image
<pixel::Cart2D<
int
>>;
157
CRN_ALIAS_SMART_PTR
(
Image2DIntVector
);
158
159
/****************************************************************************/
169
using
Image2DIntPolarVector
=
Image
<pixel::Polar2D<
unsigned
int
,
Angle
<
ByteAngle
>>>;
170
CRN_ALIAS_SMART_PTR
(
Image2DIntPolarVector
);
171
172
/****************************************************************************/
183
using
ImageAngle
=
Image
<typename ByteAngle::type>;
184
CRN_ALIAS_SMART_PTR
(
ImageAngle
);
185
186
/****************************************************************************/
196
using
ImageXYZ
=
Image
<pixel::XYZ>;
197
CRN_ALIAS_SMART_PTR
(
ImageXYZ
);
198
199
/****************************************************************************/
210
using
ImageLab
=
Image
<pixel::Lab>;
211
CRN_ALIAS_SMART_PTR
(
ImageLab
);
212
213
/****************************************************************************/
224
using
ImageLuv
=
Image
<pixel::Luv>;
225
CRN_ALIAS_SMART_PTR
(
ImageLuv
);
226
227
}
228
229
#endif
crn::Image< pixel::BW >
CRNPixel.h
crn::Angle
A convenience class for angles units.
Definition:
CRNTrigonometry.h:139
crn::ByteAngle
BYTE angle unit.
Definition:
CRNTrigonometry.h:50
RGB
Definition:
CRNImage.cpp:62
crn::CRN_ALIAS_SMART_PTR
CRN_ALIAS_SMART_PTR(ImageBW)
Generated on Thu Sep 7 2017 13:54:25 for libcrn by
1.8.6