]> granicus.if.org Git - imagemagick/blob - www/motion-picture.html
...
[imagemagick] / www / motion-picture.html
1
2
3
4
5 <!DOCTYPE html>
6 <html lang="en">
7 <head>
8   <meta charset="utf-8" />
9   <meta name="viewport" content="width=device-width, initial-scale=1, shrink-to-fit=no" />
10   <meta http-equiv="x-ua-compatible" content="ie=edge" />
11   <title>Motion Picture Digital Images @ ImageMagick</title>
12   <meta http-equiv="content-type" content="text/html; charset=utf-8"/>
13   <meta name="application-name" content="ImageMagick"/>
14   <meta name="description" content="ImageMagick® is a software suite to create, edit, compose, or convert bitmap images. It can read and write images in a variety of formats (over 200) including PNG, JPEG, JPEG-2000, GIF, WebP, Postscript, PDF, and SVG. Use ImageMagick to resize, flip, mirror, rotate, distort, shear and transform images, adjust image colors, apply various special effects, or draw text, lines, polygons, ellipses and Bézier curves."/>
15   <meta name="application-url" content="https://www.imagemagick.org"/>
16   <meta name="generator" content="PHP"/>
17   <meta name="keywords" content="motion, picture, digital, images, ImageMagick, PerlMagick, image processing, image, photo, software, Magick++, OpenMP, convert"/>
18   <meta name="rating" content="GENERAL"/>
19   <meta name="robots" content="INDEX, FOLLOW"/>
20   <meta name="generator" content="ImageMagick Studio LLC"/>
21   <meta name="author" content="ImageMagick Studio LLC"/>
22   <meta name="revisit-after" content="2 DAYS"/>
23   <meta name="resource-type" content="document"/>
24   <meta name="copyright" content="Copyright (c) 1999-2017 ImageMagick Studio LLC"/>
25   <meta name="distribution" content="Global"/>
26   <meta name="magick-serial" content="P131-S030410-R485315270133-P82224-A6668-G1245-1"/>
27   <meta name="google-site-verification" content="_bMOCDpkx9ZAzBwb2kF3PRHbfUUdFj2uO8Jd1AXArz4" />
28   <link rel="canonical" href="https://www.imagemagick.org/script/motion-picture.html"/>
29   <link rel="icon" href="../images/wand.png"/>
30   <link rel="shortcut icon" href="../images/wand.ico"/>
31   <link rel="stylesheet" type="text/css" href="http://fonts.googleapis.com/css?family=Roboto:900,400,400italic,700,700italic,300,300italic|Open+Sans:300italic,400italic,700italic,300,400,600,700" />
32   <link rel="stylesheet" href="css/magick.css"/>
33 </head>
34 <body>
35 <div class="main">
36 <div class="magick-masthead">
37   <div class="container">
38     <script async="async" src="http://localhost/pagead/js/adsbygoogle.js"></script>    <ins class="adsbygoogle"
39          style="display:block"
40          data-ad-client="ca-pub-3129977114552745"
41          data-ad-slot="6345125851"
42          data-ad-format="auto"></ins>
43     <script>
44       (adsbygoogle = window.adsbygoogle || []).push({});
45     </script>
46     <nav class="magick-nav">
47       <a class="magick-nav-item " href="../index.html">Home</a>
48       <a class="magick-nav-item " href="download.html">Download</a>
49       <a class="magick-nav-item " href="command-line-tools.html">Tools</a>
50       <a class="magick-nav-item " href="command-line-processing.html">Command-line</a>
51       <a class="magick-nav-item " href="resources.html">Resources</a>
52       <a class="magick-nav-item " href="develop.html">Develop</a>
53       <a class="magick-nav-item " href="https://www.imagemagick.org/script/search.php">Search</a>
54       <a class="magick-nav-item pull-right" href="https://www.imagemagick.org/discourse-server/">Community</a>
55     </nav>
56   </div>
57 </div>
58 <div class="container">
59 <div class="magick-header">
60 <p class="text-center"><a href="motion-picture.html#log">Log Format</a> • <a href="motion-picture.html#properties">DPX properties</a> • <a href="motion-picture.html#settings">DPX Settings</a></p>
61
62 <p class="lead magick-description">DPX (SMPTE 268M-2003) - This format is used in Motion Picture and Effects industry that makes particular use of the extensive header information and the format's flexibility in being able to handle high dynamic range and logarithmic color values at a variety of bit depths using RGB or YCbCr pixel descriptions.  It is based on, but largely supersedes, Kodak's Cineon format that has more a more film specific header.</p>
63
64 <p>One example of it's use includes scanning film for use in post production. Each frame is stored as an individual DPX file ranging from 2k (2048 pixels wide) to 8k (8192 pixels wide - for IMAX frames) at anything between 8 to 64 bits per color component. A sequence of these might then be processed using compositing software, altering the color or adding visual effects. Once complete they might then be recorded digitally to tape or projected back on to film.</p>
65
66 <p>The color values for each pixel are often stored logarithmically (particularly if the sequence is destined to be transferred back on to film) which more naturally reflects the density of how color information is stored in the emulsion on the original film. When viewed without alteration, logarithmic files appear to have very low contrast and requires a 'look up table' to translate the logarithmic image to something that resembles what you might see if the image was transferred back to film and projected in a cinema. Apart from making the image linear (like most typical computer images) and adjusting the gamma level this table sets where the black and white point lies.</p>
67
68 <p>For a 10 bit logarithmic image where each color component value ranges from 0 to 1023 the black and white points are normally set at 95 for black and 685 for white. What this means is that the logarithmic file stores color values that are lighter than what the linear version will display as pure white and darker than what it will display as pure black. This extra information therefore remains available for an effects artists who might wish to alter the brightness of the image after it has been stored as a DPX file.</p>
69
70 <p>As an example, had this information been lost, reducing the brightness of an image uniformly would result in highlights becoming darker, whereas with this extra information the highlights instead reduce in size and start showing details that were previously too bright to be seen. The latter is far closer to what happens in the real world.</p>
71
72 <p>The header can contain Film and/or Television specific data related to a production. For example the television header can contain a SMPTE time code so that shots exported as a DPX sequence from a production's edit can be easily replaced once any effects have been added. The film header holds information about the reel of film the frames originated from and various camera settings that were used while filming.  All these details usually stay with the images as they are passed between post-production companies.</p>
73
74 <h2 class="magick-header"><a id="log"></a>Log Format</h2>
75
76 <p>The color values for each pixel are often stored logarithmically (particularly if the sequence is destined to be transferred back on to film) which more naturally reflects the density of how color information is stored in the emulsion on the original film. When viewed without alteration logarithmic files appear to have very low contrast (leftmost image), and so require a 'look up table' to translate the logarithmic image to something that resembles what you might see if the image was transferred back to film and projected in a cinema (rightmost image). Apart from making the image linear (like most typical computer images) and adjusting the gamma level this table sets where the black and white point lies.</p>
77
78 <ul>
79   <a href="../images/bluebells_log.jpg"><img src="../images/bluebells_log.jpg" width="384" height="288" class="image-slices" alt="bluebells-log" /></a>
80   <a href="../images/bluebells_lin.jpg"><img src="../images/bluebells_lin.jpg" width="384" height="288" class="image-slices" alt="bluebells-linear" /></a>
81 </ul>
82
83 <p>For a 10 bit logarithmic image where each color component value ranges from 0 to 1023 the black and white points are normally set at 95 for black and 685 for white. What this means is that the logarithmic file stores color values that are lighter than what the linear version will display as pure white and darker than what it will display as pure black. This extra information therefore remains available for an effects artists who might wish to alter the brightness of the image after it has been stored as a DPX file.</p>
84
85 <p>As an example, had this information been lost, reducing the brightness of a linear image uniformly would result in highlights becoming darker (leftmost image), whereas with this extra information the highlights instead reduce in size and start showing details that were previously too bright to be seen (rightmost image). The latter is far closer to what happens in the real world.</p>
86
87 <ul>
88   <a href="../images/bluebells_clipped.jpg"><img src="../images/bluebells_clipped.jpg" width="384" height="288" class="image-slices" alt="bluebells-clipped" /></a>
89   <a href="../images/bluebells_darker.jpg"><img src="../images/bluebells_darker.jpg" width="384" height="288" class="image-slices" alt="bluebells-darker" /></a>
90 </ul>
91
92 <h2 class="magick-header"><a id="properties"></a>DPX Properties</h2>
93
94 <p>ImageMagick supports these DPX properties:</p>
95
96 <pre class="pre-scrollable">dpx:file.copyright
97 dpx:file.creator
98 dpx:file.filename
99 dpx:file.project
100 dpx:file.version
101 dpx:film.count
102 dpx:film.format
103 dpx:film.frame_id
104 dpx:film.frame_position
105 dpx:film.frame_rate
106 dpx:film.held_count
107 dpx:film.id
108 dpx:film.offset
109 dpx:film.prefix
110 dpx:film.sequence_length
111 dpx:film.shutter_angle
112 dpx:film.slate
113 dpx:film.type
114 dpx:orientation.aspect_ratio
115 dpx:orientation.border
116 dpx:orientation.device
117 dpx:orientation.filename
118 dpx:orientation.serial
119 dpx:orientation.x_center
120 dpx:orientation.x_offset
121 dpx:orientation.x_size
122 dpx:orientation.y_center
123 dpx:orientation.y_offset
124 dpx:orientation.y_size
125 dpx:television.black_gain
126 dpx:television.black_level
127 dpx:television.break_point
128 dpx:television.field_number
129 dpx:television.frame_rate
130 dpx:television.gamma
131 dpx:television.integration_times
132 dpx:television.interlace
133 dpx:television.padding
134 dpx:television.time.code
135 dpx:television.time_offset
136 dpx:television.user.bits
137 dpx:television.vertical_sample_rate
138 dpx:television.video_signal
139 dpx:television.white_level
140 dpx:user.id
141 dpx:user.data
142 </pre>
143
144 <p>Look for any user data as the <code>dpx:user-data</code> image profile.</p>
145
146 <p> To determine which properties are associated with your DPX image, use this command for example:</p>
147
148 <pre>
149 identify -verbose bluebells.dpx
150 </pre>
151
152 <p>To identify a particular property, try this:</p>
153
154 <pre>
155 identify -format "%[dpx:television.time.code]" bluebells.dpx
156 </pre>
157
158 <p>Finally, to set a property:</p>
159
160 <pre>
161 convert bluebells.dpx -define dpx:television.time.code=10:00:02:15 bluebells-001.dpx
162 </pre>
163
164 <h2 class="magick-header"><a id="settings"></a>DPX Settings</h2>
165
166 <p>Use <a href="command-line-options.html#set">-set</a> to specify the image or film gamma or black and white points.  For example use:
167 </p>
168
169 <pre>
170 -set gamma 1.7
171 -set film-gamma 0.6
172 -set reference-black 95
173 -set reference-white 685
174 -set profile dpx:user.data
175 </pre>
176
177 </div>
178   <footer class="magick-footer">
179     <p><a href="support.html">Donate</a> •
180      <a href="sitemap.html">Sitemap</a> •
181     <a href="links.html">Related</a> •
182     <a href="security-policy.html">Security</a> •
183     <a href="architecture.html">Architecture</a>
184 </p>
185     <p><a href="motion-picture.html#">Back to top</a> •
186     <a href="http://pgp.mit.edu:11371/pks/lookup?op=get&amp;search=0x89AB63D48277377A">Public Key</a> •
187     <a href="https://www.imagemagick.org/script/contact.php">Contact Us</a></p>
188         <p><small>© 1999-2017 ImageMagick Studio LLC</small></p>
189   </footer>
190 </div><!-- /.container -->
191
192   <script src="https://localhost/ajax/libs/jquery/1.12.4/jquery.min.js"></script>
193   <script src="../js/magick.html"></script>
194 </div>
195 </body>
196 </html>
197 <!-- Magick Cache 2nd June 2017 20:19 -->