42,225 questions
0
votes
0
answers
37
views
Retain original data in grayscale image and render in browser [closed]
I have a raster image in grayscale, capturing a scientific data in range -1 to 1.
Image doesn't render in browser due to this range. So I need to map it to rgb channels in range 0-255. I do it using ...
0
votes
0
answers
32
views
Local intensity normalization
I am working on a data augmentation pipeline for stroke lesions MRIs. The pipeline aims at pasting lesions from sick slices to healthy slices. In order to do so, I need to adjust the intensities of ...
-1
votes
0
answers
57
views
Extract original grayscale value from png tile in deckgl [closed]
I have a grayscale raster image, which I transform to png based tiles using gdal2tiles. Images have 4 channels, RGB channels and alpha channel for transparency.
I then render tiles using Deckgl.
I ...
-1
votes
0
answers
101
views
How to achieve instant multi-layer virtual try-on (VTO) using preprocessed human and outfit segmentation masks? [closed]
I’m building a virtual try-on (VTO) app where users can upload their avatar (photo) once, and then try on multiple outfits (like T-shirts, jackets, hoodies, etc.) instantly — including multi-layering (...
0
votes
0
answers
39
views
perspective transform code is causing the image to go out of frame -- where is the error? [closed]
the code i wrote, while it is able to make the image erect, it is causing the picture to go out of frame. i don't get where I went wrong.
import cv2
import cv2.aruco as aruco
import numpy as np
image ...
0
votes
0
answers
43
views
raster image with missing no-data information rendering with no-data parts in qgis
I have a raster image. I run 'gdalinfo -stats' command for it, and I get:
Band 1 Block=256x256 Type=Float32, ColorInterp=Gray
Description = NDVI
Min=-0.768 Max=0.859
Minimum=-0.768, Maximum=0....
0
votes
2
answers
97
views
How to detect only printing issues ignoring other surface defects on camera image using python? [closed]
I am working on identifying printing defects in images I got from my camera. These are coloured images. I need to detect in these images some places that have pen marks (printing defects.)Let's ...
2
votes
0
answers
133
views
Removing gridlines from scanned forms
I am trying to remove gridlines from a form snippet as a preprocess step for OCR.
However, this turned out quite challenging when texts overlap with the gridlines.
Sample Images
I am very new to open ...
2
votes
0
answers
56
views
How to get rid of no-data pixels in tif,png
I have a gis image file in tif format which I convert to png based tiles using gdal.
gdalinfo command for tif file shows:
Band 1 Block=1652x2 Type=Byte, ColorInterp=Gray
Min=1.000 Max=255.000
...
-4
votes
0
answers
60
views
What is the technology behind this optical code used in iOS's private VisualPairing framework And how can I create something similar? [closed]
I’m experimenting with temporal and spatial color modulation similar to Apple’s VisualPairing framework. My goal is to generate an optical code where information is embedded in subtle chroma (U/V) ...
1
vote
0
answers
64
views
How to detect the noisy area in the image [closed]
I program in java with no external libraries. I wish to detect the left bottom area as noisy (to remove it later). I don't need specific code just maybe some techniques/algorithms so I can search them ...
4
votes
0
answers
167
views
+100
Why should images not be cylindrically warped before homography estimation in an image stitching pipeline?
I am working on an image stitching pipeline for video feeds but am still missing some key insights. I am for example using Szeliski's Image Alignment and Stitching: A Tutorial for a general ...
-1
votes
1
answer
140
views
How to remove background from all sides of bill photo [closed]
Tried to remove background from bill photo using OpenCvSharp GrabCut method:
static Mat Grabcut(Mat imageMat) {
Mat result = new(imageMat.Size(),MatType.CV_8UC1);
OpenCvSharp.Rect rect = ...
1
vote
2
answers
112
views
How to make image white outside of contour in OpenCvSharp
Looking for a method to set image color to white outside single contour.
Answer in
Fill the outside of contours OpenCV
outside-of-contours-opencv
contains python code for this:
import cv2
import numpy
...
0
votes
2
answers
161
views
How to find printed document in image
Image contains single document printed in white paper. Background of image can be different.
Tried to get document using code from https://scanbot.io/techblog/document-edge-detection-with-opencv/ with ...