I used python to achieve these functions. The python program is shown in the following picture: python to implement the functions described above
I have tried these: opencvsharp, Aforge. opencvsharp only has the function applycolormap. There are not many parameters that can be modified by this function. My purpose is to make the picture include more colors and high contrast. The applycolormap function cannot achieve my goal. I chose the parameter jet, but the image generated by the function There are not many colors and low contrast. In addition, the applycolormap function cannot draw a colorbar.