Boundary fill & Flood fill Algorithms

แชร์
ฝัง
  • เผยแพร่เมื่อ 21 ก.ย. 2024
  • By Sree Lakshmi V, Asst. Professor, MCA Dept. KVVSIT Adoor
    Polygon filling algorithms
    These are of two types
    Boundary fill algorithm is used to color the interior of a closed region with a color given a boundary color, interior point and a fill color.
    Flood fill algorithm is used to replace the original color of a closed region with a new color given an old color, interior point and a new color.

ความคิดเห็น • 13

  • @berndschaub5905
    @berndschaub5905 2 หลายเดือนก่อน

    First of all, thank you for the video. I saw a filling algorithm a very long time ago. It was on a Sinclair ZX81 or Sinclair Spectrum. The algorithm had a completely different approach. The area was filled in circles from the inside to the outside. Further layers of pixels were placed around the edge of the central pixel, similar to a roll of paper. Only when you reached a limit did you start a new recursion, as far as possible. You didn't need to remember all the free pixels, just the first free pixel, because the recursion filled all the pixels anyway. I don't have a name for it, unfortunately. It gave the impression of a snake game, where the snake always has to keep the way back open. Maybe such an algorithm is known, I would be glad about an answer.

  • @deepakumari6218
    @deepakumari6218 4 ปีที่แล้ว +3

    Super understanding video 👍👌💖💖

  • @r.geethanjali6784
    @r.geethanjali6784 2 ปีที่แล้ว +2

    Very nice lecture it was very useful

  • @vidhansharma6650
    @vidhansharma6650 ปีที่แล้ว +1

    I was really helpful thankyou very much mam 😊

  • @ramsai1346
    @ramsai1346 3 ปีที่แล้ว +2

    Nice explanation

  • @sachinwagh3406
    @sachinwagh3406 2 ปีที่แล้ว +1

    Very nice video 👍👍

  • @kesavanm9757
    @kesavanm9757 2 ปีที่แล้ว +1

    Your explanation is very super

  • @chayankumar_cj
    @chayankumar_cj 2 ปีที่แล้ว +1

    Super 👌 👍 😍 🥰

  • @kirthikas1896
    @kirthikas1896 3 ปีที่แล้ว +2

    Nandri

  • @rajvinoth1735
    @rajvinoth1735 2 ปีที่แล้ว +2

    thank you :)

  • @karthikhariharan777
    @karthikhariharan777 2 ปีที่แล้ว

    Thanks mam👍🏻