An open API service indexing awesome lists of open source software.

https://github.com/entropyorg/p5-data-testimage

:notebook::camera: interface for retrieving test images
https://github.com/entropyorg/p5-data-testimage

cpan data image-analysis

Last synced: 27 days ago
JSON representation

:notebook::camera: interface for retrieving test images

Awesome Lists containing this project

README

          

=pod

=encoding UTF-8

=head1 NAME

Data::TestImage - interface for retrieving test images

=head1 VERSION

version 0.007

=head1 SYNOPSIS

use Data::TestImage;

say Data::TestImage->get_image('mandrill')->basename;
# 4.2.03.tiff

Produces the L image.

=for html

Mandrill image

=head1 DESCRIPTION

This module provides access to test images from several databases of
L.

=head1 METHODS

=head2 get_dist_dir

get_dist_dir()

Returns a L object to the shared directory for the
C distribution.

=head2 get_image

get_image( $image_name )

Calls L on L and
L. Returns an instance of L.

=head1 INSTALLATION

Some of the image databases can be configured to install more images at
configuration time. This can be accomplished by setting the
C environment variable prior to installation, for
example

export PERL_DATA_TESTIMAGE_INSTALL="USC::SIPI=miscellaneous,sequences"
cpanm Data::TestImage

See the database documentation for more information. Multiple databases can be
configured by putting a space between each sequence.

=head1 AUTHOR

Zakariyya Mughal

=head1 COPYRIGHT AND LICENSE

This software is copyright (c) 2014 by Zakariyya Mughal.

This is free software; you can redistribute it and/or modify it under
the same terms as the Perl 5 programming language system itself.

=cut