Skip to content

Commit

Permalink
typos
Browse files Browse the repository at this point in the history
  • Loading branch information
ShaharMS committed Jun 3, 2024
1 parent fa5c87c commit 706a0f2
Show file tree
Hide file tree
Showing 4 changed files with 80 additions and 109 deletions.
143 changes: 74 additions & 69 deletions .vscode/settings.json
Original file line number Diff line number Diff line change
@@ -1,75 +1,80 @@
{
"liveServer.settings.port": 5501,
"cSpell.words": [
"AARRGGBB",
"ABGR",
"alloc",
"ARGB",
"Bezier",
"BGRA",
"bitmask",
"blit",
"Blitting",
"bolden",
"boldens",
"CMYK",
"concat",
"cosd",
"cosecd",
"cotand",
"cppia",
"Cramer",
"deepfried",
"Deepfries",
"deepfry",
"Deepfrying",
"denoise",
"Denoise",
"denoised",
"denoises",
"Denoising",
"Endianness",
"fceil",
"ffloor",
"Flixel",
"frameworking",
"fround",
"grayscale",
"grayscaled",
"Grayscales",
"grayscaling",
"Haxe",
"haxelib",
"haxeui",
"hxml",
"interp",
"Ints",
"kernal",
"kernals",
"maxima",
"maximas",
"nbsp",
"neko",
"Noto",
"openfl",
"Perwitt",
"Posterization",
"posterize",
"posterized",
"releasenote",
"RGBA",
"Roadmap",
"RRGGBB",
"Scharr",
"secd",
"Sobel",
"struct",
"subfolders",
"tand",
"Tesseract",
"thresholding",
"Unsharp"
],
"AARRGGBB",
"ABGR",
"alloc",
"ARGB",
"Bezier",
"BGRA",
"bitmask",
"blit",
"Blitting",
"bolden",
"boldens",
"CMYK",
"concat",
"cosd",
"cosecd",
"cotand",
"cppia",
"Cramer",
"deepfried",
"Deepfries",
"deepfry",
"Deepfrying",
"denoise",
"Denoise",
"denoised",
"denoises",
"Denoising",
"Endianness",
"fceil",
"ffloor",
"Flixel",
"frameworking",
"fround",
"grayscale",
"grayscaled",
"Grayscales",
"grayscaling",
"Haxe",
"haxedef",
"haxelib",
"haxeui",
"hxml",
"ifies",
"interp",
"Ints",
"kernal",
"kernals",
"maxima",
"maximas",
"Nanjizal",
"nbsp",
"neko",
"Noto",
"nowrap",
"openfl",
"Perwitt",
"Posterization",
"posterize",
"posterized",
"Posterizes",
"releasenote",
"RGBA",
"Roadmap",
"RRGGBB",
"Scharr",
"secd",
"Sobel",
"struct",
"subfolders",
"tand",
"Tesseract",
"thresholding",
"Unsharp"
],
"cSpell.enableFiletypes": [
"haxe"
]
Expand Down
4 changes: 2 additions & 2 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@
- **Pretty printing of `Matrix2D`**
- **And more convenient functions**
- **Added `Point3D`** - Representation of 3D point.
- **Added `Heatmap`** - used for drawing heatmaps & extracting data from matrices of values. supports:
- **Added `Heatmap`** - used for drawing heat-maps & extracting data from matrices of values. supports:
- **`lowerBound`, `upperBound`**
- **`getDataRange()`**
- **`getLocalMaximums()`, `getLocalMinimums()`**
Expand Down Expand Up @@ -170,7 +170,7 @@
### `vision.ds`

- **Added `ImageView.toString()`**
- **Added `PixelFormat`** - Vision now supports importing/exporting differnt pixel formats! supports RGB, BGR and their different alpha position variants.
- **Added `PixelFormat`** - Vision now supports importing/exporting different pixel formats! supports RGB, BGR and their different alpha position variants.

### `vision.tools`

