{# canonical_base is the OWNING tenant's origin: all 16 Peasy domains serve the same catalogue, so a page rendered by a non-owner points its canonical at the owner instead of competing with it. Falls back to this site for static/self-owned pages. #}
🍋
Menu
Image

Image Segmentation

Partitioning an image into multiple regions or objects, used in computer vision for scene understanding.

Détail technique

In digital imaging, image segmentation plays a critical role in how images are stored, processed, and displayed. Modern image pipelines handle partitioning through standardized APIs (Canvas, WebGL, ImageBitmap) that operate directly on GPU memory for performance. Understanding image segmentation is essential for optimizing web delivery, where image payload typically accounts for 40-60% of total page weight. Browser-based tools can manipulate partitioning entirely client-side using the Canvas API without server round-trips.

Exemple

```javascript
// Image Segmentation: processing with Canvas API
const canvas = document.createElement('canvas');
const ctx = canvas.getContext('2d');
ctx.drawImage(sourceImage, 0, 0);
const imageData = ctx.getImageData(0, 0, canvas.width, canvas.height);
// Process pixels in imageData.data (RGBA array)
```

Outils associés

Termes associés