comp.lang.idl-pvwave archive
Messages from Usenet group comp.lang.idl-pvwave, compiled by Paulo Penteado

Home » Public Forums » archive » Program architecture question
Show: Today's Messages :: Show Polls :: Message Navigator
E-mail to friend 
Return to the default flat view Create a new topic Submit Reply
Program architecture question [message #43933] Tue, 03 May 2005 13:31
Marc Reinig is currently offline  Marc Reinig
Messages: 30
Registered: June 2004
Member
I am writing a program that takes an image from a ROI on a camera, processes
the image, finds the centroids of certain elements, uses those to calculate
slopes and then reconstructs a surface: a wavefront sensor.

So I have several modules for my wavefront sensor:
CameraCapture
ImageProcess
Centroid
SlopeExtract
Reconstruct

I will be doing this "simultaneously" for several WFS's. So what I would
like to do is have a single context for each WFS that contains all the
information needed to process the captured image and provide a wavefront.

My thought is to have a single structure that is filled in for each WFS and
passed to it. Each module would get all the information it needs from it's
WFS's context and would use or fill in the appropriate info.

I could then save the structure and capture the entire data flow for
evaluation at a later date.

The image array might be 1024x1024 x 16 bits. There would be other arrays
passed between the modules that would be 100x100 floating point values. So
my structure would be fairly large, >2MB.

Is that an unreasonable size for a structure?

Marco
________________________
Marc Reinig
UCO/Lick Observatory
Laboratory for Adaptive Optics
[Message index]
 
Read Message
Previous Topic: Tricky data-summing question
Next Topic: NASA 2010 Format File Reader?

-=] Back to Top [=-
[ Syndicate this forum (XML) ] [ RSS ] [ PDF ]

Current Time: Mon Oct 13 18:00:41 PDT 2025

Total time taken to generate the page: 0.30323 seconds