Expand Down
34 changes: 0 additions & 34 deletions src/VisionMain.hx
Original file line number Diff line number Diff line change
@@ -1,47 +1,13 @@
package;

import format.swf.Data.Matrix;
import vision.algorithms.Harris;
import vision.ds.Array2D;
import vision.algorithms.Cramer;
import vision.ds.Matrix2D;
import vision.ds.PixelFormat;
import vision.ds.ByteArray;
import vision.exceptions.LibraryRequired;
import vision.algorithms.SimpleHough;
import haxe.crypto.Base64;
import haxe.Http;
import vision.algorithms.SimpleLineDetector;
import vision.ds.IntPoint2D;
import vision.ds.Int16Point2D;
import vision.algorithms.Laplacian;
import vision.algorithms.BilateralFilter;
import vision.ds.Kernel2D;
import haxe.ds.ArraySort;
import vision.algorithms.Radix;
import vision.ds.Histogram;
import vision.exceptions.MultithreadFailure;
import vision.tools.ImageTools;

using vision.tools.ImageTools;

import vision.ds.Queue;
import vision.ds.Line2D;
import vision.tools.MathTools;
import haxe.Timer;
import vision.algorithms.Gauss;
import vision.Vision;
import vision.ds.Color;
import vision.ds.Rectangle;
import vision.ds.Point2D;
import vision.ds.Ray2D;
#if js
import js.html.File;
import js.html.FileSystem;
import js.html.Document;
import js.Browser;
#end
import vision.algorithms.Hough;
import vision.ds.Image;

using vision.Vision;
Expand Down
8 changes: 4 additions & 4 deletions src/vision/Vision.hx
Original file line number Diff line number Diff line change
Expand Up @@ -231,7 +231,7 @@ class Vision {
}

/**
Pixelates an image, by "skipping" every `pixelSize` pixels, and filling
"Pixel-art"ifies an image, by "skipping" every `pixelSize` pixels, and filling
in the missing space by either averaging out the remaining pixel and the
missing ones, or just using the original.
Expand Down Expand Up @@ -278,7 +278,7 @@ class Vision {


/**
Posterizes an image - reduces the amount of colors an image uses by reducing
"Posterizes" an image - reduces the amount of colors an image uses by reducing
the amount of bits each color channel uses. Usually, a color is represented
using 4 channels of 8 bits, resulting in an integer, containing the red, green,
blue and alpha channel. This functions reduces the amount of bits used by
Expand Down Expand Up @@ -354,7 +354,7 @@ class Vision {
|---|---|---|
|![Before](https://spacebubble-io.pages.dev/vision/docs/valve-original.png)|![After](https://spacebubble-io.pages.dev/vision/docs/valve-vignette%28ratioDependent%20=%20true%29.png)|![After](https://spacebubble-io.pages.dev/vision/docs/valve-vignette%28ratioDependent%20=%20false%29.png)|
@param image The image to apply vignettev on
@param image The image to apply vignette on
@param strength in percentage, the amount of the image that has vignette, from the edge. Ranges from `0` to `1`. Defaults to `0.2`
@param intensity Determines how quickly vignette sets in when a pixel is supposed to be affected. The higher the value,
the quicker it turns to the target color. The closer the value is to `0`, the slower it
Expand Down Expand Up @@ -934,7 +934,7 @@ class Vision {
@param image The image to manipulate.
@param matrix a transformation matrix to use when manipulating the image. expects a 3x3 matrix. any other size may throw an error.
@param expansionMode How to expand the image's bounds when the resulting image after transformation canges dimensions. Defaults to `RESIZE`.
@param expansionMode How to expand the image's bounds when the resulting image after transformation changes dimensions. Defaults to `RESIZE`.
**/
public static function projectiveTransform(image:Image, ?matrix:TransformationMatrix2D, expansionMode:ImageExpansionMode = RESIZE):Image {

Expand Down

0 comments on commit 706a0f2

Please sign in to comment.