I want to convert DPX files 10 bit Log to Lin (Log to Lin).
Theses files are produced by an ARRISCAN (film scanner) and I want to make a Linear version to put on the web.
The black and white points are set at 95 and 685.
You can download a sample DPX file here :
ftp://ftp.nfb.ca/pub/0000047.dpx
Here is the verbose output of the file :
Code: Select all
C:\Program Files\ImageMagick-6.4.6-Q16>identify -verbose D:\0000047.dpx
Image: D:\0000047.dpx
Format: DPX (SMPTE 268M-2003 (DPX 2.0))
Class: DirectClass
Geometry: 2280x1596+0+0
Resolution: 72x72
Print size: 31.6667x22.1667
Units: Undefined
Type: TrueColor
Base type: TrueColor
Endianess: MSB
Colorspace: RGB
Depth: 10-bit
Channel depth:
red: 10-bit
green: 10-bit
blue: 10-bit
Channel statistics:
red:
min: 101 (0.0986343)
max: 1017 (0.993179)
mean: 368.185 (0.359561)
standard deviation: 267.888 (0.261613)
green:
min: 101 (0.0986343)
max: 1017 (0.993179)
mean: 357.395 (0.349024)
standard deviation: 256.658 (0.250647)
blue:
min: 101 (0.0986343)
max: 1017 (0.993179)
mean: 359.838 (0.35141)
standard deviation: 252.007 (0.246104)
Rendering intent: Undefined
Interlace: None
Background color: white
Border color: rgb(223,223,223)
Matte color: grey74
Transparent color: black
Page geometry: 2280x1596+0+0
Dispose: Undefined
Iterations: 0
Compression: Undefined
Orientation: TopLeft
Properties:
comment: NFB_testcans
create-date: 2008-12-04T10:09:23-05:00
document: 0000047.dpx
dpx:file.creator: ARRISCAN078
dpx:file.ditto.key: 1
dpx:file.filename: 0000047.dpx
dpx:file.project: NFB_testcans
dpx:file.timestamp: 2008:11:17:12:12:34+10
dpx:file.version: V1.0
dpx:film.count: 0000
dpx:film.frame_position: 47
dpx:film.held_count: 0
dpx:film.offset: 00
dpx:film.prefix: 000000
dpx:film.sequence_extent: 5001
dpx:film.type: 00
dpx:image.orientation: 0
dpx:orientation.aspect_ratio: 1x1
dpx:orientation.border: 0x0+0+0
dpx:orientation.device: Cuckoo_MrEdgar
dpx:orientation.x_offset: 0
dpx:orientation.x_size: 2280
dpx:orientation.y_offset: 0
dpx:orientation.y_size: 1596
dpx:television.time.code: 00:00:01:23
dpx:television.user.bits: 00:00:00:00
modify-date: 2008-11-17T07:12:34-05:00
signature: cba4f20e6457b215e6eb9836621ff3961bcf7392adda77ba7359d1e73a26e14b
software: ARRISCAN078
Profiles:
Profile-dpx:user.data: 6112 bytes
Artifacts:
verbose: true
Tainted: False
Filesize: 13.89mb
Number pixels: 3.47mb
Pixels per second: 44.49mb
User time: 0.078u
Elapsed time: 0:01
Version: ImageMagick 6.4.6 2008-11-25 Q16 http://www.imagemagick.org
3 - Logarithmic
I have also a Lookup table LUT here :
ftp://ftp.nfb.ca/pub/10BitLogToLin_gamm ... tclip0.lut
I want to use Magick++ to do the conversion but I don't know how to apply the LUT or something else.
Is somebody can help me ?
Thanks