<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="color:rgb(0,0,0);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="color:rgb(0,0,0);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="color:rgb(0,0,0);font-size:12.8000001907349px"><br></span></div><div><span style="color:rgb(0,0,0);font-size:12.8000001907349px">Best,</span></div><div><span style="color:rgb(0,0,0);font-size:12.8000001907349px"><br></span></div><div><span style="color:rgb(0,0,0);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="color:rgb(0,0,0);letter-spacing:normal;text-align:start;text-indent:0px;text-transform:none;white-space:normal;word-spacing:0px;word-wrap:break-word">
<div style="color:rgb(0,0,0);letter-spacing:normal;text-align:start;text-indent:0px;text-transform:none;white-space:normal;word-spacing:0px;word-wrap:break-word">
<div style="color:rgb(0,0,0);letter-spacing:normal;text-align:start;text-indent:0px;text-transform:none;white-space:normal;word-spacing:0px;word-wrap:break-word">
<div style="color:rgb(0,0,0);letter-spacing:normal;text-align:start;text-indent:0px;text-transform:none;white-space:normal;word-spacing:0px;word-wrap:break-word">
<div style="color:rgb(0,0,0);letter-spacing:normal;text-align:start;text-indent:0px;text-transform:none;white-space:normal;word-spacing:0px;word-wrap:break-word">
<div style="color:rgb(0,0,0);letter-spacing:normal;text-align:start;text-indent:0px;text-transform:none;white-space:normal;word-spacing:0px;word-wrap:break-word">
<div style="color:rgb(0,0,0);letter-spacing:normal;text-align:start;text-indent:0px;text-transform:none;white-space:normal;word-spacing:0px;word-wrap:break-word">
<div style="color:rgb(0,0,0);letter-spacing:normal;text-align:start;text-indent:0px;text-transform:none;white-space:normal;word-spacing:0px;word-wrap:break-word">
<div style="color:rgb(0,0,0);letter-spacing:normal;text-align:start;text-indent:0px;text-transform:none;white-space:normal;word-spacing:0px;word-wrap:break-word">
<div style="color:rgb(0,0,0);letter-spacing:normal;text-align:start;text-indent:0px;text-transform:none;white-space:normal;word-spacing:0px;word-wrap:break-word">
<div style="color:rgb(0,0,0);letter-spacing:normal;text-align:start;text-indent:0px;text-transform:none;white-space:normal;word-spacing:0px;word-wrap:break-word">
<div style="color:rgb(0,0,0);letter-spacing:normal;text-align:start;text-indent:0px;text-transform:none;white-space:normal;word-spacing:0px;word-wrap:break-word">
<div style="color:rgb(0,0,0);letter-spacing:normal;text-align:start;text-indent:0px;text-transform:none;white-space:normal;word-spacing:0px;word-wrap:break-word">
<div style="color:rgb(0,0,0);letter-spacing:normal;text-align:start;text-indent:0px;text-transform:none;white-space:normal;word-spacing:0px;word-wrap:break-word">
<div style="color:rgb(0,0,0);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="color:rgb(0,0,0);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="color:rgb(0,0,0);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 class="h5">
<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 class="h5">
<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">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>