Media Processing in the Administrator Tools
LPS, SPS and Image Files
Insight accommodates a wide range of storage structures through the use of a segmented URL path. Any time a piece of media is requested within Insight, these segments are joined together to form a whole URL path to the requested media.
The segments are referred to as SPS (Storage Path Segment), LPS (Logical Path Segment), and filename. The SPS refers to the machine on which the media resides. The LPS refers to the subdirectory structure between the SPS and the filename.
The following is an example of how this URL is formed:
+http://Insight.lunaimaging.com/size4/Disc0004/00044001.jpg+
In the example above, the SPS is http://Insight.lunaimaging.com/size4/ the LPS is Disc0004 and the filename is 00044001.jpg
To understand this even further, you will need to look at the underlying table structure. All media content contained in Insight must have references in the IRImageFiles table. This table is key to the retrieval of media within Insight. This information is produced by the Media Batches tool within the Collection Editing section of the Administrator Tools.
Information from the IRImageFiles table provides a map for the retrieval of media content within Insight. The following pieces of information are pulled from this table, based on the ImageID:
A size identifier (0-8) identifies which size will be retrieved. The size will determine which SPS is used.
LPSID determines which LPS to use.
Format help to specify the appropriate SPS.
File Name determines which file to load.
Create New LPS
The LPS (Logical Path Segment) refers to the subdirectory structure of images and refers to the intermediate directories between the SPS and individual media files. Any directory structure can be accommodated within Insight. Some Insight installations opt to create directories according to internal directory structure conventions. The LPS Data tool permits administrators to create and manage the LPS IDs and LPS names for a particular collection.
Right click the LPS Data folder on the navigation tree to create a new LPS reference.
Select New and a blank Edit LPS Data console will be available.
LPS ID – Enter the logical path segment (LPS) ID. The LPS ID field will only accept an LPS ID not already in use.
LPS – Enter the logical path segment (LPS).
Once the Edit LPS Data console has been configured properly, click Save.
Edit LPS Reference
To edit an existing LPS reference, follow the steps below:
Select the LPS Data folder on the navigation tree. Double-click the record set you wish to edit.
The LPS value describes the directory structure or path to a set of media files. In order for Insight to locate and display an image, the URL to the image must be accurate. The Administrator Tools Media Batch tool automatically enters the LPS values when you process a batch of images or media files.
A case where you may need to edit an LPS value is if you renamed the output directory. You would need to change the LPS to reflect the change to the file system directory.
Create New SPS Reference
The Storage Path Segment (SPS) refers to the machine on which the images accessed in Insight reside. This is a partial URL to the media files stored on the image server. To make a complete URL, the system combines the following:
SPS/LPS/File Name
SPS can be used to direct clients to different locations for image retrieval.
Right click the SPS Data folder on the navigation tree to create a new SPS reference. Click New and a blank Edit SPS Data dialog appears.
SPS Number - If you are creating a new SPS grouping, use a new SPS Number (numeric value identifying a SPS group) and make sure to create a SPS reference for each media type and size you need.
Resolution Size - This numeric value (0-8) represents the Insight image size (see Table 14: Image Sizes in Insight on page 241 for exact sizes).
Collection ID - Provide a numeric value for the collection.
Media Type - Choose the appropriate Media type.
Format - Select the appropriate Format type.
URL - Provide the URL that points to source images for this size.
Once you have completed your edits, click Save to apply the changes. You will need to repeat this process for each image size and for each multimedia format.
Review SPS Reference
To review an existing SPS reference:
Select the SPS Data folder on the navigation tree, and double-click the record set you wish to edit.
The selected SPS field values will appear in the Edit SPS Data window.
After making the desired edits, click Save to apply changes. To close the window ignoring any edits, click Cancel to return to the main dialog panel.
Processing MrSID Files Using the Administrator Tools
The purpose of the Media Batch utility is to automate the process of generating derivative images and media files from batches of source images.
Processing a Media Batch
To process a new batch of media files for integration into Insight:
Organize the data and media which you would like to process. Make sure that you have a unique identifier in the data which relates to the images you wish to process. Choose a data field that uniquely identifies a data record that relates to only one media record. (You can process more than one media record to one single data record, but this is rare.)
NOTE:It is recommended that you have descriptive data and related media identifiers (unique identifiers) loaded into your database before you process your media.
In the example below, the names of the media are in the left column and the corresponding unique identifiers are in the right column.
The Media Batch tool can only match to indexed data. If not already indexed, index your data. (Please see Using Insight's Indexer on page for more information.)
Use the Media Batch Tool to process the media.
In the Administrator Tools, connect to your Collection Manager.
In the Collection Manager, open the Collection Editor folder.
Right click Media Batches, and select New.
The Media Batch Window opens.
Figure 11 - Processing a Media Batch
All fields are initially empty in the form for creating a new media batch, except for the LPS Directory field. LPS Directory provides the logical path structure to the derivative images being generated. The LPS is used in conjunction with the storage path segment and the filename to generate the media file URL during an Insight client session. The LPS Directory is auto-generated when a new Media Batch is opened. This is to prevent inadvertent deletion of a former LPS or creation of a duplicate LPS ID.
You can change the LPS Directory by editing the Maximum IDs node in the Administrator Tools.
In the following example, we would like the next media batch to have an LPS Directory of D0030. Setting Max Batch ID to 29 will achieve this.
Figure 12 - Maximum IDs
NOTE:Change Max Batch ID instead of changing the LPS ID directly in Media Batch tool. Managing Batch ID's centrally prevents duplication of LPS ID's in your collection.
Once you have changed your Max Batch ID, open a new Media Batch. You do not need to rename your LPS Directory. You may want to avoid creating repeating LPS Directories for more than one Media Batch.
To view the LPS ID and LPS's already in use, go to the LPS Data node for the collection in Administrator Tools.