The application has five main areas: the menu bar and toolbar at the top, the image
workspace, the gallery strip, the settings panel on the right, and this help section.
Menu commands that have options open their controls in the settings panel rather than
in a pop-up dialog.
Quick start
- Choose File → Open, or drag an image file onto the workspace.
- Click a gallery tile to make that image current.
- Choose a tool from the menu. If a settings panel opens, adjust it and use its action button (Apply, Run PCA, Compute FFT and so on).
- Use Edit → Undo if a result is not what you wanted.
- Right-click the processed gallery image and choose Save Image As.
How the workspace behaves
- Current image – the image shown on the main canvas. Most menu commands act on it.
- Gallery selection – Ctrl/Cmd-click tiles, or long-press on touch, to select several images. A blue border and number show the selection order.
- Settings panel – shows the options for the last tool chosen. Most tool panels have a Settings tab for values and a Help tab for the relevant section of this page. The Tile editor is a special panel without these tabs.
- About tool – a collapsed explanation at the top of most tool settings panels. Open it for a short reminder of what the tool does. The Tile editor does not provide this block.
- Messages – status and error messages appear below the workspace. If a command does nothing, check there first.
Undo, multiple images and saving
Image edits are stored in the gallery with undo and redo states. Copy, cut, paste and
delete can act on gallery images or on selected objects, depending on what is selected.
The gallery keeps the working images; use the right-click Save Image As
command to download the current image source. GIF export uses gallery tile order, not
selection-click order.
What stays in your browser
Loaded files, working pixels, macro definitions and settings stay in the browser
session. The application may download model weights for the DINO and SAM tools the
first time they are used, but the image data itself remains local. Very large images,
clustering runs and model-based segmentation can take time and memory.
Are my images uploaded?
No. PatternToolkit processes images in your browser. The image pixels are handled by local JavaScript and Web Workers; they are not sent to a server for processing.
Why do some tools ask for two images?
Operations such as Cross Correlation and Mathematical need a second image. Select the two gallery images with Ctrl/Cmd-click, or choose the background image in the tool settings, before you apply the operation.
Why did a processing tool appear to do nothing?
Most tools need a current gallery image and their action button in the right-hand settings panel. That button may be Apply, Run PCA, Run HDBSCAN, Run K-Means, Run SOM, Compute FFT or another named action. Some tools also need a selection or a second image. Check the message line below the workspace for the reason.
How do I undo a change?
Use Edit → Undo, or the Undo toolbar button. Redo restores the change. Destructive image edits are recorded as undo states where the tool supports it.
How do I save a processed image?
Right-click an image tile in the gallery and choose Save Image As. The File → Save images as GIF animation command exports the selected gallery images as an animation instead.
What is a spectral mask?
FFT and Hadamard store complex or signed transform coefficients in memory and add linked gallery images for the spectrum. Drawing on the spectrum creates a mask; running the inverse transform uses that mask to rebuild an image.
When do I see a paper-style page border?
Only when you create an image with a preset paper size and DPI in File → New Image. Imported images and Custom / viewport images use the full workspace without the white page surround, shadow or dashed page edge.
Why is a large image or clustering run slow?
Transforms, segmentation and clustering are computationally heavy. PatternToolkit moves work to Web Workers where possible and provides progress and cancellation for long jobs, but image size and sample count still dominate the running time.