How can I get a smoother line?
var image = ee.Image('users/cananhamzaolu/KIYI500')
var roi = ee.Geometry.Polygon = ([
[31.577169138841125, 41.30667497201365],
[33.33498163884112, 41.30667497201365],
[33.33498163884112, 41.91451886804031],
[31.577169138841125, 41.91451886804031],
[31.577169138841125, 41.30667497201365]
])
var clip = image.clip(roi)
Map.addLayer(clip, {
'min': 0,
'max': 1
}, 'image', false)
var canny = ee.Algorithms.CannyEdgeDetector({
image: clip,
threshold: 0,
sigma: 1
});
Map.addLayer(canny, {
'min': 0,
'max': 1
}, 'canny')