Skip to content

Commit

Permalink
v.0.0.6
Browse files Browse the repository at this point in the history
  • Loading branch information
ekatrukha committed Jun 23, 2023
1 parent cf0e081 commit 09508c8
Show file tree
Hide file tree
Showing 5 changed files with 34 additions and 17 deletions.
Binary file not shown.
2 changes: 1 addition & 1 deletion build.xml
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
<property name="src" location="src" />
<property name="build" location="bin" />
<property name="dist" location="dist" />
<property name="version" value="v_0.0.5" />
<property name="version" value="v_0.0.6" />
<property name="pluginsDir" location="$basedir/../../IJ/plugins/" />
<property name="user.name" value="Yevhen Katrukha" />
<tstamp>
Expand Down
2 changes: 1 addition & 1 deletion src/Correlescence/ConstantsCorrelescence.java
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
package Correlescence;

public interface ConstantsCorrelescence {
public static final String sVersion="0.0.5";
public static final String sVersion="0.0.6";
}
21 changes: 19 additions & 2 deletions src/Correlescence/Temporal_ICS.java
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ public class Temporal_ICS implements PlugIn {
/** correlation normalization method
* 0 = overlap area
* 1 = full area **/
int nNormMethod=0;
int nNormMethod=1;

/** object calculating correlation **/
imCC1D x1D = new imCC1D();
Expand Down Expand Up @@ -526,7 +526,7 @@ public FloatProcessor findMax(ImageStack imp_in, double tolerance)

arrlength = maxpos.length;

if(arrlength ==0)
if(arrlength == 0)
{
maxInd = 0;
}
Expand Down Expand Up @@ -557,6 +557,23 @@ public FloatProcessor findMax(ImageStack imp_in, double tolerance)
{
finVal = 1./finVal;
}

//special case
if(maxInd == 0)
{
//frequency
if(nOutput == 0)
{
finVal = 0.0;
}
//period
else
{
finVal = Double.POSITIVE_INFINITY;
}
}


//store result
ipFin.putPixelValue(k, j, finVal);

Expand Down
26 changes: 13 additions & 13 deletions src/plugins.config
Original file line number Diff line number Diff line change
@@ -1,13 +1,13 @@
Plugins>Correlescence v0.0.5, "2D cross-correlation", Correlescence.Correlescence2D
Plugins>Correlescence v0.0.5, "2D STICS (space, time)", Correlescence.Corr2DSTICS
Plugins>Correlescence v0.0.5, "1D STICS (space, time)", Correlescence.Corr1DSTICS
Plugins>Correlescence v0.0.5, "Temporal ICS", Correlescence.Temporal_ICS
Plugins>Correlescence v0.0.5, "FRFT", Correlescence.FRFT_test
Plugins>Correlescence v0.0.5>_FFT tools, "2D FFT basics", Correlescence.FFTtoolsUI("2DFFT")
Plugins>Correlescence v0.0.5>_FFT tools, "Periodic-plus-smooth decomposition", Correlescence.FFTtoolsUI("periodicsmooth")
Plugins>Correlescence v0.0.5>_Development, "Anglelets sector", Correlescence.AngleletsFront("sector")
Plugins>Correlescence v0.0.5>_Development, "Anglelets decompose", Correlescence.AngleletsFront("decompose")
Plugins>Correlescence v0.0.5>_Development, "Split kymograph", Correlescence.KymoSplit
Plugins>Correlescence v0.0.5>_Development, "Split movie", Correlescence.MovieSplit
Plugins>Correlescence v0.0.5>_Development, "Generate artificial kymograph", Correlescence.KymographGenerator
Plugins>Correlescence v0.0.5>_Development, "Particle number from kymograph", Correlescence.KymoPatNumberFCS
Plugins>Correlescence v0.0.6, "2D cross-correlation", Correlescence.Correlescence2D
Plugins>Correlescence v0.0.6, "2D STICS (space, time)", Correlescence.Corr2DSTICS
Plugins>Correlescence v0.0.6, "1D STICS (space, time)", Correlescence.Corr1DSTICS
Plugins>Correlescence v0.0.6, "Temporal ICS", Correlescence.Temporal_ICS
Plugins>Correlescence v0.0.6, "FRFT", Correlescence.FRFT_test
Plugins>Correlescence v0.0.6>_FFT tools, "2D FFT basics", Correlescence.FFTtoolsUI("2DFFT")
Plugins>Correlescence v0.0.6>_FFT tools, "Periodic-plus-smooth decomposition", Correlescence.FFTtoolsUI("periodicsmooth")
Plugins>Correlescence v0.0.6>_Development, "Anglelets sector", Correlescence.AngleletsFront("sector")
Plugins>Correlescence v0.0.6>_Development, "Anglelets decompose", Correlescence.AngleletsFront("decompose")
Plugins>Correlescence v0.0.6>_Development, "Split kymograph", Correlescence.KymoSplit
Plugins>Correlescence v0.0.6>_Development, "Split movie", Correlescence.MovieSplit
Plugins>Correlescence v0.0.6>_Development, "Generate artificial kymograph", Correlescence.KymographGenerator
Plugins>Correlescence v0.0.6>_Development, "Particle number from kymograph", Correlescence.KymoPatNumberFCS

0 comments on commit 09508c8

Please sign in to comment.