From 45c49d802e1109c1f4ed767779240f4cb8ada1d8 Mon Sep 17 00:00:00 2001 From: Alexandre Benoit Date: Sun, 3 May 2015 18:04:25 +0200 Subject: [PATCH] added stdout welcome message and fixed warning --- modules/bioinspired/samples/basicRetina.cpp | 37 +++++++++++++++++++++ 1 file changed, 37 insertions(+) diff --git a/modules/bioinspired/samples/basicRetina.cpp b/modules/bioinspired/samples/basicRetina.cpp index 22ee80a25..ab94d2ab4 100644 --- a/modules/bioinspired/samples/basicRetina.cpp +++ b/modules/bioinspired/samples/basicRetina.cpp @@ -1,3 +1,11 @@ +//============================================================================ +// Name : retinademo.cpp +// Author : Alexandre Benoit, benoit.alexandre.vision@gmail.com +// Version : 0.1 +// Copyright : LISTIC/GIPSA French Labs, May 2015 +// Description : Gipsa/LISTIC Labs quick retina demo in C++, Ansi-style +//============================================================================ + // include bioinspired module and OpenCV core utilities #include "opencv2/bioinspired.hpp" #include "opencv2/imgcodecs.hpp" @@ -7,6 +15,35 @@ // main function int main(int argc, char* argv[]) { + + // basic input arguments checking + if (argc>1) + { + std::cout<<"****************************************************"< It applies a spectral whithening (mid-frequency details enhancement)"< high frequency spatio-temporal noise reduction"< low frequency luminance to be reduced (luminance range compression)"< local logarithmic luminance compression allows details to be enhanced in low light conditions\n"< reports comments/remarks at benoit.alexandre.vision@gmail.com"< more informations and papers at : http://sites.google.com/site/benoitalexandrevision/"< you can use this to fine tune parameters and load them if you save to file 'RetinaSpecificParameters.xml'"<