mirror of
https://github.com/c-sooyoung/fold_slice.git
synced 2026-09-17 20:39:08 +09:00
initial commit
This commit is contained in:
@@ -0,0 +1,23 @@
|
||||
%view_grid_artifact_removal.m
|
||||
|
||||
%% Show phase image and its Fourier magnitude to inspect the effect of grid artifact removal
|
||||
close all
|
||||
object_roi_ph = angle(object(p.object_ROI{:}));
|
||||
%object_roi_ph = angle(object_roi); %old output file
|
||||
|
||||
figure
|
||||
imagesc(object_roi_ph); axis image; colormap gray
|
||||
figure
|
||||
imagesc(abs(fftshift(fft2(object_roi_ph))).^0.2); axis image;
|
||||
|
||||
%% Quick way to see the scan step size
|
||||
%load scan positions
|
||||
ppY = h5read('data_roi0_Ndp128_para.hdf5','/ppY');
|
||||
ppX = h5read('data_roi0_Ndp128_para.hdf5','/ppX');
|
||||
figure
|
||||
subplot(1,2,1)
|
||||
plot(diff(ppY),'.')
|
||||
title('Vertical')
|
||||
subplot(1,2,2)
|
||||
plot(diff(ppX),'.')
|
||||
title('Horizontal')
|
||||
Reference in New Issue
Block a user