![]() |
BioLib
3.6.2
A GUI-less version of Bio .NET library for editing & annotating various microscopy image formats.
|
Implements the QueueLinear flood fill algorithm using array-based pixel manipulation. More...
Public Member Functions | |
| QueueLinearFloodFiller (AbstractFloodFiller configSource) | |
| override void | FloodFill (Point pt) |
| Fills the specified point on the bitmap with the currently selected fill color. | |
Public Member Functions inherited from Bio.Graphics.AbstractFloodFiller | |
| AbstractFloodFiller (AbstractFloodFiller configSource) | |
| void | FloodFill (Point pt) |
Protected Member Functions | |
| bool | CheckPixel (ref int px) |
| int | CoordsToByteIndex (ref int x, ref int y) |
| int | CoordsToPixelIndex (int x, int y) |
| Returns the linear index for a pixel, given its x and y coordinates. | |
Protected Member Functions inherited from Bio.Graphics.AbstractFloodFiller | |
| void | PrepareForFloodFill (Point pt) |
Additional Inherited Members | |
Protected Attributes inherited from Bio.Graphics.AbstractFloodFiller | |
| 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 |
Package Attributes inherited from Bio.Graphics.AbstractFloodFiller | |
Properties inherited from Bio.Graphics.AbstractFloodFiller | |
| ColorS | FillColor [get, set] |
| bool | FillDiagonally [get, set] |
| ColorS | Tolerance [get, set] |
| Bitmap | Bitmap [get, set] |
Implements the QueueLinear flood fill algorithm using array-based pixel manipulation.
Definition at line 13 of file QueueLinearFloodFiller.cs.
| Bio.Graphics.QueueLinearFloodFiller.QueueLinearFloodFiller | ( | AbstractFloodFiller | configSource | ) |
Definition at line 21 of file QueueLinearFloodFiller.cs.
|
protected |
summary>Calculates and returns the byte index for the pixel (x,y). param name="x">The x coordinate of the pixel whose byte index should be returned.
param name="y">The y coordinate of the pixel whose byte index should be returned.
Definition at line 212 of file QueueLinearFloodFiller.cs.
|
protected |
Definition at line 262 of file QueueLinearFloodFiller.cs.
|
protected |
Returns the linear index for a pixel, given its x and y coordinates.
| x | The x coordinate of the pixel. |
| y | The y coordinate of the pixel. |
Definition at line 273 of file QueueLinearFloodFiller.cs.
| override void Bio.Graphics.QueueLinearFloodFiller.FloodFill | ( | Point | pt | ) |
Fills the specified point on the bitmap with the currently selected fill color.
| pt | The starting point for the fill. |
Definition at line 27 of file QueueLinearFloodFiller.cs.