![]() |
BioLib
4.3.0
A GUI-less version of Bio .NET library for editing & annotating various microscopy image formats.
|
The base class that the flood fill algorithms inherit from. Implements the basic flood filler functionality that is the same across all algorithms. More...
Public Member Functions | |
| AbstractFloodFiller () | |
| AbstractFloodFiller (AbstractFloodFiller configSource) | |
| void | FloodFill (Point pt) |
Protected Member Functions | |
| void | PrepareForFloodFill (Point pt) |
Protected Attributes | |
| Bitmap | bitmap |
| ColorS | tolerance = new ColorS(25, 25, 25) |
| ColorS | fillColor = ColorS.FromColor(Color.Black) |
| bool | fillDiagonally = false |
| bool | slow = false |
| int | bitmapWidth = 0 |
| int | bitmapHeight = 0 |
| int | bitmapStride = 0 |
| int | bitmapPixelFormatSize = 0 |
| byte[] | bitmapBits = null |
| PixelFormat | pixelFormat |
| bool[] | pixelsChecked |
| ColorS | byteFillColor |
| ColorS | startColor |
Properties | |
| ColorS | FillColor [get, set] |
| bool | FillDiagonally [get, set] |
| ColorS | Tolerance [get, set] |
| Bitmap | Bitmap [get, set] |
The base class that the flood fill algorithms inherit from. Implements the basic flood filler functionality that is the same across all algorithms.
| Bio.Graphics.AbstractFloodFiller.AbstractFloodFiller | ( | ) |
| Bio.Graphics.AbstractFloodFiller.AbstractFloodFiller | ( | AbstractFloodFiller | configSource | ) |
|
abstract |
It fills the area of the image that is connected to the point pt with the current color
| pt | The starting point for the fill. |
|
protected |
It takes a point on the bitmap and gets the color of that point. It then creates a new color that is the fill color. It then gets the stride, pixel format size, pixel format, and the bitmap bits. It then creates a new boolean array that is the size of the bitmap bits divided by the pixel format size
| pt | The point to start the flood fill from. |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
getset |
|
getset |
|
getset |
|
getset |