필터 지우기
필터 지우기

Why this multithresh function doesn´t work for my image?

조회 수: 1 (최근 30일)
Veronika
Veronika 2017년 2월 22일
Dear all,
I have this image
and I would like to use multithresh function for this. But this error appeared:
Undefined function 'multithresh' for input arguments of type 'uint8'.
Error in Otsu_databaze (line 22)
level = multithresh(I);
This is my code:
clc;close all;clear all;
I = imread('CT_sken_zkusebni2.jpg');
imshow(I)
I = I(:, :, 2);
level = multithresh(I);
seg_I = imquantize(I,level);
figure
imshow(seg_I,[])
I also attach my image.
Thank you for your answers.

답변 (0개)

카테고리

Help CenterFile Exchange에서 Import, Export, and Conversion에 대해 자세히 알아보기

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by