<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
</head>
<body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space;" class="">
Dear Rodrigo,
<div class=""><br class="">
</div>
<div class="">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 class=""><br class="">
</div>
<div class="">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" class="">http://dx.doi.org/10.3389/fpsyg.2013.00592</a>, which I would recommend following.</div>
<div class=""><br class="">
</div>
<div class="">Best,</div>
<div class=""><br class="">
</div>
<div class="">Ron</div>
<div class="">
<div style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space;" class="">
<br class="">
</div>
<div style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space;" class="">
_____________________</div>
<div style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space;" class="">
Ron Dotsch<br class="">
Associate Professor<br class="">
Department of Psychology<br class="">
Utrecht University<br class="">
<a href="http://ron.dotsch.org/" class="">http://ron.dotsch.org/</a></div>
</div>
<div class=""><br class="">
</div>
<div class=""><br class="">
</div>
<div class=""><br class="">
</div>
<div class=""><br class="">
</div>
<div class=""><br class="">
</div>
<div class="">On 31 Aug 2015, at 17:50, Rodrigo Cardenas <<a href="mailto:rodrigo.a.cardenas@gmail.com" class="">rodrigo.a.cardenas@gmail.com</a>> wrote:<br class="">
<div>
<blockquote type="cite" class="">
<div class="">
<div dir="ltr" class="">Dear Ron,
<div class=""><br class="">
</div>
<div class="">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;" class="">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;" class=""> 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 class=""><span style="font-size: 12.8000001907349px;" class=""><br class="">
</span></div>
<div class=""><span style="font-size: 12.8000001907349px;" class="">Best,</span></div>
<div class=""><span style="font-size: 12.8000001907349px;" class=""><br class="">
</span></div>
<div class=""><span style="font-size: 12.8000001907349px;" class="">Rodrigo</span></div>
</div>
<div class="gmail_extra"><br class="">
<div class="gmail_quote">On Sat, Aug 22, 2015 at 8:29 AM, Dotsch, R. (Ron) <span dir="ltr" class="">
<<a href="mailto:R.Dotsch@uu.nl" target="_blank" class="">R.Dotsch@uu.nl</a>></span> wrote:<br class="">
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<div style="word-wrap:break-word" class="">Hi Dan,
<div class=""><br class="">
</div>
<div class="">This looks fine to me. If you have a ci object, for instance the output of:</div>
<div class=""><br class="">
</div>
<div class="">someCI <- generateCI2IFC(…) </div>
<div class=""><br class="">
</div>
<div class="">you can get the raw noise in a 512x512 pixel matrix without base image using:</div>
<div class=""><br class="">
</div>
<div class="">someCI$ci</div>
<div class=""><br class="">
</div>
<div class="">This is not well-documented yet, but you can rely on it (so does rcicr).</div>
<div class=""><br class="">
</div>
<div class="">Best,</div>
<div class=""><br class="">
</div>
<div class="">Ron</div>
<div class=""><br class="">
</div>
<div class=""><br class="">
</div>
<div class="">
<div class="">
<div style="letter-spacing: normal; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; word-spacing: 0px; word-wrap: break-word;" class="">
<div style="letter-spacing: normal; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; word-spacing: 0px; word-wrap: break-word;" class="">
<div style="letter-spacing: normal; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; word-spacing: 0px; word-wrap: break-word;" class="">
<div style="letter-spacing: normal; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; word-spacing: 0px; word-wrap: break-word;" class="">
<div style="letter-spacing: normal; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; word-spacing: 0px; word-wrap: break-word;" class="">
<div style="letter-spacing: normal; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; word-spacing: 0px; word-wrap: break-word;" class="">
<div style="letter-spacing: normal; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; word-spacing: 0px; word-wrap: break-word;" class="">
<div style="letter-spacing: normal; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; word-spacing: 0px; word-wrap: break-word;" class="">
<div style="letter-spacing: normal; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; word-spacing: 0px; word-wrap: break-word;" class="">
<div style="letter-spacing: normal; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; word-spacing: 0px; word-wrap: break-word;" class="">
<div style="letter-spacing: normal; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; word-spacing: 0px; word-wrap: break-word;" class="">
<div style="letter-spacing: normal; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; word-spacing: 0px; word-wrap: break-word;" class="">
<div style="letter-spacing: normal; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; word-spacing: 0px; word-wrap: break-word;" class="">
<div style="letter-spacing: normal; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; word-spacing: 0px; word-wrap: break-word;" class="">
<div style="letter-spacing: normal; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; word-spacing: 0px; word-wrap: break-word;" class="">
_____________________</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;" class="">
Ron Dotsch<br class="">
Associate Professor<br class="">
Department of Psychology<br class="">
Utrecht University<br class="">
<a href="http://ron.dotsch.org/" target="_blank" class="">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;" class="">
<br class="">
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
<br class="">
</div>
<br class="">
<div class="">
<blockquote type="cite" class="">
<div class="">
<div class="h5">
<div class="">On 21 Aug 2015, at 17:48, Daniel Albohn <<a href="mailto:d.albohn@gmail.com" target="_blank" class="">d.albohn@gmail.com</a>> wrote:</div>
<br class="">
</div>
</div>
<div class="">
<div class="">
<div class="h5">
<div dir="ltr" class="">
<div class="">
<div class="">
<div class="">
<div class="">
<div class="">
<div class="">Hello,<br class="">
<br class="">
</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 class="">
<br class="">
</div>
----R code----<br class="">
<br class="">
data <- read.csv("rcicrData1.csv")<br class="">
<br class="">
</div>
<div class="">##Apparently this is unneeded for creating just a noise image?##<br class="">
</div>
<div class="">n <- 'rcicrdata.Rdata'<br class="">
<br class="">
responses <- as.vector(data$correct)<br class="">
<br class="">
s <- generateNoisePattern(img_size = 512, pre_0.3.0 = TRUE)<br class="">
<br class="">
noise <- generateCINoise(data$Face, data$correct, s)<br class="">
image(noise) #it's in color?<br class="">
<br class="">
</div>
<div class="">##output grey scale image##<br class="">
</div>
<div class="">jpeg("Noise_img.jpg",<br class="">
width = 512, height = 512, units = "px")<br class="">
par(mar = rep(0,4))<br class="">
image(noise, axes=FALSE, col = grey(seq(0,1, length = 512)))<br class="">
dev.off()<br class="">
<br class="">
</div>
---End Code---<br class="">
<br class="">
</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 class="">
<br class="">
</div>
Thanks,<br class="">
</div>
Dan<br clear="all" class="">
<div class="">
<div class="">
<div class="">
<div class="">
<div class="">
<div class="">
<div class=""><br class="">
-- <br class="">
<div class="">
<div dir="ltr" class="">
<div class="">
<div dir="ltr" class="">
<div class=""><br class="">
</div>
Daniel Albohn<br class="">
<div class=""><a href="http://www.sites.psu.edu/albohn" target="_blank" class="">Website</a> |
<a href="tel:484-332-7688" value="+14843327688" target="_blank" class="">484-332-7688</a></div>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
_______________________________________________<br class="">
Rcicr-users mailing list<br class="">
<a href="mailto:Rcicr-users@lists.r-forge.r-project.org" target="_blank" class="">Rcicr-users@lists.r-forge.r-project.org</a><br class="">
<a href="http://lists.r-forge.r-project.org/cgi-bin/mailman/listinfo/rcicr-users" target="_blank" class="">http://lists.r-forge.r-project.org/cgi-bin/mailman/listinfo/rcicr-users</a><br class="">
</div>
</blockquote>
</div>
<br class="">
</div>
</div>
<br class="">
_______________________________________________<br class="">
Rcicr-users mailing list<br class="">
<a href="mailto:Rcicr-users@lists.r-forge.r-project.org" class="">Rcicr-users@lists.r-forge.r-project.org</a><br class="">
<a href="http://lists.r-forge.r-project.org/cgi-bin/mailman/listinfo/rcicr-users" rel="noreferrer" target="_blank" class="">http://lists.r-forge.r-project.org/cgi-bin/mailman/listinfo/rcicr-users</a><br class="">
<br class="">
</blockquote>
</div>
<br class="">
</div>
</div>
</blockquote>
</div>
<br class="">
</div>
</body>
</html>