<?xml version="1.0" encoding="utf-8"?>
<rss version="2.0" xml:base="http://imechanica.org" xmlns:dc="http://purl.org/dc/elements/1.1/">
<channel>
 <title>iMechanica - digital image correlation - Comments</title>
 <link>http://imechanica.org/taxonomy/term/581</link>
 <description>Comments for &quot;digital image correlation&quot;</description>
 <language>en</language>
<item>
 <title>Hi Hassan,


do you have</title>
 <link>http://imechanica.org/node/776#comment-8673</link>
 <description>&lt;p&gt;
Hi Hassan,
&lt;/p&gt;
&lt;p&gt;
do you have the image processing toolbox installed? Sounds like it is missing as all described errors are are connected to funtion which are part of it.&amp;nbsp;
&lt;/p&gt;
&lt;p&gt;
Cheers, Chris.&amp;nbsp;
&lt;/p&gt;
&lt;p&gt;
&amp;nbsp;
&lt;/p&gt;
&lt;p&gt;
Dr. Christoph Eberl&lt;br /&gt;
Nachwuchsgruppenleiter (DFG gef&amp;ouml;rdert)&lt;br /&gt;
Universit&amp;auml;t Karlsruhe (TH)&lt;br /&gt;
Institut f&amp;uuml;r Zuverl&amp;auml;ssigkeit von Bauteilen und Systemen&lt;br /&gt;
Kaiserstr. 12&lt;br /&gt;
D-76131  Karlsruhe, Germany&lt;br /&gt;
Forschungszentrum Karlsruhe GmbH&lt;br /&gt;
Institut fuer Materialforsc
&lt;/p&gt;
&lt;br class=&quot;clear&quot; /&gt;</description>
 <pubDate>Thu, 11 Sep 2008 18:39:10 -0400</pubDate>
 <dc:creator>chris</dc:creator>
 <guid isPermaLink="false">comment 8673 at http://imechanica.org</guid>
</item>
<item>
 <title>Hi Shafqat,


I think it</title>
 <link>http://imechanica.org/node/776#comment-8672</link>
 <description>&lt;p&gt;
Hi Shafqat,
&lt;/p&gt;
&lt;p&gt;
I think it could be that peak_labelling does not find any good peaks any more. What does the image look like during analysis? Where there still peaks marked?
&lt;/p&gt;
&lt;p&gt;
Chris.&amp;nbsp;
&lt;/p&gt;
&lt;p&gt;
&amp;nbsp;
&lt;/p&gt;
&lt;p&gt;
Dr. Christoph Eberl&lt;br /&gt;
Nachwuchsgruppenleiter (DFG gef&amp;ouml;rdert)&lt;br /&gt;
Universit&amp;auml;t Karlsruhe (TH)&lt;br /&gt;
Institut f&amp;uuml;r Zuverl&amp;auml;ssigkeit von Bauteilen und Systemen&lt;br /&gt;
Kaiserstr. 12&lt;br /&gt;
D-76131  Karlsruhe, Germany&lt;br /&gt;
Forschungszentrum Karlsruhe GmbH&lt;br /&gt;
Institut fuer Materialforsc
&lt;/p&gt;
&lt;br class=&quot;clear&quot; /&gt;</description>
 <pubDate>Thu, 11 Sep 2008 18:36:32 -0400</pubDate>
 <dc:creator>chris</dc:creator>
 <guid isPermaLink="false">comment 8672 at http://imechanica.org</guid>
</item>
<item>
 <title>Automate_image error</title>
 <link>http://imechanica.org/node/776#comment-8671</link>
 <description>&lt;p&gt;
