Who even knows at this point

This commit is contained in:
2024-07-30 13:42:48 -04:00
parent fe9b338324
commit 79e3676ed3
38 changed files with 465 additions and 746 deletions

View File

@@ -2,25 +2,25 @@
hFstrip=figure;
%figure(hFstrip,'Visible','off')
t = text(.05,.05,tmPtTx,'FontSize',8, 'FontWeight','bold'); %, 'FontWeight','demi')
t=text(.05,.05,tmPtTx,'FontSize',8, 'FontWeight','bold'); %, 'FontWeight','demi')
%Bspace= zeros(20,size(Fcutsc,2))+255;
F=[];
% Capture the text from the screen:
F = getframe(gca,[10 10 200 200]);
F=getframe(gca,[10 10 200 200]);
% Close the figure:
close
cc=[];
c=[];
% Select any plane of the resulting image:
cc = F.cdata(:,:,1);
cc=F.cdata(:,:,1);
c= cc(182:195,18:60);
%
i=[];
j=[];
% Determine where the text was (black is 0):
%[i,j] = find(cc == 0);
[i,j] = find(c < 255);
%[i,j]=find(cc == 0);
[i,j]=find(c < 255);
% Read in or load the image that is to contain the text:
@@ -29,10 +29,10 @@ j=[];
%Bspace= zeros(20,size(Fcutsc,2))+255;
Bspace= zeros((210-size(Fcutsc,1)),size(Fcutsc,2))+255;
ind=[];
ind = sub2ind(size(Bspace),i,j);
ind=sub2ind(size(Bspace),i,j);
% Index into new image, replacing pixels with white:
Bspace(ind) = uint8(0);
Bspace(ind)=uint8(0);
%figure
% Display and color the new image:
%imagesc(Bspace)