InsightSoftwareConsortium / InsightSoftwareConsortium/ITKSphinxExamples

CreateImage does not clear the buffer

Offen
#308 0 Kommentare 0 Reaktionen 0 zugewiesene Personen Auf GitHub ansehen
Good first issue
Vorherrschende Sprache
Jupyter Notebook
Sterne
59
Forks
70
Ø Merge
1 T. 15 Std.
Gemergte PRs (30 T.)
12

Beschreibung

A search for `image->Allocate();` has 149 hits while `image->FillBuffer(` has 64 hits. The instances of `Allocate` not followed by a `FillBuffer` should be examined, and probably turned into [image->Allocate(true);](https://github.com/InsightSoftwareConsortium/ITKSphinxExamples/commit/fc491a42151e2dd27f3e98b821d0c2fd35b55b2b#diff-a388a43bc1ceb769184a4daea4a146c73cbe1c5aeaf7003d1c698f51f95f0ad6R113) calls.

Beitragsleitfaden

Für dieses Repository ist kein Beitragsleitfaden indexiert

Bewertung

Dieses Issue wurde noch nicht bewertet.

Neue Issues direkt in Ihr Postfach

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