Synopsis
Generate ramp data into a LUT buffer.
Format
void MgenLutRamp(LutId, StartIndex, StartValue, EndIndex, EndValue)
MIL_ID LutId; | LUT identifier |
long StartIndex; | First LUT index |
double StartValue; | Start value of input range |
long EndIndex; | Last LUT index |
double EndValue; | End value of input range |
Description
This function generates a ramp, inverse ramp, or a constant in the specified LUT buffer region (StartIndex to EndIndex). The increment between LUT entries is the difference between StartValue and EndValue, divided by the number of entries.
If you need to generate a more complex LUT, use MgenLutFunction or generate the values with your Host system and load them into a MIL LUT buffer, using MbufPut1d or MbufPutColor.
The LutId parameter specifies the identifier of the LUT in which to generate values. This parameter must be given a valid LUT buffer identifier. Allocate a LUT buffer, using?MbufAlloc1d or MbufAllocColor.
The StartIndex and EndIndex parameters specify the first and last LUT index entry for which to generate values. StartIndex must be less than or equal to EndIndex.
The StartValue and EndValue parameters specify the extreme values from which the increment is calculated. StartValue is the first LUT entry. If both values are the same, the entire LUT range is filled with this value. If EndValue is smaller than StartValue, an inverse ramp is generated. These parameters accept only integer values, except when using a floating-point LUT buffer.
See also
MgenLutFunction, MbufPut1d, MbufPutColor, MbufAlloc1d, MbufAllocColor
This is nicely expressed! . diflucan for yeast infection
Really a good deal of excellent information. fluconazole bnf
Amazing content. With thanks! viagra pills generic pharmacy
Kudos. Valuable information! canadadrugsonline
Whoa lots of wonderful data. kratom for sale
You revealed it very well! hemp oil
Cheers! I like it. viagra generic name
You actually stated this exceptionally well! hemp oil vs cbd oil
You actually suggested this very well. viagra without a doctor prescription
You made the point! canadapharmacy
Thank you, A lot of content!
Get Cialis Extra Dosage 50mg Over The Counter
Thanks! A lot of write ups.
retin a
Cheers! Numerous knowledge!
https://viagrapycharm.com/
Kudos. I appreciate this! Metformin Sliding Scale
You have made your stand extremely clearly!! canadian pharmacy
You stated it perfectly! doxycycline hyclate 100mg
Good write ups. Cheers! online pharmacies canada