Skip to content

Commit 1be0267

Browse files
committed
Fixed Rectangle Transparency Issue
Fixed Rectangle Transparency Issue
1 parent da94afb commit 1be0267

File tree

3 files changed

+2
-8
lines changed

3 files changed

+2
-8
lines changed

Functions/CalculateStats.m

Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -5,12 +5,8 @@
55

66
%% Ridge Detection
77
% Calculate entropy at each time point
8-
try
9-
stats.Entropy = geo_mean(I,1) ./ mean(I,1);
10-
catch
11-
warning('The function "geomean" has been renamed "geo_mean". Please update MATLAB to before it is deiscontinued');
128
stats.Entropy = geomean(I,1) ./ mean(I,1);
13-
end
9+
1410

1511
stats.Entropy = smooth(stats.Entropy,0.1,'rlowess')';
1612

Functions/initialize_display.m

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -91,8 +91,6 @@ function initialize_display(hObject, eventdata, handles)
9191
% Rectangle that shows the current position in the spectrogram
9292
handles.currentWindowRectangle = rectangle(handles.spectogramWindow,...
9393
'Position',[0,0,0,0],...
94-
'FaceColor', [1, 1, 1],...
95-
'FaceAlpha', 0.1,...
9694
'EdgeColor', [1, 1, 1, 1], 'LineWidth',1.5,...
9795
'LineStyle','--',...
9896
'PickableParts', 'none');

Functions/render_call_position.m

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -55,7 +55,7 @@
5555
% Initialize the timestamp text and current call line
5656
handles.CurrentCallLineText = text(0, 20, ' ', 'Color', 'W', 'HorizontalAlignment', 'center', 'Parent', handles.detectionAxes);
5757
handles.CurrentCallLinePosition = line([0,0],[0 1],'LineWidth',3,'Color','g','Parent', handles.detectionAxes,'PickableParts','none');
58-
handles.CurrentCallWindowRectangle = rectangle('Position',[0 0 1 1], 'Parent',handles.detectionAxes,'LineWidth',1,'EdgeColor',[1 1 1 1],'FaceColor',[1 1 1 ],'FaceAlpha',0.1);
58+
handles.CurrentCallWindowRectangle = rectangle('Position',[0 0 1 1], 'Parent',handles.detectionAxes,'LineWidth',1,'EdgeColor',[1 1 1 1]);
5959

6060
end
6161

0 commit comments

Comments
 (0)