Revision 0fee217824a5d6c2f12871477c514ef55b744b09 authored by H.F on 30 April 2021, 03:01 UTC, committed by H.F on 30 April 2021, 03:01 UTC
1 parent c2b890b
Raw File
# FindYourCell.jl
Cell Segementation and Tracking

We search and filter local maximal in blurred image as seed, then apply 
algorithm to split individual cell. Nucleus is extracted by Otsu-threshold
in each split region.

## Data Structure
cell_info=[x, y, threshold, cell_size, cell_intensity]

## Compressed tiff
Why enum number are wrong?

# hack ImageMagick
function writeimage(wand::MagickWand, filename::AbstractString)
    setimagecompression(wand, 13) # lzw compression
    status = ccall((:MagickWriteImages, libwand), Cint, (Ptr{Cvoid}, Ptr{UInt8}, Cint), wand, filename, true)
    status == 0 && error(wand)
back to top