Giter Club home page Giter Club logo

dcan-tensorflow's Introduction

nc-site

dcan-tensorflow's People

Contributors

lisjin avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar

dcan-tensorflow's Issues

bugs While I am trying to run saveImgsAll()

It through this error can you help me to solve
Subscript indices must either be real positive integers or logicals.

Error in fmArgmax (line 8)
topIndices(numImgs).ind = 0;

Error in saveImgsAll (line 7)
topIndices = fmArgmax(fmVals, imgNamesAll);

generate output image

hi i trained the network successfully, and i have done test by using "evaluate" but i need to generate output images for test set. i am going to regenrate the images that are shown in "DCAN: Deep Contour-Aware Networks for Accurate Gland Segmentation", is there any method in your implementation to regenerate the images.
i will be appreciate for your response.

about the label format

in dcan-tensorflow/tf-dcan/bbbc006_input.py
line 71: result.label = tf.concat([contour, segment], 2) and dcan-tensorflow/tf-dcan/traceBounds.m
it seems that two classes can both be 1 in same pixel in label array?

The pixels of contours

    vals = unique(nonzeros(img));
    bwImg = false(size(img));
    for j = 1:length(vals)
        cur = (img == vals(j, 1));
        [bounds, ~] = bwboundaries(cur, 'noholes');
        indices = bounds{1};
        for k = 1:size(indices, 1)
            bwImg(indices(k, 1), indices(k, 2)) = 1;
        end
    end
    bwImg = imdilate(bwImg, strel('disk', 3));
    bwImg = uint8(bwImg) * 255;
    imwrite(bwImg, [OUT_DIR_C '/' imgNames{i}]);

I found the pixel size of contour is 6 when disk equals to 3, and it will cover pixels (==3) inside nucleis and outside nucleis (==3). And if contours are thick,the prediction covers more pixels inside the nucleis. What's more, if they are overlapped, the pixels outside this nucleis may cover some pixels inside other nucleis. It's hard to discriminate them.

Do I misunderstand?

is:issue is:open how to make a test??

hi,i have trained the model successful,then i want to make a test by a new image and create the contour and segment image or label consistent with this test image,so i want know weather just to run the "images=bbbc006.inputs(eval_data=FLAGS.eval_data)" and "c_fuse, s_fuse = bbbc006.inference(images, train=False)"under the pre-train model or not ,
i will be appreciate for your response.

About the two training labels.

I make a same network, but it hard to detect anything...So I want to make sure if it is:
One is the whole segment label, and the other one is the boundary with dilate-->disk(3)?
thanks

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.