Grown Up Pointers

Shared_pointers #include<iostream> int main(){ int *b=new int(12); //initialize the pointer int *c; c=b;       //make  pointer c points to same pointer delete b; //delete the pointers std::cout<<*c; } Above program will produce an error on running. Why? because the object to which c was pointing got deleted will c is still pointing to it. In … More Grown Up Pointers

Image Processing in sage or python ( monadic operations )

Monadic operations are operations that take one particular pixel from input images and map it to pixel in output pixel which is at same location as that of input image according to used function . This done for all pixels in input image according to chossen function. It include operations like -: 1. Brightness -: … More Image Processing in sage or python ( monadic operations )