]> granicus.if.org Git - imagemagick/blob - www/motion-picture.html
(no commit message)
[imagemagick] / www / motion-picture.html
1 <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.1//EN" "http://www.w3.org/TR/xhtml11/DTD/xhtml11.dtd">
2 <html lang="en">
3 <head>
4   <meta charset="utf-8">
5   <meta http-equiv="X-UA-Compatible" content="IE=edge">
6   <meta name="viewport" content="width=device-width, initial-scale=1">
7   <title>ImageMagick: Motion Picture Digital Images</title>
8   <meta http-equiv="content-language" content="en-US">
9   <meta http-equiv="content-type" content="text/html; charset=utf-8">
10   <meta http-equiv="reply-to" content="magick-users@imagemagick.org">
11   <meta name="application-name" content="ImageMagick">
12   <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.">
13   <meta name="application-url" content="http://www.imagemagick.org">
14   <meta name="generator" content="PHP">
15   <meta name="keywords" content="motion, picture, digital, images, ImageMagick, PerlMagick, image processing, image, photo, software, Magick++, OpenMP, convert">
16   <meta name="rating" content="GENERAL">
17   <meta name="robots" content="INDEX, FOLLOW">
18   <meta name="generator" content="ImageMagick Studio LLC">
19   <meta name="author" content="ImageMagick Studio LLC">
20   <meta name="revisit-after" content="2 DAYS">
21   <meta name="resource-type" content="document">
22   <meta name="copyright" content="Copyright (c) 1999-2012 ImageMagick Studio LLC">
23   <meta name="distribution" content="Global">
24   <meta name="magick-serial" content="P131-S030410-R485315270133-P82224-A6668-G1245-1">
25   <link rel="icon" href="../images/wand.png">
26   <link rel="shortcut icon" href="../images/wand.ico" type="images/x-icon">
27   <link rel="stylesheet" href="css/bootstrap.min.css">
28   <link rel="stylesheet" href="css/magick.css">
29 </head>
30
31 <body>
32 <div class="main">
33 <div class="magick-masthead">
34   <div class="container">
35     <script type="text/javascript">
36     <!--
37       google_ad_client = "pub-3129977114552745";
38       google_ad_slot = "5439289906";
39       google_ad_width = 728;
40       google_ad_height = 90;
41     //-->
42     </script>
43     <center><script type="text/javascript" src="http://localhost/pagead/show_ads.js">
44     </script></center>
45     <nav class="magick-nav">
46       <a class="magick-nav-item " href="../index.html">Home</a>
47       <a class="magick-nav-item " href="binary-releases.html">Downloads</a>
48       <a class="magick-nav-item " href="command-line-tools.html">Tools</a>
49       <a class="magick-nav-item " href="command-line-options.html">Options</a>
50       <a class="magick-nav-item " href="api.html">Development</a>
51       <a class="magick-nav-item" href="http://www.imagemagick.org/discourse-server/">Community</a>
52       <a class="magick-nav-item navbar-right " href="search.html">Search</a>
53     </nav>
54   </div>
55 </div>
56 <div class="container">
57 <div class="magick-header">
58 <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>
59
60 <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 supercedes, Kodak's Cineon format that has more a more film specific header.</p>
61
62 <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>
63
64 <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>
65
66 <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>
67
68 <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>
69
70 <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>
71
72 <h2 class="magick-header"><a id="log"></a>Log Format</h2>
73
74 <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>
75
76 <ul>
77   <a href="../images/bluebells_log.jpg"><img src="../images/bluebells_log.jpg" width="384" height="288" class="image-slices" alt="bluebells-log"></a>
78   <a href="../images/bluebells_lin.jpg"><img src="../images/bluebells_lin.jpg" width="384" height="288" class="image-slices" alt="bluebells-linear"></a>
79 </ul>
80
81 <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>
82
83 <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>
84
85 <ul>
86   <a href="../images/bluebells_clipped.jpg"><img src="../images/bluebells_clipped.jpg" width="384" height="288" class="image-slices" alt="bluebells-clipped"></a>
87   <a href="../images/bluebells_darker.jpg"><img src="../images/bluebells_darker.jpg" width="384" height="288" class="image-slices" alt="bluebells-darker"></a>
88 </ul>
89
90 <h2 class="magick-header"><a id="properties"></a>DPX Properties</h2>
91
92 <p>ImageMagick supports these DPX properties:</p>
93
94 <pre class="pre-scrollable">dpx:file.copyright
95 dpx:file.creator
96 dpx:file.filename
97 dpx:file.project
98 dpx:file.version
99 dpx:film.count
100 dpx:film.format
101 dpx:film.frame_id
102 dpx:film.frame_position
103 dpx:film.frame_rate
104 dpx:film.held_count
105 dpx:film.id
106 dpx:film.offset
107 dpx:film.prefix
108 dpx:film.sequence_length
109 dpx:film.shutter_angle
110 dpx:film.slate
111 dpx:film.type
112 dpx:orientation.aspect_ratio
113 dpx:orientation.border
114 dpx:orientation.device
115 dpx:orientation.filename
116 dpx:orientation.serial
117 dpx:orientation.x_center
118 dpx:orientation.x_offset
119 dpx:orientation.x_size
120 dpx:orientation.y_center
121 dpx:orientation.y_offset
122 dpx:orientation.y_size
123 dpx:television.black_gain
124 dpx:television.black_level
125 dpx:television.break_point
126 dpx:television.field_number
127 dpx:television.frame_rate
128 dpx:television.gamma
129 dpx:television.integration_times
130 dpx:television.interlace
131 dpx:television.padding
132 dpx:television.time.code
133 dpx:television.time_offset
134 dpx:television.user.bits
135 dpx:television.vertical_sample_rate
136 dpx:television.video_signal
137 dpx:television.white_level
138 dpx:user.id
139 dpx:user.data
140 </pre>
141
142 <p>Look for any user data as the <code>dpx:user-data</code> image profile.</p>
143
144 <p> To determine which properties are associated with your DPX image, use this command for example:</p>
145
146 <pre>
147 identify -verbose bluebells.dpx
148 </pre>
149
150 <p>To identify a particular property, try this:</p>
151
152 <pre>
153 identify -format "%[dpx:television.time.code]" bluebells.dpx
154 </pre>
155
156 <p>Finally, to set a property:</p>
157
158 <pre>
159 convert bluebells.dpx -define dpx:television.time.code=10:00:02:15 bluebells-001.dpx
160 </pre>
161
162 <h2 class="magick-header"><a id="settings"></a>DPX Settings</h2>
163
164 <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:
165 </p>
166
167 <pre>
168 -set gamma 1.7
169 -set film-gamma 0.6
170 -set reference-black 95
171 -set reference-white 685
172 -set profile dpx:user.data
173 </pre>
174
175 </div>
176   <footer class="magick-footer">
177     <div class="magick-nav-item navbar-left">
178       <a href="support.html">Donations</a>
179     </div>
180     <div class="magick-nav-item navbar-right">
181       <a class="FlattrButton" style="display:none;" rev="flattr;button:compact;" href="../index.html"></a>
182       <noscript>
183         <a href="http://flattr.com/thing/947300/Convert-Edit-And-Compose-Images" target="_blank">
184         <img src="http://api.flattr.com/button/flattr-badge-large.png" alt="Flattr this" title="Flattr this" border="0"></a>
185       </noscript>
186     </div>
187     <p><a href="sitemap.html">Sitemap</a> •
188     <a href="links.html">Related</a> •
189     <a href="http://www.imagemagick.org/MagickStudio/scripts/MagickStudio.cgi">Image Studio</a> •
190     <a href="http://jqmagick.imagemagick.org/">JqMagick</a> •
191     <a href="http://pgp.mit.edu:11371/pks/lookup?op=get&amp;search=0x89AB63D48277377A">Public Key</a>
192 </p>
193     <p><a href="motion-picture.html#">Back to top</a> •
194     <a href="contact.html">Contact Us</a></p>
195   </footer>
196 </div><!-- /.container -->
197
198   <script src="https://localhost/ajax/libs/jquery/1.11.2/jquery.min.js"></script>
199   <script src="../js/bootstrap.min.js"></script>
200   <script type="text/javascript">
201     /*  */
202     (function() {
203         var s = document.createElement('offline-script'), t = document.getElementsByTagName('offline-script')[0];
204         s.type = 'text/javascript';
205         s.async = true;
206         s.src = 'http://api.flattr.com/js/0.6/load.js?mode=auto';
207         t.parentNode.insertBefore(s, t);
208     })();
209     /*  */
210   </script>
211 </div>
212 </body>
213 </html><!-- Magick Cache 4th May 2015 17:58 -->