{"schemaVersion":1,"requestedSlug":"anisotropic-diffusion","canonicalSlug":"anisotropic-diffusion","article":"/effect/anisotropic-diffusion","resource":"/api/public/atlas/effects/anisotropic-diffusion","effect":{"slide":1377,"kind":"digital","number":164,"name":"Anisotropic Diffusion","nameUpper":"ANISOTROPIC DIFFUSION","category":"FILTERS & MOTION","output":"ALGORITHM OUTPUT","body":[{"label":"Identify","text":"You see a smoothed image where flat areas look painted, but important edges and outlines stay perfectly sharp."},{"label":"Principle","text":"The algorithm blurs neighboring pixels together to remove random noise. However, it stops blurring whenever it detects a sharp contrast boundary."},{"label":"Try it out","text":"Vary the diffusion time to watch the photo change from slightly clean into a flat, cartoon-like picture."},{"label":"Classification","text":"Calculated image processing result."}],"credit":"Image: Boris Stefanik bstefanik · CC0 (via Wikimedia Commons), processed for the Atlas","caption":"Atlas demonstration: the free source photo and the computed Anisotropic Diffusion. A busy city street shows pedestrians moving past a glass entrance and a red-coated doorman. The algorithm has simplified the blurred motion of the crowd into smooth color gradients while keeping the architectural text and straight lines of the doorway crisp.","sourceUrl":"https://commons.wikimedia.org/wiki/File:Doorman_on_Leadenhall_Street_(Unsplash).jpg","funFact":"Pietro Perona and Jitendra Malik introduced this highly influential mathematical filtering technique in 1990.","short":"Anisotropic Diffusion","image":"/images/fx/anisotropic-diffusion.webp","slug":"anisotropic-diffusion","chapter":7,"title":"Anisotropic Diffusion","font":"Jost","highlights":["flat areas look painted","important edges and outlines","sharp contrast boundary"],"margin":[{"term":"neighboring pixels","note":"These are the tiny dots of color directly next to each other. Algorithms blend them to soften details."},{"term":"sharp contrast boundary","note":"This is an area where light abruptly shifts to dark. It typically marks the physical edge of an object."}],"fontCategory":"Sans Serif","fontWeight":"400","sources":[{"label":"Wikipedia: A","url":"https://en.wikipedia.org/wiki/A"},{"label":"Wikipedia: N","url":"https://en.wikipedia.org/wiki/N"}]},"gallery":[{"src":"/images/gallery/anisotropic-diffusion-n1.webp","page":"https://commons.wikimedia.org/wiki/File:Snow_covered_leaves_on_a_branch_(Unsplash).jpg","title":"Anisotropic Diffusion, applied to “Snow covered leaves on a branch (Unsplash)”","artist":"Sorina Bindea sorinetzu (photo); processed for the Atlas","license":"CC0","note":"Autumnal leaves are partially covered by a thick layer of fresh, white snow on a branch. The transition between the organic shapes of the leaves and the snow is handled by preserving sharp jagged edges while the internal textures are flattened into pools of pure color."},{"src":"/images/gallery/anisotropic-diffusion-n2.webp","page":"https://commons.wikimedia.org/wiki/File:Coffee,_Chemex,_and_book_(Unsplash).jpg","title":"Anisotropic Diffusion, applied to “Coffee, Chemex, and book (Unsplash)”","artist":"Andrei Bocan gestaltfabrik (photo); processed for the Atlas","license":"CC0","note":"A graphic novel titled 'Le Muret' rests on a table next to a coffee carafe and a small cup. The high-contrast text and the illustration's linework are preserved with total clarity, whereas the dark tabletop and coffee show a significant reduction in noise."},{"src":"/images/gallery/anisotropic-diffusion-n3.webp","page":"https://commons.wikimedia.org/wiki/File:Man_sitting_on_food_truck_(Unsplash).jpg","title":"Anisotropic Diffusion, applied to “Man sitting on food truck (Unsplash)”","artist":"Gaetan Boutet lobster (photo); processed for the Atlas","license":"CC0","note":"A street vendor takes a moment to look at his phone while sitting beside a metal food cart. The algorithm has simplified the metallic textures and fabric into oil-like planes while preserving the fine dark outlines of his profile and the cart's hardware."},{"src":"/images/gallery/anisotropic-diffusion-n4.webp","page":"https://commons.wikimedia.org/wiki/File:Lake_in_a_mountain_valley_(Unsplash).jpg","title":"Anisotropic Diffusion, applied to “Lake in a mountain valley (Unsplash)”","artist":"Veri Ivanova veri_ivanova (photo); processed for the Atlas","license":"CC0","note":"High peaks and green valleys surround a still mountain lake under a cloudy sky. The water and grassy slopes exhibit a distinctive painterly quality, yet the jagged silhouettes of the rocky ridges are clearly defined against the soft clouds."},{"src":"/images/gallery/anisotropic-diffusion-n5.webp","page":"https://commons.wikimedia.org/wiki/File:Nature%27s_Bird_Bath_(Unsplash).jpg","title":"Anisotropic Diffusion, applied to “Nature's Bird Bath (Unsplash)”","artist":"Ray Hennessy rayhennessy (photo); processed for the Atlas","license":"CC0","note":"A bright orange flamingo stands amidst churning water, its neck curved in a graceful arc. The bird's feathers are smoothed into a seamless velvet texture that contrasts sharply with the frozen, crystalline edges of the splashing waves."},{"src":"/images/gallery/anisotropic-diffusion-n6.webp","page":"https://commons.wikimedia.org/wiki/File:Asian_food_market_(Unsplash).jpg","title":"Anisotropic Diffusion, applied to “Asian food market (Unsplash)”","artist":"Les Anderson lesanderson (photo); processed for the Atlas","license":"CC0","note":"A group of people are gathered under a pavilion structure at an outdoor market setting. The processed areas take on a watercolor quality, yet the vertical pillars and the figures' silhouettes remain clearly defined against the softer background."},{"src":"/images/gallery/anisotropic-diffusion-n7.webp","page":"https://commons.wikimedia.org/wiki/File:Trendy_Bakery_Foods_(Unsplash).jpg","title":"Anisotropic Diffusion, applied to “Trendy Bakery Foods (Unsplash)”","artist":"Samuel Yongbo Kwon theyongbo (photo); processed for the Atlas","license":"CC0","note":"A collection of small, decorated gourmet donuts are arranged on a white tray. The algorithm has removed the fine grain of the icing and sprinkles, resulting in a series of smooth, rounded shapes that retain their distinct boundaries."},{"src":"/images/gallery/anisotropic-diffusion-n8.webp","page":"https://commons.wikimedia.org/wiki/File:Wet_forest_road_(Unsplash).jpg","title":"Anisotropic Diffusion, applied to “Wet forest road (Unsplash)”","artist":"Nathan Anderson nathananderson (photo); processed for the Atlas","license":"CC0","note":"A narrow asphalt road winds through a dense, dark forest of evergreen trees. The road surface and the distant foliage are smoothed into painterly patches, though the overall silhouette of the treeline against the sky remains sharp."}],"prompt":"Apply Anisotropic Diffusion, smoothing random grain and tiny color fluctuations within surfaces while stopping cleanly at strong contrast boundaries. Give flat regions a softly painted finish, preserve continuous tonal shading, and keep important outlines crisp without sharpening halos or exaggerated brush marks. Keep the original subject and composition."}