Questions tagged [image-masking]

132 questions
0
votes
0 answers

Object Detection and Masking in Image

I want to do foreground extraction (object detection) in image, then apply mask on it. currently I have done object detection with openCV, but now I am facing issue in Object masking. My platform is android.
0
votes
2 answers

How to set my Image Mask in Hexagon Shape in unity?

I Have hexagon sprites over Image and in back my screenshot image but Here, problem is my image shape square but i want try to fix in hexagon shape So what i do ? please give me any suggestions frame without image: frame with image:
Sanjay Hadiya
  • 864
  • 9
  • 21
0
votes
2 answers

Mask in Chrome combining position absolute, overflow hidden, z-index and border-radius

I am trying to achieve an effect, where I will have div with background image with content inside. This content should be flex-positioned div with the same image but blurred (while keeping its relative position to parent). In search for salvation, I…
Łukasz Szcześniak
  • 1,417
  • 11
  • 23
0
votes
0 answers

Masking Green Color in the Image using OpenCV

I am trying to Mask Green Color in the image . Below in the code which, i am using to do it . Even if the color Hue value is inRange , It is NOT masking the Image . cvtInputBGRtoHSV = cv2.imread(inputFileImage) maskInput =…
Sreevathsabr
  • 649
  • 7
  • 23
0
votes
0 answers

R - Image masks and lettercloud not displayed correctly

I have recently picked up R and while most of it has been a fairly straightforward process, the final step in my little script based on the wordcloud2 package for R is proving to be difficult. I want to create word clouds - which works perfectly -…
0
votes
2 answers

Imagemagick masking image and fitting space via resizing

INTRODUCTION Let's say I have this image: To the image I apply the mask in https://image.ibb.co/c5Nw6c/Mask.png (it's white, that's why I set it here). The mask is basically a message bubble with an arrow in the bottom right part. The command (in…
juanba1984
  • 357
  • 2
  • 13
0
votes
1 answer

-webkit-mask-image is not working in sass

I'm using Gulp (node-sass) for compiling sass files to css. I've added -webkit-mask-image in my sass files like this: -webkit-mask-image: -webkit-gradient(linear, left bottom, left 30%, from(rgba(0,0,0,1)), to(rgba(0,0,0,0))); but gulp compile it…
Emad Emami
  • 6,089
  • 3
  • 28
  • 38
0
votes
1 answer

Animate CC Canvas And Masking

I am wondering how I would be able to use animated shapes inside a movieclip that would be acting as a mask? In my Animate CC canvas file I have an instance (stripeMask) that should mask the below instance called mapAnim. stripeMask contains shapes…
user2163224
  • 131
  • 2
  • 3
  • 12
0
votes
0 answers

Image hover change shape on different window sizes

Have problems with hover shape on responsive I have this code: .thumb { max-height: 21.875em; /* 350px */ max-width: 21.875em; /* 350px */ width: 100% !important; border-top-left-radius: 50%; border-bottom-left-radius: 50%; …
Māris L
  • 37
  • 10
0
votes
1 answer

Matrix masking operation in OpenCV(C++) and in Matlab

I would like to do the following operation (which is at the current state in Matlab) using cv::Mat variables. I have matrix mask: mask = 1 0 0 1 0 1 then matrix M: M = 1 2 3 4 5 6 3 and samples = M(mask,:) samples = …
Kristan
  • 387
  • 6
  • 19
0
votes
1 answer

How can I overcome the warning: “Integer operands are required for colon operator when used as index”?

I need to create an image with three levels as described in the following question: How do i create a rectangular mask at known angles? Code: %# Create a logical image of a circle with image size specified as follows: imageSizeX = 401; imageSizeY =…
User1772
  • 91
  • 8
0
votes
1 answer

How do i create a rectangular mask at known angles?

I have created a synthetic image that consists of a circle at the centre of a box with the code below. %# Create a logical image of a circle with image size specified as follows: imageSizeY = 400; imageSizeX = 300; [ygv, xgv] =…
gary105
  • 49
  • 7
0
votes
1 answer

Create a radial gradient mask to create a hole in the picture

I want to create a radial gradient mask to create a hole in the picture, so that you can see through the picture. I created an overlaying image with a hole and the image beneath is visible, like below: I am able to create this image using…
maven25
  • 231
  • 2
  • 12
0
votes
1 answer

Parallax, Mask, Transitions (oh my!) for IE without Clipping

I'm facing what I think is a unique situation, mainly because I can't find anything to help me with this. I'm trying to add a parallax effect inside a masked element. Before the element can be..."parallaxed?"...it has to slide into view, within the…
Webreality
  • 623
  • 1
  • 6
  • 11
0
votes
0 answers

Want to mask some area in an image using Matlab

I want to mask some area (Blue and Red) in an image, I tried different methods but I couldn't get the solution that I want. Here's the image I am using: Here's the result that I want: Please explain the code because I really want to learn how it…
Aulia
  • 23
  • 5
1 2 3
8 9