Documentation

This is machine translation

Translated by Microsoft
Mouseover text to see original. Click the button below to return to the English verison of the page.

Note: This page has been translated by MathWorks. Please click here
To view all translated materals including this page, select Japan from the country navigator on the bottom of this page.

displayChart

Display Imatest® eSFR chart with overlaid regions of interest

Syntax

displayChart(chart)
displayChart(chart,Name,Value)

Description

displayChart(chart) displays an Imatest® eSFR chart with overlaid rectangles indicating the slanted edge, gray patch, and color patch ROIs.

example

displayChart(chart,Name,Value) displays an eSFR chart with additional parameters controlling aspects of the chart display.

Examples

collapse all

Read an image of an eSFR chart into the workspace. Linearize the image.

I = imread('eSFRTestImage.jpg');
I_lin = rgb2lin(I);

Create an esfrChart object using the linearized chart image.

chart = esfrChart(I_lin);

Display only the color patch ROIs. To accomplish this, turn off the display of slanted edge ROIs, gray patch ROIs, and registration points.

displayChart(chart,'displayEdgeROIs',false,'displayGrayROIs',false,'displayRegistrationPoints',false);

Input Arguments

collapse all

eSFR chart, specified as an esfrChart object.

Name-Value Pair Arguments

Specify optional comma-separated pairs of Name,Value arguments. Name is the argument name and Value is the corresponding value. Name must appear inside single quotes (' '). You can specify several name and value pair arguments in any order as Name1,Value1,...,NameN,ValueN.

Example: displayChart(myChart,'displayEdgeROIs',false) turns off the overlay of slanted edge ROIs.

collapse all

Display slanted edge ROIs, specified as the comma-separated pair consisting of 'displayEdgeROIs' and true or false. When displayEdgeROIs is true, the 60 slanted-edge bounding boxes are overlaid on the image in pale yellow.

Data Types: logical

Display gray patch ROIs, specified as the comma-separated pair consisting of 'displayGrayROIs' and true or false. When displayGrayROIs is true, the 20 gray patch bounding boxes are overlaid on the image in blue.

Data Types: logical

Display color patch ROIs, specified as the comma-separated pair consisting of 'displayColorROIs' and true or false. When displayColorROIs is true, the 16 color patch bounding boxes are overlaid on the image in dark yellow.

Data Types: logical

Display registration points, specified as the comma-separated pair consisting of 'displayRegistrationPoints' and true or false. When displayRegistrationPoints is true, the four registration points are indicated with a red diamond overlay.

Data Types: logical

Axes handle of the displayed image object, specified as the comma-separated pair consisting of 'Parent' and an axes handle. Parent specifies the parent of the image object created by displayChart.

Introduced in R2017b

Was this topic helpful?