Digital Negative (DNG) file support

Open
#59 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Assessment

Difficulty
5/5
Estimated time
Over a week
Newbie friendliness
35/100
Issue type
Feature
Clarity
Mostly clear
Activity status
Active
Tech stack
cpp, python

Research direction

Start by reading the DNG specification linked in the issue and tracing how nvImageCodec handles the shown Python file-reading example. Identify the codec entry point and what DNG decoding requires; the issue does not name relevant source files or tests. Done means DNG files can be transcoded with GPU acceleration and the reported error is resolved.

Written by the indexing model from the issue text.

Description

enhancement
Is this a new feature, an improvement, or a change to existing functionality?

New Feature

How would you describe the priority of this feature request

Nice to have (e.g. Adoption is possible, the feature will enhance the use-case even more).

Please provide a clear description of problem this feature solves

Could nvImageCodec support Digital Negative (DNG) files?

DNG is a standard format for camera raw files, the latter which capture unprocessed or minimally processed data directly from the camera sensor.

The standard's specification can be found here

Feature Description

As a software engineer, I would like to be able to have GPU acceleration for .dng image transcoding so that I can include these images into my computer-vision/machine-learning frameworks.

Describe your ideal solution

with open("my_dng_file.dng", "rb") as in_file:
data = in_file.read()

At present, this code errors with cuDevicePrimaryCtxRelease failed: 4

Describe any alternatives you have considered

I have looked into the rawpy library, but it does not provide GPU acceleration.

Additional context

I would be keen to investigate a solution to this problem if someone could point me towards an "entry point" :)

Check for duplicates
  • I have searched the open bugs/issues and have found no duplicates for this bug report
Dominant language
Jupyter Notebook
Stars
164
Forks
26
Avg merge
27m
Merged PRs (30d)
1

Getting set up

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

More from NVIDIA/nvImageCodec

All issues in NVIDIA/nvImageCodec

Similar issues

More Computer Vision issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.