User Tools

Site Tools


downloads:dvheaderreader

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Next revision
Previous revision
downloads:dvheaderreader [2010/03/03 07:45]
kota created
downloads:dvheaderreader [2016/05/24 05:46] (current)
Line 14: Line 14:
   * 05-05-13\\ ​   * 05-05-13\\ ​
     * Header size of .dv file is calculated from the width and height of the frame, frame number.     * Header size of .dv file is calculated from the width and height of the frame, frame number.
-    * General rule is:    +    * General rule is:??? 
       * static header length: 528pixels (1056bytes) + dynamic headers (80 pixels/​frame,​ 160 bytes/​frame)       * static header length: 528pixels (1056bytes) + dynamic headers (80 pixels/​frame,​ 160 bytes/​frame)
       * information for each frame is contained in the first 20 pixels (40bytes) and header is terminated at multiples of 512 pixels (1028bytes).       * information for each frame is contained in the first 20 pixels (40bytes) and header is terminated at multiples of 512 pixels (1028bytes).
Line 44: Line 44:
 ===== Installation ===== ===== Installation =====
  
-Download [[http://​cmci.embl.de/​downloads/​DVreader.ijm|DVreader.ijm]] to a place where you can access easily. Install the macro by [Plugins->​Macros->​Install...]. ​+Download [[http://​cmci.embl.de/​dls/​DVreader.ijm|DVreader.ijm]] to a place where you can access easily. Install the macro by [Plugins->​Macros->​Install...]. ​
  
 ===== Description ===== ===== Description =====
Line 55: Line 55:
 ===== Work Flow for Loading Accidentally terminated .dv stack ===== ===== Work Flow for Loading Accidentally terminated .dv stack =====
  
-**1.**  After installation,​ do **[Plugins -> Macros -> Read .dv Header]**. In the first dialog, choose the file which you want to load.  Then a message that looks like the image below will be printed in the Log window. [{{ http://​cmci.embl.de/​downloads/​DVreader_images/​logwindow.jpg ​ |log window output}}]\\ \\  +**1.**After installation,​ do **[Plugins -> Macros -> Read .dv Header]**. In the first dialog, choose the file which you want to load.Then a message that looks like the image below will be printed in the Log window. [{{ http://​cmci.embl.de/​dls/​DVreader_images/​logwindow.jpg ​ |log window output}}]\\ \\  
-**2. ** Check how many time points the .dv file actually contains. This can be done by opening the ".log file". In the example shown in the image above, the name of the log file should be "​Ptk2-32Grad-ts-110607_10_R3D.dv.log"​. This is a text file, so if you double click, file will be opend in text editor. Scroll all the way down to the bottom of the file, and check the last frame number.\\ \\  +**2.?** Check how many time points the .dv file actually contains. This can be done by opening the ".log file". In the example shown in the image above, the name of the log file should be "​Ptk2-32Grad-ts-110607_10_R3D.dv.log"​. This is a text file, so if you double click, file will be opend in text editor. Scroll all the way down to the bottom of the file, and check the last frame number.\\ \\  
-**3.** Do **[File -> Import -> RAW...]**. In the first dialog window, choose the same file you selected in the step 1. In the second dialgue, choose 16bit Unsigned for "Image Type", width and height as it was printed out in the step 1, input Header Length number printed out in the step 1 as the "​Offset to First Image"​. For the "​number of images",​  put the number you got in the step 2. "Gap Between Images"​ = 0, Check "​Littele Endian Byte Order"​. Then click "​OK"​. [{{ http://​cmci.embl.de/​downloads/​DVreader_images/​RawImporter.jpg |RawImporter Dialogue}}] ​+**3.** Do **[File -> Import -> RAW...]**. In the first dialog window, choose the same file you selected in the step 1. In the second dialgue, choose 16bit Unsigned for "Image Type", width and height as it was printed out in the step 1, input Header Length number printed out in the step 1 as the "​Offset to First Image"​. For the "​number of images",​put the number you got in the step 2. "Gap Between Images"​ = 0, Check "​Littele Endian Byte Order"​. Then click "​OK"​. [{{ http://​cmci.embl.de/​dls/​DVreader_images/​RawImporter.jpg |RawImporter Dialogue}}] ​
downloads/dvheaderreader.txt · Last modified: 2016/05/24 05:46 (external edit)