---
title: MPSImageEDLines
framework: metalperformanceshaders
role: symbol
role_heading: Class
path: metalperformanceshaders/mpsimageedlines
---

# MPSImageEDLines

## Declaration

```swift
class MPSImageEDLines
```

## Topics

### Initializers

- [init(coder:device:)](metalperformanceshaders/mpsimageedlines/init(coder:device:).md)
- [init(device:gaussianSigma:minLineLength:maxLines:detailRatio:gradientThreshold:lineErrorThreshold:mergeLocalityThreshold:)](metalperformanceshaders/mpsimageedlines/init(device:gaussiansigma:minlinelength:maxlines:detailratio:gradientthreshold:lineerrorthreshold:mergelocalitythreshold:).md)

### Instance Properties

- [clipRectSource](metalperformanceshaders/mpsimageedlines/cliprectsource.md)
- [detailRatio](metalperformanceshaders/mpsimageedlines/detailratio.md)
- [gaussianSigma](metalperformanceshaders/mpsimageedlines/gaussiansigma.md)
- [gradientThreshold](metalperformanceshaders/mpsimageedlines/gradientthreshold.md)
- [lineErrorThreshold](metalperformanceshaders/mpsimageedlines/lineerrorthreshold.md)
- [maxLines](metalperformanceshaders/mpsimageedlines/maxlines.md)
- [mergeLocalityThreshold](metalperformanceshaders/mpsimageedlines/mergelocalitythreshold.md)
- [minLineLength](metalperformanceshaders/mpsimageedlines/minlinelength.md)

### Instance Methods

- [encode(to:sourceTexture:destinationTexture:endpointBuffer:endpointOffset:)](metalperformanceshaders/mpsimageedlines/encode(to:sourcetexture:destinationtexture:endpointbuffer:endpointoffset:).md)

## Relationships

### Inherits From

- [MPSKernel](metalperformanceshaders/mpskernel.md)

### Conforms To

- [CVarArg](swift/cvararg.md)
- [CustomDebugStringConvertible](swift/customdebugstringconvertible.md)
- [CustomStringConvertible](swift/customstringconvertible.md)
- [Equatable](swift/equatable.md)
- [Hashable](swift/hashable.md)
- [NSCoding](foundation/nscoding.md)
- [NSCopying](foundation/nscopying.md)
- [NSObjectProtocol](objectivec/nsobjectprotocol.md)
- [NSSecureCoding](foundation/nssecurecoding.md)
