addpath('Kovesi/')
addpath('Helper Functions/')
% Data
par.data_dir = 'F:\CVUT\SVP - Dipl\Data\sensorsProcessed\';%'F:\CVUT\SVP - Dipl\Data\urban_dynamic_v3.0\data';   %path to data folder

par.global_normalization = false;	%used only in image viewing
par.global_normalization_trim = 0.01;   %used only in image viewing
par.allow_incomplete_feature_vectors = false;	%force to throw off an image if a band is missing

%Cloud Approximation
par.max_metaClouds = 3500;	%maximal number of meta-clouds generated
par.init_radius = 50;		%initial maximal radius of meta-cloud
par.min_radius = 5;		%initial minimal radius of meta-cloud
par.output_folder = 'Generated\';	%output folder for generated images
par.generation_method = 2;		%Methods for generating images 1] kmeans on meta-clouds with center movement
					%			       2] global movement of meta-clouds

par.k2 = 0.01;	%constats to represents approximation of physical equations
par.k1 = 0.01;  %default is k2= 0.01 and k1 = 0.01
par.max_iter_opt = 100;		%maximal number of optimization steps
par.metadata_path = 'F:\CVUT\SVP - Dipl\iti_urban_dynamic_landsat_praha_metadata.csv';	%path to csv with metadata
											%for detail description of file,
										        %visit mentioned file or an importfile function
par.parallel = false;		%experimental option for fastening computation by paralelization of the original image
par.subb = 5;			%old settings left for legacy if one wanted
par.threshold = 10;		% to change initial radius estimation

par.sun_elevation = 30;		%Default values if the csv was not provided, 
par.sun_azimuth = 150;		%determines where will be shadow casted
par.cloud_height_min = 20;	%Determines how far will be shadow casted
par.cloud_height_max = 30;	%

par.hist_match = true		%Toggle histogram matching in image synthesis with a reference image

[par.file_list, par.file_dirs] = findSubDir(par.data_dir);	%find all images inside data directory