@extends('layouts.app') @php $tr = fn ($de, $en) => request()->segment(1) === 'en' ? $en : $de; @endphp @section('title', $tr('Wie KARC funktioniert — Schritt für Schritt an einem echten Bild | KOTSCH.TECH', 'How KARC works — step by step on a real image | KOTSCH.TECH')) @section('meta_description', $tr('Ein echtes Foto wandert Schritt für Schritt durch die KARC-Pipeline — mit echten Zwischenbildern: Farbtrennung, PLANE/DCT-Regionen, Quantisierung, Rekonstruktion.', 'A real photo goes step by step through the KARC pipeline — with real intermediate images: color split, PLANE/DCT regions, quantization, reconstruction.')) @section('content') @include('karc.partials.styles') @php $px = '/assets/pipeline'; @endphp
{{ $tr('Wie es funktioniert', 'How it works') }}

{{ $tr('Ein Bild, Schritt für Schritt', 'One image, step by step') }}

{{ $tr('Wir schicken ein echtes Foto durch die KARC-Pipeline — jeder Schritt zeigt seinen echten Zwischenstand.', 'We send a real photo through the KARC pipeline — each step shows its real intermediate result.') }}

1

{{ $tr('Das Originalbild', 'The original image') }}

{{ $tr('Start: ein verlustfreies Foto, 512×341 Pixel, unkomprimiert rund 512 KB.', 'Start: a lossless photo, 512×341 pixels, about 512 KB uncompressed.') }}

{{ $tr('Originalfoto, 512×341 Pixel', 'Original photo, 512×341 pixels') }}
{{ $tr('Original · ~512 KB', 'Original · ~512 KB') }}
2

{{ $tr('Helligkeit von Farbe trennen', 'Separate brightness from color') }}

{{ $tr('Der reversible YCoCg-R-Transform zerlegt das Bild in Helligkeit (Y) und Farbe (Co/Cg). Das Auge sieht Helligkeit schärfer als Farbe.', 'The reversible YCoCg-R transform splits the image into brightness (Y) and color (Co/Cg). The eye sees brightness more sharply than color.') }}

{{ $tr('Helligkeitskanal (Y) des Bildes', 'Brightness channel (Y) of the image') }}
{{ $tr('Helligkeit (Y)', 'Brightness (Y)') }}
{{ $tr('Farbkanäle (Co/Cg) des Bildes', 'Color channels (Co/Cg) of the image') }}
{{ $tr('Farbe (Co/Cg)', 'Color (Co/Cg)') }}
3

{{ $tr('Farbe gröber speichern (4:2:0)', 'Store color more coarsely (4:2:0)') }}

{{ $tr('Die Farbe wird nur halb so fein gespeichert — kaum sichtbar, aber spart Bits.', 'Color is stored at half resolution — barely visible, but saves bits.') }}

{{ $tr('Bild mit auf 4:2:0 reduzierter Farbauflösung', 'Image with color resolution reduced to 4:2:0') }}
{{ $tr('Farbe halbiert · sieht fast gleich aus', 'Color halved · looks almost identical') }}
4

{{ $tr('Pro Region die Darstellung wählen', 'Choose the representation per region') }}

{{ $tr('Der Kern von KARC: Jeder 8×8-Block entscheidet selbst — glatte Flächen werden als Ebene (PLANE) beschrieben, Detail per DCT. Hier wählt KARC bei 19,5 % der Blöcke PLANE.', 'The heart of KARC: each 8×8 block decides for itself — smooth areas are described as a plane (PLANE), detail via DCT. Here KARC picks PLANE for 19.5% of blocks.') }}

{{ $tr('Regionenkarte: pro 8×8-Block der gewählte Modus PLANE oder DCT', 'Region map: chosen mode PLANE or DCT per 8×8 block') }}
{{ $tr('Modus pro Block', 'Mode per block') }}
{{ $tr('PLANE (glatt)', 'PLANE (smooth)') }} {{ $tr('DCT (Detail)', 'DCT (detail)') }}
5

{{ $tr('Runden und packen', 'Round and pack') }}

{{ $tr('Die Koeffizienten werden gröber gerundet (Quantisierung) und mit rANS platzsparend codiert. Aus ~512 KB wird eine 8-KB-Datei.', 'The coefficients are rounded more coarsely (quantization) and packed compactly with rANS. The ~512 KB become an 8 KB file.') }}

{{ $tr('Ergebnis: 8 KB · 0,38 bpp', 'Result: 8 KB · 0.38 bpp') }}
6

{{ $tr('Zurück zum Bild', 'Back to the image') }}

{{ $tr('Der Decoder baut das Bild wieder auf. Die Fehlerkarte (×6 verstärkt) zeigt: die Abweichungen sitzen an den Kanten, die glatten Flächen bleiben sauber.', 'The decoder rebuilds the image. The error map (amplified ×6) shows: deviations sit at the edges, the smooth areas stay clean.') }}

{{ $tr('Vom Decoder rekonstruiertes Bild', 'Image reconstructed by the decoder') }}
{{ $tr('Rekonstruktion', 'Reconstruction') }}
{{ $tr('Fehlerkarte, ×6 verstärkt: Abweichungen an den Kanten', 'Error map, amplified ×6: deviations at the edges') }}
{{ $tr('Fehlerkarte (×6)', 'Error map (×6)') }}
{{ $tr('Ergebnis', 'Result') }}

{{ $tr('Aus ~512 KB werden 8 KB', '~512 KB become 8 KB') }}

{{ $tr('Originalfoto, ~512 KB', 'Original photo, ~512 KB') }}
{{ $tr('Original', 'Original') }} ~512 KB
{{ $tr('Mit KARC komprimiertes Bild, 8 KB', 'Image compressed with KARC, 8 KB') }}
KARC 8 KB · PSNR 30,7 dB · SSIM 0,89
@endsection