Skip to content

For all you peeps not willing to use scilab for sivp

License

Notifications You must be signed in to change notification settings

ObaniGemini/NSIVP

Repository files navigation

NSIVP

A yet unworking replacement library for SIVP on scilab, using SDL

Using SDL2, stb_image.h and stb_image_write.h

Short description

  • initNSIVP() : init all the subsystems needed for NSIVP to display windows.

  • exitNSIVP() : exit all the subsystems needed for NSIVP to display, then quitting.

  • storeImage( path ) : store an image in an Image struct, returning it

  • storeHistogram( image ) : store an histogram in an Histogram struct, based off an Image struct, returning it.

  • allocImage( width, height, chans ) : allocate space for an image of size width x height with chans channels per pixel.

  • freeImage( image ) : free the content of an Image struct, returns nothing ( the image needs to be a pointer )

  • saveImage( path, image ) : save image at path. path needs to contain an explicit picture format at the end (supported formats are png, bmp, tga and jpg)

  • displayImage( image ) display image in an SDL movable window. F12 to save the image.

  • displayHistogram( histogram ) display histogram in an SDL movable window. F12 to save the image.

About

For all you peeps not willing to use scilab for sivp

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages