New answers tagged

1

Start with a simple example to see how ImageData returns the data in an image. i = Image[{{0., 1.}, {1., 0.}}] ImageData[i] (* {{0., 1.}, {1., 0.}} *)


6

An ugly but working solution: First we should estimate the period of the background patter: shift = Block[{img = ste, x, corr}, corr = ImageData[ ImageCorrelate[ImageAssemble[{img, img}], img, CorrelationDistance, Padding -> None]][[1]]; FindPeaks[-Norm /@ corr, 10][[2, 1]] - 1]; This code do not always work, so you might want ...


Top 50 recent answers are included