yeah sorry for the noise read fast your question 😆. If you want a Binary
Image given a thresold value:
img_bin = img_gray .<= value
​

2016-09-06 13:12 GMT-03:00 Emerson Vitor Castelani <[email protected]>:

> Hi El suisse ! Thank you for your help. I already tried that. But in this
> case, we obtain a gray scaled image...I want a binary image...
>
> Em terça-feira, 6 de setembro de 2016 11:39:31 UTC-3, El suisse escreveu:
>>
>> I think with:
>> img = load("path/to/your/image")
>> img_bw = convert(Image{ColorTypes.Gray}, img)
>> ​
>>
>> 2016-09-06 9:46 GMT-03:00 Emerson Vitor Castelani <[email protected]>:
>>
>>> Is there any way to convert a jpg (or png) image in b&w using Images.jl?
>>>
>>> Thanks
>>>
>>
>>

Reply via email to