Skip to content

Commit eb32658

Browse files
authored
Merge pull request #4 from medeirosdev/feature/optimization-attempts
docs: update README with new features and fourier mode
2 parents 11c9577 + 746431a commit eb32658

File tree

1 file changed

+34
-4
lines changed

1 file changed

+34
-4
lines changed

README.md

Lines changed: 34 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -44,11 +44,32 @@ ImageVisLab is a visual educational tool that helps students understand digital
4444
| Opening | `(A - B) + B` | Removes small white noise |
4545
| Closing | `(A + B) - B` | Fills small black holes |
4646

47+
### Edge Detection (4 filters)
48+
| Filter | Formula | Description |
49+
|--------|---------|-------------|
50+
| Sobel X | `Gx` kernel | Detects vertical edges |
51+
| Sobel Y | `Gy` kernel | Detects horizontal edges |
52+
| Sobel Magnitude | `√(Gx² + Gy²)` | Combined edge strength |
53+
| Median | `median(N)` | Removes salt-and-pepper noise |
54+
55+
### Color Filters (3 filters)
56+
| Filter | Formula | Description |
57+
|--------|---------|-------------|
58+
| Grayscale | `0.299R + 0.587G + 0.114B` | Luminance conversion |
59+
| Sepia | Matrix transform | Vintage brownish tone |
60+
| Swap RGB | `R→G→B→R` | Rotates color channels |
61+
62+
### Frequency Domain (1 filter)
63+
| Filter | Formula | Description |
64+
|--------|---------|-------------|
65+
| FFT Spectrum | `F(u,v) = Σf·e^(-j2π...)` | Visualizes frequency components |
66+
4767
### Inspection Tools
4868
- **Pixel Inspector** - RGB/Hex values with visual bars
4969
- **Magnifier** - 11x11 neighborhood with color-coded zones
5070
- **Distance Metrics** - D4 (Manhattan), D8 (Chebyshev), DE (Euclidean)
5171
- **Histogram** - Real-time comparison (Original vs Processed)
72+
- **Status Bar** - Real-time statistics (μ mean, σ std dev, H entropy)
5273

5374
### Visualization Features
5475
- **Formula Panel** - Live LaTeX rendering with variable tracking
@@ -184,13 +205,20 @@ src/
184205
│ ├── LaTeXFormula/ # KaTeX wrapper
185206
│ ├── LoadingSkeleton/ # Loading states
186207
│ ├── PixelInspector/ # Magnifier + RGB info
187-
│ └── Sidebar/ # Filter controls
208+
│ ├── Sidebar/ # Filter controls
209+
│ └── StatusBar/ # Image statistics display
188210
├── hooks/
189211
│ └── useHistory.ts # Undo/Redo logic
190212
├── utils/
191213
│ ├── imageFilters.ts # Point operations
192214
│ ├── convolution.ts # Spatial filters
193-
│ └── morphology.ts # Binary operations
215+
│ ├── morphology.ts # Binary operations
216+
│ ├── edgeDetection.ts # Sobel operators
217+
│ ├── colorFilters.ts # Color transformations
218+
│ ├── fft.ts # Fourier Transform
219+
│ └── imageStatistics.ts # Mean, variance, entropy
220+
├── workers/
221+
│ └── imageWorker.ts # Background processing
194222
├── types/
195223
│ └── index.ts # TypeScript definitions
196224
├── App.tsx # Main application
@@ -205,8 +233,10 @@ src/
205233
- [x] **Sprint 2**: Histogram + Distance metrics
206234
- [x] **Sprint 3**: Convolution engine
207235
- [x] **Sprint 4**: Morphological operations
208-
- [x] **UX**: Zoom/Pan, Undo/Redo, Sample images
209-
- [x] **Reliability**: Error boundaries, Loading states
236+
- [x] **Sprint 5**: Edge detection (Sobel) + Color filters
237+
- [x] **Sprint 6**: FFT Spectrum + Image Statistics
238+
- [x] **UX**: Zoom/Pan, Undo/Redo, Sample images, Status Bar
239+
- [x] **Reliability**: Error boundaries, Loading states, Web Worker
210240

211241
---
212242

0 commit comments

Comments
 (0)