04-07-2019 10:22 PM
I want all images to be stitched vertically.
04-07-2019 10:38 PM
We know what you want. But you hadn't described what was wrong. At least now the image shows us something is wrong, but still isn't clear what.
I don't understand your array manipulation at the top of the last For Loop. Why are you replacing array elements? Or even have an array at all? What is the array that is initializing the shift register? You are always indexing out element 0. It seems to me that index 1 would be properly, The subVI looks for "left/top". I think stitching vertically, the top of the image is being moved down, not the left. Wouldn't that be the second element of that array? And why play with an array at all. Just put an integer in the shift register, read the value, combine that into the array with a 0 for left. Take that original element and add the height and put that scalar in the shift register to be the new top for the next iteration.
Also, check the detailed help for Image to Image function. There is a 3rd image reference input you have unwired. Since that says destination image, I'm think that is what your Stitched image reference should be wired into. But it is all very confusing as you are combing 2 images, yet the subVI has 3 inputs and 1 output. You may even need a shift register on that reference wire.
04-08-2019 02:33 AM
Thank u so much for suggestions......
04-13-2019 06:41 AM
Hi,
Can someone give suggestions to stitch images with small amount of overlap.
Which all vi's are used for that?
04-13-2019 01:30 PM
@SSG0484 wrote:
Hi,
Can someone give suggestions to stitch images with small amount of overlap.
This description is insufficient because you need to define what should happen at the places of overlap (average both pictures, first one wins, second one wins, etc.)
In the general case, you would first allocate a 2D array of the final size, then replace (or average, etc.) subsections with the image data at the desired locations.
04-14-2019 10:43 AM
Actually I would like to take average at overlap regions.
04-14-2019 12:37 PM
@SSG0484 wrote:
Actually I would like to take average at overlap regions.
So do you have problems with the stitching or with the averaging? What is the datatype of the image?
04-15-2019 04:26 AM
Actually I need to stitch images of microscopic slide captured using camera. For now I need to stitch two rows of slides with four columns with both vertical and horizontal overlap. Image is monochrome 8 bit image of resolution 3088*2076.
Actually I don't know how to start.
I am new to labview image processing.
So I am searching for ideas to get start with.
I have acquired images with sufficient overlap on both vertical and horizontal.
I need to apply average of images at areas of overlap.
04-15-2019 09:22 AM
Do you have precise control of the overlap areas? Otherwise you will first need to determine the amount of overlap between images before "stitching" them together.
It has been many years since I have used NI's imaging package. Have you looked for a native stitching function? The other option is to us third party SW like ImageMagick to do the work for you.
04-16-2019 01:36 PM
How to determine overlap region?
I have attached work i have done till now.