This project has moved. For the latest updates, please go here.

Import Aoi's

Dec 17, 2012 at 9:09 AM

I am having problems importing Aoi's. I have defined rectangulars and I would like to import them to my study. I have tried multiple settings in the import module, but without any success yet. The error 'Given key was not in dictionary' keeps popping up. I also tried to export Aoi’s created with Ogama and importing them again. The same error occurred. Can anyone help me with creating the right file layout and to select the right import settings?

Thank you, 

Linda

My rectangular-file:

Stimulusfile        NameOfShape  lefttopcornerx  lefttopcornery  rightbottomcorner rightbottomcornery

1              one        208         152         380         212        

1              two        380         152         791         212        

1              three     791         152         541         212                        

1              four       541         152         648         212        

1              five        200         200         200         200        

 

My at random made Aoi output file from Ogama

ID            TrialID   SlideNr ShapeName       ShapeType         ShapeNumPts   ShapePts             ShapeGroup      AOI Area Size %               

1              1              0              one        Rectangle            4              P0:(185.4;151.2) P1:(612.8;151.2) P2:(612.8;300.3) P3:(185.4;300.3)                                 4.861857             

2              1              0              two        Rectangle            4              P0:(195.5;306.4) P1:(685.4;306.4) P2:(685.4;419.3) P3:(195.5;419.3)                                 4.219796             

3              1              0              three     Rectangle            4              P0:(155.2;151.2) P1:(344.7;151.2) P2:(344.7;381.0) P3:(155.2;381.0)                                 3.322381             

4              1              0              four       Rectangle            4              P0:(209.6;129.0) P1:(393.1;129.0) P2:(393.1;346.7) P3:(209.6;346.7)                                 3.047787             

5              1             0              five        Rectangle            4              P0:(237.9;181.4) P1:(431.4;181.4) P2:(431.4;431.4) P3:(237.9;431.4)                                 3.69072

Jan 7, 2013 at 11:10 AM
Edited Jan 7, 2013 at 11:13 AM

I have found a way to import Aoi's without using the import tool. I just copy-paste the AOI's from a text-file using the following setup (tab delimited)

subjectnr Trialsequence TrailID TrialName ShapeName ShapeNumPts ShapePts Shapegroup

1 0 0 de Rectangle 4 P0:(198.0;165.0) P1:(260.0;165.0) P2:(260.0;261.0) P3:(198.0;261.0) Target

To Import: 

-Go to to Area of Interest Module

-Select a page/picture

-Copy the Aoi's of this page (from a textfile)

-Paste them into AOI database Table

Mar 10, 2016 at 2:02 PM
Lindadeleeuw wrote:
I have found a way to import Aoi's without using the import tool. I just copy-paste the AOI's from a text-file using the following setup (tab delimited) subjectnr Trialsequence TrailID TrialName ShapeName ShapeNumPts ShapePts Shapegroup 1 0 0 de Rectangle 4 P0:(198.0;165.0) P1:(260.0;165.0) P2:(260.0;261.0) P3:(198.0;261.0) Target To Import:  -Go to to Area of Interest Module -Select a page/picture -Copy the Aoi's of this page (from a textfile) -Paste them into AOI database Table
Hi Lindadeleeuw, would you please explain better your method?

I am having troubles with AOI import from a file to one other (actually, two slightly different version of the same experiment).
The import process is successfully and Ogama is able to calculate stuff relative to the imported AOI. Though, the AOI module gets stucked all the time with an error:

The entered value is violating columns argument rules.
For example: the given value does not matches the columns type

I tried to vary the table structure with no results at all.

Thanks!