Git Product home page Git Product logo

rectangular-cell-feature-extract's Introduction

Rectangular-Cell-Feature-Extract

维管束细胞图像特征提取


输入

  1. 在./Data文件夹内放入原始图片

输出

  1. 输出数据特征到./Out/Data.csv中

    样例(部分)

    filename area height width
    0829_131619_02.jpg 1586909.5 930.5437012 1792.184692
  2. 输出特征提取参照图片到./Out文件夹中


去除蓝底

def delBlueBackground(img):
    # 滤波
    img = cv2.medianBlur(img, 3)
    # 去除蓝底
    img_hsv = cv2.cvtColor(img, cv2.COLOR_BGR2HSV)
    lower_blue = np.array([100, 60, 46])
    upper_blue = np.array([124, 255, 255])
    img_gray_binary = cv2.inRange(img_hsv, lower_blue, upper_blue)
    img_mask = np.copy(img)
    img_mask[img_gray_binary != 0] = [0, 0, 0]
    return img_mask

rectangular-cell-feature-extract's People

Contributors

lanluz avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.