Ignore:
Timestamp:
Jan 15, 2021, 11:23:55 PM (4 years ago)
Author:
sommeria
Message:

particle_detect introduced, load mt files

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/transform_field/ima_find_particles.m

    r1071 r1088  
    4848Mask(:,1:SizePart)=0;
    4949Mask(:,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 pixels
     50[Js,Is]=find(A<AbsThreshold & Mask==1);%indices (I,J) of dark pixels
    5151X=zeros(size(Is));
    5252Y=zeros(size(Js));
Note: See TracChangeset for help on using the changeset viewer.