The distance transform labels every foreground pixel with its distance to the nearest background pixel — the backbone of watershed segmentation, skeletonization, and shape analysis. Upload any image, binarize it with Otsu or a manual threshold, and explore the L2 distance field as a colormapped heatmap, an overlay, or a raw grayscale field.
တင်ပြောင်းရန်
ချိန်ညှိ & ကြိုတင်ကြည့်ရန်
Pixlane is loading locally. Supported local media processing, no signup, and supported file contents are not uploaded for processing.
distance transform သည် foreground pixel တိုင်းကို ၎င်းနှင့် အနီးဆုံး background pixel အထိ အကွာအဝေးဖြင့် အမှတ်တံဆိပ်တပ်ပေးသည် — watershed segmentation၊ skeletonization နှင့် ပုံသဏ္ဌာန် ခွဲခြမ်းစိတ်ဖြာမှုတို့၏ ကျောရိုးဖြစ်သည်။ မည်သည့်ပုံကိုမဆို upload လုပ်ပါ၊ Otsu သို့မဟုတ် လက်ဖြင့်သတ်မှတ်သော threshold ဖြင့် binary ပြောင်းပြီး L2 distance field ကို အရောင်ခြယ် heatmap၊ overlay သို့မဟုတ် raw grayscale field အဖြစ် လေ့လာကြည့်ပါ။
Otsu/manual threshold သတ်မှတ်ခြင်း၊ colormap များနှင့် overlay mode ဖြင့် Euclidean (L2) distance transform ကို မြင်ကွင်းပြပါ — classic CV၊ browser အတွင်း။
၎င်းသည် watershed marker ထုတ်လုပ်ခြင်း၊ skeletonization၊ စက်ရုပ်လမ်းကြောင်း စီစဉ်ခြင်း၊ morphological လုပ်ဆောင်ချက်များ၊ နှင့် ပုံသဏ္ဌာန် အထူပိုင်းတိုင်းတာမှုများ — pixel တစ်ခုစီအလိုက် 'ကျွန်တော် အနားစွန်းမှ မည်မျှ ဝေးသလဲ' ကို လိုအပ်သည့် နေရာတိုင်း — ကို လုပ်ဆောင်ပေးသည်။
Colormap band တစ်ခုစီသည် အကွာအဝေးတူ contour တစ်ခုဖြစ်သည်— band တူထဲမှ pixel များသည် အနီးဆုံးအနားစွန်းမှ အကွာအဝေးတူ တွင် တည်ရှိကြသည်။ Blob များ၏ ဗဟိုသည် မည်သည့် အနားစွန်းမှမဆို အဝေးဆုံးဖြစ်သဖြင့် အတောက်ပဆုံး တောက်ပနေသည်။
OpenCV distanceTransform ဖြင့် 3x3 mask သုံး၍ Euclidean (L2) အကွာအဝေးကို တွက်ချက်ပြီး ပြသရန်အတွက် 0-255 သို့ normalize လုပ်ထားသည်။
မလုပ်ပါ။ Transform သည် WebAssembly တွင် သင့် browser ထဲ၌သာ လုံးဝ ပြေးဆွဲသည်။