Loading page...Загружаем страницу...正在加载页面...
AtlasRepo

Binarising AI Line Art For Vector Traceability: What Survived The Adobe CSV Test

Описание и применение

Проблема: мягкие края AI‑рисунков создают серые отливки, которые приводят к отказу Adobe и лишним узлам в векторных трассах. Решение: преобразовать изображения в градации серого, применить метод Оцу для пороговой бинаризации, затем масштабировать с ближайшим соседним, проверять количество узлов и генерировать корректные CSV‑файлы. Итог: 39 из 40 работ прошли проверку.

Задача

AI‑generated line art contains soft edges that produce gray halos, causing Adobe review rejections and excessive anchor points in vector traces.

Результат

Implemented a pipeline that binarises AI line art using Otsu’s thresholding, resizes with nearest‑neighbor, verifies node counts, and generates correct CSV metadata, resulting in 39 successful submissions out of 40 assets.

Рабочий процесс

  • Convert image to grayscale and compute histogram
  • If histogram is bimodal, apply Otsu’s method to determine threshold; otherwise use fixed threshold 160
  • Binarise image using determined threshold
  • Resize image with nearest‑neighbor only after binarisation
  • Verify vector trace node count is in low hundreds per icon
  • Generate platform‑specific CSV metadata with correct header
  • Track submissions to avoid duplicates
  • Package and submit final assets

Доказательства

I lost a full day of batch output to a single grayscale pixel.

Источник

Adobe's review flagged a chunk of them for artifacts in the line work.

Источник

After binarising at the right threshold: 312 nodes versus 1,847 nodes raw trace.

Источник

The threshold is not 128… I burned a whole render cycle learning that.

Источник

One process at a time, never fan out image jobs in parallel on a single core.

Источник

  • Дата записи: 2026-10-18T18:11:04.681Z