Img2Num C++
API Documentation
Loading...
Searching...
No Matches
img2num.h File Reference

Core image processing functions for img2num project. More...

#include <cstddef>
#include <cstdint>
#include <string>
+ Include dependency graph for img2num.h:

Go to the source code of this file.

Namespaces

namespace  img2num
 

Functions

void img2num::gaussian_blur_fft (uint8_t *image, size_t width, size_t height, double sigma)
 
void img2num::invert_image (uint8_t *ptr, int width, int height)
 
void img2num::threshold_image (uint8_t *ptr, const int width, const int height, const int num_thresholds)
 
void img2num::black_threshold_image (uint8_t *ptr, const int width, const int height, const int num_thresholds)
 
void img2num::kmeans (const uint8_t *data, uint8_t *out_data, int32_t *out_labels, const int32_t width, const int32_t height, const int32_t k, const int32_t max_iter, const uint8_t color_space)
 
void img2num::bilateral_filter (uint8_t *image, size_t width, size_t height, double sigma_spatial, double sigma_range, uint8_t color_space)
 
std::string img2num::labels_to_svg (const uint8_t *data, const int32_t *labels, const int width, const int height, const int min_area)
 

Detailed Description

Core image processing functions for img2num project.

This file declares functions for image manipulation, clustering, filtering, and conversion to SVG. Functions operate on raw image buffers (uint8_t*).

Definition in file img2num.h.