Welcome Guest (Log in)

LCImageToolBox_6789Mac_v185b

StarStarStarStarStar
Image (14) | Imagedata (10) | LC 9 (9) | LC 6+7+8 (8) | RevBrowser (3)
General
Expander triangle
  • Author
  • Rating
  • Type
  • Revision
  • Downloaded
  • Updated
  • Hermann Hoch
  • StarStarStarStarStar
  • Stack
  • 13
  • 978 Times
  • 26 August 2018
LC-ImageToolBox6789Mac_v185b
## v1.8.5b ... Aug 26, 2018 added Color-Dithering (6 Methods)
## v1.8.0 ... Aug 25, 2018 added Kuwahara filter (total square up to 11x11)
## v1.7.5 ... Aug 24, 2018 added Quantile filter (0-100% of a square up to 15x15)
## v1.7.0 ... Aug 24, 2018 added Matrix (Convolve up to 7x7) and ColorMatrix
## v1.2.5 ... Oct 07, 2017 added 1-bit Dithering (and a custom color chooser**)
## v1.1.1 ... Jun 12, 2017 added ROI and rewritten javascript
## v1.0.1 ... Mar 25, 2017 first public version
## See credits at top of the HTMLText in the stack
** The color chooser is now included and needed for use with MacOS 10.13. An earlier MacOS could also use "answer color" (which crashes on Mac OS 10.13).

LCImageToolBox6789Mac_v185 runs with LC 6/7/8 on Mac only.
Use LCImageToolBox89_v185 for LC 8/9 on Mac/Win/linux.

Color-Dithering: Does a 1-bit dither for each of the R-G-B-channels.
Kuwahara: Replaces each pixel with the mean value of the one of four subsquares that has minimal values variance.
Quantile: A quantile at x% is a generalized median which is a quantile at 50%, minimum is a 0%-quantile, maximum is a 100%-quantile. Select the x and the size of the population (surrounding square for each pixel).
Matrix/ColorMatrix: Add your own values by using the template entries (see script of the prepared menu buttons). RightClick btn "Matrix or btn "colorMatrix" to get the current values correctly formatted for pasting.
DROI-special: It is sometimes of interest to process a single sub-region of an image, leaving other regions unchanged. This is commonly referred to as region-of-interest (ROI) processing. We specify such a ROI by an editable polygon, an oval or a rectangle. You may choose to use a selected region as ROI or not the selected region (or process the whole image).
[The D in 'DROI' stands for Dithering (Atkinson, Floyd-Steinberg, ...)]

General:
We use Canvas2D only (no webGL because of issues with some graphic cards) in a hidden revBrowser instance. Performance depends on your hardware (or virtual machine hardware part). The stack runs in LC 6/7/8/9 on Mac (= the revBrowser-platform that supports Canvas2d, the stackfileversion is 55). Identical effects are available on Mac/Win from LC-ImageToolBox89_Basics for LC 8/9.

The URL of the browser is always empty, its htmlText is set by the script. Look at the javascript part of the HTML field to see that the core of the scripts is very similar to handling the imageData in LCScript.

To show this similarity to LCScript is the main purpose of this stack.

Scripts are free for non-commercial use. For commercial usage please pay once a small fee to the LC-developer-help-fund.
Ajax Loader
Tags
Expander triangle
User Comments
Expander triangle