$extrastylesheet
Functions | |
template<typename I > | |
mln::trait::concrete< I >::ret | mln::subsampling::antialiased (const Image< I > &input, unsigned factor, const typename I::domain_t &output_domain, unsigned border_thickness) |
template<typename I > | |
mln::trait::concrete< I >::ret | mln::subsampling::antialiased (const Image< I > &input, unsigned factor) |
template<typename S > | |
box< typename S::site > | mln::geom::bbox (const Site_Set< S > &pset) |
template<typename I > | |
box< typename I::site > | mln::geom::bbox (const Image< I > &ima) |
template<typename W > | |
box< typename W::psite > | mln::geom::bbox (const Window< W > &win) |
template<typename W > | |
box< typename W::psite > | mln::geom::bbox (const Weighted_Window< W > &win) |
template<typename I , typename W > | |
mln::trait::ch_value< I, unsigned >::ret | mln::geom::chamfer (const Image< I > &input_, const W &w_win_, unsigned max=mln_max(unsigned)) |
template<typename I , typename B > | |
mln::trait::concrete< I >::ret | mln::geom::crop (const Image< I > &input, const Box< B > &b) |
template<typename I , typename B > | |
mln::trait::concrete< I >::ret | mln::geom::crop_without_localization (const Image< I > &input, const Box< B > &b_in, const Box< B > &b_out) |
template<typename W > | |
unsigned | mln::geom::delta (const Window< W > &win) |
template<typename W > | |
unsigned | mln::geom::delta (const Weighted_Window< W > &wwin) |
template<typename N > | |
unsigned | mln::geom::delta (const Neighborhood< N > &nbh) |
template<typename I > | |
mln::trait::concrete< I >::ret | mln::geom::horizontal_symmetry (const Image< I > &input) |
template<typename I > | |
I::site::coord | mln::geom::max_col (const Image< I > &ima) |
template<typename B > | |
B::site::coord | mln::geom::max_col (const Box< B > &b) |
template<typename I > | |
I::site::coord | mln::geom::max_ind (const Image< I > &ima) |
template<typename I > | |
I::site::coord | mln::geom::max_row (const Image< I > &ima) |
template<typename B > | |
B::site::coord | mln::geom::max_row (const Box< B > &b) |
template<typename I > | |
I::site::coord | mln::geom::max_sli (const Image< I > &ima) |
template<typename I > | |
I::site::coord | mln::geom::min_col (const Image< I > &ima) |
template<typename B > | |
B::site::coord | mln::geom::min_col (const Box< B > &b) |
template<typename I > | |
I::site::coord | mln::geom::min_ind (const Image< I > &ima) |
template<typename I > | |
I::site::coord | mln::geom::min_row (const Image< I > &ima) |
template<typename B > | |
B::site::coord | mln::geom::min_row (const Box< B > &b) |
template<typename I > | |
I::site::coord | mln::geom::min_sli (const Image< I > &ima) |
template<typename I > | |
unsigned | mln::geom::ncols (const Image< I > &ima) |
template<typename B > | |
unsigned | mln::geom::ncols (const Box< B > &b) |
template<typename I > | |
unsigned | mln::geom::ninds (const Image< I > &ima) |
template<typename I > | |
unsigned | mln::geom::nrows (const Image< I > &ima) |
template<typename B > | |
unsigned | mln::geom::nrows (const Box< B > &b) |
template<typename I > | |
unsigned | mln::geom::nsites (const Image< I > &input) |
template<typename I > | |
unsigned | mln::geom::nslis (const Image< I > &ima) |
template<typename S > | |
std::pair< typename S::site, typename S::site > | mln::geom::pmin_pmax (const Site_Set< S > &s) |
template<typename S > | |
void | mln::geom::pmin_pmax (const Site_Set< S > &s, typename S::site &pmin, typename S::site &pmax) |
template<typename I > | |
std::pair< typename I::site, typename I::site > | mln::geom::pmin_pmax (const Site_Iterator< I > &p) |
template<typename I > | |
void | mln::geom::pmin_pmax (const Site_Iterator< I > &p, typename I::site &pmin, typename I::site &pmax) |
template<typename I , typename Ext , typename S > | |
mln::trait::concrete< I >::ret | mln::geom::rotate (const Image< I > &input, double angle, const Ext &extension, const Site_Set< S > &output_domain) |
template<typename I , typename Ext > | |
mln::trait::concrete< I >::ret | mln::geom::rotate (const Image< I > &input, double angle, const Ext &extension) |
template<typename I > | |
mln::trait::concrete< I >::ret | mln::geom::rotate (const Image< I > &input, double angle) |
template<typename B > | |
B | mln::geom::rotate (const Box< B > &box_, double angle, const typename B::site &ref) |
template<typename B > | |
B | mln::geom::rotate (const Box< B > &box, double angle) |
template<typename I > | |
mln::trait::concrete< I >::ret | mln::upscaling::art::scale2x (const Image< I > &input) |
template<typename I > | |
mln::trait::concrete< I >::ret | mln::upscaling::art::scale3x (const Image< I > &input) |
template<typename I , typename N > | |
mln::trait::concrete< I >::ret | mln::geom::seeds2tiling (const Image< I > &ima_, const Neighborhood< N > &nbh) |
template<typename I , typename N > | |
I | mln::geom::seeds2tiling_roundness (Image< I > &ima_, const w_window2d_int &w_win, unsigned max, const Neighborhood< N > &nbh_) |
template<typename I > | |
mln::trait::ch_value< I, bool > ::ret | mln::binarization::threshold (const Image< I > &input, const typename I::value threshold) |
template<typename I , typename V , typename Ext , typename S > | |
mln::trait::concrete< I >::ret | mln::geom::translate (const Image< I > &input, const algebra::vec< I::site::dim, V > &ref, const Ext &extension, const Site_Set< S > &output_domain) |
template<typename I , typename V , typename Ext > | |
mln::trait::concrete< I >::ret | mln::geom::translate (const Image< I > &input, const algebra::vec< I::site::dim, V > &ref, const Ext &extension) |
template<typename I , typename V > | |
mln::trait::concrete< I >::ret | mln::geom::translate (const Image< I > &input, const algebra::vec< I::site::dim, V > &ref) |
template<typename I > | |
mln::trait::concrete< I >::ret | mln::geom::vertical_symmetry (const Image< I > &input) |
All routines related to Image Geometry.
|
inline |
Antialiased subsampling.
[in] | input | A gray-level image. |
[in] | factor | Subsampling ratio. Must be divisible by 2 or 3. |
[in] | output_domain | Force output domain. |
[in] | border_thickness | Force output border thickness. |
mln::trait::concrete< I >::ret mln::subsampling::antialiased | ( | const Image< I > & | input, |
unsigned | factor | ||
) |
This is an overloaded member function, provided for convenience. It differs from the above function only in what argument(s) it accepts.
box<typename S ::site> mln::geom::bbox | ( | const Site_Set< S > & | pset | ) |
Compute the precise bounding box of a point set pset
.
box<typename I ::site> mln::geom::bbox | ( | const Image< I > & | ima | ) |
Compute the precise bounding box of a point set pset
.
box<typename W ::psite> mln::geom::bbox | ( | const Window< W > & | win | ) |
Compute the precise bounding box of a window win
.
box<typename W ::psite> mln::geom::bbox | ( | const Weighted_Window< W > & | win | ) |
Compute the precise bounding box of a weighted window win
.
mln::trait::ch_value< I , unsigned >::ret mln::geom::chamfer | ( | const Image< I > & | input_, |
const W & | w_win_, | ||
unsigned | max = mln_max(unsigned) |
||
) |
Apply chamfer algorithm to a binary image.
mln::trait::concrete< I >::ret mln::geom::crop | ( | const Image< I > & | input, |
const Box< B > & | b | ||
) |
Crop an image.
mln::trait::concrete< I >::ret mln::geom::crop_without_localization | ( | const Image< I > & | input, |
const Box< B > & | b_in, | ||
const Box< B > & | b_out | ||
) |
Crop an image. Localization between input and output may not be preserved.
unsigned mln::geom::delta | ( | const Window< W > & | win | ) |
Compute the delta of a window win
.
unsigned mln::geom::delta | ( | const Weighted_Window< W > & | wwin | ) |
Compute the delta of a weighted window wwin
.
unsigned mln::geom::delta | ( | const Neighborhood< N > & | nbh | ) |
Compute the delta of a neighborhood nbh
.
mln::trait::concrete< I >::ret mln::geom::horizontal_symmetry | ( | const Image< I > & | input | ) |
Perfoms a horizontal symmetry.
Give the maximum column of an image.
Give the maximum col of an box 2d or 3d.
Give the maximum ind of an image.
Give the maximum row of an image.
Give the maximum row of an box 2d or 3d.
Give the maximum sli of an image.
Give the minimum column of an image.
Give the minimum column of an box 2d or 3d.
Give the minimum ind of an image.
Give the minimum row of an image.
Give the minimum row of an box 2d or 3d.
Give the minimum sli of an image.
unsigned mln::geom::ncols | ( | const Image< I > & | ima | ) |
Give the number of columns of an image.
unsigned mln::geom::ncols | ( | const Box< B > & | b | ) |
Give the number of cols of a box 2d or 3d.
unsigned mln::geom::ninds | ( | const Image< I > & | ima | ) |
Give the number of inds of an image.
unsigned mln::geom::nrows | ( | const Image< I > & | ima | ) |
Give the number of rows of an image.
unsigned mln::geom::nrows | ( | const Box< B > & | b | ) |
Give the number of rows of a box 2d or 3d.
unsigned mln::geom::nsites | ( | const Image< I > & | input | ) |
Compute the number of sites of the image input
.
unsigned mln::geom::nslis | ( | const Image< I > & | ima | ) |
Give the number of slices of an image.
std::pair<typename S ::site, typename S ::site> mln::geom::pmin_pmax | ( | const Site_Set< S > & | s | ) |
Compute the minimum and maximum points of point set s
.
void mln::geom::pmin_pmax | ( | const Site_Set< S > & | s, |
typename S::site & | pmin, | ||
typename S::site & | pmax | ||
) |
Compute the minimum and maximum points, pmin
and max
, of point set s
.
std::pair<typename I ::site, typename I ::site> mln::geom::pmin_pmax | ( | const Site_Iterator< I > & | p | ) |
Compute the minimum and maximum points when browsing with iterator p
.
void mln::geom::pmin_pmax | ( | const Site_Iterator< I > & | p, |
typename I::site & | pmin, | ||
typename I::site & | pmax | ||
) |
Compute the minimum and maximum points, pmin
and max
, when browsing with iterator p
.
mln::trait::concrete< I >::ret mln::geom::rotate | ( | const Image< I > & | input, |
double | angle, | ||
const Ext & | extension, | ||
const Site_Set< S > & | output_domain | ||
) |
Perform a rotation from the center of an image.
[in] | input | An image. |
[in] | angle | An angle in degrees. |
[in] | extension | Function, image or value which will be used as extension. This extension allows to map values to sites which where not part of the domain before the rotation. |
[in] | output_domain | The domain of the output image. An invalid domain, causes the routine to use a domain large enough to display the whole original image. |
input
. mln::trait::concrete< I >::ret mln::geom::rotate | ( | const Image< I > & | input, |
double | angle, | ||
const Ext & | extension | ||
) |
This is an overloaded member function, provided for convenience. It differs from the above function only in what argument(s) it accepts.
mln::trait::concrete< I >::ret mln::geom::rotate | ( | const Image< I > & | input, |
double | angle | ||
) |
This is an overloaded member function, provided for convenience. It differs from the above function only in what argument(s) it accepts. Use literal::zero as default value for the extension.
B mln::geom::rotate | ( | const Box< B > & | box_, |
double | angle, | ||
const typename B::site & | ref | ||
) |
Rotate a box.
FIXME: the return type may be too generic and may lead to invalid covariance.
B mln::geom::rotate | ( | const Box< B > & | box, |
double | angle | ||
) |
This is an overloaded member function, provided for convenience. It differs from the above function only in what argument(s) it accepts. The rotation center ref
is set to box.pcenter().
mln::trait::concrete< I >::ret mln::upscaling::art::scale2x | ( | const Image< I > & | input | ) |
2X upscaling algorithm for pixel art images.
[in] | input | An image. |
Source: http://en.wikipedia.org/wiki/Pixel_art_scaling_algorithms
mln::trait::concrete< I >::ret mln::upscaling::art::scale3x | ( | const Image< I > & | input | ) |
3X upscaling algorithm for pixel art images.
[in] | input | An image. |
Source: http://en.wikipedia.org/wiki/Pixel_art_scaling_algorithms
mln::trait::concrete< I >::ret mln::geom::seeds2tiling | ( | const Image< I > & | ima_, |
const Neighborhood< N > & | nbh | ||
) |
Take a labeled image ima_
with seeds and extend them until creating tiles.
[in,out] | ima_ | The labeled image with seed. |
[in] | nbh | The neighborhood to use on this algorithm. |
ima_
has to be initialized. I mln::geom::seeds2tiling_roundness | ( | Image< I > & | ima_, |
const w_window2d_int & | w_win, | ||
unsigned | max, | ||
const Neighborhood< N > & | nbh_ | ||
) |
Take a labeled image ima_
with seeds and extend them until creating tiles rounder than the primary version.
[in,out] | ima_ | The labeled image with seed. |
[in] | w_win | The weight window using by geom::chamfer to compute distance. |
[in] | max | Unsigned using by geom::chamfer to compute the distance. |
[in] | nbh_ | The neighborhood to use on this algorithm. |
ima_
has to be initialized. mln::trait::ch_value< I , bool >::ret mln::binarization::threshold | ( | const Image< I > & | input, |
const typename I::value | threshold | ||
) |
Gaussian subsampling Thresholds the values of input
so that they can be stored in the output
binary image.
[in] | input | The input image. |
[in] | threshold | The threshold. |
If input(p) is greater or equal than the threshold, the value in the output image in the same point will be TRUE, else FALSE.
mln::trait::concrete< I >::ret mln::geom::translate | ( | const Image< I > & | input, |
const algebra::vec< I::site::dim, V > & | ref, | ||
const Ext & | extension, | ||
const Site_Set< S > & | output_domain | ||
) |
Perform a translation from the center of an image.
[in] | input | An image. |
[in] | ref | The translation vector. |
[in] | extension | Function, image or value which will be used as extension. This extension allows to map values to sites which where not part of the domain before the translation. |
[in] | output_domain | The domain of the output image. An invalid domain, causes the routine to use the translated input_ domain. |
input
. mln::trait::concrete< I >::ret mln::geom::translate | ( | const Image< I > & | input, |
const algebra::vec< I::site::dim, V > & | ref, | ||
const Ext & | extension | ||
) |
This is an overloaded member function, provided for convenience. It differs from the above function only in what argument(s) it accepts.
mln::trait::concrete< I >::ret mln::geom::translate | ( | const Image< I > & | input, |
const algebra::vec< I::site::dim, V > & | ref | ||
) |
This is an overloaded member function, provided for convenience. It differs from the above function only in what argument(s) it accepts. Use literal::zero as default value for the extension.
mln::trait::concrete< I >::ret mln::geom::vertical_symmetry | ( | const Image< I > & | input | ) |
Perfoms a vertical symmetry.