&amp;nbsp;Hi Todd,
&lt;/p&gt;
&lt;p&gt;
that&amp;#39;s some historical code which is not supported by matlab any more. I took it out in the newest upload on the matlab server. Cheers, Chris.&amp;nbsp;
&lt;/p&gt;
&lt;p&gt;
&amp;nbsp;
&lt;/p&gt;
&lt;p&gt;
&amp;nbsp;
&lt;/p&gt;
&lt;p&gt;
Dr. Christoph Eberl&lt;br /&gt;
Nachwuchsgruppenleiter (DFG gef&amp;ouml;rdert)&lt;br /&gt;
Universit&amp;auml;t Karlsruhe (TH)&lt;br /&gt;
Institut f&amp;uuml;r Zuverl&amp;auml;ssigkeit von Bauteilen und Systemen&lt;br /&gt;
Kaiserstr. 12&lt;br /&gt;
D-76131  Karlsruhe, Germany&lt;br /&gt;
Forschungszentrum Karlsruhe GmbH&lt;br /&gt;
Institut fuer Materialforsc
&lt;/p&gt;
&lt;br class=&quot;clear&quot; /&gt;</description>
 <pubDate>Thu, 11 Sep 2008 18:33:57 -0400</pubDate>
 <dc:creator>chris</dc:creator>
 <guid isPermaLink="false">comment 8671 at http://imechanica.org</guid>
</item>
<item>
 <title>problem with matlab file!</title>
 <link>http://imechanica.org/node/776#comment-8508</link>
 <description>&lt;p&gt;
Hi chris,
&lt;/p&gt;
&lt;p&gt;
first of all, thank you for your generocity,
&lt;/p&gt;
&lt;p&gt;
then i have got some problem when running your matlab code, would you please tell me what to do to solve them?
&lt;/p&gt;
&lt;p&gt;
1- i couldnt find &amp;quot;cpcorr.m&amp;quot; file in the attached zip foldes
&lt;/p&gt;
&lt;p&gt;
2 when i run grid_genrator i will get the following messages:
&lt;/p&gt;
&lt;p&gt;
&lt;font color=&quot;#ff0000&quot;&gt;??? Undefined function or method &amp;#39;imshow&amp;#39; for input arguments of type&lt;br /&gt;
&amp;#39;uint8&amp;#39;.&lt;/p&gt;
&lt;p&gt;Error in ==&amp;gt; grid_generator&amp;gt;gridtypeselection at 46&lt;br /&gt;
imshow(im_grid,&amp;#39;truesize&amp;#39;);&lt;/p&gt;
&lt;p&gt;Error in ==&amp;gt; grid_generator at 35&lt;br /&gt;
[grid_x,grid_y,FileNameBase,PathNameBase] = gridtypeselection(FileNameBase,&lt;br /&gt;
PathNameBase, im_grid); &lt;/font&gt;
&lt;/p&gt;
&lt;p&gt;
&amp;nbsp;i have to mention that i am using MATLAB R2008 on my X64 windows workstation.
&lt;/p&gt;
&lt;p&gt;
Regards
&lt;/p&gt;
&lt;p&gt;
Hassan, Sheffield&amp;nbsp;
&lt;/p&gt;
&lt;br class=&quot;clear&quot; /&gt;</description>
 <pubDate>Sat, 16 Aug 2008 07:28:47 -0400</pubDate>
 <dc:creator>H.Ghadbeigi</dc:creator>
 <guid isPermaLink="false">comment 8508 at http://imechanica.org</guid>
</item>
<item>
 <title>peak_labelling.m</title>
 <link>http://imechanica.org/node/776#comment-7388</link>
 <description>&lt;p&gt;
I am having a problem when running peak_labelling. The error message is
&lt;/p&gt;
&lt;p&gt;
&lt;font color=&quot;#ff0000&quot;&gt;??? Undefined function or variable &amp;quot;cropxy&amp;quot;.&lt;/font&gt;
&lt;/p&gt;
&lt;p&gt;
&lt;font color=&quot;#ff0000&quot;&gt;Error in ==&amp;gt; peak_labelling at 127&lt;br /&gt;
fitcountertemp=size(cropxy); % number off peaks to cycle through&lt;/font&gt;
&lt;/p&gt;
&lt;p&gt;&lt;font color=&quot;#ff0000&quot;&gt;&amp;nbsp;&lt;font color=&quot;#000000&quot;&gt;can any body help me....&lt;/font&gt;&lt;/font&gt;&lt;font color=&quot;#ff0000&quot;&gt; &lt;/p&gt;
&lt;p&gt;
&amp;nbsp;
&lt;/p&gt;
&lt;p&gt;&lt;/font&gt;&lt;/p&gt;
&lt;br class=&quot;clear&quot; /&gt;</description>
 <pubDate>Fri, 09 May 2008 06:21:08 -0400</pubDate>
 <dc:creator>Shafqat</dc:creator>
 <guid isPermaLink="false">comment 7388 at http://imechanica.org</guid>
</item>
<item>
 <title>automate_image error</title>
 <link>http://imechanica.org/node/776#comment-6648</link>
 <description>&lt;p&gt;
Hi,
&lt;/p&gt;
&lt;p&gt;
The timedim function in the statement
&lt;/p&gt;
&lt;p&gt;&lt;font face=&quot;Courier New&quot;&gt;&lt;/p&gt;
&lt;p&gt;
[h,m,s] = hms2mat(timedim(estimatedtime,&lt;font face=&quot;Courier New&quot; color=&quot;#a020f0&quot;&gt;&amp;#39;seconds&amp;#39;&lt;/font&gt;&lt;font face=&quot;Courier New&quot;&gt;,&lt;/font&gt;&lt;font face=&quot;Courier New&quot; color=&quot;#a020f0&quot;&gt;&amp;#39;hms&amp;#39;&lt;/font&gt;&lt;font face=&quot;Courier New&quot;&gt;));&lt;/font&gt;
&lt;/p&gt;
&lt;p&gt;&lt;/font&gt;&lt;/p&gt;
&lt;p&gt;
&lt;font face=&quot;Courier New&quot;&gt;gives the error:&lt;/font&gt;
&lt;/p&gt;
&lt;p&gt;
&lt;font face=&quot;Courier New&quot;&gt;??? Undefined command/function &amp;#39;timedim&amp;#39;.&lt;/font&gt;
&lt;/p&gt;
&lt;p&gt;
&lt;font face=&quot;Courier New&quot;&gt;Error in ==&amp;gt; automate_image at 135&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp; [h,m,s] = hms2mat(timedim(estimatedtime,&amp;#39;seconds&amp;#39;,&amp;#39;hms&amp;#39;));&lt;/font&gt;
&lt;/p&gt;
&lt;p&gt;
&lt;font face=&quot;Courier New&quot;&gt;Has anyone run into this?&amp;nbsp; I am using large images that I have converted from jpeg to tif using irfanview&lt;/font&gt;
&lt;/p&gt;
&lt;p&gt;
&amp;nbsp;
&lt;/p&gt;
&lt;p&gt;
&lt;font face=&quot;Courier New&quot;&gt;Thanks in advance!&lt;/font&gt;
&lt;/p&gt;
&lt;br class=&quot;clear&quot; /&gt;</description>
 <pubDate>Tue, 26 Feb 2008 10:38:27 -0500</pubDate>
 <dc:creator>todd.gross</dc:creator>
 <guid isPermaLink="false">comment 6648 at http://imechanica.org</guid>
</item>
<item>
 <title>Color image correlation</title>
 <link>http://imechanica.org/node/776#comment-6008</link>
 <description>&lt;p&gt;a&lt;/p&gt;
&lt;br class=&quot;clear&quot; /&gt;</description>
 <pubDate>Tue, 11 Dec 2007 18:43:01 -0500</pubDate>
 <dc:creator>powerlanger</dc:creator>
 <guid isPermaLink="false">comment 6008 at http://imechanica.org</guid>
</item>
<item>
 <title>I&#039;ve modified the above</title>
 <link>http://imechanica.org/node/776#comment-5371</link>
 <description>&lt;p&gt;
I&amp;#39;ve modified the above code in findpeak.m to:
&lt;/p&gt;
&lt;p&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp; % return only one-hundredth of a pixel precision&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp; x_offset = round(1000*x_offset)/1000;&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp; y_offset = round(1000*y_offset)/1000;&amp;nbsp;
&lt;/p&gt;
&lt;p&gt;
And then undid the second change to cpcorr that Christoph described in the correlation_guide_2 document to lines 134 and 135 (the ones that start &amp;quot;input_fractional_offset=. . .&amp;quot; and &amp;quot;base_fractional_offset=. . .&amp;quot;
&lt;/p&gt;
&lt;p&gt;
I did some correlations on computer generated sub-pixel movements and proved these modifications to vastly increase sub-pixel accuracy.
&lt;/p&gt;
&lt;br class=&quot;clear&quot; /&gt;</description>
 <pubDate>Thu, 27 Sep 2007 17:32:18 -0400</pubDate>
 <dc:creator>John W. Parker</dc:creator>
 <guid isPermaLink="false">comment 5371 at http://imechanica.org</guid>
</item>
<item>
 <title>findpeak.m</title>
 <link>http://imechanica.org/node/776#comment-5088</link>
 <description>&lt;p&gt;
It&amp;#39;s a part of the imaging toolbox I think.&amp;nbsp; It fits a second order polynomial to the data and reports the peak.&amp;nbsp; What seems strange to me is this portion of it:
&lt;/p&gt;
&lt;p&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp; % return only one-tenth of a pixel precision&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp; x_offset = round(10*x_offset)/10;&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp; y_offset = round(10*y_offset)/10;&amp;nbsp;&amp;nbsp;
&lt;/p&gt;
&lt;p&gt;
So it appears that this is limiting the precision of the correlation to 1/10th pixel, and since this function is what is called on by cpcorr.m the change suggested in the users guide to this software won&amp;#39;t do anything more then carry the decimal points form the original grid positions through the corrletion.
&lt;/p&gt;
&lt;p&gt;
Changing it to 1/100 produced some strange looking results with similar precision as before.&amp;nbsp; I&amp;#39;m still working on figuring out why.
&lt;/p&gt;
&lt;p&gt;
&amp;nbsp;&amp;nbsp;
&lt;/p&gt;
&lt;br class=&quot;clear&quot; /&gt;</description>
 <pubDate>Mon, 17 Sep 2007 17:18:45 -0400</pubDate>
 <dc:creator>John W. Parker</dc:creator>
 <guid isPermaLink="false">comment 5088 at http://imechanica.org</guid>
</item>
<item>
 <title>findpeak.m</title>
 <link>http://imechanica.org/node/776#comment-4669</link>
 <description>&lt;p&gt;
Hi
&lt;/p&gt;
&lt;p&gt;
I found that the package needs a private program called findpeak.m.. can you please tell me the way in which i can get this file?. without that, its not possible to get this working for me
&lt;/p&gt;
&lt;p&gt;
thank you!
&lt;/p&gt;
&lt;p&gt;
regards
&lt;/p&gt;
&lt;p&gt;
Vikas&amp;nbsp;
&lt;/p&gt;
&lt;br class=&quot;clear&quot; /&gt;</description>
 <pubDate>Tue, 21 Aug 2007 18:45:03 -0400</pubDate>
 <dc:creator>vikasargod</dc:creator>
 <guid isPermaLink="false">comment 4669 at http://imechanica.org</guid>
</item>
<item>
 <title>displacement calculation</title>
 <link>http://imechanica.org/node/776#comment-4080</link>
 <description>&lt;p&gt;
Hi
&lt;/p&gt;
&lt;p&gt;
i am using your code to get strain calculation.. i am running into problems with qhull precision. basically when i use displacement.m, it gives an error when it calls griddata. I am running for the same copies of images for understanding purpose. I am in Linux with matlab 7.4 in 64 bit. (error is meshplot in line 670).&amp;nbsp;
&lt;/p&gt;
&lt;p&gt;
i observed that if i use only two images (by commenting the code for loopimages), it gives an error that &amp;#39;matirix exceeds dimensions&amp;#39; at validx(:,3:10) ...etc
&lt;/p&gt;
&lt;p&gt;
&amp;nbsp;can you please help me?
&lt;/p&gt;
&lt;p&gt;
regards
&lt;/p&gt;
&lt;p&gt;
Vikas&amp;nbsp;
&lt;/p&gt;
&lt;br class=&quot;clear&quot; /&gt;</description>
 <pubDate>Mon, 13 Aug 2007 16:22:13 -0400</pubDate>
 <dc:creator>vikasargod</dc:creator>
 <guid isPermaLink="false">comment 4080 at http://imechanica.org</guid>
</item>
<item>
 <title>Interesting</title>
 <link>http://imechanica.org/node/776#comment-1311</link>
 <description>&lt;p&gt;Hi Lee,&lt;/p&gt;
&lt;p&gt; First of all, let me say that it is always great to hear that our code is of some use to the community and that it is being applied to a diverse set of problems.  An older version of the code was applied to SEM images during &lt;a href=&quot;http://doi.wiley.com/10.1002/adma.200501807&quot; target=&quot;_blank&quot; class=&quot;links&quot;&gt;deformation &lt;/a&gt;&lt;span class=&quot;links&quot;&gt;by Chris and his colleagues and inspired further development, but we have not used it for this purpose since.  It would be great if you could at some time provide some examples of its use with SEM images either here or off line.&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span class=&quot;links&quot;&gt;In terms of accuracy, this of course depends on many factors including, but not limited to, system optics, image resolution, and marker/contrast morphology.  A discussion of our system accuracy was addressed in a talk given by Chris at Nanomech 2006 -- the slides can be found at a &lt;a href=&quot;http://www.mathworks.com/matlabcentral/fileexchange/loadFile.do?objectId=12456&amp;amp;objectType=FILE&quot; target=&quot;_blank&quot; class=&quot;links&quot;&gt;sister posting on the Matlab file exchange server&lt;/a&gt;.  Please keep us up to date on how this compares to the commercial code you are using as we are constantly trying to improve this software.&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span class=&quot;links&quot;&gt;Thanks!&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span class=&quot;links&quot;&gt;-Dan   &lt;/span&gt;&lt;/p&gt;
&lt;br class=&quot;clear&quot; /&gt;</description>
 <pubDate>Thu, 22 Feb 2007 21:01:35 -0500</pubDate>
 <dc:creator>Dan Gianola</dc:creator>
 <guid isPermaLink="false">comment 1311 at http://imechanica.org</guid>
</item>
<item>
 <title>Thank you!</title>
 <link>http://imechanica.org/node/776#comment-1306</link>
 <description>&lt;p&gt;&lt;span&gt;I see. Thank you for your reply. I use your code for some of my SEM figs and it works very well, especially in the continuous deformation. But I want to know the accuracy of your method. I always use the business software DSCM to calculate the deformation and there is something different between your code’s result and the DSCM’s. &lt;/span&gt;&lt;/p&gt;
&lt;br class=&quot;clear&quot; /&gt;</description>
 <pubDate>Thu, 22 Feb 2007 11:13:51 -0500</pubDate>
 <dc:creator>Ying Li</dc:creator>
 <guid isPermaLink="false">comment 1306 at http://imechanica.org</guid>
</item>
<item>
 <title>Only 2 images can be used in our code</title>
 <link>http://imechanica.org/node/776#comment-1304</link>
 <description>&lt;p&gt;Hi Lee,&lt;/p&gt;
&lt;p&gt; While the code was written to extract strains/displacements for a series of images (a typical quasi-static experiment for us usually generates on the order of 1000 images), it absolutely has the capability of correlating or tracking shifts between a reference and a deformed image (3 or less as you mentioned).  If this is something you wish to do, then you would have to open the main scripts (automate_image.m for correlation and peak_labelling.m for tracking) and simply remove the main loops that cycle through images given in filenamelist.mat.  For the correlation code (automate_image.m), your &amp;#39;base&amp;#39; image would be your first image and the &amp;#39;input&amp;#39; image would be the second.&lt;/p&gt;
&lt;p&gt; Of course, as with any image correlation, you are subject to the usual constraint of small shifts between consecutive images.  If the shifts are too large, then the software will not be able to correlate the images.  This is why we take many images during the course of deforming our specimens.&lt;/p&gt;
&lt;p&gt; I hope this answers your question and helps you out!&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;-Dan &lt;/p&gt;
&lt;br class=&quot;clear&quot; /&gt;</description>
 <pubDate>Thu, 22 Feb 2007 09:44:02 -0500</pubDate>
 <dc:creator>Dan Gianola</dc:creator>
 <guid isPermaLink="false">comment 1304 at http://imechanica.org</guid>
</item>
<item>
 <title>Could it be used for less than 3 figs?</title>
 <link>http://imechanica.org/node/776#comment-1298</link>
 <description>&lt;p&gt;Thank you for your code. It is useful for me. But when I use it for less than 3 figs, it will eject an error message. What I want to know is that  it can be used for less than 3 figs?&lt;/p&gt;
&lt;p&gt;Lee&lt;/p&gt;
&lt;br class=&quot;clear&quot; /&gt;</description>
 <pubDate>Wed, 21 Feb 2007 06:42:30 -0500</pubDate>
 <dc:creator>Ying Li</dc:creator>
 <guid isPermaLink="false">comment 1298 at http://imechanica.org</guid>
</item>
</channel>
</rss>
