Code Monkey home page Code Monkey logo

dpx's People

Contributors

inequation avatar

Watchers

 avatar  avatar

dpx's Issues

Read10bitFilledMethodA wrong with some image sizes (width=2048 for example)

What steps will reproduce the problem?
1. Take a dpx in 4:2:2 CbCr 10bits filledmethodA with width 2048
2. Try to read the data or to convert to tiff

What is the expected output? What do you see instead?
There is one "Y" that is truncated at the end of the first line. => second line 
things Cb is Y.

What version of the product are you using? On what operating system?
Windows. "0.5.0". Operating system not related item.

Please provide any additional information below.
offset calculation is wrong in Read10bitFilled function.

When reading a full image using Read10bitFilled function:
For an image of 2048 bytes, offset of line 1 is calculated as 
"1365 * 4 bytes". It should be "1366 * 4 bytes"

Indeed, you need 1 4bytes word for 3 components (Y or Cb or Cr).
=> offset in number of words on line 1 should be 
number of components = (2048*2)
number of words = (2048*2)/3 = 1365,3333

If you use 1365, the last "Y" of the line will be truncated and lost. Correct 
value is 1366.

Original issue reported on code.google.com by [email protected] on 25 Jul 2013 at 7:42

Problem with saving dpx image

What steps will reproduce the problem?
1. Trying to write dpx file using the data taken from IplImage (OpenCv)/ This 
means the data is unsigned char with 3 channels for RGB. Using 10-bits format. 
The application crushed due to accessing to unallocated memory. Could correct 
this issue by changing reinterpret_cast<IB*> (line 274 WriterInternal.h) to 
creating new array of type IB and filling it with values from imageBuf.
2. So the application could finish successfully, but still the resulting 
written image is fully black.

What is the expected output? What do you see instead?
RGB image of dpx format with proper scene on it, instead i get black image.


What version of the product are you using? On what operating system?
I'm running r3 on Windows, Visual Studio 2008.


Please provide any additional information below.
If i correct any issue in the project if you don't mind i could update version 
here.


Original issue reported on code.google.com by [email protected] on 1 Nov 2010 at 2:45

Compilation error and warning

When compiling on Debian Linux, the compilation fails because GCC can't find a 
"DPXstream.h". This is an obvious case sensitivity issue, which probably 
results from the library being developed on win32 or another case-insensitive 
platform.

Also, there's a warning in DPXHeader.cpp where a value of 0xffffffff is 
assigned to a 16-bit unsigned integer.

Attached is a patch that fixes the two issues.

Original issue reported on code.google.com by [email protected] on 21 Jun 2010 at 6:34

Attachments:

10- and 12-bit images are read incorrectly

Single-channel (i.e. grayscale/luma) 10- and 12-bit filled DPX images are 
displayed incorrectly - column triplets are mirrored horizontally.

Packed 10- and 12-bit images are displayed incorrectly because the wrong 
variable is being used to calculate the bit shift.

A patch is attached that fixes these problems.

Original issue reported on code.google.com by [email protected] on 6 Jul 2010 at 10:16

Attachments:

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.