I would require the binarize methods in the Manipulate interface. Thanks

    Binarize[insertImage, binOnly], {binOnly, 0, 
    1}, {Method -> 
    method}, {{method, {"Cluster"}, {"Entropy", "Mean", 

Manipulate[Binarize[Method[insertImage, bin1],
] {Method, {"Cluster", "Entropy", "Mean", "MinimumError"}}, {bin1, 
0, 1}]

  • 1
    $\begingroup$ ... and? What is the problem? Please be more specific about your question. $\endgroup$
    – MarcoB
    Apr 27, 2020 at 1:24

2 Answers 2


enter image description here

Mathematica graphics

 Grid[{{Row[{"Binarize[insertImage,", binOnly, ",Method\[Rule]", 
      method, "]"}]},
   {Binarize[insertImage, binOnly, Method -> method]}
   }, Frame -> All, Spacings -> {1, 1}],
 {{binOnly, .6, "binOnly"}, 0, 1, .1},
 {{method, "Cluster", "method"}, {"Entropy", "Mean", "MinimumError"}},
 TrackedSymbols :> {method, binOnly}

Any other image can be used. For example insertImage = Import["ExampleData/spikey.tiff"]


I tried this, but the output image does not change for the methods

With[{im =image},
Manipulate[Binarize[im, bim,

   Method -> method1], {bim, 0, 1},
  {{method1, "Cluster"}, {"Cluster", "Entropy", "Mean", 
  • $\begingroup$ does the image change for the method if you do not use With? i.e. if you just use as shown in the above answer, does it work then? $\endgroup$
    – Nasser
    Apr 28, 2020 at 6:13

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.