Skip to content

Commit

Permalink
OK version
Browse files Browse the repository at this point in the history
  • Loading branch information
Zacharie-any committed Feb 17, 2025
1 parent 068bd07 commit d8b66c0
Show file tree
Hide file tree
Showing 6 changed files with 517 additions and 2 deletions.
8 changes: 8 additions & 0 deletions HoloDopplerClass.m
Original file line number Diff line number Diff line change
Expand Up @@ -438,6 +438,14 @@ function SaveVideo(obj, image_types, params)

for i = 1:numel(image_types)
tmp = [obj.video.(image_types{i})];
if strcmp(image_types{i},'spectrogram')
sz = size(tmp(1).parameters.SH);
sz = [sz length(tmp)];
mat = reshape(tmp.parameters.SH,sz);
generate_video(mat,result_folder_path,strcat(image_types{i}),temporal_filter = 2);
continue
end

mat = ((reshape([tmp.image],size(tmp(1).image,1),size(tmp(1).image,2),size(tmp(1).image,3),[])));
if all(size(size(mat)) == [1 3])
mat = repmat(mat,[1 1 1 2]); % double the last frame if only one for tech issues
Expand Down
Loading

0 comments on commit d8b66c0

Please sign in to comment.