Skip to content Skip to sidebar Skip to footer
Showing posts with the label Masking

How To Efficiently Mask A Surface In Pygame

I'm masking a surface in pygame as suggested by nkorth in response to the question is there any… Read more How To Efficiently Mask A Surface In Pygame

Gtiff Mask With Shapefile In Python With Gdal, Ogr, Etc

OK, After a bit of fiddling, I've tweaked a script from the site hyperlink in the second commen… Read more Gtiff Mask With Shapefile In Python With Gdal, Ogr, Etc

Python/numpy: Vectorizing Repeated Row Insertion In A 2d Array

Is it possible to vectorize the insertion of rows? I have a large 2D numpy array arr (below) and a … Read more Python/numpy: Vectorizing Repeated Row Insertion In A 2d Array

Masking User Input In Python With Asterisks

I am trying to mask what the user types into IDLE with asterisks so people around them can't se… Read more Masking User Input In Python With Asterisks

Crop Image Using Mask And Python Scikit-image

I'm working in image proceesing and I have the following code to obtain the convex hull of a im… Read more Crop Image Using Mask And Python Scikit-image