From 0a695eb314dff32ae44d9645ae1f491b9516a699 Mon Sep 17 00:00:00 2001 From: Andrey Pavlenko Date: Thu, 26 Sep 2013 17:06:06 +0400 Subject: [PATCH] hortening the file names (HighDynamicRange -> HDR) --- doc/tutorials/contrib/retina_model/retina_model.rst | 2 +- modules/contrib/doc/retina/index.rst | 8 ++++---- ...pping.cpp => OpenEXRimages_HDR_Retina_toneMapping.cpp} | 4 ++-- ...cpp => OpenEXRimages_HDR_Retina_toneMapping_video.cpp} | 8 ++++---- 4 files changed, 11 insertions(+), 11 deletions(-) rename samples/cpp/{OpenEXRimages_HighDynamicRange_Retina_toneMapping.cpp => OpenEXRimages_HDR_Retina_toneMapping.cpp} (98%) rename samples/cpp/{OpenEXRimages_HighDynamicRange_Retina_toneMapping_video.cpp => OpenEXRimages_HDR_Retina_toneMapping_video.cpp} (97%) diff --git a/doc/tutorials/contrib/retina_model/retina_model.rst b/doc/tutorials/contrib/retina_model/retina_model.rst index 184bb343e..313e3bc12 100644 --- a/doc/tutorials/contrib/retina_model/retina_model.rst +++ b/doc/tutorials/contrib/retina_model/retina_model.rst @@ -44,7 +44,7 @@ In the following image, as your retina does, local luminance adaptation, spatial :align: center -*Note :* image sample can be downloaded from the `OpenEXR website `_. Regarding this demonstration, before retina processing, input image has been linearly rescaled within 0-255 keeping its channels float format. 5% of its histogram ends has been cut (mostly removes wrong HDR pixels). Check out the sample *opencv/samples/cpp/OpenEXRimages_HighDynamicRange_Retina_toneMapping.cpp* for similar processing. The following demonstration will only consider classical 8bit/channel images. +*Note :* image sample can be downloaded from the `OpenEXR website `_. Regarding this demonstration, before retina processing, input image has been linearly rescaled within 0-255 keeping its channels float format. 5% of its histogram ends has been cut (mostly removes wrong HDR pixels). Check out the sample *opencv/samples/cpp/OpenEXRimages_HDR_Retina_toneMapping.cpp* for similar processing. The following demonstration will only consider classical 8bit/channel images. The retina model output channels ================================ diff --git a/modules/contrib/doc/retina/index.rst b/modules/contrib/doc/retina/index.rst index 3d1f59c8e..24af092de 100644 --- a/modules/contrib/doc/retina/index.rst +++ b/modules/contrib/doc/retina/index.rst @@ -65,8 +65,8 @@ The retina can be settled up with various parameters, by default, the retina can .. Sample code:: - * An example on retina tone mapping can be found at opencv_source_code/samples/cpp/OpenEXRimages_HighDynamicRange_Retina_toneMapping.cpp - * An example on retina tone mapping on video input can be found at opencv_source_code/samples/cpp/OpenEXRimages_HighDynamicRange_Retina_toneMapping.cpp + * An example on retina tone mapping can be found at opencv_source_code/samples/cpp/OpenEXRimages_HDR_Retina_toneMapping.cpp + * An example on retina tone mapping on video input can be found at opencv_source_code/samples/cpp/OpenEXRimages_HDR_Retina_toneMapping.cpp * A complete example illustrating the retina interface can be found at opencv_source_code/samples/cpp/retinaDemo.cpp Description @@ -121,13 +121,13 @@ Take a look at the provided C++ examples provided with OpenCV : **Note :** This demo generates the file *RetinaDefaultParameters.xml* which contains the default parameters of the retina. Then, rename this as *RetinaSpecificParameters.xml*, adjust the parameters the way you want and reload the program to check the effect. -* **samples/cpp/OpenEXRimages_HighDynamicRange_Retina_toneMapping.cpp** shows how to use the retina to perform High Dynamic Range (HDR) luminance compression +* **samples/cpp/OpenEXRimages_HDR_Retina_toneMapping.cpp** shows how to use the retina to perform High Dynamic Range (HDR) luminance compression Then, take a HDR image using bracketing with your camera and generate an OpenEXR image and then process it using the demo. Typical use, supposing that you have the OpenEXR image *memorial.exr* (present in the samples/cpp/ folder) - **OpenCVReleaseFolder/bin/OpenEXRimages_HighDynamicRange_Retina_toneMapping memorial.exr** + **OpenCVReleaseFolder/bin/OpenEXRimages_HDR_Retina_toneMapping memorial.exr** Note that some sliders are made available to allow you to play with luminance compression. diff --git a/samples/cpp/OpenEXRimages_HighDynamicRange_Retina_toneMapping.cpp b/samples/cpp/OpenEXRimages_HDR_Retina_toneMapping.cpp similarity index 98% rename from samples/cpp/OpenEXRimages_HighDynamicRange_Retina_toneMapping.cpp rename to samples/cpp/OpenEXRimages_HDR_Retina_toneMapping.cpp index 1636e41f6..e89003d19 100644 --- a/samples/cpp/OpenEXRimages_HighDynamicRange_Retina_toneMapping.cpp +++ b/samples/cpp/OpenEXRimages_HDR_Retina_toneMapping.cpp @@ -15,10 +15,10 @@ static void help(std::string errorMessage) { std::cout<<"Program init error : "< WARNING : image index number of digits cannot exceed 10"< to process images from memorial020d.exr to memorial045d.exr"<