Skip to content

Instantly share code, notes, and snippets.

Avatar

Thibault H. spokendotcpp

View GitHub Profile
View plane_v2.py
#!/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]; }
GrayImage::GrayImage()
:array(0)
You can’t perform that action at this time.