CARTA Backend
The backend component of CARTA
Loading...
Searching...
No Matches
Contouring.cc File Reference
#include "Contouring.h"
#include <chrono>
#include <cmath>
#include <limits>
#include <vector>
#include "../Logger/Logger.h"
#include "ThreadingManager/ThreadingManager.h"
#include "Timer/Timer.h"
Include dependency graph for Contouring.cc:

Namespaces

namespace  carta
 

Functions

void carta::TraceSegment (const float *image, std::vector< bool > &visited, int64_t width, int64_t height, double scale, double offset, double level, int x_cell, int y_cell, int side, vector< float > &vertices)
 
void carta::TraceLevel (const float *image, int64_t width, int64_t height, double scale, double offset, double level, vector< float > &vertices, vector< int32_t > &indices, int chunk_size, ContourCallback &partial_callback)
 
void carta::TraceContours (float *image, int64_t width, int64_t height, double scale, double offset, const std::vector< double > &levels, std::vector< std::vector< float > > &vertex_data, std::vector< std::vector< int32_t > > &index_data, int chunk_size, ContourCallback &partial_callback)