Icon

JKISeason2-21

There has been no description set for this workflow's metadata.

Option 1Use Segment Anything - an NN-based model for image segmentation. It is better to use it with GPU.Instructions for installation and usage:https://github.com/facebookresearch/segment-anything#model-checkpoints Option2Based on this workflow: https://hub.knime.com/-/spaces/-/latest/~SCu1hPH7z-YCgNEp/The workflow returns segmented images, centers of objects/segments and the amount of objects. RunSegment AnythingIterate imagesNumber of objectsSplit intoRGBConvert to DataRowCalculateX Positionsof PixelsKeep OnlyOne ColumnFor example R ValuesCalculateY Positionsof PixelsRandomly Sample2000 RowsConvert the ImageDimensions intoVaribles so theyCan be Used toCalculate theCoordinates ofEach PixelConcatenateMean Values toTable of All X and YCoordinatesIn the SampleGroupByCluster andCalculate Meanof X and YCoordinatesAssign Labelof Colour 1Assign Labelof Colour 0AssignColours to0 and 1View ScatterPlot of AllCoordinates toShow Positionsof Golf BallsCalculateDistanceMatrixKeep OnlyRows withR > 200UngroupCollectionRead ImageCluster imagedensitiesNode 651Clusters and imageImage pathWrap imageto tableGet pathsback to tableIterate imagesNumber ofclustersNumber of objectsFinalize outputper imageGet clustercenter positionsParametrizenumber of clustersRemovenoize/backgroundWrap centersas collectionsRead imagesFinalize outputper imagePython Script Chunk Loop Start Loop End Image To Table Math Formula Provide pathto SAM model Splitter Image to DataRow Math Formula Column Filter Math Formula Row Sampling Convert ImageDimensions to Variables Concatenate GroupBy ConstantValue Column ConstantValue Column Color Manager Scatter Plot Distance MatrixCalculate Row Filter Ungroup Image Reader(Table) DBSCAN Loop End GroupBy ConstantValue Column Image To Table Joiner Group Loop Start GroupBy Math Formula Column Appender Top k Selector Table Rowto Variable Row Filter GroupBy Column Rename List Files/Folders Path to URI URL to File Path Column Appender Option 1Use Segment Anything - an NN-based model for image segmentation. It is better to use it with GPU.Instructions for installation and usage:https://github.com/facebookresearch/segment-anything#model-checkpoints Option2Based on this workflow: https://hub.knime.com/-/spaces/-/latest/~SCu1hPH7z-YCgNEp/The workflow returns segmented images, centers of objects/segments and the amount of objects. RunSegment AnythingIterate imagesNumber of objectsSplit intoRGBConvert to DataRowCalculateX Positionsof PixelsKeep OnlyOne ColumnFor example R ValuesCalculateY Positionsof PixelsRandomly Sample2000 RowsConvert the ImageDimensions intoVaribles so theyCan be Used toCalculate theCoordinates ofEach PixelConcatenateMean Values toTable of All X and YCoordinatesIn the SampleGroupByCluster andCalculate Meanof X and YCoordinatesAssign Labelof Colour 1Assign Labelof Colour 0AssignColours to0 and 1View ScatterPlot of AllCoordinates toShow Positionsof Golf BallsCalculateDistanceMatrixKeep OnlyRows withR > 200UngroupCollectionRead ImageCluster imagedensitiesNode 651Clusters and imageImage pathWrap imageto tableGet pathsback to tableIterate imagesNumber ofclustersNumber of objectsFinalize outputper imageGet clustercenter positionsParametrizenumber of clustersRemovenoize/backgroundWrap centersas collectionsRead imagesFinalize outputper image Python Script Chunk Loop Start Loop End Image To Table Math Formula Provide pathto SAM model Splitter Image to DataRow Math Formula Column Filter Math Formula Row Sampling Convert ImageDimensions to Variables Concatenate GroupBy ConstantValue Column ConstantValue Column Color Manager Scatter Plot Distance MatrixCalculate Row Filter Ungroup Image Reader(Table) DBSCAN Loop End GroupBy ConstantValue Column Image To Table Joiner Group Loop Start GroupBy Math Formula Column Appender Top k Selector Table Rowto Variable Row Filter GroupBy Column Rename List Files/Folders Path to URI URL to File Path Column Appender

Nodes

Extensions

Links