{
  "id": 22347423,
  "title": "Is This Selfie Underexposed, With Crushed Shadows in the Hair or Collar? A Python Histogram-Floor Check Before a Malfoid AI Upload",
  "url": "https://urgent.news/2026/11/28/is-this-selfie-underexposed-with-crushed-shadows-in-the-hair-or",
  "topic": "ai",
  "section": "AI",
  "published": "2026-11-28T10:56:27.000Z",
  "source": {
    "name": "Dev.to",
    "slug": "dev-to",
    "url": "https://dev.to/lpgit/is-this-selfie-underexposed-with-crushed-shadows-in-the-hair-or-collar-a-python-histogram-floor-4a9h"
  },
  "original_language": null,
  "account": "The studio Malfoid AI produces portraits of female Malfoy/Draconians from photos, at a cost of $4.99 for 2 credits. The portraits are created at 1K resolution, without video or prompt input. Credit packs are available for future use. The pricing has remained unchanged since October 31, 2026. The article discusses a histogram-floor test to determine if the hair or collar of a portrait is underexposed due to crushed pixels.\n\nTwo ROIs (regions of interest) are used: one for the hair and one for the collar. For each ROI, a 256-bin Rec.709 histogram is generated. A pixel with a luminosity of (0, 0, 0) is assigned to bin 0, which represents the darkest possible shade. The script also identifies the largest 4-connected island of pixels at or below a luminosity threshold of 3.\n\nThe check determines if the hair or collar has reached the \"floor,\" meaning they have already accumulated crushed pixels in bin 0. The fail rule states that if the fraction of pixels in bin 0 is greater than or equal to 0.020, or if the largest island of pixels at or below luminosity 3 is greater than or equal to 400, then the portrait is considered to have crushed blacks. This is a narrower test than checking for mean exposure, backlight silhouettes, or highlight ceilings, which address different issues. The test is applied to synthetic construction drawings, not real photographs.",
  "summary": "A dark selfie is not the same thing as a crushed one. If the platinum hair, or the collar of the shirt, has already piled up in bin 0 of the luma histogram, those pixels are a hard black patch. A later still 3:4 portrait will keep them. I run the studio at Malfoid AI . It makes a still Female Malfoy / Fem Draco portrait, from a photo of an adult or without a photo, for $4.99 / 2 credits. The…",
  "summary_source": "publisher",
  "key_points": [
    "Studio Malfoid AI creates portraits of female Malfoy/Draconians for $4.99",
    "Histogram-floor test checks for crushed pixels in hair or collar",
    "Portrait is considered to have crushed blacks if 2%+ pixels in bin 0"
  ],
  "editors_take": null,
  "opinion": false,
  "illustration": null,
  "coverage": {
    "outlets": 1,
    "also_reported_by": []
  },
  "machine_translated": false,
  "ai_generated": true,
  "disclaimer": "Accounts, briefs, key points, the editor’s take and translations are written by software from other outlets’ reporting and may contain errors. A summary whose summary_source is \"publisher\" is the outlet’s own feed text. Always check the linked original."
}