Changeset 9744 for trunk/doc/modules/CameraImages.tex
- Timestamp:
- Oct 24, 2006, 3:48:17 PM (20 years ago)
- File:
-
- 1 edited
-
trunk/doc/modules/CameraImages.tex (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/doc/modules/CameraImages.tex
r9721 r9744 951 951 \subsection{FPA Files} 952 952 953 \tbd{EAM to provide from the following files: 954 pmFPAfileDefine.h 955 pmFPAfileFitsIO.h 956 pmFPAfile.h 957 pmFPAfileIO.h 958 pmFPA_MANAPLOT.h 959 pmFPA_JPEG.h 960 } 953 \tbd{Below is the old text (it just stops suddenly). EAM to provide 954 from the following files: pmFPAfileDefine.h pmFPAfileFitsIO.h 955 pmFPAfile.h pmFPAfileIO.h pmFPA\_MANAPLOT.h pmFPA\_JPEG.h } 956 957 The FPA structure defines the layout of the data read from a camera. 958 It contains elements to specify the location of the pixels within the 959 focal plane structure. It also provides the relationship between a 960 specific hardware layout of the pixels (readouts, cells, chips, etc) 961 and a specific organization model for the data (headers and pixel 962 array sections, etc). Depending on the needs of the users or the 963 desires of the instrument builders, the data read out from a single 964 camera may be stored in a number of different ways. For example, 965 multiple cells within the same chip may be stored within the same 966 pixel array in different locations, within separate arrays in the same 967 FITS file in different extensions, or as separate files. Multple 968 chips may be written to the same file or different files. Multiple 969 readouts may be separate files or slices of an image cube. 970 971 The pmFPA structure does not (and should not) define the relationship 972 between the pixel data and the actual files files on disk. 973 974 The pmFPAfile structure defines a relationship between the data stored 975 in a pmFPA structure and an external (file) representation of that 976 data. The purpose of this structure and its supporting functions is 977 to allow the application designer to easily add or changes the data 978 sources and the data destinations used by an application. The 979 pmFPAfile defines the input and output data formats. A single 980 pmFPAfile may represent FITS image data files, jpeg image files, 981 photometric measurements, astrometric calibrations, etc. Each 982 instance of a pmFPAfile is identified with a particular data format. 983 It is defined as a data source (file from which to read data) or a 984 data destination (file to be written). The pmFPAfile also defines the 985 naming conventions to be used for the particular type of file or set 986 of files. A single pmFPAfile may be used to represent data coming 987 from or going to a single file on disk or a collection of files on 988 disk. The pmFPAfile also defines anciliary data which is needed for 989 some file formats and not for others. For example, FITS file 990 extensions need to be given particular EXTNAME values. Or, jpeg 991 images require a colormap and clipping rules. 992 993 The pmFPAfile system also lets the application designer have 994 flexibility with which types of files are required within a particular 995 program. Consider an application which performs some manipulation of 996 an image. The program may call several analysis modules as it 997 operates on the data. For example, it may perform a bias subtraction 998 on the image pixels data. Or, it may detect objects within another 999 module. The pmFPAfile system allows the author of a module to refer tperform The program may have a few 961 1000 962 1001 %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% … … 1351 1390 psArray pmAstromFitDistortion (pmFPA *fpa, psArray *gradients, psMetadata *config); 1352 1391 \end{prototype} 1353 1354 \section{FPA Files}1355 1356 The FPA structure defines the layout of the data read from a camera.1357 It contains elements to specify the location of the pixels within the1358 focal plane structure. It also provides the relationship between a1359 specific hardware layout of the pixels (readouts, cells, chips, etc)1360 and a specific organization model for the data (headers and pixel1361 array sections, etc). Depending on the needs of the users or the1362 desires of the instrument builders, the data read out from a single1363 camera may be stored in a number of different ways. For example,1364 multiple cells within the same chip may be stored within the same1365 pixel array in different locations, within separate arrays in the same1366 FITS file in different extensions, or as separate files. Multple1367 chips may be written to the same file or different files. Multiple1368 readouts may be separate files or slices of an image cube.1369 1370 The pmFPA structure does not (and should not) define the relationship1371 between the pixel data and the actual files files on disk.1372 1373 The pmFPAfile structure defines a relationship between the data stored1374 in a pmFPA structure and an external (file) representation of that1375 data. The purpose of this structure and its supporting functions is1376 to allow the application designer to easily add or changes the data1377 sources and the data destinations used by an application. The1378 pmFPAfile defines the input and output data formats. A single1379 pmFPAfile may represent FITS image data files, jpeg image files,1380 photometric measurements, astrometric calibrations, etc. Each1381 instance of a pmFPAfile is identified with a particular data format.1382 It is defined as a data source (file from which to read data) or a1383 data destination (file to be written). The pmFPAfile also defines the1384 naming conventions to be used for the particular type of file or set1385 of files. A single pmFPAfile may be used to represent data coming1386 from or going to a single file on disk or a collection of files on1387 disk. The pmFPAfile also defines anciliary data which is needed for1388 some file formats and not for others. For example, FITS file1389 extensions need to be given particular EXTNAME values. Or, jpeg1390 images require a colormap and clipping rules.1391 1392 The pmFPAfile system also lets the application designer have1393 flexibility with which types of files are required within a particular1394 program. Consider an application which performs some manipulation of1395 an image. The program may call several analysis modules as it1396 operates on the data. For example, it may perform a bias subtraction1397 on the image pixels data. Or, it may detect objects within another1398 module. The pmFPAfile system allows the author of a module to refer tperform The program may have a few
Note:
See TracChangeset
for help on using the changeset viewer.
