accelerate-framework Questions

3

Solved

It is my understanding that NumPy dropped support for using the Accelerate BLAS and LAPACK at version 1.20.0. According to the release notes for NumPy 1.21.1, these bugs have been resolved and buil...
Clachan asked 5/11, 2021 at 5:24

3

Solved

My first question here at Stackoverflow... hope my question is specific enough. I have an array in Swift with measurements at certain dates. Like: var myArray:[(day: Int, mW: Double)] = [] myArra...
Microcopy asked 16/4, 2015 at 12:38

5

It seems like this should be simpler than I'm finding it to be. I have an AVFoundation frame coming back in the standard delegate method: - (void)captureOutput:(AVCaptureOutput *)captureOutput di...

2

Solved

The following C program (dgesv_ex.c) #include <stdlib.h> #include <stdio.h> /* DGESV prototype */ extern void dgesv( int* n, int* nrhs, double* a, int* lda, int* ipiv, double* b, int*...
Enumerate asked 18/5, 2021 at 13:42

3

I'm trying to compute the histogram of an image using Accelerate vImageHistogramCalculation_ARGBFFFF function, but I'm getting a vImage_Error of type kvImageNullPointerArgument (error code is -2177...
Amaryllis asked 9/3, 2015 at 18:56

3

Solved

I'm using the dgeev algorithm from the LAPACK implementation in the Accelerate framework to calculate eigenvectors and eigenvalues of a matrix. Sadly the LAPACK functions are not described in the A...
Sondrasone asked 10/1, 2015 at 12:21

1

I'm trying to test the performance of converting YUV images produced by Vuforia and converting them to UIImage using the iOS Accelerate Framework's vImage calls. In the current state of the code I'...
Squarerigger asked 7/4, 2015 at 11:9

2

Solved

I am working with Accelerate library for my iOS app. I built this app in Swift 2.0 a couple years ago and it was working fine. Now that Swift is updated to 3.0 and 4.0, I have to convert most of th...

0

I am currently attempting to change the orientation of a CMSampleBuffer by first converting it to a CVPixelBuffer and then using vImageRotate90_ARGB8888 to convert the buffer. The problem with my c...

4

Solved

This semester, I'm implementing a compressed-sensing algorithm as an iPhone app. To do this, I'll need some good matrix/linear algebra libraries. I'm a little new to both iOS and Python, and ...
Julijulia asked 14/1, 2012 at 6:15

2

Solved

I'm trying to generate a spectrogram from an AVAudioPCMBuffer in Swift. I install a tap on an AVAudioMixerNode and receive a callback with the audio buffer. I'd like to convert the signal in the bu...
Armistead asked 1/10, 2015 at 15:10

3

Solved

I've been working with OpenCV and Apple's Accelerate framework and find the performance of Accelerate to be slow and Apple's documentation limited. Let's take for example: void equalizeHistogram(c...
Lepidopteran asked 26/2, 2015 at 10:3

2

Solved

I am trying to multiply two matrices in Objective-C. I have imported the accelerate framework to my project in Xcode, everything compiles just fine. I did the matrix multiplication on my calculator...
Trichology asked 20/3, 2015 at 22:23

1

Solved

I'm building an iOS app using EZAudio. It's delegate returns back a float** buffer, which contains float values indicating the volume detected. This delegate is called constantly and it's work is d...
Extravaganza asked 20/2, 2015 at 10:37

2

I use vImageConvert_RGB888toPlanar8 and vImageConvert_Planar8toRGB888 from Accelerate.framework to convert RGB24 to BGR24, but when the data need to transform is very big, such as 3M or 4M, the tim...
Greenlee asked 27/7, 2012 at 8:7

1

I am trying to compile and run code that uses the Accelerate Framework (it includes Accelerate/accelerate.h). I am doing this in Linux. I do not have a Mac, and I do not have Xcode. Is there anywhe...
Plonk asked 20/1, 2015 at 2:24

1

I'm running an algorithm that is implemented in Python and uses NumPy. The most computationally expensive part of the algorithm involves solving a set of linear systems (i.e. a call to numpy.linalg...
Gnawing asked 22/10, 2014 at 15:38

1

Solved

I'm trying to compute the histogram of an image using vImage's vImageHistogramCalculation_ARGBFFFF, but I'm getting a vImage_Error of type kvImageNullPointerArgument (error code a -21772). Here's ...
Luciusluck asked 2/9, 2014 at 21:59

2

Apple recommends to have your data 16 byte aligned when you use Accelerate Framework. How do you do this in practice? If I have an array int[10000];, is there a pragma? How do I align this to 16 b...
Provision asked 2/3, 2014 at 20:22

5

Solved

UPDATE: Please see additional question below with more code; I am trying to code a category for blurring an image. My starting point is Jeff LaMarche's sample here. Whilst this (after the fixes su...
Correia asked 9/5, 2011 at 13:6

2

Solved

I'm trying to implement FFT calculation, using Apple's vDSP, on a recorded audio file (let's assume it's a mono PCM). I've did a research here and I've found following topics quite useful: Using...

1

Solved

I'm trying to setup FFT for a project and really didn't get a clear picture on things... Basically, I am using Audio Units to get the data from the device's microphone. I then want to do FFT on tha...
Intelligible asked 21/9, 2013 at 11:14

3

Solved

How do I de-interleave the float *newAudio into float *channel1 and float* channel2 and interleave it back into newAudio? Novocaine *audioManager = [Novocaine audioManager]; __block float *channe...

6

Solved

I am working on iOS application where user can apply a certain set of photo filters. Each filter is basically set of Photoshop actions with a specific parameters. This actions are: Levels adjustm...

3

I am drawing spectrograms using the sample code aurio touch provided by apple. Now I want to compare the two spectrograms in iOS to see if they are same. Is it possible to compare the two spectrogr...

© 2022 - 2025 — McMap. All rights reserved.