Skip to content

Instantly share code, notes, and snippets.


Thibault H. spokendotcpp

View GitHub Profile
#!/usr/bin/env python3
# -*- coding: utf-8 -*-
import numpy as np
import os
import cv2
import argparse # Argument project
from matplotlib.colors import to_rgb
from matplotlib.image import imread
View GrayImage.cpp
#include "GrayImage.hpp"
#include <stdexcept>
#include <string>
GrayImage::GrayImage(ushort w, ushort h)
:width(w), height(h), array(0)
{ array = new ubyte[width*height]; }
You can’t perform that action at this time.