-
Notifications
You must be signed in to change notification settings - Fork 51
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Optic can not load mat data #32
Comments
In this case, I am not sure what action you are taking. I will check if you tell me what file you are loading.
The warning (fov is not set yet) can happen if the oi is not set. The oi field of view (fov) is inherited from the scene via oiCompute(oi,scene);
Anyway, this one looks like some edge case of usage. I will try to handle it once I know what you did to get here.
Onward,
From: FengJin2023 ***@***.***>
Date: Thursday, November 23, 2023 at 9:01 AM
To: ISET/isetcam ***@***.***>
Cc: Subscribed ***@***.***>
Subject: [ISET/isetcam] Optic can not load mat data (Issue #32)
After I load a .mat data into optic. Below error message is pop up.
*** The oi fov is not set yet. Using the scene fov.
*** The oi fov is not set yet. Using the scene fov.
*** The oi fov is not set yet. Using the scene fov.
Warning: Variable 'opticalimage' not found.
In vcLoadObject (line 56)
In vcImportObject (line 44)
In oiWindow_App/menuFileLoadOI_Callback (line 874)
—
Reply to this email directly, view it on GitHub<#32>, or unsubscribe<https://github.com/notifications/unsubscribe-auth/AAOAQWPA6SC37CYSZJDOFK3YF56MPAVCNFSM6AAAAAA7YBWBSGVHI2DSMVQWIX3LMV43ASLTON2WKOZSGAYDQNJYGA4TCMQ>.
You are receiving this because you are subscribed to this thread.Message ID: ***@***.***>
|
Thank you for your reply.
Attached it the file I used. |
I am sorry, but I don’t really follow this.
Why would you try to open a scene struct, saved in a .mat file, as an optic? The computational path is to define the optics properties in an oi, and then to use oiCompute to render an optical image from the scene, such as
Scene = sceneCreate;
Oi = oiCreate;
Oi = oiCompute(oi,scene).
From: FengJin2023 ***@***.***>
Date: Thursday, November 23, 2023 at 3:02 PM
To: ISET/isetcam ***@***.***>
Cc: Brian A Wandell ***@***.***>, Comment ***@***.***>
Subject: Re: [ISET/isetcam] Optic can not load mat data (Issue #32)
Thank you for your reply.
I was trying to do below.
1. Make scene image from 'scene'.
2. Save it as .mat file
3. Open it in 'optic'.
Attached it the file I used.
white_noise.zip<https://github.com/ISET/isetcam/files/13453752/white_noise.zip>
—
Reply to this email directly, view it on GitHub<#32 (comment)>, or unsubscribe<https://github.com/notifications/unsubscribe-auth/AAOAQWIMLVFVCOEWYXCV4EDYF7IZNAVCNFSM6AAAAAA7YBWBSGVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMYTQMRUHE4DGMBWGU>.
You are receiving this because you commented.Message ID: ***@***.***>
|
I misunderstood the working flow of the tool. |
Good to have the issues on GitHub. Thanks.
Brian Wandell
Stein Family Chair
Stanford University
Http://www.stanford.edu/~wandell
…________________________________
From: FengJin2023 ***@***.***>
Sent: Saturday, November 25, 2023 9:53:37 PM
To: ISET/isetcam ***@***.***>
Cc: Brian A Wandell ***@***.***>; Comment ***@***.***>
Subject: Re: [ISET/isetcam] Optic can not load mat data (Issue #32)
I misunderstood the working flow of the tool.
I successfully get images in OI and Sensor.
However, I got another problem on processor. I will open a new questions.
Besides, I have some general questions regarding settings. Shall I wrote it by email or github?
—
Reply to this email directly, view it on GitHub<#32 (comment)>, or unsubscribe<https://github.com/notifications/unsubscribe-auth/AAOAQWMLAZ3JTCQVJVHB4LLYGLKODAVCNFSM6AAAAAA7YBWBSGVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMYTQMRWGYYDQNRZGE>.
You are receiving this because you commented.Message ID: ***@***.***>
|
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
After I load a .mat data into optic. Below error message has popped up.
Could you take a look what is the problem is?
*** The oi fov is not set yet. Using the scene fov.
*** The oi fov is not set yet. Using the scene fov.
*** The oi fov is not set yet. Using the scene fov.
Warning: Variable 'opticalimage' not found.
The text was updated successfully, but these errors were encountered: