WinVis Home Forums Help View All Forums
Jump to Forum:
WinVis Forums

Latest Posts from the Forums
Will MinVis work with Matlab 2007a? post by: Guest 9/30/08 9:23 AM PDT
I read that Matlab 2007b is not supported by WinVis.  Is it compatible with 2007a Student version?

Joho, maybe someone can help? post by: Guest 4/14/08 3:46 AM PDT
Hi,
at the moment i have my first

Membership question post by: Guest 11/15/06 12:26 PM PST
Hi,

I have signed a membership and play an order. I would like to return and pay the order later. However, every time when I come back to this website, the account I have signed up does not work. I need to sign a new membership and place a new order. I wonder what is the problem and how I can use my old account? thanks for your kind reply,

best,

Hengyi Rao, Ph.D
hengyi@gmail.com

Grid artifact post by: thom 10/17/06 9:39 AM PDT
Hello Mani, in response to your questions:

1) Stimulus dll's with names that contain '8' generate 8bit images. Several dll that generate 24/32 bit sinewaves are available in the database.

2) The grid you see is due to the status of your account. We enable users to start using the system (with grids) to so they begin generating experiment code before payment arrives. Once payment is recieved the account status changes and the grids will disappear with the updated license.

grid artifact over stimulus image post by: Guest 10/16/06 11:58 AM PDT
Hi,

I am using WinVis on a Dell Inspiron 700m laptop to assess the utilities with resolution set to 1280 X 800 X 32. I tried to run the sample/prototyp W4M experiment "spacial frequency discrimination:2AFC & constant stimuli". I had the following problems.

1. WinVis could not read the image created by the stimulusDLL file - maskSine8('params'...). MATLAB returned the error message "Incorrect image dimensions for monitor mode" . I tried to catenate the same image created by maskSine8.dll along the 3rd dimension and the image(static sine wave grating) was displayed properly. But is this the right way to convert a two dimensional image(created by winvis online stimulusDLL files) to three dimensions?

2. After the image was displayed somehow, there was a layer of square mesh grid(black wires) that moved towards the top right corner throughout the trial. I tried some simple stimulus also but the mesh grid persists. Can anyone help me?

Thanks
Mani

null post by: manivannan 10/15/06 11:52 PM PDT

W4M bmp to *.jpg movie post by: Guest 6/23/06 1:05 PM PDT
% generates short AVI movies from sequential W4M bmp's
% the function mpgwrite.dll is available free from the
% Mathworks web site.

clear all;
next = 1;
name = input('Enter the movie name: (movie.jpg) ','s');
for j = 1:4,
    % identify the sprite files to use
    fn = []; sPN=[];
    [fn, sPN] = uigetfile( '*.bmp', 'Open sprite image file...' );
    if isequal(fn,0)|isequal(sPN,0),  error = 1; return; end
    casFiles = struct2cell( dir([sPN '*.bmp' ] ) );
    casFN = casFiles(1,:)';
    casFN = sort(casFN);  % order the sequences
    numFrames = length(casFN);

    for i=1:numFrames,
        filename = [sPN casFN{i}];
        [spriteimage map] = imread(filename,'bmp');
        x= floor(size(spriteimage,2)/3);
        y= floor(size(spriteimage,1)/3);
        newspriteimage = zeros(y,x,'uint8');
        for ix = 1:x,
            for iy = 1:y,
                newspriteimage(iy,ix) = spriteimage(iy*3-2,ix*3-2);
            end; end;
        % add fixation
        newspriteimage(round(y/2)+1,round(x/2)+1)=255;
        %newspriteimage(round(y/2)-iy,round(x/2)+ix)=255;
        mov(i+next-1)= im2frame(newspriteimage,map);
    end;
    next = next + numFrames;
end;

savename = [sPN name];
%movie2avi(mov,savename,'fps',15,'quality',50, 'compression', 'MSVC') ;
%movie2avi(mov,savename,'fps',15,'quality',50, 'compression', 'Cinepak') ;
%movie2avi(mov,savename,'fps',15,'quality',50, 'compression', 'None') ;
options = [ 1 2 2 15 8 10 25];
mpgwrite(mov, map, savename,options);

isoluminance - heterochromatic flicker photometry post by: Guest 6/11/06 2:15 PM PDT
Does anyone know of freeware/shareware that will determine isoluminance points between a red and gray stimulus using heterochromatic flicker photometry? Thanks for any help.

Stimulus DLL's post by: Guest 12/29/05 8:03 AM PST
Hi, Most if not all stimuli in the central database are available as *.exe and *.dll files. From the WinVis home page under 'Work on My Files' select 'File Archive'. You will see a list of stimulus *.exe files. Near the top select 'W4M Stimulus'. Now you will see stimulus *.dll files. Fine the stimulus file you are looking for and select it for download. Its as easy as that.

Online Stimulus Editor post by: jebarton 12/28/05 2:53 PM PST
I'd like to download a stimulus object in the form of a .dll file (as explained on page 22 of the user's manual.)  On the website I was able to find an image I would like to download but it is in .exe file.  Is there a way to convert an exe file to a dll file?  Please get back to me.  Thank you.