# DeskewedImageElement Class

The `DeskewedImageElement` class stores an intermediate result whose type is Deskewed image.

## Definition

*Package:* com.dynamsoft.ddn.intermediate_results

```java
public class DeskewedImageElement extends RegionObjectElement
```

*Inheritance:* [RegionObjectElement](https://www.dynamsoft.com/capture-vision/docs/server/programming/java/api-reference/core/intermediate-results/region-object-element.md) -> DeskewedImageElement

## Methods

| Method | Description |
|--------|-------------|
| [`DeskewedImageElement`](#deskewedimageelement) | Initializes a new instance of the `DeskewedImageElement` class. |
| [`setImageData`](#setimagedata) | Sets the image data of the deskewed image element. |
| [`getSourceDeskewQuad`](#getsourcedeskewquad) | Gets the quadrilateral used for deskewing the image. |

### DeskewedImageElement

Initializes a new instance of the `DeskewedImageElement` class.

```java
public DeskewedImageElement()
```

### setImageData

Sets the image data of the deskewed image element.

```java
public void setImageData(ImageData imageData) throws DocumentNormalizerException
```

**Parameters**

`imageData`  The image data to set.

**Exceptions**

[`DocumentNormalizerException`](https://www.dynamsoft.com/document-normalizer/docs/server/programming/java/api-reference/document-normalizer-exception.md)

**See Also**

* [ImageData](https://www.dynamsoft.com/capture-vision/docs/server/programming/java/api-reference/core/basic-classes/image-data.md)

### getSourceDeskewQuad

Gets the quadrilateral used for deskewing the image.

```java
public Quadrilateral getSourceDeskewQuad()
```

**Return Value**

A `Quadrilateral` object representing the four corners of the quadrilateral used to deskew the image.

**See Also**

* [Quadrilateral](https://www.dynamsoft.com/capture-vision/docs/server/programming/java/api-reference/core/basic-classes/quadrilateral.md)

