1
0
mirror of https://github.com/opencv/opencv.git synced 2026-07-25 21:33:04 +04:00

Update Samples

This commit is contained in:
Suleyman TURKMEN
2019-07-28 12:09:17 +03:00
committed by sturkmen72
parent 9ef5373776
commit f73395122c
72 changed files with 251 additions and 271 deletions
@@ -1,5 +1,5 @@
/**
* @file LinearTransforms.cpp
* @file BasicLinearTransformsTrackbar.cpp
* @brief Simple program to change contrast and brightness
* @date Mon, June 6, 2011
* @author OpenCV team
@@ -44,12 +44,12 @@ static void on_trackbar( int, void* )
int main( int argc, char** argv )
{
/// Read image given by user
String imageName("../data/lena.jpg"); // by default
String imageName("lena.jpg"); // by default
if (argc > 1)
{
imageName = argv[1];
}
image = imread( imageName );
image = imread( samples::findFile( imageName ) );
/// Initialize values
alpha = 1;