# Descriptors

**URL:** https://discourse.julialang.org/t/descriptors/12878
**Category:** General Usage
**Created:** [August 4, 2018, 4:13am UTC](https://discourse.julialang.org/t/descriptors/12878 "2018-08-04T04:13:37Z")
**Posts on this page:** 1
**Page:** 1

<div class="post-metadata">

### Author: ![microlifecc](https://avatars.discourse-cdn.com/v4/letter/m/ed655f/32.png) [@microlifecc](https://discourse.julialang.org/u/microlifecc)
#### Post date: [August 4, 2018, 4:13am UTC](https://discourse.julialang.org/t/descriptors/12878/1 "2018-08-04T04:13:37Z")

</div>

Hi Guys!

I am writing some code for matching descriptors using BRIEF.

My code till now:

```julia
grid = Gray.(hcat(imgColorG, imgGray))
offset = CartesianIndex(0, size(imgColorG, 2))
map(m -> draw!(grid, LineSegment(m[1], m[2] + offset)), matches)
grid

```

I am getting this warning:

> WARNING: one(ColorTypes.Gray{FixedPointNumbers.Normed{UInt8,8}}) will soon switch to returning 1; you might need to switch to `oneunit`

Can you tell me what I should change? Thanks!
