Changeset 1088 for trunk/src/transform_field
- Timestamp:
- Jan 15, 2021, 11:23:55 PM (4 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/transform_field/ima_find_particles.m
r1071 r1088 48 48 Mask(:,1:SizePart)=0; 49 49 Mask(:,end-SizePart:end)=0; 50 [Js,Is]=find(A<AbsThreshold & abs(double(DataIn.A(:,:,1))-double(DataIn.A(:,:,3)))<20 &Mask==1);%indices (I,J) of dark pixels50 [Js,Is]=find(A<AbsThreshold & Mask==1);%indices (I,J) of dark pixels 51 51 X=zeros(size(Is)); 52 52 Y=zeros(size(Js));
Note: See TracChangeset
for help on using the changeset viewer.