Digital Negative (DNG) file support

Offen
#59 0 Kommentare 0 Reaktionen 0 zugewiesene Personen Auf GitHub ansehen

Dieses Issue hat noch niemand übernommen.

Bewertung

Schwierigkeit
5/5
Geschätzter Aufwand
Über eine Woche
Anfängerfreundlichkeit
35/100
Issue-Typ
Feature
Klarheit
Größtenteils klar
Aktivitätsstatus
Aktiv
Tech-Stack
cpp, python
Bereich
computer-vision

Rechercherichtung

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.

Vom Indexierungsmodell aus dem Issue-Text verfasst.

Beschreibung

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
Vorherrschende Sprache
Jupyter Notebook
Sterne
164
Forks
26
Ø Merge
27 Min.
Gemergte PRs (30 T.)
1

Entwicklungsumgebung

Erste Schritte

  1. Lesen Sie das ganze Issue und danach den Beitragsleitfaden des Projekts.
  2. Schreiben Sie ins Issue, dass Sie es übernehmen — das erspart doppelte Arbeit.
  3. Forken Sie das Repository und arbeiten Sie in einem Branch.
  4. Öffnen Sie einen Pull Request, der die Issue-Nummer nennt.

Mehr aus NVIDIA/nvImageCodec

Alle Issues in NVIDIA/nvImageCodec

Ähnliche Issues

Weitere Issues zu Computer Vision

Neue Issues direkt in Ihr Postfach

Eine kurze Übersicht über anfängerfreundliche GitHub-Issues.