forked from hpe079/Feature_Tracking
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathfeatureTrackingCorrelationFigure.asv
More file actions
39 lines (35 loc) · 1.05 KB
/
featureTrackingCorrelationFigure.asv
File metadata and controls
39 lines (35 loc) · 1.05 KB
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
35
36
37
38
39
function featureTrackingCorrelationFigure(x, y, A, pu, pv, C, correlationThreshold)
% featureTrackingDiagnosticFigure - Create signal to noise figure
% Start with the standard single figure
x = x - x(1);
y = y - y(1);
handles = featureTrackingSingleImage(x, y, A);
% Add scatter plot for the Correlation values
set(handles.ax, 'nextplot', 'add');
set(handles.hf, 'colormap', jet(64));
scatter(handles.ax, x(pu), y(pv), 500, C, '.');
% And pretty up a bit
title(handles.ax, sprintf('Correlation (Threshold Used): %s', num2str(correlationThreshold)));
xlabel(handles.ax, 'Metres fro
colorbar(handles.ax, 'southoutside');
%
%
% figure;
% image (aDisplay);
% axis equal off tight ij
% hold on
% scatter (uvA(:,1),uvA(:,2),500,C,'.')
% title('C')
% colormap jet
% colorbar ('southoutside');
% caxis ([0 1]);
%
% figure;
% image (aDisplay);
% axis equal off tight ij
% hold on
% scatter (uvA(:,1), uvA(:,2),500,signal2noise, '.')
% caxis ([0 2.5]);
% title ('signal2noise')
% colormap jet
% colorbar ('southoutside');