-
Notifications
You must be signed in to change notification settings - Fork 0
/
DIP_align_example.m
38 lines (31 loc) · 1.19 KB
/
DIP_align_example.m
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
% Drone Image Processing: Align (DIP_align)
% Align and create RGB Compositions from Multispectral Images
% Tested with: Micasense Altum & RedEdge
% ------------------------------------------------------ %
% Gabriela Rabelo Andrade | gabrielarabelo@gmail.com
% Camila Costa de Amorim
% ------------------------------------------------------ %
% start fresh (optional)
clear; close all; clc;
% optional parameters:
parameters = struct;
parameters.nband = 6;
parameters.camera = 'altum';
parameters.customRGB = [4 5 2];
parameters.customMode = true;
% %-% alignment parameters (optional):
% parameters.InitialRadius = 0.00015;
% parameters.Epsilon = 1.5 * 10^-6;
% parameters.GrowthFactor = 1.002;
% parameters.MaximumIterations = 300;
% parameters.imregister_method = 'rigid';
% parameters.ref_band_align = 2;
% parameters.scale = 1;
% parameters.haze_adj = 0.7;
% parameters.haze_adj_method = 'approxdcp';
% parameters.gamma_adj = 0.6;
% parameters.skip_bands = [];
% ------------------------------------------------------ %
% RUN
DIP_align(parameters);
% ------------------------------------------------------ %