> For the complete documentation index, see [llms.txt](https://docs.augelab.com/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.augelab.com/german/function-blocks/image-transformations/analysis/non-zero-of-image.md).

# Non-zero of Image

Dieser Funktionsblock berechnet die Gesamtzahl der Nicht-Null-Pixel in einem gegebenen Bild und bietet nützliche Einblicke in den Bildinhalt.

## 📥 Eingänge <a href="#inputs" id="inputs"></a>

`Image Any` Das Bild, aus dem die Nicht-Null-Pixel gezählt werden sollen.

## 📤 Ausgänge <a href="#outputs" id="outputs"></a>

`Count` Die Gesamtzahl der Nicht-Null-Pixel im Bild.

## 🎨 Funktionen <a href="#features" id="features"></a>

`Image Analysis` Dieser Block ermöglicht es Benutzern, die Pixel-Daten innerhalb eines Bildes schnell zu bewerten, indem aktive (Nicht-Null) Pixel gezählt werden.

## 📝 Nutzungshinweise <a href="#usage" id="usage"></a>

1. **Connect Image Source**: Verbinden Sie ein Bild über den Anschluss `Image Any`. Es kann sich um ein Graustufen- oder Farbimage handeln.
2. **Evaluate**: Führen Sie den Block aus, um die Anzahl der Nicht-Null-Pixel im Eingangsbild zu berechnen.
3. **Retrieve Count**: Greifen Sie auf die Ausgabe `Count` zu, um die Gesamtzahl der Nicht-Null-Pixel anzuzeigen.

## 📊 Bewertung <a href="#evaluation" id="evaluation"></a>

Wenn er ausgeführt wird, verarbeitet dieser Funktionsblock das Eingangsbild und gibt die Gesamtzahl der Nicht-Null-Pixel zurück.

## 💡 Tipps und Tricks <a href="#tips-and-tricks" id="tips-and-tricks"></a>

<details>

<summary>Understanding Non-zero Pixels</summary>

Nicht-Null-Pixel stellen in der Regel Teile des Bildes dar, die relevante Daten oder Merkmale enthalten, wie z. B. Objekte in einer binären Maske.

</details>

<details>

<summary>Image Cleanup</summary>

Erwägen Sie die Vorverarbeitung Ihres Bildes mit `Image Threshold`, um binäre Bilder zu erstellen, die die relevanten Teile des Bildes effektiv isolieren und bedeutsamere Zählungen ermöglichen.

</details>

<details>

<summary>Using in Combination</summary>

Kombinieren Sie diesen Funktionsblock mit anderen Blöcken wie `Mask Detection` oder `Blob Detector`, um sich auf spezifische Interessengebiete innerhalb Ihrer Bilder zu konzentrieren und die Nicht-Null-Pixel-Zählungen effektiv zu analysieren.

</details>

## 🛠️ Fehlersuche <a href="#troubleshooting" id="troubleshooting"></a>

<details>

<summary>No Count Returned</summary>

Wenn keine Zählung zurückgegeben wird, stellen Sie sicher, dass ein valides Bild an den Eingang angeschlossen ist. Überprüfen Sie, ob der eingehende Datenstrom tatsächlich Bilddaten enthält.

</details>

<details>

<summary>Confusing Results</summary>

In Fällen, in denen die Zählung zu hoch oder zu niedrig erscheint, berücksichtigen Sie den Kontext Ihrer Bilddaten. Verwenden Sie die Blöcke `Histogram On Line` oder `Histogram On Curve`, um die Pixelverteilungen für eine bessere Analyse zu visualisieren.

</details>


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## Querying This Documentation
If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter, and the optional `goal` query parameter:

```
GET https://docs.augelab.com/german/function-blocks/image-transformations/analysis/non-zero-of-image.md?ask=<question>&goal=<endgoal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is optional and describes the broader end goal you are ultimately trying to accomplish on behalf of the user. GitBook uses it to tailor the answer towards what is most useful for that goal.

The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
