Skip to main content

image analysis in matlab


Is there is a way to build an image simulator in Matlab from zemax ?

 

Did this topic help you find an answer to your question?

4 replies

Brian.Catanzaro
Fully Spectral
Forum|alt.badge.img+4

Sure... you can use the ZOSAPI to communicate back-and-forth between Matlab and Zemax OpticStudio.

You can access all the analyses in OpticStudio from Matlab.  You can:

  • Simulate images in OpticStudio and display in Matlab
  • Collect PSFs across the FoV and compute your own image simulation
  • Use the MTF for systems where the PSF / MTF are constant over the field and use linear systems theory to compute the image

What do you want to do that is beyond these options?


  • Author
  • Single Emitter
  • 3 replies
  • May 29, 2021

Hi Brian,

Thanks a lot for the info & this is exactly what I need. Do have any resource material/any example of thread where the following topic is explained:

  • Collect PSFs across the FoV and compute your own image simulation
  • Use the MTF for systems where the PSF / MTF are constant over the field and use linear systems theory to compute the image

Looking forward towards your reply,

Kind regards,

saikat


Csilla Timar-Fulep
Zemax Staff
Forum|alt.badge.img+2

Hello,

 

Thanks for your posts here on the forums!

 

 

Saikat, as Brian mentioned, this is all possible from the ZOS-API. If you would like to learn more about the basics of the ZOS-API connection, I would recommend to check out this learning path:

Getting Started with ZOS-API

ZOS-API.NET: An Overview

 

 

You may find complete examples, for example about how to pull the FFT MTF data, in the ZOS-API Syntax Help:

210601-153532-image.png

 

 

You may find further references and sample codes at these forum threads:

OpticsTalk: Deep Dive into Creating the Wavefront, Spot Diagram, PSF, and MTF in OpticStudio

How do I output the image of an analysis in ZOS-API?

How to extract the result of ImageSimulation in ZOS-API

Evaluation of PSF by on each pixel on the image sensor

 

 

I hope this helps, but if you have any further questions, we will be happy to help!

 

 

Best,

Csilla

 


  • Author
  • Single Emitter
  • 3 replies
  • June 2, 2021

Hi Csilla,

Thanks a lot for the information.

kind regards,

saikat

 


Reply


Cookie policy

We use cookies to enhance and personalize your experience. If you accept you agree to our full cookie policy. Learn more about our cookies.

 
Cookie settings