<div dir="ltr">Thank you Ron and sorry for the confusion. The goal was to produce the noise image that can be used with the <span style="color:rgb(0,0,0);font-size:12.8000001907349px">stat4CI toolbox</span><span style="color:rgb(0,0,0);font-size:12.8000001907349px"> (although you mentioned that I should not use that method). So, first I tried generating the noise image with the code posted by Dan (image A):</span><div><div><br></div><div><div>data <- read.csv("rcicrData1.csv")</div><div><br></div><div>rdata <- 'rcicrdata.Rdata'</div><div><br></div><div>#### specific to image A #######</div><div>s <- generateNoisePattern(img_size = 512, pre_0.3.0 = TRUE)</div><div><br></div><div>noise <- generateCINoise(data$Face, data$correct, s)</div><div>image(noise)</div><div><br></div><div>#output grey scale image#</div><div>jpeg("Noise_imgA.jpg",</div><div> width = 512, height = 512, units = "px")</div><div>par(mar = rep(0,4))</div><div>image(noise, axes=FALSE, col = grey(seq(0,1, length = 512)))</div><div>dev.off()</div><div><br></div><div><br></div><div>After reading your reply to Dan, I tried code with $ci</div><div><br></div><div>###### specific to image B #######</div><div>ci1 <- generateCI2IFC(data$Face, data$correct, baseimage1, rdata, targetpath='./cis')</div><div>noise <- ci1$ci</div><div>jpeg("Noise_imgB.jpg",</div><div> width = 512, height = 512, units = "px")</div><div>par(mar = rep(0,4))</div><div>image(noise, axes=FALSE, col = grey(seq(0,1, length = 512)))</div><div>dev.off()</div><div><br></div></div><div>Images A and B are not identical. Since I am not familiar with the mechanics of the code, I was wandering which method is recommended for generating the noise CI. Thank you for the reference, I will look further into it.<br></div><div><br></div><div>All the best,</div><div><br></div><div>Rodrigo</div><div><br></div></div></div><div class="gmail_extra"><br><div class="gmail_quote">On Mon, Aug 31, 2015 at 2:13 PM, Dotsch, R. (Ron) <span dir="ltr"><<a href="mailto:R.Dotsch@uu.nl" target="_blank">R.Dotsch@uu.nl</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<div style="word-wrap:break-word">
Dear Rodrigo,
<div><br>
</div>
<div>I need more information to help you out. What is the code you use to generate the images? And which two images do you mean?</div>
<div><br>
</div>
<div>With respect to using the stat4CI toolbox on sinusoid noise like I did in the SPPS paper: I would recommend not following the method I used as it is very unclear how to compute the z-scores with these noise patterns. A different approach to compute
z-scores is given by <a href="http://dx.doi.org/10.3389/fpsyg.2013.00592" target="_blank">http://dx.doi.org/10.3389/fpsyg.2013.00592</a>, which I would recommend following.</div><span class="">
<div><br>
</div>
<div>Best,</div>
<div><br>
</div>
<div>Ron</div>
<div>
<div style="word-wrap:break-word">
<br>
</div>
<div style="word-wrap:break-word">
_____________________</div>
<div style="word-wrap:break-word">
Ron Dotsch<br>
Associate Professor<br>
Department of Psychology<br>
Utrecht University<br>
<a href="http://ron.dotsch.org/" target="_blank">http://ron.dotsch.org/</a></div>
</div>
<div><br>
</div>
<div><br>
</div>
<div><br>
</div>
<div><br>
</div>
<div><br>
</div>
</span><div><div class="h5"><div>On 31 Aug 2015, at 17:50, Rodrigo Cardenas <<a href="mailto:rodrigo.a.cardenas@gmail.com" target="_blank">rodrigo.a.cardenas@gmail.com</a>> wrote:<br>
<div>
<blockquote type="cite">
<div>
<div dir="ltr">Dear Ron,
<div><br>
</div>
<div>Thank you for your reply. I read your post and tried the code posted by Daniel as well as yours (<span style="font-size:12.8000001907349px">someCI$ci</span>), using my data. However, both images are not identical, so now I am wondering
which one I should use. My goal is to generate a noise image that I can use for the analysis done with<span style="font-size:12.8000001907349px"> the matlab toolbox stat4CI, as described in Dotsch, R., & Todorov, A. (2012). Reverse correlating social
face perception. Social Psychological and Personality Science, 3 (5), 562-571. Any help/guidance with this will be much appreciated.</span></div>
<div><span style="font-size:12.8000001907349px"><br>
</span></div>
<div><span style="font-size:12.8000001907349px">Best,</span></div>
<div><span style="font-size:12.8000001907349px"><br>
</span></div>
<div><span style="font-size:12.8000001907349px">Rodrigo</span></div>
</div>
<div class="gmail_extra"><br>
<div class="gmail_quote">On Sat, Aug 22, 2015 at 8:29 AM, Dotsch, R. (Ron) <span dir="ltr">
<<a href="mailto:R.Dotsch@uu.nl" target="_blank">R.Dotsch@uu.nl</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<div style="word-wrap:break-word">Hi Dan,
<div><br>
</div>
<div>This looks fine to me. If you have a ci object, for instance the output of:</div>
<div><br>
</div>
<div>someCI <- generateCI2IFC(…) </div>
<div><br>
</div>
<div>you can get the raw noise in a 512x512 pixel matrix without base image using:</div>
<div><br>
</div>
<div>someCI$ci</div>
<div><br>
</div>
<div>This is not well-documented yet, but you can rely on it (so does rcicr).</div>
<div><br>
</div>
<div>Best,</div>
<div><br>
</div>
<div>Ron</div>
<div><br>
</div>
<div><br>
</div>
<div>
<div>
<div style="letter-spacing:normal;text-align:start;text-indent:0px;text-transform:none;white-space:normal;word-spacing:0px;word-wrap:break-word">
<div style="letter-spacing:normal;text-align:start;text-indent:0px;text-transform:none;white-space:normal;word-spacing:0px;word-wrap:break-word">
<div style="letter-spacing:normal;text-align:start;text-indent:0px;text-transform:none;white-space:normal;word-spacing:0px;word-wrap:break-word">
<div style="letter-spacing:normal;text-align:start;text-indent:0px;text-transform:none;white-space:normal;word-spacing:0px;word-wrap:break-word">
<div style="letter-spacing:normal;text-align:start;text-indent:0px;text-transform:none;white-space:normal;word-spacing:0px;word-wrap:break-word">
<div style="letter-spacing:normal;text-align:start;text-indent:0px;text-transform:none;white-space:normal;word-spacing:0px;word-wrap:break-word">
<div style="letter-spacing:normal;text-align:start;text-indent:0px;text-transform:none;white-space:normal;word-spacing:0px;word-wrap:break-word">
<div style="letter-spacing:normal;text-align:start;text-indent:0px;text-transform:none;white-space:normal;word-spacing:0px;word-wrap:break-word">
<div style="letter-spacing:normal;text-align:start;text-indent:0px;text-transform:none;white-space:normal;word-spacing:0px;word-wrap:break-word">
<div style="letter-spacing:normal;text-align:start;text-indent:0px;text-transform:none;white-space:normal;word-spacing:0px;word-wrap:break-word">
<div style="letter-spacing:normal;text-align:start;text-indent:0px;text-transform:none;white-space:normal;word-spacing:0px;word-wrap:break-word">
<div style="letter-spacing:normal;text-align:start;text-indent:0px;text-transform:none;white-space:normal;word-spacing:0px;word-wrap:break-word">
<div style="letter-spacing:normal;text-align:start;text-indent:0px;text-transform:none;white-space:normal;word-spacing:0px;word-wrap:break-word">
<div style="letter-spacing:normal;text-align:start;text-indent:0px;text-transform:none;white-space:normal;word-spacing:0px;word-wrap:break-word">
<div style="letter-spacing:normal;text-align:start;text-indent:0px;text-transform:none;white-space:normal;word-spacing:0px;word-wrap:break-word">
_____________________</div>
<div style="letter-spacing:normal;text-align:start;text-indent:0px;text-transform:none;white-space:normal;word-spacing:0px;word-wrap:break-word">
Ron Dotsch<br>
Associate Professor<br>
Department of Psychology<br>
Utrecht University<br>
<a href="http://ron.dotsch.org/" target="_blank">http://ron.dotsch.org/</a></div>
<div style="letter-spacing:normal;text-align:start;text-indent:0px;text-transform:none;white-space:normal;word-spacing:0px;word-wrap:break-word">
<br>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
<br>
</div>
<br>
<div>
<blockquote type="cite">
<div>
<div>
<div>On 21 Aug 2015, at 17:48, Daniel Albohn <<a href="mailto:d.albohn@gmail.com" target="_blank">d.albohn@gmail.com</a>> wrote:</div>
<br>
</div>
</div>
<div>
<div>
<div>
<div dir="ltr">
<div>
<div>
<div>
<div>
<div>
<div>Hello,<br>
<br>
</div>
I am writing the listserv to get some feedback on how to obtain just a noise image from a reverse correlation task (i.e., without the base image). Through looking at the documentation, I believe this is possible, although there are not many examples or supporting
documents to confirm my suspicious. As such, I wanted to make sure my code was actually giving me what I want it to give me.<br>
<br>
</div>
----R code----<br>
<br>
data <- read.csv("rcicrData1.csv")<br>
<br>
</div>
<div>##Apparently this is unneeded for creating just a noise image?##<br>
</div>
<div>n <- 'rcicrdata.Rdata'<br>
<br>
responses <- as.vector(data$correct)<br>
<br>
s <- generateNoisePattern(img_size = 512, pre_0.3.0 = TRUE)<br>
<br>
noise <- generateCINoise(data$Face, data$correct, s)<br>
image(noise) #it's in color?<br>
<br>
</div>
<div>##output grey scale image##<br>
</div>
<div>jpeg("Noise_img.jpg",<br>
width = 512, height = 512, units = "px")<br>
par(mar = rep(0,4))<br>
image(noise, axes=FALSE, col = grey(seq(0,1, length = 512)))<br>
dev.off()<br>
<br>
</div>
---End Code---<br>
<br>
</div>
Any thoughts, suggestions, or critiques would be appreciated! Again, I am looking to output a noise image from RC data, much like generating a CI, but without the base image underneath.<br>
<br>
</div>
Thanks,<br>
</div>
Dan<br clear="all">
<div>
<div>
<div>
<div>
<div>
<div>
<div><br>
-- <br>
<div>
<div dir="ltr">
<div>
<div dir="ltr">
<div><br>
</div>
Daniel Albohn<br>
<div><a href="http://www.sites.psu.edu/albohn" target="_blank">Website</a> |
<a href="tel:484-332-7688" value="+14843327688" target="_blank">484-332-7688</a></div>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
_______________________________________________<br>
Rcicr-users mailing list<br>
<a href="mailto:Rcicr-users@lists.r-forge.r-project.org" target="_blank">Rcicr-users@lists.r-forge.r-project.org</a><br>
<a href="http://lists.r-forge.r-project.org/cgi-bin/mailman/listinfo/rcicr-users" target="_blank">http://lists.r-forge.r-project.org/cgi-bin/mailman/listinfo/rcicr-users</a><br>
</div>
</blockquote>
</div>
<br>
</div>
</div>
<br>
_______________________________________________<br>
Rcicr-users mailing list<br>
<a href="mailto:Rcicr-users@lists.r-forge.r-project.org" target="_blank">Rcicr-users@lists.r-forge.r-project.org</a><br>
<a href="http://lists.r-forge.r-project.org/cgi-bin/mailman/listinfo/rcicr-users" rel="noreferrer" target="_blank">http://lists.r-forge.r-project.org/cgi-bin/mailman/listinfo/rcicr-users</a><br>
<br>
</blockquote>
</div>
<br>
</div>
</div>
</blockquote>
</div>
<br>
</div>
</div></div></div>
</blockquote></div><br></div>