MCPcopy Create free account
hub / github.com/arrayfire/forge / image

Method image

src/api/cpp/chart.cpp:100–106  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

98}
99
100Image Chart::image(const unsigned pWidth, const unsigned pHeight,
101 const ChannelFormat pFormat, const dtype pDataType)
102{
103 fg_image temp = 0;
104 FG_THROW(fg_add_image_to_chart(&temp, get(), pWidth, pHeight, (fg_channel_format)pFormat, (fg_dtype)pDataType));
105 return Image(temp);
106}
107
108Histogram Chart::histogram(const unsigned pNBins, const dtype pDataType)
109{

Callers

nothing calls this directly

Calls 2

fg_add_image_to_chartFunction · 0.85
ImageClass · 0.50

Tested by

no test coverage detected